-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why Should Verilog and SystemVerilog source file be split in two classes? #51
Comments
Good point.
Currently the file extension is also (implicitly?) bound to the class. |
I don't think there is anything wrong with having both a VerilogSoureFile and a SystemVerilogSourceFile class. But to share the similarities the SystemVerilogSourceFile class should basically just look like this since the only difference is the value of the Verilog version. class SystemVerilogSourceFile(VerilogSourceFile):
pass |
This sounds reasonable. As a consequence, the fields IEEE Std. 1800 superseeded IEEE Std. 1364, so only SystemVerilog parts should exist. On the other hand, Verilog is the common name part in both standards. We could model it as follows:
|
Latest changes are on dev branch. |
As an update: I'm still struggling with a major change to pyTooling (changing to v6.0), which blocks me on other repositories to upgrade and merge items. |
SystemVerilog is a Verilog release. It can be distinguished by the Verilog version. I don't see any reason for making two different classes.
The text was updated successfully, but these errors were encountered: