From d406720cecd7328f595255e65b6fd6b6814cefe4 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 5 Oct 2023 16:26:26 -0600 Subject: rtl/perf: implement performance unit --- tb/top/conspiracion.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tb/top/conspiracion.cpp') diff --git a/tb/top/conspiracion.cpp b/tb/top/conspiracion.cpp index 198cc30..d8f5f62 100644 --- a/tb/top/conspiracion.cpp +++ b/tb/top/conspiracion.cpp @@ -346,6 +346,7 @@ int main(int argc, char **argv) sim_slave dbg_2(*plat.smp_dbg_2, 0x3012'0000, 32); sim_slave dbg_3(*plat.smp_dbg_3, 0x3013'0000, 32); sim_slave smp_ctrl(*plat.smp_sim, 0x3014'0000, 4); + sim_slave perf_monitor(*plat.perf_sim, 0x3015'0000, 256); interconnect avl(plat); //interconnect avl_vga(plat->vga); @@ -367,6 +368,7 @@ int main(int argc, char **argv) avl.attach(dbg_2); avl.attach(dbg_3); avl.attach(smp_ctrl); + avl.attach(perf_monitor); avl.attach_intc(intc); for (auto &slave : consts) -- cgit v1.2.3