1 2 3 4 5 6 7 8 9 10 11 12
//c-ciw.adoc [wavedrom, ,svg] .... {reg: [ {bits: 2, name: 'op', type: 3, attr: ['2','C0'],}, {bits: 3, name: 'rd′', type: 5, attr: ['3','dest'],}, {bits: 8, name: 'imm', type: 5, attr: ['8','nzuimm[5:4|9:6|2|3]']}, {bits: 3, name: 'funct3', type: 5, attr: ['3','C.ADDI4SPN']}, ], config: {bits: 16}} ....