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

Debug the simulation and capturing the GPIO outputs #108

Open
Yidaen opened this issue Apr 22, 2024 · 1 comment
Open

Debug the simulation and capturing the GPIO outputs #108

Yidaen opened this issue Apr 22, 2024 · 1 comment

Comments

@Yidaen
Copy link

Yidaen commented Apr 22, 2024

Hello, I'm working on a project to improve myself, and unfortunately, I don't have an FPGA, so I'm testing what I do in simulation.

As far as I understand, the Debug process only works on the FPGA, and the simulation only records UART outputs. Is there a way to debug in the simulation to check the changes in each step and record GPIO outputs to a file? Thank you.

@marnovandermaas
Copy link
Contributor

Hi Yidaen, we don't have a way to connect to JTAG debug in simulation, but you can enable tracing which outputs a wave file. Inside the waveform you can see the output of the GPIO. You can use GTKWave to open the FST file the simulator produces.

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