Verilog Assignment Question
Verilog Assignment Question
3. What is the difference between at task and a function? When would use one vs
the other?
4. Can you develop a flip flop model using Verilog's specify statements? When
would you use Verilog's specify statement? What advantage does it have?
5. How does one handle tri-state logic? What Verilog primitives support it? How
does one model various levels of drive strength?
9. Suppose a part of your logic has 50 instances of a module. Do you cut and paste
it or generate the logic? If you are going to generate it, what tools do you use?
10. When running gate-level simulation, the output of a block is generating an "X".
How do you debug it? What could be causing the "X"?
11.write a verilog code to swap with and without temp variable.
13. Given the following Verilog code, what value of "a" is displayed?
c = foo ? a : b;
and
if (foo) c = a;
else c = b;
19. Write a verilog code for 4x1 mux using 2x1 mux