use --recursive on git submodule not --remote - one does a "latest update"
[soclayout.git] / experiments2 / coriolis2 / settings.py
1 # -*- Mode:Python -*-
2
3 import os
4 import Cfg
5 import CRL
6 import Viewer
7 #import node180.scn6m_deep_09
8 import symbolic.cmos
9 from helpers import l, u, n
10
11
12 Cfg.Configuration.pushDefaultPriority( Cfg.Parameter.Priority.UserFile )
13
14
15 Viewer.Graphics.setStyle( 'Alliance.Classic [black]' )
16
17 Cfg.getParamBool ( 'misc.catchCore' ).setBool ( False )
18 Cfg.getParamBool ( 'misc.info' ).setBool ( False )
19 Cfg.getParamBool ( 'misc.paranoid' ).setBool ( False )
20 Cfg.getParamBool ( 'misc.bug' ).setBool ( False )
21 Cfg.getParamBool ( 'misc.logMode' ).setBool ( True )
22 Cfg.getParamBool ( 'misc.verboseLevel1' ).setBool ( True )
23 Cfg.getParamBool ( 'misc.verboseLevel2' ).setBool ( True )
24 Cfg.getParamInt ( 'misc.minTraceLevel' ).setInt ( 159 )
25 Cfg.getParamInt ( 'misc.maxTraceLevel' ).setInt ( 160 )
26 Cfg.getParamEnumerate ( 'etesian.effort' ).setInt ( 2 )
27 Cfg.getParamPercentage( 'etesian.spaceMargin' ).setPercentage( 20.0 )
28 Cfg.getParamPercentage( 'etesian.aspectRatio' ).setPercentage( 100.0 )
29 Cfg.getParamBool ( 'etesian.uniformDensity' ).setBool ( True )
30 Cfg.getParamInt ( 'anabatic.edgeLenght' ).setInt ( 24 )
31 Cfg.getParamInt ( 'anabatic.edgeWidth' ).setInt ( 8 )
32 Cfg.getParamString ( 'anabatic.topRoutingLayer' ).setString ( 'METAL5')
33 Cfg.getParamInt ( 'katana.eventsLimit' ).setInt ( 1000000 )
34 Cfg.getParamInt ( 'katana.hTracksReservedLocal' ).setInt ( 7 )
35 Cfg.getParamInt ( 'katana.vTracksReservedLocal' ).setInt ( 6 )
36 #Cfg.getParamInt ( 'clockTree.minimumSide' ).setInt ( l(1000) )
37
38 Cfg.Configuration.popDefaultPriority()
39
40 #cellsTop = os.path.abspath( os.getcwd()+'/../cells' )
41 if os.environ.has_key('CELLS_TOP'):
42 cellsTop = os.environ['CELLS_TOP']
43 else:
44 cellsTop = '../../../cells'
45
46 af = CRL.AllianceFramework.get()
47 env = af.getEnvironment()
48 env.addSYSTEM_LIBRARY( library=cellsTop+'/nsxlib', mode=CRL.Environment.Prepend )
49 env.addSYSTEM_LIBRARY( library=cellsTop+'/mpxlib', mode=CRL.Environment.Prepend )
50 env.setCLOCK( '^clk$|m_clock' )
51 env.setPOWER( 'vdd' )
52 env.setGROUND( 'vss' )
53
54
55 print 'Successfully read user configuration'
56