Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

How to used Quartus II Tcl Example: Make All Pins Virtual

Hi,

I had tried the scripts in

altera.com/support/examples/tcl/all_virtual_pins.html?GSA_pos=1&WT.oss_r=1&WT.oss=Quartus%20II%20Tcl%20Example:%20Make%20All%20Pins%20Virtual

For the first script it works fine, however for the other scripts “Manually Exclude Certain Pins, Such as Clocks” it failed.

The problem happens with the line below:

array set opts [::cmdline::getoptions quartus(args) $options]

And the error show:

# source make_all_pins_virtual.tcl

# make_all_pins_virtual -exclude { CLK ARSTn }

can't read "argv": no such variable

I am using the scripts from the tcl consule in quartus II and save the scripts as “make_all_pins_virtual.tcl”

Please give some advice on the error, did I do anything wrong?

Thanks in advance for any help that provided.

Best regards

kelly

1 Reply