t-crest / patmos

Patmos is a time-predictable VLIW processor, and the processor for the T-CREST project
http://patmos.compute.dtu.dk
BSD 2-Clause "Simplified" License
134 stars 72 forks source link

Issue when building patmos with verilator #113

Closed saleh1204 closed 2 years ago

saleh1204 commented 2 years ago

Hello,

when I try to build patmos, it fails on emulator target with the following error message.

%Error: ../harnessConfig.vlt:2: syntax error, unexpected IDENTIFIER %Error: Exiting due to 1 error(s) %Error: Command Failed /usr/bin/verilator_bin --cc ../harnessConfig.vlt Patmos.v --top-module Patmos '+define+TOP_TYPE=VPatmos' --threads 1 -CFLAGS '-Wno-undefined-bool-conversion -O1 -DTOP_TYPE=VPatmos -DVL_USER_FINISH -include VPatmos.h' -Mdir /home/ahmed/t-crest/patmos/hardware/build --exe ../Patmos-harness.cpp -LDFLAGS -lelf --trace

OS: Ubuntu 18.04 verilator: 3.916

saleh1204 commented 2 years ago

Issue was resolved when using verilator version 4.200 thanks,