Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Earlgrey: newest prim_fifo_async doesn't work in Verilator #494

Open
rkapuscik opened this issue Sep 29, 2021 · 3 comments
Open

Earlgrey: newest prim_fifo_async doesn't work in Verilator #494

rkapuscik opened this issue Sep 29, 2021 · 3 comments

Comments

@rkapuscik
Copy link
Contributor

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

%Error: /home/runner/work/verilator/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: /home/runner/work/verilator/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: /home/runner/work/verilator/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: /home/runner/work/verilator/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)

See https://github.com/antmicro/verilator/pull/319/checks?check_run_id=3737443029.

Those functions are defined in that file.

@RRozak
Copy link
Collaborator

RRozak commented Sep 29, 2021

The error can be reproduced by #517.
It is blocked by chipsalliance/Surelog#1968

@RRozak RRozak moved this from In progress to Blocked/Waiting in EarlGrey simulation via Surelog/UHDM -> Verilator Sep 30, 2021
@RRozak
Copy link
Collaborator

RRozak commented Oct 1, 2021

After Surelog upgrade there is an error: %Error: Unknown object type: unsupported_typespec

@RRozak RRozak moved this from Blocked/Waiting to In progress in EarlGrey simulation via Surelog/UHDM -> Verilator Oct 1, 2021
@RRozak
Copy link
Collaborator

RRozak commented Oct 1, 2021

Blocked by chipsalliance/Surelog#1986

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants