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?

This module is just an extension of the previous module. Add two more outputs and assignment statements to route a to the two new outputs y2 and y3. 

 

Code

module top_module(
    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