-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: Extend simulation and trace utilities (#178)
* `util/sim/Simulation.py`: Take time from last matching line in log * `util/sim/sim_utils.py`: Add test summary table title * `util/sim/Simulation.py`: Fix bug in dry-run mode * util/trace: Add column field to annotated traces * `util/trace/annotate.py`: Add annotations to lines without timestamp Previously, lines without timestamps, e.g. FPU instructions executed in the same cycle as an integer instruction, were being parsed incorrectly, so they would not be annotated. Now we use a regex to handle these lines properly. * `util/trace/annotate.py`: Preserve performance metrics at end of file * `util/trace/a2l.py`: Parse addr2line output using regex Correctly handles some corner cases where addr2line did not display all information for a certain function. * treewide: Extend `visualize.py` as required to include CVA6 trace * `util/trace/tracevis.py`: Parallelize processing multiple traces * `util/trace/gen_trace.py`: Print line number on exception
- Loading branch information
Showing
8 changed files
with
294 additions
and
197 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.