From 3de2c7e7dd214f80b8b9cca575e42e0b1b08034d Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 4 Oct 2023 03:09:13 -0600 Subject: rtl/cache: implement debug interface --- tb/top/conspiracion.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tb/top/conspiracion.cpp') diff --git a/tb/top/conspiracion.cpp b/tb/top/conspiracion.cpp index 26ea1f0..0bb2f11 100644 --- a/tb/top/conspiracion.cpp +++ b/tb/top/conspiracion.cpp @@ -333,6 +333,10 @@ int main(int argc, char **argv) *plat.vga, 0x3800'0000, 25'175'000, 50'000'000 ); + sim_slave dbg_0(*plat.smp_dbg_0, 0x3010'0000, 8); + sim_slave dbg_1(*plat.smp_dbg_1, 0x3011'0000, 8); + sim_slave dbg_2(*plat.smp_dbg_2, 0x3012'0000, 8); + sim_slave dbg_3(*plat.smp_dbg_3, 0x3013'0000, 8); sim_slave smp_ctrl(*plat.smp_sim, 0x3014'0000, 4); interconnect avl(plat); @@ -350,6 +354,10 @@ int main(int argc, char **argv) avl.attach(hps_ddr3); avl.attach(timer); avl.attach(ttyJ0); + avl.attach(dbg_0); + avl.attach(dbg_1); + avl.attach(dbg_2); + avl.attach(dbg_3); avl.attach(smp_ctrl); avl.attach_intc(intc); -- cgit v1.2.3