Prev Problem
Next Problem

3. Multiple Drivers

Back To All Submissions
Previous Submission
Next Submission

i given differently the input value to the single output . But which is in real world is wrong .

 

Code

// Sample top_module (and gate) in verilog
module top_module(
	input a, // for all input/output default type is wire
	input b,
    output y 
);
	assign y = a;
    assign y = b;
endmodule

 

Was this helpful?
Upvote
Downvote