From 427effdaa96ef9793d31eec5003d0bb2fc3089f6 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sun, 15 Sep 2019 21:21:36 +1000 Subject: [PATCH] Fix make check We need to finish support for all the trap instructions, but for now we at least need a decode entry for tw, so we know to stall until the previous instruction completes. Some of our test cases were failing because the trap executed before the previous instruction completed. All these trap instructions need to be resolved at completion, not in execute. Signed-off-by: Anton Blanchard --- decode1.vhdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decode1.vhdl b/decode1.vhdl index d33c4d0..716eac3 100644 --- a/decode1.vhdl +++ b/decode1.vhdl @@ -217,7 +217,7 @@ architecture behaviour of decode1 is PPC_SYNC => (ALU, OP_NOP, NONE, NONE, NONE, NONE, NONE, NONE, NONE, '0', '0', '0', '0', NONE, '0', '0', '0', '0', '0', '0', NONE, '0', '1'), --PPC_TD PPC_TDI => (ALU, OP_TDI, RA, CONST_SI, NONE, NONE, TOO, NONE, NONE, '0', '0', '0', '0', NONE, '0', '0', '0', '0', '0', '0', NONE, '0', '1'), - --PPC_TW + PPC_TW => (ALU, OP_TW, RA, RB, NONE, NONE, TOO, NONE, NONE, '0', '0', '0', '0', NONE, '0', '0', '0', '0', '0', '0', NONE, '0', '1'), --PPC_TWI PPC_XOR => (ALU, OP_XOR, RS, RB, NONE, RA, NONE, NONE, NONE, '0', '0', '0', '0', NONE, '0', '0', '0', '0', '0', '0', RC, '0', '1'), PPC_XORI => (ALU, OP_XOR, RS, CONST_UI, NONE, RA, NONE, NONE, NONE, '0', '0', '0', '0', NONE, '0', '0', '0', '0', '0', '0', NONE, '0', '1'),