diff --git a/cumulus/src/plugins/ChipPlugin.py b/cumulus/src/plugins/ChipPlugin.py index cecd8bfb..29362d5c 100644 --- a/cumulus/src/plugins/ChipPlugin.py +++ b/cumulus/src/plugins/ChipPlugin.py @@ -178,26 +178,26 @@ def ScriptMain ( **kw ): placeCore = PlaceCore( conf ) placeCore.validate() placeCore.doFloorplan() - editor.fit() + if editor: editor.fit() placeCore.doPlacement() - editor.fit() + if editor: editor.fit() corePower = chip.BlockPower.Block( conf ) corePower.connectPower() corePower.connectClock() corePower.doLayout() - editor.fit() + if editor: editor.fit() coreCorona = chip.BlockCorona.Corona( corePower ) coreCorona.connectPads( padsCorona ) coreCorona.connectBlock() coreCorona.doLayout() - editor.fit() + if editor: editor.fit() except ErrorMessage, e: print e; errorCode = e.code - editor.fit() + if editor: editor.fit() except Exception, e: print '\n\n', e; errorCode = 1 traceback.print_tb(sys.exc_info()[2]) diff --git a/cumulus/src/plugins/chip/Configuration.py b/cumulus/src/plugins/chip/Configuration.py index 2f7879b8..586bdee2 100644 --- a/cumulus/src/plugins/chip/Configuration.py +++ b/cumulus/src/plugins/chip/Configuration.py @@ -559,8 +559,8 @@ class ChipConfWrapper ( GaugeConfWrapper ): def __init__ ( self, gaugeConf, chipConf ): GaugeConfWrapper.__init__( self, gaugeConf ) - if not isinstance(chipConf,ChipConf): - raise ErrorMessage( 1, 'Attempt to create a ChipConfWrapper() from non-ChipConf object.' ) + #if not isinstance(chipConf,ChipConf): + # raise ErrorMessage( 1, 'Attempt to create a ChipConfWrapper() from non-ChipConf object.' ) self._chipConf = chipConf return