Which of the following statements regarding special Verilog net types and…
Which of the following statements regarding special Verilog net types and their resolved states under multiple driver contention are **TRUE**? *(Select all that apply)*
- A net declared as wand (wired-AND) resolves contention among multiple drivers by performing a bitwise AND across all driving signals; if one driver drives 0 and another drives 1 , the net resolves to 0 .
- A net declared as wor (wired-OR) resolves contention between 1'b0 and 1'b1 to 1'bx .
- A trireg net behaves like a normal wire when driven, but models capacitive charge storage by holding its previous driven value ( 0 , 1 , or x ) when all drivers enter high-impedance ( 1'bz ).
- The capacitive decay of a trireg net can be modeled in simulation using charge strength attributes: trireg (large) , trireg (medium) , or trireg (small) .
- A trireg net synthesizes directly into a standard D flip-flop in standard digital ASIC cell libraries.
Correct answer
A. A net declared as wand (wired-AND) resolves contention among multiple drivers by performing a bitwise AND across all driving signals; if one driver drives 0 and another drives 1 , the net resolves to 0 .; C. A trireg net behaves like a normal wire when driven, but models capacitive charge storage by holding its previous driven value ( 0 , 1 , or x ) when all drivers enter high-impedance ( 1'bz ).; D. The capacitive decay of a trireg net can be modeled in simulation using charge strength attributes: trireg (large) , trireg (medium) , or trireg (small) .
Explanation
* **A is TRUE:** wand computes the wired-AND of all drivers: $0 \ \& \ 1 = 0$. * **B is FALSE:** wor computes the wired-OR of all drivers: $0 \lor 1 = 1$. It resolves to x only if an input is x . * **C is TRUE:** Unlike regular wire (which instantly floats to 1'bz when disconnected), a trireg retains the last driven logic state on the node, representing physical wire capacitance (e.g., dynamic CMOS nodes, DRAM cells, or high-Z bus capacitance). * **D is TRUE:** Verilog permits charge strength modifiers (large, medium, small) on trireg to define capacitive charge holding strength and decay time intervals before floating to x . * **E is FALSE:** trireg is an analog-like behavioral abstraction intended for switch-level simulation. ASIC synthesis tools cannot map trireg to standard synchronous flip-flops or registers; attempting to synthesize trireg flags an unsupported syntax error.