Object Editing FAQs
The following are the FAQs related to editing objects:
- How do I change the number of rows and columns during a subsequent copy operation?
- How do I replace cellviews hierarchically in a design?
- How do I list the hierarchy from top to bottom?
- When I stretch a path that overlaps a shape, why does the path remain connected to the shape?
How do I change the number of rows and columns during a subsequent copy operation?
To change the number of rows and columns in the subsequent copy operation, you can set the copyResetRowCol environment variable in the home directory or the .cdsenv file.
layout copyResetRowCol boolean t
If copyResetRowCol is set to nil, the default value, which is the last value used for rows and columns, is used for the next copy operation. However, if copyResetRowCol is set to t, the values of rows and columns in the Enter Points form get reset.
You can also set copyResetRowCol in the .cdsinit file using the following command:
leSetEnv("copyResetRowCol" t)
How do I replace cellviews hierarchically in a design?
You can quickly replace cellviews hierarchically in a design. For example, there is a cell, MYCAP, with multiple layout views, layout_A and layout_B. The layout_A of MYCAP cell is instantiated in the cell, MY_CAP_ARRAY, in the library, testlib. To swap layout_A with layout_B in the cell MY_CAP_ARRAY, you can use the following sample SKILL API:
CCSTop("tstlib" "MY_CAP_ARRAY" "layout" "MYCAP" "layout_A" "layout_B" '("refLibA" "refLibB") )
In the example, refLibA and refLibB are read-only reference libraries.
How do I list the hierarchy from top to bottom?
When you use the command Edit – Hierarchy – Tree with the Top to bottom option selected, the complete hierarchy is not listed. The Display Level settings in the Display Options form limits the number of levels listed by the Tree command. If the Display Level is set to 0 through 3, even if you select the Top to bottom option on the Tree form, the output will be for levels 0 through 3 only. So, before running the Tree command with the Top to bottom option selected, change the Display Level value to 32.
When I stretch a path that overlaps a shape, why does the path remain connected to the shape?
You should use the Keep Wires Connected To option on the Stretch form to specify the connectivity option. If you have not selected this option, the path will not remain connected to the rectangle. For example, you created a rectangle and then created a path that is on the same layer and overlaps the rectangle. If you try to stretch the path, the end of the path will remain connected to the rectangle, even when the Maintain Connections option on the Layout Editor Options form is deselected.
Related Topics
Return to top