Prev Problem
Next Problem

2. Fan-Out Wire

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

First, declare the necessary input and output using the format shown. Second, assign each output to the required input as instructed.

 

 

Code

module top_module(
    input a,
    output y1, y2, y3
);
    // Module functionality here
    assign y1 = a;
    assign y2 = a;
    assign y3 = a;

endmodule

 

Was this helpful?
Upvote
Downvote