Forum Discussion
Altera_Forum
Honored Contributor
14 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 LogicLoc...
Altera_Forum
Honored Contributor
14 years agoLookup "regexp". It will be something like:
regexp {^(X)([0-9]+)(_Y)([0-9]+)$} $ORIGIN all x x_coord y y_coord I would run a few experiments with different ORIGIN values, then the regexp, and then dump it with: puts "all=$all x=$x, x_coord=$x_coord, y=$y y_coord=$y_coord"