StanfordAHA/Halide-to-Hardware

Unsharp coreir compute has unrecognized commonlib module?

dillonhuff opened this issue · 1 comments

@jeffsetter I'm running the coreir verilog for unsharp and getting:

cmd: ${COREIR_PATH}/bin/coreir --inline --load_libs commonlib --input unsharp.json --output unsharp.v
cmd: verilator -Wall --cc unsharp.v --exe --build unsharp_verilog_tb.cpp --top-module unsharp -Wno-lint
%Error: unsharp.v:196189:24: Can't resolve module reference: 'commonlib_div__width16'
196189 | commonlib_div__width16 div_588_590_591 (

Any idea whats wrong here?

div is a coreir op. I would expect it to use "coreir.div" instead of "commonlib.div"