1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-05-02 06:36:01 +00:00

soc: Add DRAM address decoding

Still not attached to any board

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Benjamin Herrenschmidt
2019-09-10 18:05:56 +01:00
parent 6853d22203
commit 8bb3c8f8b6
3 changed files with 83 additions and 21 deletions

View File

@@ -30,6 +30,10 @@ architecture behaviour of toplevel is
signal system_clk : std_ulogic;
signal system_clk_locked : std_ulogic;
-- Dummy DRAM
signal wb_dram_in : wishbone_master_out;
signal wb_dram_out : wishbone_slave_out;
begin
reset_controller: entity work.soc_reset
@@ -73,4 +77,9 @@ begin
uart0_rxd => uart0_rxd
);
-- Dummy DRAM
wb_dram_out.ack <= wb_dram_in.cyc and wb_dram_in.stb;
wb_dram_out.dat <= x"FFFFFFFFFFFFFFFF";
wb_dram_out.stall <= wb_dram_in.cyc and not wb_dram_out.ack;
end architecture behaviour;