[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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…