diff --git a/crlcore/etc/symbolic/cmos/stratus1.conf b/crlcore/etc/symbolic/cmos/stratus1.conf index b4e6e23a..69c64b82 100644 --- a/crlcore/etc/symbolic/cmos/stratus1.conf +++ b/crlcore/etc/symbolic/cmos/stratus1.conf @@ -7,7 +7,8 @@ import helpers parametersTable = \ ( ("stratus1.format" , TypeString, "vst") , ("stratus1.simulator" , TypeString, "asimut") - ,) + , ("stratus1.mappingName", TypeString, os.path.join(helpers.sysConfDir,'symbolic/cmos/stratus2sxlib.xml') ) + ) execfile( helpers.sysConfDir+'/common/stratus1.conf' ) diff --git a/crlcore/etc/symbolic/cmos/stratus2sxlib.xml b/crlcore/etc/symbolic/cmos/stratus2sxlib.xml new file mode 100644 index 00000000..901f84ea --- /dev/null +++ b/crlcore/etc/symbolic/cmos/stratus2sxlib.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stratus1/src/stratus/st_model.py b/stratus1/src/stratus/st_model.py index 37fd9a36..8776c965 100644 --- a/stratus1/src/stratus/st_model.py +++ b/stratus1/src/stratus/st_model.py @@ -989,7 +989,8 @@ class Model() : raise Exception ( err ) ##### Creation of the instance ##### -# dict['flags'] = F_MSB_FIRST # When vst driver permits to do F_LSB_FIRST or F_LSB_FIRST TODO +# dict['flags'] = F_MSB_FIRST # When vst driver permits to do F_LSB_FIRST or F_LSB_FIRST TODO +# dict['flags'] = 0 ## Virtual library ## if modele in BVg : diff --git a/stratus1/src/stratus/st_placement.py b/stratus1/src/stratus/st_placement.py index ece77337..192b4e34 100644 --- a/stratus1/src/stratus/st_placement.py +++ b/stratus1/src/stratus/st_placement.py @@ -62,7 +62,9 @@ def Place ( ins, sym, ref, plac = FIXED, cell = None ) : # Error if x and y found not permitted : if ref._x % MYPITCH : - err = "\n[Stratus ERROR] Place : " + ins._name + " : coordinate x is not a mutiple of PITCH.\n" + err = "\n[Stratus ERROR] Place : " + ins._name + " : coordinate x " \ + + DbU.getValueString(ref._x) + " is not a mutiple of PITCH " \ + + DbU.getValueString(MYPITCH) + ".\n" raise Exception ( err ) if ref._y % MYSLICE : diff --git a/stratus1/src/stratus/st_ref.py b/stratus1/src/stratus/st_ref.py index e3c2e9ec..016e1751 100644 --- a/stratus1/src/stratus/st_ref.py +++ b/stratus1/src/stratus/st_ref.py @@ -59,8 +59,8 @@ import types ########### class XY : def __init__ ( self, x, y ) : - self._x = x - self._y = y + self._x = DbU.fromLambda(x) + self._y = DbU.fromLambda(y) ################################## def GetRefXY ( pathname, refname ) :