rtl: HW Generation with new VIAM from Frontend#709
Merged
Conversation
8a9c439 to
dd8a21b
Compare
flofriday
reviewed
Feb 10, 2026
Contributor
flofriday
left a comment
There was a problem hiding this comment.
I know this is just a draft but I got curious. 😅
I mostly looked over the frontend but it looks quite good.
linushdot
commented
Feb 10, 2026
2b6d20c to
7896baf
Compare
flofriday
reviewed
Feb 11, 2026
7896baf to
2c2abc2
Compare
2c2abc2 to
dc1b806
Compare
Models the new VIAM stage effects as a series of mapping contexts that feed into the instruction outputs of stages.
This makes all RTL passes take the ISA from the MiA definition. For the general VIAM passes to consider the ISA, the VIAM returns the ISA referenced by the MiA, if there is no top-level ISA definition.
Fix some bugs found through the tests.
C++ memory model for verilator simulation that can load ELF files. The emitted Chisel project can now run the simulator directly on riscv-tests ELF files without providing the memory in a Chisel test.
Fix some bugs (faulty forwarding/control logic)
Add select and unary nodes nodes that only depend on done nodes and compute nodes to compute.
New faster simulator with C++ memory model
Introduced to simplify the control logic
Also fixes type checker for some instruction map calls that do not require arguments. Change RtlEmitMinimizedRiscVTest to use the correct specification
In case a ISA definition is referenced from multiple definitions, e.g., from a processor and a MiA definition, it is visited and merged only once by caching the result in the definition cache.
Path separator and line ending problems
The spec now uses a macro model to select the ISA to use. Also include the single, three and five stage spec in the frontend tests.
dc1b806 to
55e8888
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces some minor frontend changes to make the current MiA specs work
This should also solve the problems discussed here #622