Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21605 Discussions

Tcl script make all pin virtual

Altera_Forum
Honored Contributor II
1,575 Views

Hi all, 

 

Trying follow the instruction base on the Manually Exclude Certain Pins, Such as Clocks. I get some error 

 

http://www.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 

 

However, when i type  

source Tcl_script1.tcl 

make_all_pins_virtual -exclude { inclk0 } 

 

in the tcl consule, it return back  

can't read "argv": no such variable 

 

Can anyone help me with this? I attached the achieve file. 

 

Thanks a lot in advance
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
740 Views

 

--- Quote Start ---  

Hi all, 

 

Trying follow the instruction base on the Manually Exclude Certain Pins, Such as Clocks. I get some error 

 

http://www.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 

 

However, when i type  

source Tcl_script1.tcl 

make_all_pins_virtual -exclude { inclk0 } 

 

in the tcl consule, it return back  

can't read "argv": no such variable 

 

Can anyone help me with this? I attached the achieve file. 

 

Thanks a lot in advance 

--- Quote End ---  

 

 

Hi, 

 

I found a solution for your problem. First of all there where some bugs in the script itself. 

Also important is that you have to run the script in a cmd-window. You could not pass argument to the script in the tcl-window ( at least as far as I know). have a look to my changes. Don't forget to change the file extension. 

 

 

Kind regards 

 

GPK 

 

Thanks a lot in advance 

--- Quote End ---  

0 Kudos
Altera_Forum
Honored Contributor II
740 Views

Thanks, i also found the pb. Thanks for the advice as well

0 Kudos
Reply