Prev Problem
Next Problem

1. Wire

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

we can assign directly into the y using assign .In default it is wire. So y immediately shows the input.

 

Code

module top_module(input a, output y);
  assign y=a;
endmodule

 

Was this helpful?
Upvote
Downvote