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?

According to the problem statement, one input value has to be connected to 3 different outputs 

 

 

Code

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

    
endmodule

 

Was this helpful?
Upvote
Downvote