1 2 3 4 5 6 7 8 9 10 11 12 13
// [wavedrom, ,svg] .... {reg: [ {bits: 7, name: 'opcode', type: 8, attr: ['7','SYSTEM'],}, {bits: 5, name: 'rd', type: 2, attr: ['5','0'],}, {bits: 3, name: 'funct3', type: 8, attr: ['3','PRIV'],}, {bits: 5, name: 'rs1', type: 4, attr: ['5','0'],}, {bits: 12, name: 'funct12', type: 8, attr: ['12','MRET/SRET',]}, ], config: {bits: 32}} ....