Prev Problem
Next Problem

1. Wire

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

first i have declared wire named w ,then i have assigned w equals to our input a ,next assigned y output equals to w , it creates a wire which will be work as mediator.

 

Code

module top_module(input a, output y);
  // Write your code here
  wire w;
  assign w=a;
  assign y=w;

endmodule

 

Was this helpful?
Upvote
Downvote