-
Notifications
You must be signed in to change notification settings - Fork 22
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
[verilog] Primitives #201
Comments
Our goal has been to parse structural Verilog netlists, so we have never needed support for this. We may look at adding support for this sometime though. |
If I understand correctly, the desired functionality is not having to give instances a name. Is that it? @agg23 |
Sorry, somehow I wasn't notified for this mention. The desired functionality is to properly parse the Intel simulation libraries, which includes the use of the primitive directive: primitive and (input a, input b, output out);
...
endprimitive Since these represent primitives, they are allowed to be instantiated without a name, as there's no point in having |
@agg23 This looks like something we could support. If the Verilog parser sees that the cell type is a primitive, it will not look for a name. What primitives should be supported? Can you provide a list of their names and ports? |
Unsure if this actually applies to the project, as it probably doesn't come up in most (any?) netlists, but Verilog has the concept of primitives, both builtin (
XOR
,AND
, etc), and user generated.Since primitives are created using solely a truth table, they can be instantiated without giving them a name:
The Intel simulation libraries use these concepts throughout, and thus are not currently parsible. Again, not sure if this applies, since these files are full simulation-ready implementations, not barebones netlists.
The text was updated successfully, but these errors were encountered: