More corrections to spectre_to_spice.py and split_spice.py.
diff --git a/common/split_spice.py b/common/split_spice.py
index d8c5539..e6b8509 100755
--- a/common/split_spice.py
+++ b/common/split_spice.py
@@ -48,9 +48,6 @@
for line in inplines:
- if subname == 'xrdn':
- print('handling line in xrdn, file ' + in_file + ': "' + line + '"')
-
# Item 1. Handle comment lines
if line.startswith('*'):
if subcktlines != []:
@@ -71,8 +68,6 @@
# Item 3. Handle blank lines like comment lines
if line.strip() == '':
- if subname == 'xrdn':
- print('blank line in xrdn subcircuit')
if subcktlines != []:
subcktlines.append(line)
else:
@@ -151,6 +146,9 @@
print(line, file=ofile)
subcktlines = []
+ # Add an include statement to this file in the source
+ spicelines.append('.include ' + subckt_file)
+
insubckt = False
inmodel = False
subname = ''