Edan Chen
08/29/2023, 6:42 AMEdan Chen
08/29/2023, 6:59 AM--bbox-unsup
argument is used, the simulation starts, but it seems that the design becomes unresponsive. This is likely because the actual functionality of the gates relies on the UDP tables, and disregarding them results in the cells being unable to provide their original functionality.
I am not sure my understanding is correct.Lofty
08/29/2023, 11:55 AMEdan Chen
08/30/2023, 3:21 AMBurak Aykenar
08/31/2023, 12:53 PMEdan Chen
09/01/2023, 1:08 AM--bbox-unsup
arguments is defined in the CMakeLists.txt
. The following part is the verilate cmd I used in the CMakeLists.txt
verilate(
${TOP_NAME}_tb ${TRACE_FORMAT}
TOP_MODULE ${TOP_NAME} PREFIX V${TOP_NAME}
INCLUDE_DIRS ${RTL_DIR} ${VOUT_DIR} ${TECH_DIR} SOURCES ${RTL_SOURCES}
DIRECTORY ${VOUT_DIR} VERILATOR_ARGS ${VARGS}
)
Where the --bbox-unsup
is set in the VARGS
using
set(VARGS --bbox-unsup)
Burak Aykenar
09/04/2023, 12:16 PMMartí Alonso Garcia
09/24/2025, 11:07 AMalways_ff
representation that Verilator likes. You can check it out here: https://gitlab.com/fishingmonkeys/pdk/-/commit/866b55a8acd267031a5c679b8959333ff1fa70d8
Depending on the PDK version you are using there might be other primitives such as muxes that also need to be translated.
I also had to pass the following arguments to Verilator: -DFUNCTIONAL -DUNIT_DELAY= -Wno-fatal
Hope this helps!