use --recursive on git submodule not --remote - one does a "latest update"
[soclayout.git] / experiments10 / coriolis2 / settings.py
1 # -*- Mode:Python -*-
2
3 from __future__ import print_function
4 import os
5 import Cfg
6 import CRL
7 import Viewer
8 #import node180.scn6m_deep_09
9 import symbolic.cmos45
10 from helpers import overlay, l, u, n
11
12 if os.environ.has_key('CELLS_TOP'):
13 cellsTop = os.environ['CELLS_TOP']
14 else:
15 cellsTop = '../../../alliance-check-toolkit/cells'
16 with overlay.CfgCache(priority=Cfg.Parameter.Priority.UserFile) as cfg:
17 cfg.misc.catchCore = False
18 cfg.misc.info = False
19 cfg.misc.paranoid = False
20 cfg.misc.bug = False
21 cfg.misc.logMode = True
22 cfg.misc.verboseLevel1 = True
23 cfg.misc.verboseLevel2 = True
24 cfg.etesian.graphics = 3
25 cfg.etesian.spaceMargin = 0.05
26 cfg.etesian.aspectRatio = 1.0
27 cfg.anabatic.edgeLenght = 24
28 cfg.anabatic.edgeWidth = 8
29 cfg.anabatic.topRoutingLayer = 'METAL5'
30 cfg.katana.eventsLimit = 4000000
31 cfg.etesian.effort = 2
32 cfg.etesian.uniformDensity = True
33 cfg.katana.hTracksReservedLocal = 7
34 cfg.katana.vTracksReservedLocal = 6
35 Viewer.Graphics.setStyle( 'Alliance.Classic [black]' )
36 af = CRL.AllianceFramework.get()
37 env = af.getEnvironment()
38 env.setCLOCK( '^clk|^ck|^tck' )
39 env.addSYSTEM_LIBRARY( library=cellsTop+'/niolib', mode=CRL.Environment.Prepend )
40 env.addSYSTEM_LIBRARY( library=cellsTop+'/nsxlib', mode=CRL.Environment.Prepend )
41 print( ' o Successfully run "<>/coriolis2/settings.py".' )
42 print( ' - CELLS_TOP = "{}"'.format(cellsTop) )