Prev Problem
Next Problem

3. Multiple Drivers

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

Define the input and output port, then write the assign statement. As shown on the task window, this is not a good practice to be done. 

 

 

Code

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

endmodule

 

Was this helpful?
Upvote
Downvote