Skip to content

Commit 1a87920

Browse files
Merge pull request #27 from veselypeta/petr/fix-csetmode
[RISCV-CHERI] Fix description of CSetMode
2 parents ba4d933 + 86d2123 commit 1a87920

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/insns/wavedrom/csetmode.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
{reg: [
55
{bits: 7, name: 'opcode', attr: ['7', 'OP=0110011'], type: 8},
66
{bits: 5, name: 'cd', attr: ['5', 'dest'], type: 2},
7-
{bits: 3, name: 'funct3', attr: ['3', 'CSETMODE=000'], type: 8},
7+
{bits: 3, name: 'funct3', attr: ['7', 'CSETMODE=111'], type: 8},
88
{bits: 5, name: 'cs1', attr: ['5', 'src1'], type: 4},
9-
{bits: 5, name: 'rs2', attr: ['5', 'CSETMODE=0011'], type: 3},
10-
{bits: 7, name: 'funct7', attr: ['7', 'CSETMODE=0001000'], type: 3},
9+
{bits: 5, name: 'rs2', attr: ['5', 'src2'], type: 3},
10+
{bits: 7, name: 'funct7', attr: ['7', 'CSETMODE=0000110'], type: 3},
1111
]}
1212
....

0 commit comments

Comments
 (0)