mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-04-13 23:23:55 +00:00
soc: Allow for up to 1GB of DRAM in address decoding
The Acorn-CLE-215 board has 1GB of DRAM. Without this, the top 512MB of DRAM is not accessible. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
This commit is contained in:
3
soc.vhdl
3
soc.vhdl
@@ -431,6 +431,7 @@ begin
|
||||
-- From CPU to BRAM, DRAM, IO, selected on top 3 bits and dram_at_0
|
||||
-- 0000 - BRAM
|
||||
-- 0001 - DRAM
|
||||
-- 001x - DRAM
|
||||
-- 01xx - DRAM
|
||||
-- 10xx - BRAM
|
||||
-- 11xx - IO
|
||||
@@ -449,6 +450,8 @@ begin
|
||||
slave_top := SLAVE_TOP_BRAM;
|
||||
elsif std_match(top_decode, "0001") then
|
||||
slave_top := SLAVE_TOP_DRAM;
|
||||
elsif std_match(top_decode, "001-") then
|
||||
slave_top := SLAVE_TOP_DRAM;
|
||||
elsif std_match(top_decode, "01--") then
|
||||
slave_top := SLAVE_TOP_DRAM;
|
||||
elsif std_match(top_decode, "10--") then
|
||||
|
||||
Reference in New Issue
Block a user