File: highlight.sp

package info (click to toggle)
libsyntax-highlight-engine-kate-perl 0.14%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 3,848 kB
  • sloc: perl: 84,065; ruby: 176; asm: 166; cpp: 144; jsp: 128; haskell: 116; sh: 111; f90: 99; python: 98; ml: 75; xml: 43; yacc: 37; ansic: 32; tcl: 29; lisp: 24; makefile: 14; awk: 13; php: 5
file content (32 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (17)
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
*current sink p-type inverter - dc sweep of voltage I/O 
*file:invcsp0.sp

*parameters
.PARAM ww=38.5                  $ parameter for width which will be swept

*circuit net list
Vdd  vdd  GND  dc  5.0
Vbias bias GND dc 2.5
Vin  src  GND  dc  0.0
Mn  out  bias  GND  GND  nmosl1  W=16    L=8
Mp  out  in     vdd  vdd  pmosl1   W=ww  L=8
Cl  out  GND  0.01P
Rs  src   in     10K

*options & analysis
.OPTIONS POST=2 SCALE=1U   $ output results for plot; scale mosfet L & W dimensions
.DC Vin 0 5 0.1 $sweep I/P voltage 
.MEASURE DC vin_bal WHEN V(out)=2.5

*output
.plot DC v(src) v(in) v(out) 

*mosfet models - level 1
.INC 'l1typ.inc'

$ a comment
* another comment

.END