Enabled the REDISTRIBUTION option in the Makefile for sky130A. Corrected the convert_spectre.py to ignore .scs files, which have no SPICE equivalent.
diff --git a/common/convert_spectre.py b/common/convert_spectre.py index e83cce0..6c3655c 100755 --- a/common/convert_spectre.py +++ b/common/convert_spectre.py
@@ -499,6 +499,10 @@ if fileext == '.v' or fileext == '.va': continue + # .scs files are purely spectre and meaningless to SPICE, so ignore them. + if fileext == '.scs': + continue + froot = os.path.split(filename)[1] convert_file(filename, spicepath + '/' + froot)
diff --git a/sky130/Makefile b/sky130/Makefile index cbe6745..d8eb452 100644 --- a/sky130/Makefile +++ b/sky130/Makefile
@@ -117,8 +117,8 @@ # Module definitions for each process node # (Note that MOS is default and therefore not used anywhere) -# SKY130A_DEFS += -DMETAL5 -DMIM -DREDISTRIBUTION -SKY130A_DEFS += -DMETAL5 -DMIM +SKY130A_DEFS += -DMETAL5 -DMIM -DREDISTRIBUTION +# SKY130A_DEFS += -DMETAL5 -DMIM # Add staging path SKY130A_DEFS += -DSTAGING_PATH=${STAGING_PATH}
diff --git a/sky130/magic/sky130.tech b/sky130/magic/sky130.tech index d000ffd..90e4240 100644 --- a/sky130/magic/sky130.tech +++ b/sky130/magic/sky130.tech
@@ -3870,6 +3870,9 @@ defaultsideoverlap allm4 metal4 allm5 metal5 47 #endif (METAL5) +#ifdef REDISTRIBUTION +#endif (REDISTRIBUTION) + # Devices: Use document (...) variants (sim)