From 52faa22774728bb64fc1af5d80816456f5fa23d4 Mon Sep 17 00:00:00 2001 From: Kip Macsai-Goren Date: Thu, 22 Jul 2021 20:24:24 -0400 Subject: [PATCH] include SFENCE.VMA in legal instructions --- wally-pipelined/testbench/testbench-imperas.sv | 1 + 1 file changed, 1 insertion(+) diff --git a/wally-pipelined/testbench/testbench-imperas.sv b/wally-pipelined/testbench/testbench-imperas.sv index 0090a43b..ba778366 100644 --- a/wally-pipelined/testbench/testbench-imperas.sv +++ b/wally-pipelined/testbench/testbench-imperas.sv @@ -886,6 +886,7 @@ module instrNameDecTB( else if (imm == 2) name = "URET"; else if (imm == 258) name = "SRET"; else if (imm == 770) name = "MRET"; + else if (funct7 == 9) name = "SFENCE.VMA" else name = "ILLEGAL"; 10'b1110011_001: name = "CSRRW"; 10'b1110011_010: name = "CSRRS";