Replies: 1 comment
-
|
You can get the syntax node by looking at the port symbol's internalSymbol.declaredType.typeSyntax or internalExpr.syntax. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I want to use the python binding as a library to extract some design related information. However, I found that I cannot get the raw text using PortSymbol.type.
Example:
It is great to get the real width after parsing the .v file. But maybe the raw text combined with InstanceBodySymbol.parameters is also a good way for changing the actual width when instantiating the modules.
Beta Was this translation helpful? Give feedback.
All reactions