From 773a4b7d9738d9fee414dafd608ce7f135de4aff Mon Sep 17 00:00:00 2001 From: Roselyne Chotin Date: Mon, 20 Aug 2012 10:02:30 +0000 Subject: [PATCH] forget a lower --- stratus1/src/stratus/st_instance.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stratus1/src/stratus/st_instance.py b/stratus1/src/stratus/st_instance.py index 8e80552d..3efe6389 100644 --- a/stratus1/src/stratus/st_instance.py +++ b/stratus1/src/stratus/st_instance.py @@ -136,7 +136,7 @@ class Inst : # Warning : the model can not contain capitalized letters if re.search ( "[A-Z]", model ) : print "[Stratus Warning] Inst : Upper case letters are not supported, the name", model, "is lowered." -# model = model.lower() + model = model.lower() # Error : spaces are forbidden if re.search ( " ", model ) : err = "\n[Stratus ERROR] Inst : " + name + " the name of the model \"" + model + "\" can not contain a space.\n" @@ -310,8 +310,7 @@ class Inst : else : hurNet = realNet._hur_net[i] - #if mapNet._arity == 1 : tempNet = self._hur_masterCell.getNet ( pin.lower() ) - if mapNet._arity == 1 : tempNet = self._hur_masterCell.getNet ( pin ) + if mapNet._arity == 1 : tempNet = self._hur_masterCell.getNet ( pin.lower() ) else : tempNet = self._hur_masterCell.getNet ( pin.lower() + "(" + str(j+lsb) + ")" ) j += 1