Memory: Fix up latch logic for LDM/STM.
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 1 Feb 2009 00:37:41 +0000 (19:37 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 1 Feb 2009 00:37:41 +0000 (19:37 -0500)
Memory.v

index 9855411..b7710b0 100644 (file)
--- a/Memory.v
+++ b/Memory.v
@@ -583,7 +583,7 @@ module Memory(
        
        /* LDM/STM register control logic. */
        always @(posedge clk)
-               if (!rw_wait)
+               if (!rw_wait || lsm_state != `LSM_MEMIO)
                begin
                        prev_reg <= cur_reg;
                        regs <= next_regs;
This page took 0.021207 seconds and 4 git commands to generate.