summaryrefslogtreecommitdiff
path: root/tb
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-12-14 22:26:37 -0600
committerAlejandro Soto <alejandro@34project.org>2022-12-16 16:29:10 -0600
commitae7fd6a060c9bb1ce9db83f8eb23fa19e8fa0e7a (patch)
tree83a1075065c5529a667941df077cf9ba8d664149 /tb
parentef151fffb14eac19a19121dfb4c1e015e7470038 (diff)
Implement branch history (simulation only)
Diffstat (limited to 'tb')
-rw-r--r--tb/top/conspiracion.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tb/top/conspiracion.cpp b/tb/top/conspiracion.cpp
index 5af439f..e1095f2 100644
--- a/tb/top/conspiracion.cpp
+++ b/tb/top/conspiracion.cpp
@@ -19,6 +19,7 @@
#include "Vconspiracion_platform.h"
#include "Vconspiracion_vga_domain.h"
#include "Vconspiracion_core_control.h"
+#include "Vconspiracion_core_control_issue.h"
#include "Vconspiracion_core_cp15_domain.h"
#include "Vconspiracion_core_cp15_far.h"
#include "Vconspiracion_core_cp15_fsr.h"
@@ -466,6 +467,10 @@ int main(int argc, char **argv)
std::fprintf(ctrl, "%08x far\n", core.cp15->far_->read);
std::fprintf(ctrl, "%08x fsr\n", core.cp15->fsr->read);
std::fprintf(ctrl, "%08x dacr\n", core.cp15->domain->mmu_dac);
+ std::fprintf(ctrl, "%08x bh0\n", core.control->ctrl_issue->bh0);
+ std::fprintf(ctrl, "%08x bh1\n", core.control->ctrl_issue->bh1);
+ std::fprintf(ctrl, "%08x bh2\n", core.control->ctrl_issue->bh2);
+ std::fprintf(ctrl, "%08x bh3\n", core.control->ctrl_issue->bh3);
std::fputs("=== end-regs ===\n", ctrl);
};