#### akis

##### Junior Member level 1

I have a big problem and i need some help. I im working on a project and i have to find the parasitics(p) and logical effort(g) of standard cells with HSPICE. I have read the book of Waste-Harris especially the chapter 5 but it didnt help me a lot. This is a sample code of AND2_X1.sp file as i take it from Nangate Cell Library:

.GLOBAL VDD

.GLOBAL VSS

********************************************************************************

* *

* Cellname: AND2_X1. *

* *

* Technology: NCSU FreePDK 45nm. *

* Format: Default. *

* *

* *

********************************************************************************

.SUBCKT AND2_X1 A1 A2 ZN VDD VSS

M_i_0 net_001 A1 net_000 VSS NMOS_VTL W=0.130000U L=0.050000U AS=0.008450P AD=0.008450P PS=0.260000U PD=0.260000U

M_i_5 VSS A2 net_001 VSS NMOS_VTL W=0.130000U L=0.050000U AS=0.008450P AD=0.008450P PS=0.260000U PD=0.260000U

M_i_11 ZN net_000 VSS VSS NMOS_VTL W=0.090000U L=0.050000U AS=0.004050P AD=0.004050P PS=0.180000U PD=0.180000U

M_i_18 net_000 A1 VDD VDD PMOS_VTL W=0.135000U L=0.050000U AS=0.009112P AD=0.009112P PS=0.270000U PD=0.270000U

M_i_25 VDD A2 net_000 VDD PMOS_VTL W=0.135000U L=0.050000U AS=0.009112P AD=0.009112P PS=0.270000U PD=0.270000U

M_i_31 ZN net_000 VDD VDD PMOS_VTL W=0.135000U L=0.050000U AS=0.009112P AD=0.009112P PS=0.270000U PD=0.270000U

.ENDS

********************************************************************************

*

* END

*

********************************************************************************

Except from the parameters that i have to add to this code for simulation what else i have to add so i can compute the logical effort and the parasitics?

Please help me if you can because that is important for the next steps of my project. :???: