Skip to content

sim: display ISA configuration string at simulation startup - #2488

Open
devtyagi3909 wants to merge 1 commit into
lowRISC:masterfrom
devtyagi3909:print-config-on-sim-start
Open

sim: display ISA configuration string at simulation startup#2488
devtyagi3909 wants to merge 1 commit into
lowRISC:masterfrom
devtyagi3909:print-config-on-sim-start

Conversation

@devtyagi3909

Copy link
Copy Markdown

Fixes #1364.

GetIsaString() was already implemented in SimpleSystem to return the Spike-compatible ISA string derived from the elaborated Verilator parameters (e.g. rv32imc, rv32imcb). However it was never called or displayed, so users had no way to confirm which ISA parameters their simulation was actually built with without cross-referencing build flags.

This adds a single line to the startup banner in SimpleSystem::Run():

Simulation of Ibex
==================
ISA: rv32imc

No new logic introduced — this strictly wires the existing function into the existing output path.

GetIsaString() was implemented in SimpleSystem but never called or
displayed, so users had no way to confirm which ISA parameters their
Verilator simulation was built with.

Print the ISA string in the startup banner alongside the existing
'Simulation of Ibex' header. This produces output of the form:

  Simulation of Ibex
  ==================
  ISA: rv32imc

which makes it straightforward to verify the active configuration
without having to cross-reference build flags.

Fixes lowRISC#1364
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

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

@devtyagi3909

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.

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.

Display configuration parameters in Verilator simulation

1 participant