chipsalliance / UHDM-integration-tests

Apache License 2.0
30 stars 8 forks source link

Earlgrey: newest dmi_jtag doesn't work in Verilator #506

Open rkapuscik opened 3 years ago

rkapuscik commented 3 years ago

After updating Opentitan to newest version, dmi_jtag.sv is failing with:

%Error: /media/hdd/uhdm/uhdm-integration/verilator/uhdm-integration/../uhdm-tests/opentitan/module_tests//..//opentitan/build/lowrisc_dv_chip_verilator_sim_0.1/src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv:255:35: Can't find definition of task/function: 'gray2dec'
%Error: /media/hdd/uhdm/uhdm-integration/verilator/uhdm-integration/../uhdm-tests/opentitan/module_tests//..//opentitan/build/lowrisc_dv_chip_verilator_sim_0.1/src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv:257:35: Can't find definition of task/function: 'gray2dec'
%Error: /media/hdd/uhdm/uhdm-integration/verilator/uhdm-integration/../uhdm-tests/opentitan/module_tests//..//opentitan/build/lowrisc_dv_chip_verilator_sim_0.1/src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv:259:31: Can't find definition of task/function: 'dec2gray'
%Error: /media/hdd/uhdm/uhdm-integration/verilator/uhdm-integration/../uhdm-tests/opentitan/module_tests//..//opentitan/build/lowrisc_dv_chip_verilator_sim_0.1/src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv:260:31: Can't find definition of task/function: 'dec2gray'
%Error: Exiting due to 4 error(s)

Those functions are defined in prim_fifo_async.sv (see #494 first).