core: Implement quadword loads and stores
[microwatt.git] / dcache.vhdl
index 621174e1fe17bc41be39bb75bfc6f5d61fb69a11..1e58e1f907f69a3e79f0d47ed161593409ef96ec 100644 (file)
@@ -946,10 +946,10 @@ begin
             -- XXX or if r0.req.nc = '1'
             if r0.req.load = '1' then
                 -- load with reservation
-                set_rsrv <= '1';
+                set_rsrv <= r0.req.atomic_last;
             else
                 -- store conditional
-                clear_rsrv <= '1';
+                clear_rsrv <= r0.req.atomic_last;
                 if reservation.valid = '0' or
                     r0.req.addr(63 downto LINE_OFF_BITS) /= reservation.addr then
                     cancel_store <= '1';