Calibre CalibreDRV script which modifies meaningful cellnames to meaningless cellnames

2023-05-19T10:18:25.000-0400
Viewing & Interfaces

Summary

The calibredrv script takes all cell names from the layout and converts them to meaningless names.


Details

# user input from command line
if {$argc != 2} {
  puts "Error: wrong number of arguments"
  exit
}

set input [lindex $argv 0]
set output [lindex $argv 1]

#the prefix "cell_" will be added to the cellnames
set prefix "cell_"

set L [layout create $input]
set i 1
foreach cell [$L cells] {
              $L cellname $cell $prefix$i
              incr i
}

if { [ $L format ] =="GDS" } {
        $L gdsout $output
} else {
        $L oasisout $output
}

For execution of the script from the command line please specify the following:

calibredrv rename_cells.tcl input.gds output.gds
 

KB Article ID# KB000112025_EN_US

Contents

SummaryDetails

Associated Components

Calibre DESIGNrev