Prev Problem
Next Problem

3. Multiple Drivers

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 

 

Code

module top_module(
    input  wire a,
    input  wire b,
    output wire y
);

    // Two separate continuous assignments to the same wire
    assign y = a;   // Driver 1
    assign y = b;   // Driver 2

endmodule

 

Was this helpful?
Upvote
Downvote