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.

[SOLVED] how to use variable in ic compiler tcl script

Status
Not open for further replies.

zhang43

Newbie level 4
Joined
Apr 14, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,314
I want use tcl variable to automatic do the underline

---------------------------------------------------------
set x_coordinate 50
set y_coordinate 50

set_attribute -cell hoge -origin {$x_coordinate $y_coordinate}
---------------------------------------------------------

but it not work.
I am a newcommer of tcl,can anyone help me
 

Thank you very much for your answer.
I wil try it tommorow.
 

Try something like

set_attribute [get_cells hoge] origin "$x_coordinate $y_coordinate"
 
Thank you Mr.oratie!
It work!!!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top