Refactor supported instructions to improve code reuse #1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue