From ac0d6f4e068ff0ff08f05e04053ebd53ba20bcb8 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 8 Nov 2022 00:19:49 -0600 Subject: Refactor decode signals into unified insn_decode struct --- rtl/core/uarch.sv | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'rtl/core/uarch.sv') diff --git a/rtl/core/uarch.sv b/rtl/core/uarch.sv index d4654a7..1d43caf 100644 --- a/rtl/core/uarch.sv +++ b/rtl/core/uarch.sv @@ -169,6 +169,18 @@ typedef struct packed reg_num crn, crm; } coproc_decode; +typedef struct packed +{ + datapath_decode ctrl; + psr_decode psr; + branch_decode branch; + snd_decode snd; + data_decode data; + ldst_decode ldst; + mul_decode mul; + coproc_decode coproc; +} insn_decode; + typedef enum { ISSUE, -- cgit v1.2.3