Repository navigation
SoC configurations: configs/<name>.mk selects core + options; M optional - #19
Merged
Merged
Conversation
One file per SoC variant (configs/), resolved by mk/config.mk for every flow: firmware, cocotb, lint, GLS, formal, sky130 synthesis, ORFS, energy. CONFIG=<name> everywhere; CORE=<core> stays as the short form. Build folders are named after the configuration; options can only be set in a config file. RTL: rabbit_pkg::rabbit_cfg_t (field rv32m), parameter CFG on the rabbit cores, decoder, execute and CSRs. With rv32m = 0 the M encodings are illegal, rabbit_muldiv is not built, misa has no M. New configurations rabbit3_rv32i, rabbit5_rv32i. Verified: - full configurations unchanged: same cycles, same sky130 area (114853 / 126549 um2), riscv-formal 53/53, timing, gate level - without M: riscv-formal 45/45 (isa rv32i), timing properties plus new X1 (every MUL/DIV encoding traps and writes nothing), gate level; PROG=muldiv checks the traps, mtval, rd untouched and software mul/div; area 81147 / 95230 um2 - CI matrices cover all 7 configurations Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
One file per SoC variant (configs/), resolved by mk/config.mk for every flow: firmware, cocotb, lint, GLS, formal, sky130 synthesis, ORFS, energy. CONFIG= everywhere; CORE= stays as the short form. Build folders are named after the configuration; options can only be set in a config file.
RTL: rabbit_pkg::rabbit_cfg_t (field rv32m), parameter CFG on the rabbit cores, decoder, execute and CSRs. With rv32m = 0 the M encodings are illegal, rabbit_muldiv is not built, misa has no M.
New configurations rabbit3_rv32i, rabbit5_rv32i. Verified: