feat: expose a build's options to the run step as {build_opts_file} - #256
Merged
hcallahan-lowrisc merged 1 commit intoSep 11, 2026
Merged
Conversation
rswarbrick
reviewed
Sep 1, 2026
martin-velay
force-pushed
the
xcelium_reinvoke_simulator
branch
from
September 1, 2026 10:47
4843503 to
13e6aca
Compare
rswarbrick
reviewed
Sep 3, 2026
rswarbrick
left a comment
Contributor
There was a problem hiding this comment.
This looks nice, and I'm sorry for not getting back more quickly. I've got some suggestions about how to make the code structure a bit clearer, but I'm a fan of the change.
A run step that compiles for itself instead of loading the build's
snapshot has to compile the way the build did. Every build now records
its options in build_opts.f, named by the hjson as {build_opts_file}.
Signed-off-by: Martin Velay <mvelay@lowrisc.org>
martin-velay
force-pushed
the
xcelium_reinvoke_simulator
branch
from
September 9, 2026 09:34
13e6aca to
4ce9202
Compare
rswarbrick
approved these changes
Sep 10, 2026
rswarbrick
left a comment
Contributor
There was a problem hiding this comment.
Looks great to me: thanks.
Contributor
Author
|
@machshev, is it OK for you too? |
hcallahan-lowrisc
approved these changes
Sep 11, 2026
hcallahan-lowrisc
left a comment
Contributor
There was a problem hiding this comment.
Thanks @martin-velay this LGTM
martin-velay
added a commit
to martin-velay/opentitan
that referenced
this pull request
Sep 15, 2026
The Xcelium GUI run step reads the build's options back from
{build_opts_file}, which dvsim gained in 1.53.0 (lowRISC/dvsim#256).
Signed-off-by: Martin Velay <mvelay@lowrisc.org>
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.
Description
A run step that compiles for itself instead of loading the build's snapshot has to compile the way the build did. Every build now records its options in build_opts.f, named by the hjson as {build_opts_file}.