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