Skip to content

Constructing large, parallel, state machines #2414

Answered by basile-henry
pdwhittaker asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!
I think the example is a little bit too abstract for me to understand how the requirements change as the problem scales.
I think the BRAM recommendation is good to deal with a big state. If the limitation in the number of concurrent reads is a problem, consider replicating the state over multiple BRAMs.
In general I would avoid using really big vectors, Clash tends to struggle with big vectors and compilation becomes really slow even before they cause synthesis issues.
If the getBit gets really complicated, maybe there is a way to break down your state machine into multiple separate state machines that send each other messages? Or maybe there's a way to do some of the work sequenti…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@DigitalBrains1
Comment options

@pdwhittaker
Comment options

@basile-henry
Comment options

@DigitalBrains1
Comment options

@pdwhittaker
Comment options

Answer selected by pdwhittaker
Comment options

You must be logged in to vote
1 reply
@pdwhittaker
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
3 participants