Skip to content

SoC configurations: configs/<name>.mk selects core + options; M optional - #19

Merged
abmajith merged 1 commit into
mainfrom
soc-config
Nov 7, 2026
Merged

abmajith merged 1 commit into
mainfrom
soc-config

Conversation

@abmajith

@abmajith abmajith commented Nov 7, 2026

Copy link
Copy Markdown
Owner

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:

  • 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

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>
@abmajith
abmajith merged commit 7805203 into main Nov 7, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant