Updated cdl2spi.py to handle resistors with models specified normally and not with $[...].
diff --git a/common/cdl2spi.py b/common/cdl2spi.py index 02e3bb7..8ed0eab 100755 --- a/common/cdl2spi.py +++ b/common/cdl2spi.py
@@ -231,7 +231,12 @@ cdlModel="" for i in range(len(tok)-1, 0, -1): if not tok[i].startswith("$"): - continue + if '=' in tok[i]: + continue + elif cdlModel == '': + cdlModel = tok[i] + del tok[i] + break tokl = tok[i].lower() if tokl.startswith("$sub="): if cdlTerm == "":