byuccl / spydrnet

A flexible framework for analyzing and transforming FPGA netlists. Official repository.
https://byuccl.github.io/spydrnet
BSD 3-Clause "New" or "Revised" License
86 stars 20 forks source link

Verilog parser not parsing file #181

Closed emonlux closed 1 year ago

emonlux commented 2 years ago

Verilog parser is unable to fully parse my simpleCounter.v file

line 605, in parse_port_declaration AssertionError: expected port name defined in the module header to declare a port but got \FSM_sequential_cs_reg[1]_0

jacobdbrown4 commented 1 year ago

First thing to make sure is that the verilog file is legit. Is it from Vivado or somewhere else?

jacobdbrown4 commented 1 year ago

Also is this on the main branch or another branch?