Prev Problem
Next Problem

3. Multiple Drivers

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

Two assings for the same output. But this is not correct because you only can drive one signal in the time.

 

Code

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

endmodule

 

Was this helpful?
Upvote
Downvote