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

Questasim simulation not working #608

Open
victor-unican opened this issue Dec 11, 2024 · 0 comments
Open

Questasim simulation not working #608

victor-unican opened this issue Dec 11, 2024 · 0 comments

Comments

@victor-unican
Copy link

Trying to run X-Heep with Questasim simulator.

No problems with Verilator or running on Nexys A7 board. Not working with Questasim. Our version is what Europractice distribute: 2022.4

In this case, we are booting from flash, but booting with memory preloading or JTAG reports the same error

Message is:

0ns: the parameter COREV_PULP is 00000000

0ns: the parameter FPU is 00000000

0ns: the parameter ZFINX is 00000000

0ns: the parameter X_EXT is 00000000

0ns: the parameter ZFINX is 00000000

0ns: the parameter JTAG_DPI is 00000000

0ns: the parameter EXT_DOMAINS is 00000000

0ns: the parameter USE_EXTERNAL_DEVICE_EXAMPLE is 00000001

0ns: the parameter CLK_FREQUENCY is 100000 KHz

[X-HEEP]: NUM_BYTES = 96KB

UART: Created /dev/pts/11 for uart0. Connect to it with any terminal program, e.g.

$ screen /dev/pts/11

UART: Additionally writing all UART output to 'uart0.log'.

[TESTBENCH]: loading firmware ../../../sw/build/main.hex

[TESTBENCH]: Booting from flash

[TESTBENCH]: Using OpenTitan SPI

** Fatal: This rule has a higher start than end address!!!

Violating rule 5.

Rule> IDX: xxxxxxxx START: xxxxxxxx END: xxxxxxxx

Time: 0 ps Scope: tb_top.testharness_i.x_heep_system_i.core_v_mini_mcu_i.system_bus_i.system_xbar_i.gen_xbar_1toM.xbar_varlat_one_to_n_i.u_addr_decode.proc_check_addr_map.#anonblk#97275429#144#5#.check_start File: ../../../hw/vendor/pulp_platform_common_cells/src/addr_decode.sv Line: 147

** Note: $finish : ../../../hw/vendor/pulp_platform_common_cells/src/addr_decode.sv(147)

Time: 0 ps Iteration: 6 Instance: /tb_top/testharness_i/x_heep_system_i/core_v_mini_mcu_i/system_bus_i/system_xbar_i/gen_xbar_1toM/xbar_varlat_one_to_n_i/u_addr_decode

1

Break at ../../../hw/vendor/pulp_platform_common_cells/src/addr_decode.sv line 147

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

1 participant