From aeb9d7d4e540c47900d2cbb98e1150f64deae89a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 16 Apr 2021 12:41:39 +0000 Subject: [PATCH] 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 --- cumulus/src/tools/blif2vst.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cumulus/src/tools/blif2vst.py b/cumulus/src/tools/blif2vst.py index 5de547b9..41dd9c69 100755 --- a/cumulus/src/tools/blif2vst.py +++ b/cumulus/src/tools/blif2vst.py @@ -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 )