From: Jean-Paul Chaput Date: Tue, 19 Oct 2021 12:50:54 +0000 (+0200) Subject: Adjust katana settings for LS180/TSMC after Coriolis bugfix #f58212e. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6316f6a48c6a6167603f01733b5df8300dae435c;p=soclayout.git Adjust katana settings for LS180/TSMC after Coriolis bugfix #f58212e. --- diff --git a/experiments9/tsmc_c018/coriolis2/settings.py b/experiments9/tsmc_c018/coriolis2/settings.py index e06b66b..ea909c1 100644 --- a/experiments9/tsmc_c018/coriolis2/settings.py +++ b/experiments9/tsmc_c018/coriolis2/settings.py @@ -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() diff --git a/experiments9/tsmc_c018/doDesign.py b/experiments9/tsmc_c018/doDesign.py index 82a9720..5cbc149 100644 --- a/experiments9/tsmc_c018/doDesign.py +++ b/experiments9/tsmc_c018/doDesign.py @@ -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()