1. 读取LEF文件
read_lib -lef {head.lef stdcell.lef}
2.设置pg library mode
set_pg_library_mode
-extraction_tech_file */RCmax/qrcTechFile
-celltypes stdcells
-power_pins {VDD 1.5}
-ground_pins VSS
-temperature 125
-spice_models *SPICE-CONTROL*.lib.scs
-spice_subckts stdcell/stdcell.cdl
3.生成stdcell pg-lib
generate_pg_library -output stdcell_pg_lib
生成文件:
1)stdcells.cl 包含标准单元power-grid views,通过spice仿真power/groung pins间的精确的耦合电容值,电流taps添加到power-pins上
2)stdcells.report 对于power/ground nets的报告,包括nets的名称,电压值,仿真的电容值,taps的数量,仿真的power gate 单元的Idsat,Ileakage,Ron,power gate 单元的详细信息
3)stdcell.summary 报告包含的单元类型:STDCELL,FILLER,DECOUPLING CAP ,POWER_GATE,pins/metal layers/电流 tap的数量