Prev Problem
Next Problem

1. Wire

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

an input a is to be assigned to an output y such that whatever value is received at input is the same value at the output side. Thus, we simply use the "assign" keyword and "=" symbol to assign the value of input a to output y.

 

Code

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

 

Was this helpful?
Upvote
Downvote