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?

in the fan out we have to connect the input to the different number of output ports so i just assign to the y1,y2,y3 the input a.

 

Code

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

    assign y1 = a;
    assign y2 = a;
    assign y3 = a;

endmodule

 

Was this helpful?
Upvote
Downvote