ankit12345
Banned
- Joined
- Dec 27, 2005
- Messages
- 181
- Helped
- 10
- Reputation
- 20
- Reaction score
- 4
- Trophy points
- 1,298
- Location
- bangalore,India
- Activity points
- 0
sheik_vb said:This will report Simulation Error!!!!!!!!!!!!.
ankit12345 said:always@(posedg clk)
begin
a<=1;
a<=0;
end
whats the value of a?????
always@(posedge clk)
a<=1;
always@(posedge clk)
a<=0;
always@(posedge clk)
begin
a<=1;
a<=0;
end
nand_gates said:Code:always@(posedge clk) a<=1; always@(posedge clk) a<=0;
This will make a=x;
In this case a = 0 last driven value!Code:always@(posedge clk) begin a<=1; a<=0; end
No need to do sims its a common sense!
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?