vault backup: 2025-02-03 17:23:28

This commit is contained in:
arc 2025-02-03 17:23:29 -07:00
parent 08065a130b
commit ff4330471b

View File

@ -17,8 +17,11 @@
- Put in public domain in 1990
- Standardized in 1995
- Originally intended for simulation of logic networks, later adapted to synthesis
- Structural Verilog describes how things are laid out at a logic level.
- Behavioral Verilog describes broader behavior, at a higher level
## Structural Verilog
Structural Verilog describes things at a logic level.
- The use of logic gates and continuous assignment are markers of structural Verilog.
```verilog
// V---V---v--v-----portlist (not ordered)
module example1(x1, x2, s, f);
@ -36,9 +39,9 @@ module example1(x1, x2, s, f);
assign f = (~s & x1) | (s & x2);
endmodule
```
- Structural Verilog describes how things are laid out at a logic level.
-
## Behavioral Verilog
Behavioral Verilog describes broader behavior, at a higher level
- The use of `reg`s, time delays, arithmetic expressions, procedural assignment, and other control flow constructs are markers of behavioral Verilog.
```verilog
// V---V---v--v-----portlist (not ordered)
module example1(x1, x2, s, f);