lasmicon/multiplexer: remove unnecessary wait states
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 15 Jun 2013 13:15:39 +0000 (15:15 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 15 Jun 2013 13:15:39 +0000 (15:15 +0200)
milkymist/lasmicon/multiplexer.py

index 3acf18a482e34d7b9a5b6f332323aff08e6dc4a1..01a517143602ffa29bf6b23e189b90eea771d135 100644 (file)
@@ -148,8 +148,8 @@ class Multiplexer(Module, AutoCSR):
                
                # Control FSM
                fsm = FSM("READ", "WRITE", "REFRESH", delayed_enters=[
-                       ("RTW", "WRITE", timing_settings.read_latency),
-                       ("WTR", "READ", timing_settings.tWTR)
+                       ("RTW", "WRITE", timing_settings.read_latency-1),
+                       ("WTR", "READ", timing_settings.tWTR-1)
                ])
                self.submodules += fsm
                fsm.act(fsm.READ,