1 * Z:\College\Senior Year\Trinary Research Project\trinary\circuits\Decoder.asc
\r
2 XX1 DEC_IN OUT_i OUT_0 OUT_1 decoder1-3
\r
4 * block symbol definitions
\r
5 .subckt decoder1-3 IN OUT_i OUT_0 OUT_1
\r
7 XX1sti IN_pti OUT_1 sti
\r
9 XX0nor OUT_1 OUT_i OUT_0 tnor
\r
13 Xinv IN OUT NC_01 NC_02 tinv
\r
17 XXinv IN NC_01 OUT NC_02 tinv
\r
21 Xinv IN NC_01 NC_02 OUT tinv
\r
24 .subckt tnor A B TNOR_Out
\r
27 MN1 NN A $G_Vss $G_Vss CD4007N
\r
28 MP2 NI A $G_Vdd $G_Vdd CD4007P
\r
29 MN2 NN B $G_Vss $G_Vss CD4007N
\r
30 MP1 NI B NP $G_Vdd CD4007P
\r
33 .subckt tinv Vin PTI_Out STI_Out NTI_Out
\r
34 RP PTI_Out STI_Out 12k
\r
35 RN STI_Out NTI_Out 12k
\r
36 MN NTI_Out Vin $G_Vss $G_Vss CD4007N
\r
37 MP PTI_Out Vin $G_Vdd $G_Vdd CD4007P
\r
42 .lib C:\PROGRA~1\LTC\SwCADIII\lib\cmp\standard.mos
\r