Verilog HDL - Tutorial Recommendations

Status
Not open for further replies.
Logic Levels Within Verilog
0 - logic zero, false condition

1 - logic one, true condition

x - unknown logic value

z - high impedance




**broken link removed**
 

Let's assume that we have a design which requires us to have counters of various width, but with the same functionality. Maybe we can assume that we have a design which requires lots of instants of different depth and width of RAMs of similar functionality. Normally what we do is creating counters of different widths and then use them. The same rule applies to the RAM we talked about.

But Verilog provides a powerful way to overcome this problem: it provides us with something called parameter; these parameters are like constants local to that particular module.



Verilog Parameterized Modules
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…