Prev Problem
Next Problem

2. Fan-Out Wire

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

Create a wire w;

Assign input to wire ;

Assign wire to 3 different outputs;

 

Code

module top_module( input a, output y1,y2,y3
    // Declare Inputs and outputs here
);
    wire w;
    assign w=a;
    assign y1=w, y2=w, y3=w;
    // Module functionality here

endmodule

 

Was this helpful?
Upvote
Downvote