A
Amir
Guest
Hi,
I have a question, does this code means that when I 'm in the IDLE
state , first the arbiter checks if req0_ == ON and THEN req1_ ==
ON ?!
or they take place in the same time ?!
The Code :
always @(curr_state or req0_ or req1_ or req2_ or req3_ or req4_ or
req5_ or req6_ or req7_)
begin
next_state = 0;
case(curr_state)
IDLE:
begin
if(req0_ == ON)
begin
next_state = GNT0;
end
else
if(req1_ == ON)
begin
next_state = GNT1;
end
...
. ...
thanks in advance
-Amir
I have a question, does this code means that when I 'm in the IDLE
state , first the arbiter checks if req0_ == ON and THEN req1_ ==
ON ?!
or they take place in the same time ?!
The Code :
always @(curr_state or req0_ or req1_ or req2_ or req3_ or req4_ or
req5_ or req6_ or req7_)
begin
next_state = 0;
case(curr_state)
IDLE:
begin
if(req0_ == ON)
begin
next_state = GNT0;
end
else
if(req1_ == ON)
begin
next_state = GNT1;
end
...
. ...
thanks in advance
-Amir