lasmicon: fix computation of interface latencies
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Tue, 11 Jun 2013 13:27:05 +0000 (15:27 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Tue, 11 Jun 2013 13:27:05 +0000 (15:27 +0200)
milkymist/lasmicon/__init__.py

index bdc4dc74f927173375d287ee23c9b893789499a7..8dfe5065a60d60e7703d3592233c9ecf2ca5dd17 100644 (file)
@@ -48,8 +48,8 @@ class LASMIcon(Module):
                        aw=geom_settings.row_a + geom_settings.col_a - address_align,
                        dw=phy_settings.dfi_d*phy_settings.nphases,
                        nbanks=2**geom_settings.bank_a,
-                       read_latency=timing_settings.read_latency,
-                       write_latency=timing_settings.write_latency)
+                       read_latency=timing_settings.read_latency+1,
+                       write_latency=timing_settings.write_latency+1)
                self.nrowbits = geom_settings.col_a - address_align
        
                ###