loading sta package in tcl script with quartus_sh
Hello everyone,
I am trying to load the sta package in a tcl script to set all pins to virtual using the script (make_all_pins_virtual) provided here: https://www.intel.com/content/www/us/en/support/programmable/support-resources/design-examples/quartus/all-virtual-pins.html?wapkw=make_all_pins_virtual
I noticed that the timing and advanced_timing packages are no longer available but the same procedures are available under the sta package, so I replaced the following two lines
load_package timing load_package advanced_timing
with
load_package sta
However, I could not load the library as I am getting the following error. I am able to load the flow, project and report packages successfully though.
Error (23035): Tcl error: ERROR: Quartus Prime Tcl package "::quartus::sta" is only available for use in the following executables: quartus_fit quartus_sta
So is the sta package not usable using quartus_sh executable? Is there any alternative to this? Or am I missing something?
Any help is appreciated. Let me know if any more information is required
Usually when I encounter such errors, I run the Tcl script with the 'quartus_sta' executable instead, like this:
quartus_sta -t my_script.tcl
Can you try this and see if it works?
- hh