Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Xilinx ISE Tcl Script Error

Status
Not open for further replies.

jjplaw

Newbie level 4
Joined
Oct 24, 2007
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,345
I'm running a program that invokes a tcl file. I'm trying to execute the xilinx tcl commands from that tcl script.

In the tcl script, i only have the following code.
Code:
source $env(XILINX)/bin/xilinx-init.tcl

But i received the following error when the script gets invoked:
Code:
error reading package index file C:/Xilinx/10.1/ISE/bin/pkgIndex.tcl: load: Cannot match  with any static package.
  Try "load_unsupported" to load dynamic packages into statically wrapped applications.
error reading package index file C:/Xilinx/10.1/ISE/bin/pkgIndex.tcl: load: Cannot match  with any static package.
  Try "load_unsupported" to load dynamic packages into statically wrapped applications.
can't find package xilinx
    while executing
"package require xilinx"
    (file "C:\Xilinx\10.1\ISE/bin/xilinx-init.tcl" line 30)
    invoked from within
"source $env(XILINX)/bin/xilinx-init.tcl"

Anyone here with experience dealing with xilinx tcl commands?
Any idea how to solve this? Please advise....
 

Hi,

I have never used this init file. I run my Xilinx Tcl scripts in their Tcl shell executable: xtclsh.exe

Devas
 

Probably i'm asking the wrong question.....
I intend to run the xilinx tcl commands from project creation to bitstream creation automation. But the script is being invoked from an exe file. When the script gets invoked, it's evaluated in a Tcl regular shell causing all the xilinx tcl commands to be undefined/no recognized.

How do i load/initialize the xilinx tcl libraries into that script so that i can use the xilinx tcl commands?

I tried using "source $env(XILINX)/bin/xilinx-init.tcl" which was taken from the Xilinx Development System Reference Guide document(Chapter 3, page 54) but i received the error above.

Please advise.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top