Thursday, November 5, 2015

Tcl Commands For Instance Operations

You can use Tcl commands to perform the following instance operations:

1) create_cell
 Adds a new flat cell instance. By default, the create_cell cmd uses the FRAM view for the new or changed cells. If you want to change to the CEL view, use the -view_CEL option with the create_cell command.
If you want to create a hieratchical cell in the design, run the create_cell -hierarchical command.

Note:
IC Compiler applications, such as extraction, timing, and optimization require a FRAM view for all cells. If you specify the -view CELL option, you must provide both a CEL view and a FRAM view for all cells that use the CEL view. If a FRAM view does not exist for a cell, use the create_macro_fram cmd to create it.

2) insert_buffer :  Adds a new buffer

3) remove_cell  : Removes a flat cell instance.

4) replace_cell_reference : Cahnges the reference cell of a leaf cell.

5) remove_buffer : Removes a buffer

6) size_cell : Resizes a flat cell instance

for example:
size_cell block1/U2 class/BUFX8
insert_buffer {block1/U2/Z} class/BUFFX16

Updating Placement,
Example:
open_mv_lib MOBLIB
open_mw_cel top
eco_netlist -by_verilog_file eco.v
legalize_placement -eco -incemental

Updating Routing,
There are several options for routing the ECO placement.
You can manually connected the ECO routing when the change is very minor or if the routing is limited to a few layers.
When the change is major, use the route_zrt_eco cmd to do the following operations:
1) Perform the routing for broken nets, newly added nets, deleted nets, onsolete nets, and ripped-up unused sections of changed wires.
2) Attempt to preserve the critical routes and to fix the DRC violations.
3)Go through global routing, track assignment, and detail routing.

The route_zrt_eco cmd has many powerful options that make routing inteligent. For example, it can freeze certain layers or vias and skip global routing or track assignments.
This cmd only routes modified nets, regional-based ECO routing ( thta is, specified areas),
and distributed regions, based on ECO routing. The following example performs ECO routing by using the -max_detail_route_iterations, -utilize_dangling_wires, -open_net_driven, and -reroute options.

Example,
icc_shell> route_zrt_eco -max_detail_route_iterations 5 \
-utilize_dangling_wires true -open_net_driven true \
-reroute modified_nets_first_then_others



No comments:

Post a Comment