Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

what will be the output of the following code

Status
Not open for further replies.

jesuraj

Newbie level 3
Joined
Jan 31, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
always @(clk)
begin
a = 0;
a <= 1;
$display(a);
end
 

Assuming that's Verilog, you'll just get error messages.
Missing module declaration. Undefined "clk". Undefined "a".
 

a=0
a=1
1 is more positive as compare to 0 and 0 is more negatie as compare to 1.
so when the 0 input output should be low when 1 out should be high.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top