-
Notifications
You must be signed in to change notification settings - Fork 2
/
TOP_extracted.spice
39 lines (29 loc) · 927 Bytes
/
TOP_extracted.spice
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
** sch_path: /usr/local/google/home/sachinnadig/MixedSignal_ENV/GF180_GAFE_1/TOP_extracted.sch
**.subckt TOP_extracted
VP VP GND 1.8
.save i(vp)
V1 EN GND PULSE ( 0 1 2NS 2NS 2NS 1uS 2uS 2)
.save i(v1)
X1 VP Z GND EN top
**** begin user architecture code
.include /usr/local/google/home/sachinnadig/MixedSignal_ENV/silicon-env/share/pdk/gf180mcuC/libs.tech/ngspice/design.ngspice
.lib /usr/local/google/home/sachinnadig/MixedSignal_ENV/silicon-env/share/pdk/gf180mcuC/libs.tech/ngspice/sm141064.ngspice typical
.include /usr/local/google/home/sachinnadig/MixedSignal_ENV/GF180_GAFE_1/top.spice
.tran 0.005u 8u
.save all
.control
run
wrdata osc_out_extracted EN Z
write TOP_extracted.raw
linearize V(x1.osc_sig)
set specwindow = blackman
fft V(x1.osc_sig)
set hcopydevtype = svg
hardcopy plot_0.svg mag((x1.osc_sig))
shell display plot_0.svg &
.endc
**** end user architecture code
**.ends
.GLOBAL VP
.GLOBAL GND
.end