From: Jock Tanner Date: Sat, 14 Mar 2020 09:20:09 +0000 (+0000) Subject: Delete stale code. X-Git-Tag: partial-core-ls180-gdsii~173 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f99e26be69559d0ffba1e2e983a1a65da22a2e34;p=soclayout.git Delete stale code. --- diff --git a/experiments7/coriolis2/katana.py b/experiments7/coriolis2/katana.py index 2ad53d3..6755b11 100644 --- a/experiments7/coriolis2/katana.py +++ b/experiments7/coriolis2/katana.py @@ -1,14 +1 @@ - from Hurricane import DebugSession - -#DebugSession.addToTrace( katana.getCell().getNet( 'abc_12494_n543' ) ) -#DebugSession.addToTrace( katana.getCell().getNet( 'dl(6)' ) ) -#DebugSession.addToTrace( katana.getCell().getNet( 'n0_dl_7_0_6' ) ) -#DebugSession.addToTrace( katana.getCell().getNet( 'abc_12509_n822' ) ) -#DebugSession.addToTrace( katana.getCell().getNet( 'abc_12509_n734' ) ) -#DebugSession.addToTrace( katana.getCell().getNet( 'abc_12509_n1386' ) ) -#DebugSession.addToTrace( katana.getCell().getNet( 'abc_12494_n763' ) ) -#DebugSession.addToTrace( katana.getCell().getNet( 'abc_12494_n800' ) ) -#DebugSession.addToTrace( katana.getCell().getNet( 'b(0)' ) ) -#DebugSession.addToTrace( katana.getCell().getNet( 'o_next(4)' ) ) -#DebugSession.addToTrace( katana.getCell().getNet( 'rst' ) ) diff --git a/experiments7/coriolis2/settings.py b/experiments7/coriolis2/settings.py index be3fe76..864dcba 100644 --- a/experiments7/coriolis2/settings.py +++ b/experiments7/coriolis2/settings.py @@ -1,56 +1,52 @@ # -*- Mode:Python -*- +from __future__ import print_function import os import Cfg import CRL import Viewer -#import node180.scn6m_deep_09 -import symbolic.cmos -from helpers import l, u, n - - -Cfg.Configuration.pushDefaultPriority( Cfg.Parameter.Priority.UserFile ) - - -Viewer.Graphics.setStyle( 'Alliance.Classic [black]' ) - -Cfg.getParamBool ( 'misc.catchCore' ).setBool ( False ) -Cfg.getParamBool ( 'misc.info' ).setBool ( False ) -Cfg.getParamBool ( 'misc.paranoid' ).setBool ( False ) -Cfg.getParamBool ( 'misc.bug' ).setBool ( False ) -Cfg.getParamBool ( 'misc.logMode' ).setBool ( True ) -Cfg.getParamBool ( 'misc.verboseLevel1' ).setBool ( True ) -Cfg.getParamBool ( 'misc.verboseLevel2' ).setBool ( True ) -#Cfg.getParamInt ( 'misc.minTraceLevel' ).setInt ( 159 ) -#Cfg.getParamInt ( 'misc.maxTraceLevel' ).setInt ( 160 ) -Cfg.getParamEnumerate ( 'etesian.effort' ).setInt ( 2 ) -Cfg.getParamPercentage( 'etesian.spaceMargin' ).setPercentage( 20.0 ) -Cfg.getParamPercentage( 'etesian.aspectRatio' ).setPercentage( 100.0 ) -Cfg.getParamBool ( 'etesian.uniformDensity' ).setBool ( True ) -Cfg.getParamInt ( 'anabatic.edgeLenght' ).setInt ( 24 ) -Cfg.getParamInt ( 'anabatic.edgeWidth' ).setInt ( 8 ) -Cfg.getParamString ( 'anabatic.topRoutingLayer' ).setString ( 'METAL5') -Cfg.getParamInt ( 'katana.eventsLimit' ).setInt ( 1000000 ) -Cfg.getParamInt ( 'katana.hTracksReservedLocal' ).setInt ( 7 ) -Cfg.getParamInt ( 'katana.vTracksReservedLocal' ).setInt ( 6 ) -#Cfg.getParamInt ( 'clockTree.minimumSide' ).setInt ( l(1000) ) +import symbolic.cmos # do not remove + + +Cfg.Configuration.pushDefaultPriority(Cfg.Parameter.Priority.UserFile) + +Viewer.Graphics.setStyle('Alliance.Classic [black]') + +Cfg.getParamBool('misc.catchCore').setBool(False) +Cfg.getParamBool('misc.info').setBool(False) +Cfg.getParamBool('misc.paranoid').setBool(False) +Cfg.getParamBool('misc.bug').setBool(False) +Cfg.getParamBool('misc.logMode').setBool(True) +Cfg.getParamBool('misc.verboseLevel1').setBool(True) +Cfg.getParamBool('misc.verboseLevel2').setBool(True) +Cfg.getParamEnumerate('etesian.effort').setInt(2) +Cfg.getParamPercentage('etesian.spaceMargin').setPercentage(20.0) +Cfg.getParamPercentage('etesian.aspectRatio').setPercentage(100.0) +Cfg.getParamBool('etesian.uniformDensity').setBool(True) +Cfg.getParamInt('anabatic.edgeLenght').setInt(24) +Cfg.getParamInt('anabatic.edgeWidth').setInt(8) +Cfg.getParamString('anabatic.topRoutingLayer').setString('METAL5') +Cfg.getParamInt('katana.eventsLimit').setInt(1000000) +Cfg.getParamInt('katana.hTracksReservedLocal').setInt(7) +Cfg.getParamInt('katana.vTracksReservedLocal').setInt(6) Cfg.Configuration.popDefaultPriority() -#cellsTop = os.path.abspath( os.getcwd()+'/../cells' ) if os.environ.has_key('CELLS_TOP'): - cellsTop = os.environ['CELLS_TOP'] + cellsTop = os.environ['CELLS_TOP'] else: - cellsTop = '../../../cells' + cellsTop = '../../../cells' -af = CRL.AllianceFramework.get() +af = CRL.AllianceFramework.get() env = af.getEnvironment() -env.addSYSTEM_LIBRARY( library=cellsTop+'/nsxlib', mode=CRL.Environment.Prepend ) -env.addSYSTEM_LIBRARY( library=cellsTop+'/mpxlib', mode=CRL.Environment.Prepend ) -env.setCLOCK( '^clk$|m_clock' ) -env.setPOWER( 'vdd' ) -env.setGROUND( 'vss' ) - - -print 'Successfully read user configuration' - +env.addSYSTEM_LIBRARY( + library=cellsTop + '/nsxlib', mode=CRL.Environment.Prepend +) +env.addSYSTEM_LIBRARY( + library=cellsTop + '/mpxlib', mode=CRL.Environment.Prepend +) +env.setCLOCK('^clk$|m_clock') +env.setPOWER('vdd') +env.setGROUND('vss') + +print('Successfully read user configuration')