Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
For many use cases (mostly test benches) the ActionSeq package is indeed appropriate and I may go with that. But when testing in-the-middle producer/consumer-style modules the par
function of StmtFSM
lets you write a single FSM with both the producer and consumer instruction sequences which then naturally terminates when both are done. I was hoping to preserve that ability :)
[Edited Message Follows]
I've recently switched from the BSV to BH syntax. I am stubbing my toe against the StmtFSM library though as I can't seem to figure out how to create sequences. Is the BSV parser adding syntax support to make this library easier to use? Are there public examples of the use of StmtFSM in BH syntax? If not, would someone be willing to write and post a few snippets?
Ha, thanks Charlie! He and I actually work for the same company (causing me to adopt the BH syntax), and I've certainly seen this library in our repo. I really like what it does, but have some existing test benches which need a slightly less strict scheduler (wait until this thing eventually becomes true). Having said that, I may be able to add that using an alternative constructor which doesn't count cycles but executes steps instead.
And I see there are some other goodies which came along with this donation (MList, some of our rule syntax) which is useful.