scmos_deep_018 switched to nsxlib. Minor bugs in plugins.

This commit is contained in:
Jean-Paul Chaput 2016-03-10 17:05:36 +01:00
parent 4262d396e9
commit b2374c73b8
4 changed files with 9 additions and 3 deletions

View File

@ -11,7 +11,7 @@ cellsTop = allianceTop+'/cells'
allianceConfig = \
( ( 'CATALOG' , 'CATAL')
, ( 'WORKING_LIBRARY' , '.')
, ( 'SYSTEM_LIBRARY' , ( (cellsTop+'/msxlib' , Environment.Append)
, ( 'SYSTEM_LIBRARY' , ( (cellsTop+'/nsxlib' , Environment.Append)
, (cellsTop+'/mpxlib' , Environment.Append)) )
, ( 'SCALE_X' , 100)
, ( 'IN_LO' , 'vst')

View File

@ -22,6 +22,6 @@ parametersTable = \
, ('chip.pad.pvddeck' , TypeString, 'pvddeck_mpx')
, ('chip.pad.pvsseck' , TypeString, 'pvsseck_mpx')
, ('clockTree.minimumSide' , TypeInt , 1000)
, ('clockTree.buffer' , TypeString, 'bf1_x4')
, ('clockTree.buffer' , TypeString, 'buf_x2')
, ('clockTree.placerEngine' , TypeString, 'Etesian')
)

View File

@ -219,7 +219,8 @@ def ScriptMain ( **kw ):
except ErrorMessage, e:
print e; errorCode = e.code
if editor: editor.fit()
if locals().has_key('editor') and editor \
and locals().has_key('cell' ) and cell: editor.fit()
rvalue = False
except Exception, e:
print '\n\n', e; errorCode = 1

View File

@ -132,6 +132,11 @@ class HTree ( GaugeConfWrapper ):
def _getBufferIo ( self ):
self.bufferCell = self.framework.getCell( Cfg.getParamString('clockTree.buffer').asString()
, CRL.Catalog.State.Views )
if not self.bufferCell:
raise ErrorMessage( 3, [ 'ClockTree: Buffer cell "%s" not found in library,' \
% Cfg.getParamString('clockTree.buffer').asString()
, ' please check the "clockTree.buffer" configuration parameter in "plugins.conf".' ] )
for net in self.bufferCell.getNets():
if not net.isExternal(): continue
if net.isGlobal(): continue