Lec1 Setting Up For Redhawk 0
Lec1 Setting Up For Redhawk 0
Lec1 Setting Up For Redhawk 0
VERSION: V2.1-AL-RH101-17MAY2010
Documentation
rh_setup.pl script
Run directories
Use GSR template with fixed data locations to populate fields easily.
Example usage:
rh_setup.pl -top GENERIC -vdd VDD 1.0 -vss VSS -freq 100e6
Example usage:
APL files
cell.spcurrent
cell.cdev
FILE FORMATS:
1) LEF: Library Exchange Format: This is a industry standard format that has the
information related to pin description and boundaries of the blocks/instances in the
design.
2) DEF: Design Exchange Format: This contains logical and physical connectivity
between different instances and blocks in the design.
3) LIB: Synopsys Liberty file format: This has several electrical and logical properties
for a cell like: input and output pin properties, information on distributing power
among the different power pins, internal energy of the cell, cell functionality
information, etc.
4) SPEF – SIGNAL Parasitic Exchange Format: This file contains the parasitic (RC)
associated with each nets in the design.
metal <layer> {
thickness <value>
must if C and/or L extraction needed>
resistance <value>
resistance per square
EM <value>
EM current density in (current/length)
above <above a dielectric_layer_name defined in
dielectric>
must if C and/or L extraction needed and no Height
is defined
default NA
}
Use the “rhtech” utility to create the apache tech file from a STARRC-XT file
For the cadence tech file we have an utility “adsTechConverter.pl”
via <via_layer_name> {
width { <width> }
resistance <value>
Via resistance
The resistance is specified as it is for the via
EM <value>
Electromigration current limit for the via
UpperLayer <metal_layer_name; must>
LowerLayer <metal_layer_name; must>
}
viamodel <viamodel_name> {
<metal_layer_name> <X1> <Y1> <X2> <Y2>
<via_layer_name> <X1> <Y1> <X2> <Y2>
<metal_layer_name> <X1> <Y1> <X2> <Y2>
}
dielectric <dname> {
constant <value; must if C and/or L extraction needed>
thickness <value defined in length unit above; must>
above <dielectric_layer_name>
above which dielectric layer
must if Height is not specified
}
Inside the voltage source file, we can specify the sources in different
ways
- Pad instance ( *PAD section )
> <pad_cell_name_1> [<pin_name>| <pin_name> <layer_name>]
- Pad master cell ( *PCELL section)
> <master cell name>
<x source loc> <y source loc> <layer> <P/G pad type>
- Pin location list ( *PLOC section )
> <Net name> <x coord> <y coord> <layer> <POWER | GROUND>
- Pad location with package (* PLOC_PSS )
- Pad master cell used along with package (*PAD_PSS )
RedHawk will automatically identify the PINS from DEF if you use GSR
keyword 'ADD_PLOC_FROM_TOP_DEF 1” .
*PCELL
DVDD12
DVSS
PASLZ55 VDD
PADLZ55 VSS
*PAD
VDD_PAD1
VSS_PAD45
PVDD1DGZ
17.5 242.0 METAL6 POWER
*PLOC
DVDD1 4905 878.85 METAL4 POWER
DVSS1 4880 938.85 METAL4 GROUND
DVDD2 4905 998.85 METAL4 POWER
# GSR keywords
VDD_NETS {
VDD 1.7
# RedHawk interactive commands
VDDA 3.3
import gsr GENERIC.gsr
}
setup design
…
TOGGLE_RATE 0.2
DEF_FILES {
file_16.def top
}
…
6/24/2010, 22 ©2010 Apache Design Solutions
GSR File Overview
TECH_FILE ads.tech
LIB_FILES {
LIB_FILES {
OR <design>.libs
<path to lib file>
}
<path to lib directory> (all *.lib files in dir)
<path to custom lib file> custom
}
LEF_FILES {
LEF_FILES { OR <design>.lefs
<lef file path>/name1.lef << tech definition }
<lef file path>/name2.lef
}
DEF_FILES { OR DEF_FILES {
<def file path>/name1.def <design>.defs
<def file path>/name2.def TOP < last one to be TOP DEF }
}
PAD_FILES {
pad file path name/name1.pad
}
GDS_CELLS {
cell_name1 <path to dir where files for cellname1
reside>
cell_name2 <path to dir where files for cellname2
reside>
}
# Power specification
BLOCK_POWER_FOR_SCALING {
FULLCHIP <design_name/block/instance> Fullchip or block or cell
<total power>
power can be specified
CELLTYPE <cell name> <power>
<block name> <instance name> <power>
} Honor user provided
INSTANCE_POWER_FILE {
instance specific power
<name of file>
}
# Import data
import gsr GENERIC.gsr
setup design
# Calculate power
perform pwrcalc
# Static IR analysis
perform analysis –static
report result