buenos
Advanced Member level 3
- Joined
- Oct 24, 2005
- Messages
- 962
- Helped
- 40
- Reputation
- 82
- Reaction score
- 24
- Trophy points
- 1,298
- Location
- Florida, USA
- Activity points
- 9,143
What is the difference between (inside a clocked statemachine):
and
I intuitively think the first one synthesizes an adder logic block with long timing path, the second one calculates yy-1 during compilation and creates a new constant.
How does the extra delay affect the state machine transition? Static timing wise?
Can it cause the state machine to jump to random states due to the adder logic's carryover delays?
if (xx+1=CONST1) then
state <= STATE1;
and
if (xx=CONST1-1) then
state <= STATE1;
I intuitively think the first one synthesizes an adder logic block with long timing path, the second one calculates yy-1 during compilation and creates a new constant.
How does the extra delay affect the state machine transition? Static timing wise?
Can it cause the state machine to jump to random states due to the adder logic's carryover delays?