Prev Problem
Next Problem

1. Wire

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

This is a fairly straightforward exercise; the key is just getting familiar with the syntax. The idea is to wire y to input a combinatorially so that y will be equal to the input a.

 

Code

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

 

Was this helpful?
Upvote
Downvote