Altera_Forum
Honored Contributor
13 years agotcl script to modify origin of a region
Hi,
I need a way of modifying the result of the following line using tcl scripting. set ORIGIN [get_logiclock -region $region -origin] The previous line gives the origin of a LogicLock region which I want to modify using arithmetic operations. The return is of the following form X#_Y# where# are x and y locations How can I extract those numbers and let's say add 2 to the x coordinate using tcl? Thank you, -Adrian