The-OpenROAD-Project / OpenSTA

OpenSTA engine
GNU General Public License v3.0
399 stars 172 forks source link

errors with busses #34

Closed thesourcerer8 closed 4 years ago

thesourcerer8 commented 4 years ago

When reading a verilog file with busses, I get errors like this: Error: synthesis/raven_spi.rtlbb.v, line 8 syntax error, unexpected ';', expecting '='.

thesourcerer8 commented 4 years ago

Example file: http://www.futureware.at/~philipp/workshop/raven_spi.rtlbb.v

jjcherry56 commented 4 years ago

foo[1] is not legal as a verilog port. You either have to escape the bus bits or group them ('foo' is the port and 'output [3:0] foo;' is the declaration). See the verilog LRM for syntax.