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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user