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

Generated Verilog project can't work #2091

Open
snowprogrammer opened this issue Oct 8, 2024 · 2 comments
Open

Generated Verilog project can't work #2091

snowprogrammer opened this issue Oct 8, 2024 · 2 comments

Comments

@snowprogrammer
Copy link

  1. I use this command to generate a Verilog project with wishbone bus: python3 -m litex_boards.targets.digilent_basys3 --integrated-rom-init=test.bin --integrated-main-ram-size=0x2000 --build, then I test the Verilog file, and it works well in simulation in Vivado.
  2. Then I change to AXI bus: python3 -m litex_boards.targets.digilent_basys3 --integrated-rom-init=test.bin --integrated-main-ram-size=0x2000 --bus-standard axi-lite --build, while I launch the simulation, there is an error : FATAL_ERROR: Iteration limit 10000 is reached. Possible zero delay oscillation detected where simulation time can not advance. Please check your source code. Note that the iteration limit can be changed using switch -maxdeltaid. Time: 1493 ns Iteration: 10000
  3. It seems there is an error in the architecture, I wonder it is because the card basys3 is not suitable with AXI? Or this is an error in my command?
@enjoy-digital
Copy link
Owner

Hi @snowprogrammer,

are you able to build the design with --build? That's possible a part of the code create a combinatorial loop that would need to be examined/removed. Can you look if you have a warning regarding this while building with Vivado?

@snowprogrammer
Copy link
Author

Hi @snowprogrammer,

are you able to build the design with --build? That's possible a part of the code create a combinatorial loop that would need to be examined/removed. Can you look if you have a warning regarding this while building with Vivado?

Hello. I can build the design with --build and the implementation with demo.bin can work, only the Verilog file is not correctly generated. In Vivado I usexsim -tp -tland find 6 loops in the architecture. Because I'm not familiar with this architecture, I haven't fixed the problem.

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