From ccedc9d65ba1ffe8b99afdee88d1c54b70c32429 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 26 Feb 2020 19:48:46 +0000 Subject: [PATCH] segfault in pyDoAlu16.py --- experiments5/doAlu16.py | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/experiments5/doAlu16.py b/experiments5/doAlu16.py index d78fa97..4a99fd8 100755 --- a/experiments5/doAlu16.py +++ b/experiments5/doAlu16.py @@ -49,15 +49,15 @@ 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( 5.0 ) +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 ( 'METAL4') +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 ( 'katana.hTracksReservedLocal' ).setInt ( 7 ) +#Cfg.getParamInt ( 'katana.vTracksReservedLocal' ).setInt ( 6 ) #Cfg.getParamInt ( 'clockTree.minimumSide' ).setInt ( l(1000) ) env = af.getEnvironment() @@ -89,10 +89,12 @@ def add ( **kw ): return False kw[ 'cell' ] = cell + height = 1100.0 + ab = Box( l( 0.0 ) , l( 0.0 ) - , l( 1100.0 ) - , l( 600.0 ) ) + , l( 200.0 ) + , l( height ) ) UpdateSession.open() cell.setAbutmentBox( ab ) @@ -101,28 +103,28 @@ def add ( **kw ): Pin.create( cell.getNet('a(%d)' % i) , 'a(%d).0' % i , Pin.Direction.SOUTH - , Pin.PlacementStatus.PLACED - , metal3 - , l( 60.0*i + 20.0 ) , l( 0.0 ) # Position. + , Pin.PlacementStatus.UNPLACED + , metal2 + , l( 10.0*i + 5.0 ) , l( 0.0 ) # Position. , l( 2.0 ) , l( 2.0 ) # Size. ) - if False: + if True: Pin.create( cell.getNet('b(%d)' % i) , 'b(%d).0' % i , Pin.Direction.SOUTH - , Pin.PlacementStatus.PLACED - , metal2 - , l( 60.0*i + 40.0 ) , l( 0.0 ) # Position. + , Pin.PlacementStatus.UNPLACED + , metal3 + , l( 10.0*i + 10.0 ) , l( 0.0 ) # Position. #, l( 0.0 ), l( 100.0*i + 50.0 ) # Position. , l( 2.0 ) , l( 2.0 ) # Size. ) if True: Pin.create( cell.getNet('o(%d)' % i) , 'o(%d).0' % i - , Pin.Direction.SOUTH + , Pin.Direction.NORTH , Pin.PlacementStatus.FIXED - , metal2 - , l( 60.0*i + 60.0 ) , l( 0.0 ) # Position. + , metal3 + , l( 10.0*i + 10.0 ) , l( height ) # Position. , l( 2.0 ) , l( 2.0 ) # Size. ) -- 2.30.2