Prev Problem
Next Problem

2. Fan-Out Wire

module top_module(input a, output y1, output y2, output y3);
  // One driver (a) fans out to multiple loads (y1,y2,y3)
  assign y1 = a;
  assign y2 = a;
  assign y3 = a;
endmodule

💡 Remember

  • One input can fan out to multiple outputs using separate assign statements.
  • All outputs (y1, y2, y3) are directly tied to the same driver (a).
  • Synthesis tools map this to parallel wires — no extra logic is inserted.
  • Outputs will always match the input simultaneously.