Skip to content

[simple_system] Add BaseIsa parameter - #2492

Open
mingiiiiiiii wants to merge 1 commit into
lowRISC:masterfrom
mingiiiiiiii:fix/simple-system-baseisa
Open

[simple_system] Add BaseIsa parameter#2492
mingiiiiiiii wants to merge 1 commit into
lowRISC:masterfrom
mingiiiiiiii:fix/simple-system-baseisa

Conversation

@mingiiiiiiii

Copy link
Copy Markdown

util/ibex_config.py emits --BaseIsa for every configuration, but
examples/simple_system/ibex_simple_system.core does not declare it. The build
command documented in examples/simple_system/README.md therefore fails during
argument parsing:

fusesoc --cores-root=. run --target=sim --setup --build
lowrisc:ibex:ibex_simple_system $(util/ibex_config.py small fusesoc_opts)

fusesoc run lowrisc_ibex_ibex_simple_system_0: error: unrecognized arguments:
--BaseIsa=ibex_pkg::BaseIsaRV32I

BaseIsa was added to ibex_top.core and ibex_top_tracing.core when CHERIoT
support landed, but the simple system example was not updated.

This declares it in the same way, using the same datatype, default and
description, and adds it to the target parameter list.

Testing

Against upstream/master (34b0705):

  • Before: the command above fails with the error shown.
  • After: setup completes, and the generated .vc file contains
    -DBaseIsa=ibex_pkg::BaseIsaRV32I.

The default is unchanged, so the elaborated design is identical for existing
builds.

util/ibex_config.py emits --BaseIsa for every configuration, but the
simple system core file does not declare it. Any build following the
documented command in examples/simple_system/README.md therefore fails
during argument parsing:

  fusesoc run lowrisc_ibex_ibex_simple_system_0: error: unrecognized
  arguments: --BaseIsa=ibex_pkg::BaseIsaRV32I

The parameter was added to ibex_top.core and ibex_top_tracing.core when
CHERIoT support landed, but the simple system example was not updated.

Declare it the same way, so the example accepts the generated options
again. The default is unchanged, so the elaborated design stays the
same for existing builds.

Signed-off-by: mingiiiiiiii <mingi1684@kookmin.ac.kr>
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@mingiiiiiiii

Copy link
Copy Markdown
Author

I have read the CLA Document. By submitting this pull request comment, I am hereby confirming my acceptance of the terms of the CLA Document and my agreement to be legally bound by its terms.

@mingiiiiiiii mingiiiiiiii changed the title simple_system: Add BaseIsa parameter [simple_system] Add BaseIsa parameter Sep 4, 2026
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