7 #import node180.scn6m_deep_09
9 from helpers
import l
, u
, n
12 Cfg
.Configuration
.pushDefaultPriority( Cfg
.Parameter
.Priority
.UserFile
)
15 Viewer
.Graphics
.setStyle( 'Alliance.Classic [black]' )
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) )
38 Cfg
.Configuration
.popDefaultPriority()
40 #cellsTop = os.path.abspath( os.getcwd()+'/../cells' )
41 if os
.environ
.has_key('CELLS_TOP'):
42 cellsTop
= os
.environ
['CELLS_TOP']
44 cellsTop
= '../../../cells'
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' )
52 env
.setGROUND( 'vss' )
55 print 'Successfully read user configuration'