-
Notifications
You must be signed in to change notification settings - Fork 106
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
The RTL simulation with Ariane core has "Illegal Instruction" error. (Ariane core) #93
Comments
Hi, thanks for reporting this. Just to make sure, could you run the same simulation but by selecting the SystemVerilog implementation of the caches in the GUI? Does that work? There have been a few fixes/changes in the SystemVerilog caches recently that may not have been mirrored in the SystemC caches. Thanks! |
Hi @davide-giri ~ It seems got same error which like above. Log file : trace_hart_0.log BTW, you mention SystemVerilog caches recently has fixes/changes. Did it has already in the latest release (2021.1.0)? |
Ok, so you have the issue regardless of the cache implementation choice. We are going to look into this and let you know soon. I just meant to say that the SystemVerilog implementation has diverged slightly from the SystemC one, but both should work fine. |
Hi @AltiumHanChou With respect to the HLS-based implementation of the caches, I am regenerating the RTL and will update you shortly. I noticed, however, that you are using Stratus 19.2. Our SystemC for the caches has been tested with Stratus 18.5 and we have noticed that the tool version does matter, most likely because of bugs fixes and the introduction of new features in Stratus HLS. |
One quick thought: did the toolchain compilation work correctly for both rv32imc (ibex) and rv64imad (ariane) versions of the RISC-V compiler? ESP provides both scripts to generate the toolchains, which are based on the official RISC-V toolchain repository. These scripts should be run on different clean shell environments and I would also target two different installation folders. Particularly, both scripts must define the
|
Hi @paulmnt ~ Log file : modelsim_Ariane.log |
Thank you. Seems like the design has been loaded correctly, including SystemVerilog caches. Could you please try checking that the program has been compiled and dumped to text file correctly? and its content should match this txt: HLS is still generating resources: will update you soon on SystemC version. |
According the tutorial, I set both in scripts like this :
Is this correct ? |
yes: this looks correct. I just sent the object dump just as a sanity check, but at this point I expect you will see no diff. If the program is also compiled correctly, the only other difference I see with respect to the recommended setup is Modelsim's version. Xilinx recommends Modelsim 2019.2 for Vivado 2019.2, but I believe newer versions should work as well. |
Yes. It looks same like the file you gave me above.
OK ~ I will ask workstation to downgrade the modelsim version to 2019.2, and try again. |
Hi @AltiumHanChou , this one was a silly Makefile issue: when switching processor core from the GUI without cleaning the simulation folder (e.g. with |
This issue should be fixed on the ESP devel branch |
…hing CPU core selection
…hing CPU core selection
Describe the bug
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
(CIC) Xilinx Vivado 2019.2
(CIC) Systemc 2.3.1
(CIC) modelsim 2020.1
(CIC) STRATUS_19.12.100
Additional context
The text was updated successfully, but these errors were encountered: