Fixed #858 (+ line continuation after blanks in Spice reader)

This commit is contained in:
Matthias Koefferlein
2021-07-02 23:31:54 +02:00
parent fd5efe9f92
commit 79c552b300
7 changed files with 254 additions and 65 deletions
+3
View File
@@ -0,0 +1,3 @@
.include "nreader14a.cir"
+4
View File
@@ -0,0 +1,4 @@
.subckt INVX1 1 2 3 4 5 6
.include nreader14x.cir
.ends
+4
View File
@@ -0,0 +1,4 @@
m$1 1 5 2 4 mlvpmos w=1.5um l=0.25um
m$2 3 5 2 6 mlvnmos w=0.95um l=0.25um
m1 1 *an error
+18
View File
@@ -0,0 +1,18 @@
.SUBCKT SUBCKT
+ \$1 A[5]<1> V42\x28\x25\x29 Z gnd gnd$1
* device instance $1 r0 *1 0,0 HVPMOS
XD_$1 V42\x28\x25\x29 \$3 Z \$1
+ HVPMOS PARAMS: L=0.2 W=1 AS=0.18 AD=0.18
+ PS=2.16 PD=2.16
XD_$2
+ V42\x28\x25\x29 A[5]<1> \$3 \$1
+ HVPMOS PARAMS: L=0.2 W=1 AS=0.18 AD=0.18
+ PS=2.16 PD=2.16
XD_$3 gnd \$3 gnd gnd$1 HVNMOS PARAMS: L=1.13 W=2.12 PS=6 PD=6 AS=0 AD=0
+
XD_$4 gnd \$3 Z gnd$1 HVNMOS PARAMS: L=0.4 W=0.4 PS=1.16 PD=1.16 AS=0.19 AD=0.19
XD_$5 gnd A[5]<1> \$3 gnd$1 HVNMOS
+ PARAMS: L=0.4 W=0.4 PS=1.76 PD=1.76 AS=0.19 AD=0.19
.ENDS SUBCKT