Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Decode Z wildcards without hiding X

Hardware interview practice

Decode Z wildcards without hiding X

EasyRTL DesignSystemVerilog

A command decoder may use Z or ? bits as wildcards in its case items, but an unknown X on the selector must not silently match a valid command. Which construct fits that requirement?

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. case
  2. B. casex
  3. C. casez
  4. D. if (selector)
asic.fyi · Learn silicon end to end.info@asic.fyi