Skip to content

Commit

Permalink
Fixed encoding for c.cjalr and c.cjr
Browse files Browse the repository at this point in the history
  • Loading branch information
francislaus committed Jan 24, 2024
1 parent 41c9a53 commit 56cb904
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/insns/wavedrom/c-cjalr-format-ls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
....
{reg: [
{bits: 2, name: 'op', type: 8, attr: ['2','C2=10']},
{bits: 5, name: 'rs2', type: 4, attr: ['5','0']},
{bits: 5, name: 'rs1', type: 4, attr: ['5','src!=0']},
{bits: 5, name: 'cs2/rs2', type: 4, attr: ['5','0']},
{bits: 5, name: 'cs1/rs1', type: 4, attr: ['5','src!=0']},
{bits: 4, name: 'funct4', type: 8, attr: ['4', 'cap: C.CJALR=1001', 'leg: C.JALR=1001']},
], config: {bits: 16}}
....
Expand Down
4 changes: 2 additions & 2 deletions src/insns/wavedrom/c-cr-format-ls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
....
{reg: [
{bits: 2, name: 'op', type: 8, attr: ['2','C2=10']},
{bits: 5, name: 'rs2', type: 4, attr: ['5','0']},
{bits: 5, name: 'rs1', type: 4, attr: ['5','src!=0']},
{bits: 5, name: 'cs2/rs2', type: 4, attr: ['5','0']},
{bits: 5, name: 'cs1/rs1', type: 4, attr: ['5','src!=0']},
{bits: 4, name: 'funct4', type: 8, attr: ['4','cap: C.CJR=1000', 'leg: C.JR=1000']},
], config: {bits: 16}}
....
Expand Down

0 comments on commit 56cb904

Please sign in to comment.