Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Packed and unpacked array meaning

Hardware interview practice

Packed and unpacked array meaning

EasySystemVerilogSystemVerilog

A testbench API requires an unpacked array of four elements. Each element is one packed 8-bit logic vector. Which declaration has exactly that shape?

Try it in the question bankReason first. Then compare.

Keep this exact question selected while you check your answer and review the full solution.

Practice this question →
Choose one

Answer choices

  1. A. logic [7:0] data [0:3];
  2. B. logic [0:3][7:0] data;
  3. C. logic data [7:0][0:3];
  4. D. logic [31:0] data;
asic.fyi · Learn silicon end to end.info@asic.fyi