-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathring.v
47 lines (37 loc) · 930 Bytes
/
ring.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
***Ring Oscillator Netlist***
.include TSMC_180nm.txt
vdd 1 0 dc 1.8
**Connections: drain gate source body CMOSN/CMOSP w L**
*Connections of 5 inverters*
MP1 3 2 1 1 CMOSP W = 3.6u L = 0.18u
MN1 3 2 0 0 CMOSN W = 1.8u L = 0.18u
C1 3 0 100f
MP2 4 3 1 1 CMOSP W = 3.6u L = 0.18u
MN2 4 3 0 0 CMOSN W = 1.8u L = 0.18u
C2 4 0 100f
MP3 5 4 1 1 CMOSP W = 3.6u L = 0.18u
MN3 5 4 0 0 CMOSN W = 1.8u L = 0.18u
C3 5 0 100f
MP4 6 5 1 1 CMOSP W = 3.6u L = 0.18u
MN4 6 5 0 0 CMOSN W = 1.8u L = 0.18u
C4 6 0 100f
MP5 2 6 1 1 CMOSP W = 3.6u L = 0.18u
MN5 2 6 0 0 CMOSN W = 1.8u L = 0.18u
C5 2 0 100f
.tran 0.01n 10n
.control
run
**plot background color**
set color0 = black
**grid lines color**
set color1 = white
**plot 1 color**
set color2 = blue
**plot 2 color**
set color3 = red
**plot 3 color**
set color4 = brown
set xbrushwidth = 3.5
plot v(2)+4 v(5)+2 v(2)
.endc
.end