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?

i will fan out the input a to the outputs y1, y2 , y3 using continuous assignments so that all outputs always follow the inputs value.

 

Code

module top_module( input a , output y1 , output y2, output y3    
);
assign y1 = a;
assign y2 = a;
assign y3 = a;

endmodule

 

Was this helpful?
Upvote
Downvote