set_location (x, y ) hier_inst_name ;
set_location (xbl ,ybl xtr ,ytr ) hier_inst_name/*;
x, y
Specifies the tile coordinates for the location of a cell.
hier_inst_name
Specifies the hierarchical path to a cell instance.
xbl ,ybl xtr ,ytr
Specifies the tile coordinates for the bottom-left and top-right corner of the region.
None
set_location (1,15) u4/u3/nand3_4;
set_location (1,1 32,32) datapath/*;
This statement has been extended to allow you to place a sub-design instance by calling its macro and then applying a translation and rotation.
set_location (x, y) hier_subdesign_inst_name macro_name
[transformations];
where
hier_subdesign_inst_name is the hierarchical name of the instance of the sub-design; (x, y) is the final location of the lower left corner of the macro after all transformations have been completed; macro_name is the name of the previously defined macro; transformations are optional, and any of the following in any order:
flip lr - flip cell from left to right
flip ud - flip cell from up to down
rotate 90 cw - rotate 90 ° clockwise
rotate 180 cw - rotate 180 ° clockwise
rotate 270 cw - rotate 270 ° clockwise
rotate 90 ccw - rotate 90 ° counter-clockwise
rotate 180 ccw - rotate 180 ° counter-clockwise