bram: Remove combinational loop on stall
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 12 Jun 2020 11:47:06 +0000 (21:47 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 13 Jun 2020 01:38:34 +0000 (11:38 +1000)
It hurts timing and is pointless

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

index 23d388528c1e6b5932dfd93f5ec7e971ac8a2e33..7c8e825438929d8431dcae97405f116772007022 100644 (file)
--- a/soc.vhdl
+++ b/soc.vhdl
@@ -609,7 +609,7 @@ begin
     no_bram: if MEMORY_SIZE = 0 generate
         wb_bram_out.ack <= wb_bram_in.cyc and wb_bram_in.stb;
         wb_bram_out.dat <= x"FFFFFFFFFFFFFFFF";
-        wb_bram_out.stall <= wb_bram_in.cyc and not wb_bram_out.ack;
+        wb_bram_out.stall <= not wb_bram_out.ack;
     end generate;
 
     -- DMI(debug bus) <-> JTAG bridge