From 26eea1b11bf40adf40f3a870aecd1170f170ae5d Mon Sep 17 00:00:00 2001 From: Kostas Alexopoulos Date: Mon, 13 Jun 2022 17:14:36 +0200 Subject: [PATCH] [ic] Wait a bit before pusling the READ --- src/Ic.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Ic.cxx b/src/Ic.cxx index 5021a8c..a8fd8db 100644 --- a/src/Ic.cxx +++ b/src/Ic.cxx @@ -96,6 +96,8 @@ uint32_t Ic::read(uint32_t address) barWrite(sc_regs::IC_WR_CMD.index, 0x8); barWrite(sc_regs::IC_WR_CMD.index, 0x0); + std::this_thread::sleep_for(std::chrono::milliseconds(10)); + // Pulse the READ barWrite(sc_regs::IC_WR_CMD.index, 0x2); barWrite(sc_regs::IC_WR_CMD.index, 0x0);