HW: Fixing write protocol in hdl_example action AXI Intf to NVMe
@@ -238,16 +238,19 @@ axi_w: process(M_AXI_ACLK)
axi_bready <= '1';
end if;
+ start_polling <= '0';
if M_AXI_BVALID = '1' and axi_bready = '1' then
axi_bready <= '0';
nvme_status(0) <= '1';
+ if wr_count = x"f" then
+ start_polling <= '1';
end if;
- start_polling <= '0';
+ end if;
+
if axi_wvalid = '1' and M_AXI_WREADY = '1' then
wr_count <= wr_count - '1';
if wr_count = x"0" then
axi_wvalid <= '0';
- start_polling <= '1';
end if;
end if;
end if;
