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
89 stars 21 forks source link

Added default_nettype as a verilog token #223

Closed ganeshgore closed 7 months ago

ganeshgore commented 7 months ago

In Verilog functional simulation the default_nettype directive is added to infer undefined signal nets as wire default_nettype wire or to prevent inferring nettype for undefined wires default_nettype none. I am adding this token to prevent error while parsing verilog file when this directive exist.