Skip to content

Commit

Permalink
fix C.MODESW encoding so it doesn't overlap C.SUBW (#137)
Browse files Browse the repository at this point in the history
I've changed this to the intended encoding, which is already in
riscv-opcodes (riscv/riscv-opcodes#214).
The previous one was a typo and conflicted with c.subw.
  • Loading branch information
tariqkurd-repo authored Feb 27, 2024
1 parent 9e0a571 commit bda7ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/insns/wavedrom/modesw_16bit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{reg:[
{ bits: 2, name: 0x1, attr: ['2', 'C1=1'] },
{ bits: 3, name: 0x7, attr: ['3', 'C.MODESW'] },
{ bits: 2, name: 0x0, attr: ['2', 'FUNCT2'] },
{ bits: 2, name: 0x3, attr: ['2', 'FUNCT2'] },
{ bits: 3, name: 0x0, attr: ['3', 'FUNCT3'] },
{ bits: 3, name: 0x7, attr: ['3', 'FUNCT3'] },
{ bits: 3, name: 0x4, attr: ['3', 'FUNCT3'] },
Expand Down

0 comments on commit bda7ade

Please sign in to comment.