Skip to content

No Sim Results when implicit reg not initialized #2437

Discussion options

You must be logged in to vote

slowCount forms a combinatorial loop. That is, its value depends on itself, without a memory element inserted in between. Simulation will therefore be stuck in an ifinite loop, trying to calculate 1 + val where val ~ 1 + val. E.g.,

1 + val
1 + (1 + val)
1 + (1 + (1 + val))
1 + (1 + (1 + (1 + val)))
..

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ThePerfectComputer
Comment options

You must be logged in to vote
1 reply
@DigitalBrains1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants