Skip to content

Commit

Permalink
Merge pull request #77 from antmicro/mkurc/fix-opcode-swap
Browse files Browse the repository at this point in the history
Fix swapped mnemonics
  • Loading branch information
tmichalak authored Apr 14, 2023
2 parents 68cb133 + 0a778d6 commit 43134ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testbench/dasm.svi
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ string mn;
imm = opcode[24:20];
case(opcode[14:12])
1: mn = "slli";
5: mn = opcode[30] ? "srli": "srai";
5: mn = opcode[30] ? "srai": "srli";
endcase

return $sformatf("%s %s,%s,%0d", mn, abi_reg[opcode[11:7]], abi_reg[opcode[19:15]], imm);
Expand Down

0 comments on commit 43134ec

Please sign in to comment.