Adjust katana settings for LS180/TSMC after Coriolis bugfix #f58212e.
authorJean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
Tue, 19 Oct 2021 12:50:54 +0000 (14:50 +0200)
committerJean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
Tue, 19 Oct 2021 12:50:54 +0000 (14:50 +0200)
experiments9/tsmc_c018/coriolis2/settings.py
experiments9/tsmc_c018/doDesign.py

index e06b66bed9522045285d6086c18753e23d124212..ea909c1e40f14df1ebfcf56cdaf7a1f3ccee6953 100644 (file)
@@ -1,12 +1,11 @@
 # -*- Mode:Python -*-
 
-from   __future__ import print_function
 import os
 import socket
 import helpers
 
 NdaDirectory = None
-if os.environ.has_key('NDA_TOP'):
+if 'NDA_TOP' in os.environ:
     NdaDirectory = os.environ['NDA_TOP']
 if not NdaDirectory:
     hostname = socket.gethostname()
index 82a9720e5d6a10362864f2243d72c688c178144c..5cbc149739c23f8e2e2c10ccaf7752e016fd2692 100644 (file)
@@ -1,6 +1,4 @@
 
-from   __future__ import print_function
-
 import os
 import re
 import json
@@ -228,10 +226,10 @@ def scriptMain (**kw):
         ls180Conf.cfg.anabatic.topRoutingLayer = 'METAL5'
         ls180Conf.cfg.katana.hTracksReservedLocal = 11
         ls180Conf.cfg.katana.vTracksReservedLocal = 8
-        ls180Conf.cfg.katana.hTracksReservedMin = 9
+        ls180Conf.cfg.katana.hTracksReservedMin = 8
         ls180Conf.cfg.katana.vTracksReservedMin = 6
         ls180Conf.cfg.katana.runRealignStage = True
-        ls180Conf.cfg.katana.trackFill = 2
+        ls180Conf.cfg.katana.trackFill = 0
         ls180Conf.cfg.block.spareSide = u(7*13)
         ls180Conf.cfg.chip.supplyRailWidth = u(35)
         ls180Conf.cfg.chip.supplyRailPitch = u(90)
@@ -294,7 +292,7 @@ def scriptMain (**kw):
         rvalue = chipBuilder.doPnR()
         chipBuilder.save()
         CRL.Gds.save( ls180Conf.chip )
-    except Exception, e:
+    except Exception as e:
         helpers.io.catch(e)
         rvalue = False
     sys.stdout.flush()