vault backup: 2025-02-03 10:14:24
This commit is contained in:
parent
0295402131
commit
dd8478dd48
@ -6,5 +6,18 @@ Nets connect different hardware entities and *do not store values*.
|
||||
## Wire
|
||||
A `wire` is the most commonly used type of net. When a port is declared in Verilog, it is implicitly given a type of `wire`.
|
||||
|
||||
It is illegal to re-declare a name already in use by a net
|
||||
# Scalar and Vector
|
||||
It is illegal to re-declare a name already in use by a net:
|
||||
```verilog
|
||||
module foo;
|
||||
wire abc;
|
||||
wire a;
|
||||
wire b;
|
||||
wire c;
|
||||
|
||||
wire abc; // ILLEGAL: The wire `abc` is already defined
|
||||
|
||||
```
|
||||
|
||||
# Variables
|
||||
A variable is a data storage element. They retain the last impu
|
||||
# Scalar and Vector Types
|
||||
|
Loading…
x
Reference in New Issue
Block a user