Corrections, mostly to spectre_to_spice to handle various issues,
especially with the use of primitive device prefixes 'C' and 'R'
to call subcircuits.
diff --git a/common/split_one_spice.py b/common/split_one_spice.py
index c454c8d..86a448a 100755
--- a/common/split_one_spice.py
+++ b/common/split_one_spice.py
@@ -294,10 +294,13 @@
# All comment lines that are surrounded by lines marked -3 should
# also be marked -3. This keeps comments that are completely inside
# blocks that are only in the common file out of the individual files.
+ # ignore "* statistics" and "* mismatch" lines.
lineno = 0
for line in inplines[1:]:
lineno += 1
+ if line.startswith('*') and ('statistics' in line or 'mismatch' in line):
+ continue
if linedest[lineno] == -1 and linedest[lineno - 1] == -3:
testline = lineno + 1
while linedest[testline] == -1: