Add Z01X sim tool runtime/simtime support#182
Merged
AlexJones0 merged 4 commits intolowRISC:masterfrom Apr 16, 2026
Merged
Conversation
The `SyntaxError` is meant for use by Python's parser. Though we are doing our own parsing logic here, it is typically used to suggest an error in some given Python source code, not a file in general. Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
Remove stale arguments and add missing information. Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
Get Z01X closer to existing sim tools (xcelium and VCS) by implementing log runtime and simtime parsing for DVSim to report. Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
Building z01x is logged with the same output as VCS (unlike running it) - so if we are not running explicitly, just defer to how the VCS tool parses the logs. To be able to tell what type of test we are running, expose the job specification to the sim tool when retrieving runtime information, as the underlying (sub)tools might be different for each phase. Signed-off-by: Alex Jones <alex.jones@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.
The format used for parsing the runtime and simulation time that is reported differs during the
runphase for this simulation tool. Add the minimal relevant (somewhat fragile) logic to parse these values out so that they display correctly.Also resolve some other miscellaneous cleanup surrounding the sim tools - see the commit messages for more information.