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

ASSERT FAILED #124

Open
rezot98 opened this issue Oct 15, 2024 · 3 comments
Open

ASSERT FAILED #124

rezot98 opened this issue Oct 15, 2024 · 3 comments

Comments

@rezot98
Copy link

rezot98 commented Oct 15, 2024

Hello,
I am running a simulation for Ibex demo system. I created a testbench file that instantiates ibex_demo_system.sv. The simulation works however in a TCL console I get a periodic messages that some asserts fail. For example this one `ASSERT_KNOWN(IbexDataReqX, data_req_o), that is given on ibex_top.sv on line 1097. This tells that the signal data_req_o should have known values (0 or 1), I check in the simulation and it has indeed only known values, however I am still getting [ASSERT FAILED] message. Could you help me to find out what can be a problem? Thanks.

@marnovandermaas
Copy link
Contributor

Thanks for looking at the demo system. Can you help me reproduce your error? What environment are you using, and what commands did you run?

@rezot98
Copy link
Author

rezot98 commented Oct 16, 2024

Hello, thanks for your reply.
I am using vivado 2023.1.
I ran tcl commands to create a project and add all of the necessary files.
For some reason I cant upload .tcl file therefore I upload .txt file instead where all of the tcl commands are given.

ibex_demo_system.tcl.txt

@marnovandermaas
Copy link
Contributor

I have personally never done a simulation test using Vivado. Is there any reason why you don't use our FuseSoC builds?

This gives you a Verilator simulator: https://github.com/lowRISC/ibex-demo-system?tab=readme-ov-file#building-simulation

This give you a Vivado bitstream project: https://github.com/lowRISC/ibex-demo-system?tab=readme-ov-file#building-fpga-bitstream

Let me know if you still get those issues when using the supported Vivado project.

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