Hardware interview practice
Nets and variables
Two continuous assignments intentionally drive the same 4-state signal, and normal net resolution is required. Which declaration is appropriate?
Starting point
Question code
assign bus_ok = src_a;
assign bus_ok = src_b;Choose one
Answer choices
- A. logic bus_ok;
- B. bit bus_ok;
- C. wire logic bus_ok;
- D. var logic bus_ok;
