openhwgroup / cva6

The CORE-V CVA6 is an Application class 6-stage RISC-V CPU capable of booting Linux
https://docs.openhwgroup.org/projects/cva6-user-manual/
Other
2.14k stars 652 forks source link

[BUG] Cadence Xcelium dependent checksum verilog_package doesn't match #2136

Open yunuseryilmaz18 opened 1 month ago

yunuseryilmaz18 commented 1 month ago

Is there an existing CVA6 bug for this?

Bug Description

Hello, I'm trying to run ariane_tb.sv on Cadence Xcelium 22.03 from xrun_all Makefile target. I've modified ariane_pkg variable for missing packages and compiled cva6 successfully. However, I can't run ariane_tb as the top module, Xcelium gives this error:

xmelab: *E,DLCSMD: Dependent checksum verilog_package worklib.axi_pkg:sv (VST) doesn't match with the checksum that's in the header of: module worklib.ariane_testharness:sv (VST).
    ) dut (
        |
xmelab: *E,CUVMUR (../corev_apu/tb/ariane_tb.sv,77|8): instance 'ariane_tb.dut' of design unit 'ariane_testharness' is unresolved in 'worklib.ariane_tb:sv'.

I've used axi_pkg.sv package in the vendor/pulp-platform/axi/src/axi_pkg.sv. Did anyone encounter this error? Can you help me?

JeanRochCoulon commented 1 month ago

@CoralieAllioux

CoralieAllioux commented 2 weeks ago

Hi @yunuseryilmaz18, sorry for the late answer. We're working on the support of Cadence Xcelium simulator. Those days, some PR are ongoing to do so. This PR when merged could resolved your problem: https://github.com/openhwgroup/cva6/pull/2223 If not, let me know.

yunuseryilmaz18 commented 19 hours ago

@CoralieAllioux I'm sorry too, we were on a national holiday and couldn't look into it until today. I've pulled from the repo today and run with Makefile again. The error I got:

file: cva6/core/cache_subsystem/cva6_hpdcache_wrapper.sv
    parameter hpdcache_pkg::hpdcache_cfg_t HPDcacheCfg,
                                                      |
xmvlog: *E,SVVMAP (/home/yunus.eryilmaz/gitlab_repo/cva6/core/cache_subsystem/cva6_hpdcache_wrapper.sv,20|54): Omitting the assignment to constant_param_expression in a param_assignment in a parameter_port_list currently is not supported.

Thank you for your answer.