From 4d62caadc7a6ab736e1f1c65f8abbff0feab8233 Mon Sep 17 00:00:00 2001 From: Donald Sebastian Leung Date: Thu, 30 Jul 2020 16:08:24 +0800 Subject: [PATCH] Fix U-type instruction format --- insns/insn_U_type.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/insns/insn_U_type.py b/insns/insn_U_type.py index 334d15c..adc1257 100644 --- a/insns/insn_U_type.py +++ b/insns/insn_U_type.py @@ -21,13 +21,4 @@ class rvfi_insn_U_type(rvfi_insn_general): m.d.comb += self.misa_ok.eq(1) - # default assignments - m.d.comb += self.spec_rs1_addr.eq(0) - m.d.comb += self.spec_rs2_addr.eq(0) - m.d.comb += self.spec_trap.eq(~self.misa_ok) - m.d.comb += self.spec_mem_addr.eq(0) - m.d.comb += self.spec_mem_rmask.eq(0) - m.d.comb += self.spec_mem_wmask.eq(0) - m.d.comb += self.spec_mem_wdata.eq(0) - return m