From: Matt Johnston Date: Fri, 19 Nov 2021 05:13:15 +0000 (+0800) Subject: orangecrab: Fix sdcard wishbone addressing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=049f0549d83204f8aba9cdde6aebae3ff27e6c49;p=microwatt.git orangecrab: Fix sdcard wishbone addressing Orangecrab missed out on: Make wishbone addresses be in units of doublewords or words Author: Paul Mackerras Date: Wed Sep 15 18:18:09 2021 +1000 Signed-off-by: Matt Johnston --- diff --git a/fpga/top-orangecrab0.2.vhdl b/fpga/top-orangecrab0.2.vhdl index 98c75c4..f4097db 100644 --- a/fpga/top-orangecrab0.2.vhdl +++ b/fpga/top-orangecrab0.2.vhdl @@ -463,7 +463,7 @@ begin -- Gate cyc with chip select from SoC wb_sdcard_cyc <= wb_ext_io_in.cyc and wb_ext_is_sdcard; - wb_sdcard_adr <= x"0000" & wb_ext_io_in.adr(15 downto 2); + wb_sdcard_adr <= x"0000" & wb_ext_io_in.adr(13 downto 0); wb_sdcard_out.stall <= not wb_sdcard_out.ack;