From dea9b88249f9ad6946211ace129193677483d2f4 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 20 Sep 2017 23:44:16 +0200 Subject: [PATCH] Fix bug in PicoSoC spimemio --- picosoc/spimemio.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picosoc/spimemio.v b/picosoc/spimemio.v index 976e5a2..311edcd 100644 --- a/picosoc/spimemio.v +++ b/picosoc/spimemio.v @@ -433,7 +433,7 @@ module spimemio_xfer ( assign din_ready = din_valid && resetn && next_fetch; - assign dout_valid = xfer_ddr_q ? fetch && !last_fetch : next_fetch && !fetch; + assign dout_valid = (xfer_ddr_q ? fetch && !last_fetch : next_fetch && !fetch) && resetn; assign dout_data = ibuffer; assign dout_tag = xfer_tag_q;