StanfordAHA / Halide-to-Hardware

Other
77 stars 12 forks source link

Unsharp coreir compute has unrecognized commonlib module? #107

Closed dillonhuff closed 4 years ago

dillonhuff commented 4 years ago

@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?

rdaly525 commented 4 years ago

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