commit | 4eb5c02402364a87a83c9e7433ea8ca6464f167a | [log] [tgz] |
---|---|---|
author | Tim Edwards <tim@opencircuitdesign.com> | Tue Jul 28 11:46:53 2020 -0400 |
committer | Tim Edwards <tim@opencircuitdesign.com> | Tue Jul 28 11:46:53 2020 -0400 |
tree | c1cf06d88360fdfed2b96fca8f02c4b7ad28dbf9 | |
parent | 7f052a6eb02e085a62f1ac06139f1e798b837cb9 [diff] [blame] |
More fixes on the two spectre-to-SPICE conversion scripts.
diff --git a/common/convert_spectre.py b/common/convert_spectre.py index a207bd5..e83cce0 100755 --- a/common/convert_spectre.py +++ b/common/convert_spectre.py
@@ -270,6 +270,13 @@ imatch = stdsubrex.match(line) if imatch: + # If a model block is pending, then dump it + if modellines != []: + for line in modellines: + spicelines.append(line) + modellines = [] + inmodel = False + insub = True subname = imatch.group(1) if isspectre: