wb_arbiter: Forward stall signals
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 18 Oct 2019 23:27:02 +0000 (10:27 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Oct 2019 02:18:58 +0000 (13:18 +1100)
They are set to '1' for non-selected devices

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
wishbone_arbiter.vhdl

index d839b3138dca6013eb3ae7ed1b99796fea3ea3df..8e2358b253bf53239bb21398613627bec60f8aca 100644 (file)
@@ -43,6 +43,9 @@ begin
        wb1_out.ack <= wb_in.ack when state = WB1_BUSY else '0';
        wb2_out.ack <= wb_in.ack when state = WB2_BUSY else '0';
        wb3_out.ack <= wb_in.ack when state = WB3_BUSY else '0';
+       wb1_out.stall <= wb_in.stall when state = WB1_BUSY else '1';
+       wb2_out.stall <= wb_in.stall when state = WB2_BUSY else '1';
+       wb3_out.stall <= wb_in.stall when state = WB3_BUSY else '1';
     end process;
 
     wishbone_arbiter_process: process(clk)