Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Apply the virtual-class instantiation rule

Hardware interview practice

Apply the virtual-class instantiation rule

EasySystemVerilog OOPSystemVerilog

A base transaction class declares a pure virtual formatting method. Which statement about the resulting virtual class is correct?

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. The virtual class cannot be instantiated and may be extended.
  2. B. The virtual class may be instantiated directly.
  3. C. Every field in the class becomes virtual.
  4. D. Virtual classes are synthesizable RTL containers.
asic.fyi · Learn silicon end to end.info@asic.fyi