[gf180mcu]Update pin names

For gf180mcu there are only two rings named vdd and vss.
This commit is contained in:
Staf Verhaegen 2022-11-29 10:19:57 +01:00
parent 6eab01950c
commit f32188fe2d
1 changed files with 4 additions and 10 deletions

View File

@ -87,11 +87,11 @@ class MatchHarnessIos ( object ):
else: else:
print( WarningMessage('Unable to match "{}" into harness net.'.format( net.getName() ))) print( WarningMessage('Unable to match "{}" into harness net.'.format( net.getName() )))
if self.digitalVdd: if self.digitalVdd:
self.conf.chipConf.addIoPad( (None, None, 'power_0', 'vccd1', self.digitalVdd.getName()), 0 ) self.conf.chipConf.addIoPad( (None, None, 'power_0', 'vdd', self.digitalVdd.getName()), 0 )
else: else:
print( WarningMessage('Missing digital power net in "{}".'.format(self.conf.core.getName())) ) print( WarningMessage('Missing digital power net in "{}".'.format(self.conf.core.getName())) )
if self.digitalVss: if self.digitalVss:
self.conf.chipConf.addIoPad( (None, None, 'ground_0', 'vssd1', self.digitalVss.getName()), 0 ) self.conf.chipConf.addIoPad( (None, None, 'ground_0', 'vss', self.digitalVss.getName()), 0 )
else: else:
print( WarningMessage('Missing digital ground net in "{}".'.format(self.conf.core.getName())) ) print( WarningMessage('Missing digital ground net in "{}".'.format(self.conf.core.getName())) )
if self.clock: if self.clock:
@ -140,14 +140,8 @@ class CoreToChip ( BaseCoreToChip ):
} }
BaseCoreToChip.__init__ ( self, core ) BaseCoreToChip.__init__ ( self, core )
self.conf.useHarness = True self.conf.useHarness = True
self.ringNetNames = { 'vssa2' : None self.ringNetNames = { 'vss' : None
, 'vdda2' : None , 'vdd' : None
, 'vssa1' : None
, 'vdda1' : None
, 'vssd2' : None
, 'vccd2' : None
, 'vssd1' : None
, 'vccd1' : None
} }
self.ioPadInfos = [ BaseCoreToChip.IoPadInfo( IoPad.BIDIR self.ioPadInfos = [ BaseCoreToChip.IoPadInfo( IoPad.BIDIR
, self.ioPadNames['bidir'] , self.ioPadNames['bidir']