aboutsummaryrefslogtreecommitdiff
path: root/arch/v1/arch.c
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2026-05-30 23:07:06 +0200
committerPaul Oliver <contact@pauloliver.dev>2026-06-02 01:58:34 +0200
commit8041d3697efb5eddef2c6e693248842ca0139590 (patch)
tree5f85a176c0debe2dabab2b52f4b42ac309951567 /arch/v1/arch.c
parent0df4e501aee0eeaec61217312eddddc077ca53a7 (diff)
adds v1 pop charts (wip)python_server_client
Diffstat (limited to 'arch/v1/arch.c')
-rw-r--r--arch/v1/arch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/v1/arch.c b/arch/v1/arch.c
index 0053ec9..b200e5e 100644
--- a/arch/v1/arch.c
+++ b/arch/v1/arch.c
@@ -5,7 +5,6 @@
INST_EVENT_ARRAY(core, 0, pop) /* instruction population */ \
INST_EVENT_ARRAY(core, 1, exe) /* instruction executions */ \
INST_EVENT_ARRAY(core, 2, wrt) /* instruction writes */
-#define INST_EVENT_ARRAYS_COUNT 3
#define ARCH_EVENT_ARRAYS(core) \
ARCH_EVENT_ARRAY(core, 0, wev) /* write events array*/ \
@@ -987,7 +986,7 @@ void arch_push_data_line(void) {
"%ld"
");",
#define INST(core, pref, index, label, mnemonic, symbol) \
- g_cores[core].i##pref,
+ g_cores[core].i##pref[index],
#define INST_EVENT_ARRAY(core, index, iv) \
INST_SET(core, iv)
#define ARCH_EVENT_ARRAY(core, index, ev) \