csail-csg / pyverilator

Python wrapper for verilator model
MIT License
78 stars 34 forks source link

Why does PyVerilator explicitly check for .v extension on files #18

Open Duality4Y opened 2 years ago

Duality4Y commented 2 years ago

Why does PyVerilator explicitly check for the .v extension on files? Is there a good reason for this?

here is the line: https://github.com/csail-csg/pyverilator/blob/master/pyverilator/pyverilator.py#L409

what if you call your source files .sv for system verilog ? or .txt? It shouldn't matter right?