Negative const syntax error in harris compute
dillonhuff opened this issue · 0 comments
dillonhuff commented
When I try to generate test verilog for harris I get the follwing error:
cmd: ${COREIR_PATH}/bin/coreir --load_libs commonlib --input harris.json --output harris.v
cmd: verilator -Wall --cc harris.v --exe --build harris_verilog_tb.cpp --top-module harris -Wno-lint
%Error: harris.v:45542:8: syntax error, unexpected const, expecting IDENTIFIER
45542 | ) const-255__383 (
| ^
%Error: harris.v:45701:8: syntax error, unexpected const, expecting IDENTIFIER
45701 | ) const-255__283 (
| ^
%Error: Exiting due to 2 error(s)
This seems to come from the harris compute file: https://github.com/dillonhuff/clockwork/blob/b4dc132aa141f610421159bccf8ae21b8ae353ce/coreir_compute/harris_compute.json#L239