TCL Like Commands #1497
zigzagtx2778
started this conversation in
Ideas
Replies: 1 comment
-
|
I had not considered something like that. It's certainly doable, but you're basically just writing a wrapper for the Python API at that point with slightly different syntax. Probably not worth it since you aren't going to come up with something that is drop-in compatibility with any existing TCL scripts I think. |
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.
-
Have you considered adding functions that mimic the commands typically found in say a AMD Vivado TCL environment, such as get_modules, get_instances, get_ports, get_pins, or get_parameters There are a lot of others that could be listed, but these are the first basics that come to mind.
Obviously there are probably a lot of opinions on what should be returned. A pointer to a SyntaxNode from the SyntaxTree or a Symbol from the Compilation tree? Or potentially some other formatted structure that breaks down the basic information of the object returned, such as, in the case of get_modules, the module name, a list of parameters, ports, instances, signals, a link to the base node of the object in the syntax tree, and such.
Beta Was this translation helpful? Give feedback.
All reactions