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?

 

Directly assigning the three outputs to the "a" input through continuous assignment statements.

Code

module top_module(
    // Declare Inputs and outputs here
    input a, 
    output y1, y2, y3
);
    // Module functionality here
    // Assigning the same input to 3 different outputs
    assign y1 = a;
    assign y2 = a;
    assign y3 = a;
endmodule

 

Was this helpful?
Upvote
Downvote