vault backup: 2025-02-03 10:14:24

This commit is contained in:
arc 2025-02-03 10:14:24 -07:00
parent 0295402131
commit dd8478dd48

View File

@ -6,5 +6,18 @@ Nets connect different hardware entities and *do not store values*.
## Wire ## 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`. 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 It is illegal to re-declare a name already in use by a net:
# Scalar and Vector ```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