Difference between revisions of "Verilog"

From Stm32World Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:FPGA]]
+
[[Category:FPGA]][[Category:Work in progress]]
 +
At the moment I just use this page to jot down unstructured bits and pieces.  Notice, I am an absolute beginner and inexperienced with [[Verilog]], so do not interpret anything on this page as gospel.
 +
 
 +
== Wires vs. Registers ==
 +
 
 +
Wires need to be driven.  They can be driven from a continuous assignment or from a register.
 +
 
 +
== Assign vs. Always ==
 +
 
 +
Basically assign statements are used to connect different devices via nets. Always blocks are used to express behavior of those devices.
 +
 
 +
In general the 'assign' statements are used to assign values to nets. always blocks deal with assigning values to registers.
  
 
== Miscellaneous Links ==  
 
== Miscellaneous Links ==  
  
 
* [https://verilogguide.readthedocs.io/en/latest/ FPGA designs with Verilog]
 
* [https://verilogguide.readthedocs.io/en/latest/ FPGA designs with Verilog]

Latest revision as of 10:13, 9 July 2023

At the moment I just use this page to jot down unstructured bits and pieces. Notice, I am an absolute beginner and inexperienced with Verilog, so do not interpret anything on this page as gospel.

Wires vs. Registers

Wires need to be driven. They can be driven from a continuous assignment or from a register.

Assign vs. Always

Basically assign statements are used to connect different devices via nets. Always blocks are used to express behavior of those devices.

In general the 'assign' statements are used to assign values to nets. always blocks deal with assigning values to registers.

Miscellaneous Links