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

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

 

Was this helpful?
Upvote
Downvote