Prev Problem
Next Problem

3. Multiple Drivers

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

First it's conceptually wrong whether in practice or in simulation to drive an output from two different output at the same time. Combinational logic implemented using continuous assignment

 

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