Forum Discussion
wa_itd
New Contributor
2 months agoHow to create a Packaged Subsystem in TCL
I am hoping to create a script which will automatically package the IP I am working on as a packaged subsystem. So far, I have automated the creation of an IP directory which describes a new compone...
sstrell
Super Contributor
2 months agoThe script from the GUI is assuming the packaged subsystem has already been created. Running it standalone, you can't set_package_property unless you've created a package first. I don't see offhand the Tcl command for doing this, but you can check the Platform Designer messages window when you open the dialog box to see the equivalent command to add to your script.
Your script also probably has to call an executable to load the Tcl package that contains set_package_property. I've never scripted this so I'm not sure what's needed, but hopefully this gives you enough to figure it out.