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

Simulation exit procedure #365

Open
marnovandermaas opened this issue Dec 6, 2024 · 2 comments · May be fixed by #368
Open

Simulation exit procedure #365

marnovandermaas opened this issue Dec 6, 2024 · 2 comments · May be fixed by #368
Labels
enhancement New feature or request

Comments

@marnovandermaas
Copy link
Contributor

At the moment there is no graceful way to exit the simulator. Our CI essentially waits for content in the UART log file and then the process is killed. It would be nice to have a better way of doing this.

One way of doing this is implementing simulation control like we do in Ibex demo system: https://github.com/lowRISC/ibex-demo-system/blob/a1201cf2b99f8f4149c0971c04c655adbf1753c4/rtl/system/ibex_demo_system.sv#L404-L419

Anyone have any particular opinions on the best way of doing this?

@marnovandermaas marnovandermaas added the enhancement New feature or request label Dec 6, 2024
@marnovandermaas
Copy link
Contributor Author

After some discussions, it may be better to have a special UART sequence to exit the simulator to avoid having unnecessary differences between FPGA and simulation.

@marnovandermaas
Copy link
Contributor Author

There's a proposal PR here: #368

@marnovandermaas marnovandermaas linked a pull request Dec 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant