soc: Rename wb_dram_ctrl to wb_ext_io and rework decoding
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 13 Jun 2020 12:04:45 +0000 (22:04 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 14 Jun 2020 04:00:35 +0000 (14:00 +1000)
commitf9f18906a3039c9dc773c85adc2d9d144a83030c
treee6738797560d9bdf6a62d4d87a30c28f18e82acd
parentbf7def55035f339be3538aeb01627ce22cac615c
soc: Rename wb_dram_ctrl to wb_ext_io and rework decoding

This makes the control bus currently going out of "soc" towards
litedram more generic for external IO devices added by the
top-level rather than inside the SoC proper.

This is mostly renaming of signals and a small change on how the
address decoder operates, using a separate "cascaded" decode for
the external IOs.

We make the region 0xc8nn_nnnn be the "external IO" region for
now.

This will make it easier / cleaner to add more external devices.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
core_dram_tb.vhdl
fpga/top-arty.vhdl
fpga/top-nexys-video.vhdl
include/microwatt_soc.h
litedram/generated/arty/litedram_core.init
litedram/generated/nexys-video/litedram_core.init
litedram/generated/sim/litedram_core.init
soc.vhdl