Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Print/save commands outputs/logs from (ModelSim/QuestaSim/Questa Base) #1057

Open
nselvara opened this issue Sep 12, 2024 · 2 comments

Comments

@nselvara
Copy link

nselvara commented Sep 12, 2024

Hey there, recently, I got a request to run simstats and printsimstats commands in ModelSim. I thought, it might be interesting to have a command that executes before or after each simulation run cycle and prints/saves the log output. I don't know if other simulators have also similar commands. Currently, the output.txt in vunit_out folders contain the information. However, it'd be cool to kind of just print that particular info without analysing 200 files. 😅

@LarsAsplund
Copy link
Collaborator

This feels like something that is too simulator-specific to be hardcoded into VUnit. What could be added though is an option run a user-defined TCL script after a simulation just like we can before the simulation starts. Such a script can call simstats and the output can be further processed by Python in a post-simulation hook if needed.

@nselvara
Copy link
Author

Yeah, I understand your concern. The solution that you've proposed, works also, so for me either way is good.

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

No branches or pull requests

2 participants