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, output wand y);
// assign y = a;
// assign y = b;

// endmodule   ------This code will resolve the schematic and synthesis error. 

///wand is wired and for the net type assignments specially help to deal with multiple drivers issue which help us to get rid from synthesis errors!


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

endmodule ///This code workd perfectly for waveform generation, but fails at synthesis!

 

Was this helpful?
Upvote
Downvote