-
Notifications
You must be signed in to change notification settings - Fork 0
/
nand2.inc
24 lines (22 loc) · 869 Bytes
/
nand2.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
* =============================================================================
* Circuit : CMOS NAND2 Gate
* Description: 2 PMOS 2 NMOS
*
* Author : Wuqiong Zhao ([email protected])
* Date : 2023-06-01
* License : MIT
* =============================================================================
.subckt NAND2 gnd i1 i2 o vdd
* src gate drain body type
Mp1 vdd i1 o vdd PMOS_VTL W=360nm L=45nm
Mp2 vdd i2 o vdd PMOS_VTL W=360nm L=45nm
Mn1 t1 i1 o gnd NMOS_VTL W=450nm L=45nm
Mn2 gnd i2 t1 gnd NMOS_VTL W=450nm L=45nm
.ends NAND2
.subckt NAND gnd i1 i2 o vdd
* src gate drain body type
Mp1 vdd i1 o vdd PMOS_VTL W=360nm L=45nm
Mp2 vdd i2 o vdd PMOS_VTL W=360nm L=45nm
Mn1 t1 i1 o gnd NMOS_VTL W=450nm L=45nm
Mn2 gnd i2 t1 gnd NMOS_VTL W=450nm L=45nm
.ends NAND