Adpapt e9/TSMC doDesign to the new size of the SRAMs (jumpers).
authorJean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
Tue, 8 Jun 2021 11:14:32 +0000 (13:14 +0200)
committerJean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
Tue, 8 Jun 2021 11:14:32 +0000 (13:14 +0200)
experiments9/tsmc_c018/doDesign.py

index 816b1de622631c79c3ad022edd64c3f6f6ad8348..a9490f9ccdb7fb55837d557ff82e7e496b7ffcb7 100644 (file)
@@ -144,9 +144,9 @@ def scriptMain (**kw):
     ioPadsSpec  = []
     ioPadsSpec += doIoPowerCap( IoPin.EAST|IoPin.A_BEGIN )
     ioPadsSpec += doIoPinVector( (IoPin.EAST, None, 'sdram_a_{}' , 'sdram_a({})' , 'sdram_a({})'), 13 )
+    ioPadsSpec += doIoPinVector( (IoPin.EAST, None, 'sdram_ba_{}', 'sdram_ba({})', 'sdram_ba({})'), 2 )
     ioPadsSpec += doIoPinVector( (IoPin.EAST, None, 'sdram_dm_{}', 'sdram_dm({})', 'sdram_dm({})'),  2 )
     ioPadsSpec += doIoPinVector( (IoPin.EAST, None, 'sdram_dq_{}', 'sdram_dq({})', 'sdram_dq_i({})', 'sdram_dq_oe({})', 'sdram_dq_o({})'), range(0,16) )
-    ioPadsSpec += doIoPinVector( (IoPin.EAST, None, 'sdram_ba_{}', 'sdram_ba({})', 'sdram_ba({})'), 2 )
     ioPadsSpec += doIoPowerCap( IoPin.EAST|IoPin.A_END )
     ioPadsSpec += [ (IoPin.EAST             , None, 'sys_pll_testout_o', 'sys_pll_testout_o', 'sys_pll_testout_o' )
                   , (IoPin.EAST|IoPin.ANALOG, None, 'sys_pll_vco_o'    , 'sys_pll_vco_o'    , 'sys_pll_vco_o' )
@@ -234,9 +234,9 @@ def scriptMain (**kw):
         tiPath = 'test_issuer.ti.'
         sramDatas \
             = [ ['test_issuer.ti.sram4k_0.spblock_512w64b8w', -2]
-              , ['test_issuer.ti.sram4k_1.spblock_512w64b8w',  3]
+              , ['test_issuer.ti.sram4k_1.spblock_512w64b8w',  2]
               , ['test_issuer.ti.sram4k_2.spblock_512w64b8w',  2]
-              , ['test_issuer.ti.sram4k_3.spblock_512w64b8w',  3]
+              , ['test_issuer.ti.sram4k_3.spblock_512w64b8w',  2]
               ]
 
         ls180ToChip = CoreToChip( ls180Conf )
@@ -259,7 +259,7 @@ def scriptMain (**kw):
                                     , Transformation.Orientation.ID )
                     )
                 if i+1 < len(sramDatas):
-                    originX += sramAb.getWidth() + 2*sliceHeight + sramDatas[i+1][1]*sliceStep
+                    originX += sramAb.getWidth() + 3*sliceHeight + sramDatas[i+1][1]*sliceStep
             pllTransf = Transformation( coreAb.getXMax() # -u(234.0)
                                       , coreAb.getYMax() - u(208.0)
                                       , Transformation.Orientation.MX )