tb/lasmicon: update simu
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 26 Aug 2013 12:33:45 +0000 (14:33 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 26 Aug 2013 18:54:47 +0000 (20:54 +0200)
tb/lasmicon/common.py

index e7e63e178b4dbf7df9146a590d65bb6262a8da2a..f145ef56f3e3df47fb7ad9e447b77358761f1f87 100644 (file)
@@ -16,13 +16,16 @@ def ns(t, margin=True):
        return ceil(t/clk_period_ns)
 
 sdram_phy = lasmicon.PhySettings(
-       type="DDR",
+       memtype="DDR",
        dfi_d=64, 
        nphases=2,
        rdphase=0,
        wrphase=1,
-       cl=3
+       cl=3,
+       read_latency=5,
+       write_latency=0
 )
+
 sdram_geom = lasmicon.GeomSettings(
        bank_a=2,
        row_a=13,
@@ -36,9 +39,6 @@ sdram_timing = lasmicon.TimingSettings(
        tREFI=ns(7800, False),
        tRFC=ns(70),
        
-       read_latency=5,
-       write_latency=0,
-
        req_queue_size=8,
        read_time=32,
        write_time=16