From 96add8871e10c53045ef1fd3527fb17068ec9563 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 22 Apr 2016 22:08:38 +0200 Subject: [PATCH] Make RF1 support different slice height. * Change: In Stratus1, in dpgen_RF1.py, the slice height was hardcoded to 50 lambda (sxlib). Now extract the height on the fly from a cell. --- stratus1/src/dpgen/dpgen_RF1.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stratus1/src/dpgen/dpgen_RF1.py b/stratus1/src/dpgen/dpgen_RF1.py index 32874a41..92756f60 100644 --- a/stratus1/src/dpgen/dpgen_RF1.py +++ b/stratus1/src/dpgen/dpgen_RF1.py @@ -1180,7 +1180,8 @@ class top_rf1 ( Model ) : hbuf = 2 # hauteur des buffers (2 ou 4 slices) : non utilise - HCELL = 50 + #HCELL = 50 + HCELL = DbU.toLambda( self.In[0]._hur_masterCell.getAbutmentBox().getHeight() ) ## Placement des lignes de bit en dessous des buffers ## bottom = 0 @@ -1352,7 +1353,7 @@ class top_rf1 ( Model ) : # Sixieme ligne bottom = ( nbit + nbitu + hbuf + 5 ) * HCELL - Place ( self.Pr[nword - 1] , SYMXY, XY ( 50, bottom ) ) + Place ( self.Pr[nword - 1] , SYMXY, XY ( HCELL, bottom ) ) for j in range ( 1, half ) : PlaceRight ( self.Pr[nword - 1 - j], SYM_Y )