Prev Problem
Next Problem

2. Fan-Out Wire

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

using assign ,transfer the input value to all outputs y1,y2,y3.

 

 

Code

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

 

Was this helpful?
Upvote
Downvote