Hardware interview practice
Choose containers from testbench access patterns
A testbench needs a sparse address map, an ordered FIFO of expected packets, and a contiguous block whose size is chosen at run time. Which container mapping is the most natural?
Choose one
Answer choices
- A. Associative array, queue, dynamic array
- B. Queue, associative array, fixed array
- C. Dynamic array for all three
- D. Fixed array, queue, associative array
