sgherbst / pysvinst

Python library for parsing module definitions and instantiations from SystemVerilog files
MIT License
21 stars 5 forks source link

Add support for --separate and fix handling of empty files #4

Closed sgherbst closed 4 years ago

sgherbst commented 4 years ago

This PR is related to sgherbst/svinst#8. Now that there is a new option --separate for svinst, the Python interface has been updated to support that option as well. In addition, I found a bug in the handling of files with no module definitions, so that is fixed here, as well.