Correction to the last update, as the script correcting the
serial/parallel transistors in the CDL netlist for the HD
library failed to make the names of the two separated transistors
unique, and missed one instance of the error (there were two such
errors in one of the cells).
diff --git a/VERSION b/VERSION
index 5e952e4..cac8ee2 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.347
+1.0.348
diff --git a/sky130/custom/scripts/fix_serxtors_cdl.py b/sky130/custom/scripts/fix_serxtors_cdl.py
index 62bf205..b29d9c3 100755
--- a/sky130/custom/scripts/fix_serxtors_cdl.py
+++ b/sky130/custom/scripts/fix_serxtors_cdl.py
@@ -71,7 +71,13 @@
                 extor = True
                 fixedline = line.replace(' m=2', '')
                 fixedlines.append(fixedline)
-                saveline = fixedline.replace('sndA1', 'snd2A1')
+                saveline = fixedline.replace('sndA1', 'snd2A1').replace('MMPA', 'MMPA2').replace('MMNA', 'MMNA2')
+                modified = True
+            elif inmacro == True and 'pndB' in line:
+                extor = True
+                fixedline = line.replace(' m=2', '')
+                fixedlines.append(fixedline)
+                saveline = fixedline.replace('pndB', 'pnd2B').replace('MMPB', 'MMPB2').replace('MMPC', 'MMPC2')
                 modified = True
             elif extor == True:
                 fixedlines.append(line)