← 03 SystemVerilog Data Types & Procedural Code
Area 03 test · SystemVerilog

SystemVerilog Data Types & Procedural Code

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

  1. 1A DUT output is X. You assign it to a bit variable. What does the variable hold?
  2. 2Which container best models a sparse 4 GB memory?
  3. 3What does q.pop_front() do on the queue '{5, 7, 9}?
  4. 4Which statement about packed structs is true?
  5. 5What prints $display("%s", op.name()) when op is the enum value WRITE?
  6. 6Why should testbench tasks be declared automatic?
  7. 7What does a ref argument give you?
  8. 8Which can consume simulation time?
  9. 9fork … join_any lets the parent continue when…
  10. 10After join_any, what stops the threads that are still running?
  11. 11In for (int i=0;i<4;i++) fork use(i); join_none, each thread usually sees i = 4. The fix is…
  12. 12Which primitive passes transaction objects between a generator and a driver?
  13. 13A semaphore created with new(1) behaves like…
  14. 14arr.find with (item > 10) returns…
  15. 15What is safest before reading mem[addr] from an associative array model?
  16. 16For a FIFO reference model, which pair of queue calls do you use?
  17. 17What does wait fork; do?
  18. 18Which declaration creates a dynamic array of 16 ints?
  19. 19Which format prints simulation time in a message?
  20. 20Why model a FIFO's flags in the testbench as full == (model.size() == DEPTH)?
0 of 20 answered