From 1ee7622af91d8c2c908dd3881d0f3fb535f843b7 Mon Sep 17 00:00:00 2001 From: Sophie Belloeil Date: Mon, 6 Sep 2010 11:22:30 +0000 Subject: [PATCH] Gestion of vdd/vss step two ... --- stratus1/src/stratus/st_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stratus1/src/stratus/st_model.py b/stratus1/src/stratus/st_model.py index c96204eb..e05a2ec4 100644 --- a/stratus1/src/stratus/st_model.py +++ b/stratus1/src/stratus/st_model.py @@ -156,16 +156,16 @@ class Model : try: netVdd = iter(hurCell.getPowerNets()).next() + self._st_vdds.append ( VddInFromHur ( netVdd ) ) except StopIteration: print "[Stratus Warning] : Cell", self._name, "does not have a vdd port." pass try: netVss = iter(hurCell.getGroundNets()).next() + self._st_vsss.append ( VssInFromHur ( netVss ) ) except StopIteration: print "[Stratus Warning] : Cell", self._name, "does not have a vss port." pass - if netVdd != None : self._st_vdds.append ( VddInFromHur ( netVdd ) ) - if netVss != None : self._st_vsss.append ( VssInFromHur ( netVss ) ) self._st_cks = []