blif2vst.py naming of components needs to be munged
https://gitlab.lip6.fr/vlsi-eda/coriolis/-/issues/36 Signed-off-by: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
This commit is contained in:
parent
628ff1ae06
commit
aeb9d7d4e5
|
@ -31,10 +31,10 @@ def renameNMigen( occurrence ):
|
|||
replName = origName.replace( '$$', '_unm' )
|
||||
if not masterCell.isTerminalNetlist() and not replName.startswith('cmpt_'):
|
||||
replName = 'cmpt_' + replName
|
||||
#for letter in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ':
|
||||
# replName = replName.replace(letter, '{}u'.format(letter))
|
||||
for letter in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ':
|
||||
replName = replName.replace(letter, letter.lower())
|
||||
if origName != replName:
|
||||
print( ' - "{}" => "{}"'.format(origName,replName) )
|
||||
print( ' - "{}" => "{}"'.format(origName, replName) )
|
||||
masterCell.setName( replName )
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue