cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
luoxi213
Observer
Observer
596 Views
Registered: ‎03-03-2021

How do I implement a non-project Tcl script example in UG894

Jump to solution

As shown in the following picture, I don't know how to read those source files, who can tell me where to open them?

thank you

image.png
0 Kudos
1 Solution

Accepted Solutions
hongh
Moderator
Moderator
476 Views
Registered: ‎11-04-2010

Oh, I see.

The example tcl script can just be referred to add your own source code. The source files mentioned in the tcl are not provided.  

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
7 Replies
hongh
Moderator
Moderator
581 Views
Registered: ‎11-04-2010

You can execute these command in TCL CONSOLE of Vivado GUI or execute as a tcl file.

%vivado -mode tcl -source XX.tcl

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
luoxi213
Observer
Observer
568 Views
Registered: ‎03-03-2021

I tried your

% vivado-mode tcl-source XX. TCL

command, but still can't find the source file. This is what I want to find, but I don't know where it is

image.png
0 Kudos
hongh
Moderator
Moderator
564 Views
Registered: ‎11-04-2010

Please set the proper working dir before sourcing the tcl script. Or you can change the relative path to absolute path for the files in tcl script file.

Ex:cd abc/abc

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
luoxi213
Observer
Observer
487 Views
Registered: ‎03-03-2021

My problem is that I don't know where the

./Source/ HDL /bftLib

folder is.Does it come with the software installation?

0 Kudos
hongh
Moderator
Moderator
477 Views
Registered: ‎11-04-2010

Oh, I see.

The example tcl script can just be referred to add your own source code. The source files mentioned in the tcl are not provided.  

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
luoxi213
Observer
Observer
474 Views
Registered: ‎03-03-2021

I am just a beginner, many questions may be very naive, thank you for your patience to answer

0 Kudos
hongh
Moderator
Moderator
454 Views
Registered: ‎11-04-2010

It’s normal to get stuck with some seemingly simple problems when you are just getting in touch with a new tool. 

Please feel free to raise your doubts after some thought and searching.

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos