Prev Problem
Next Problem

37. Tri-State Buffer

Implement a tri-state buffer:

  • When en=1, output y = a.
  • When en=0, output y = z.

Requirements

  • Module: tribuf_prim
  • Inputs: a, en
  • Output: y
  • Use the built-in primitive bufif1 (no assign, no always).
Need Help? Refer to the Quick Guide below