← 02 Verilog HDL & RTL Basics
Area 02 test · Foundations

Verilog HDL & RTL Basics

20 questions · 70% to pass · no time limit. You see the right answers and why after you submit.

  1. 1A variable declared as reg and assigned inside always @* synthesizes to…
  2. 2Which assignment should model flip-flops in always @(posedge clk)?
  3. 3In always @(posedge clk) begin q1 = d; q2 = q1; end, how many flip-flop stages do you get?
  4. 4What does {3{2'b01}} evaluate to?
  5. 5Which value means 'unknown' in four-state Verilog?
  6. 6Why do testbenches compare outputs with !== rather than !=?
  7. 7In which scheduling region are non-blocking updates applied?
  8. 8A $display placed right after count <= count + 1; prints…
  9. 9What is the most common cause of an unintended latch?
  10. 10Which of these is NOT synthesizable?
  11. 11Why connect ports by name (.clk(clk)) instead of by position?
  12. 12counter #(.W(16)) u_cnt (...) does what?
  13. 13What does the reduction operator ^data return for data = 8'b1011_0001?
  14. 14In the two-process FSM style, why write next = state; first in always_comb?
  15. 15When should a testbench change DUT inputs to avoid races with the DUT's flops?
  16. 16A UART line in 8N1 format sends data bits in which order?
  17. 17Where should a UART monitor sample each bit?
  18. 18What does .* do in an instantiation?
  19. 19Which part of a testbench turns pin activity back into transactions?
  20. 20After reset, an output shows X. Which is a likely cause?
0 of 20 answered