diff options
Diffstat (limited to 'src/images/wavedrom/instruction_formats.adoc')
-rw-r--r-- | src/images/wavedrom/instruction_formats.adoc | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/images/wavedrom/instruction_formats.adoc b/src/images/wavedrom/instruction_formats.adoc index 442e27d..0741210 100644 --- a/src/images/wavedrom/instruction_formats.adoc +++ b/src/images/wavedrom/instruction_formats.adoc @@ -5,44 +5,44 @@ [wavedrom, ,svg] .... {reg: [ - {bits: 7, name: 'opcode', type: 8}, - {bits: 5, name: 'rd', type: 2}, - {bits: 3, name: 'funct3', type: 8}, - {bits: 5, name: 'rs1', type: 4}, - {bits: 5, name: 'rs2', type: 4}, - {bits: 7, name: 'funct7', type: 8} + {bits: 7, name: 'opcode'}, + {bits: 5, name: 'rd'}, + {bits: 3, name: 'funct3'}, + {bits: 5, name: 'rs1'}, + {bits: 5, name: 'rs2'}, + {bits: 7, name: 'funct7'} ], config: {label: {right: 'R-Type'}}} .... [wavedrom, ,svg] .... {reg: [ - {bits: 7, name: 'opcode', type: 8}, - {bits: 5, name: 'rd', type: 2}, - {bits: 3, name: 'funct3', type: 8}, - {bits: 5, name: 'rs1', type: 4}, - {bits: 12, name: 'imm[11:0]', type: 3}, + {bits: 7, name: 'opcode'}, + {bits: 5, name: 'rd'}, + {bits: 3, name: 'funct3'}, + {bits: 5, name: 'rs1'}, + {bits: 12, name: 'imm[11:0]'}, ], config: {label: {right: 'I-Type'}}} .... [wavedrom, ,svg] .... {reg: [ - {bits: 7, name: 'opcode', type: 8}, - {bits: 5, name: 'imm[4:0]', type: 3}, - {bits: 3, name: 'funct3', type: 8}, - {bits: 5, name: 'rs1', type: 4}, - {bits: 5, name: 'rs2', type: 4}, - {bits: 7, name: 'imm[11:5]', type: 3} + {bits: 7, name: 'opcode'}, + {bits: 5, name: 'imm[4:0]'}, + {bits: 3, name: 'funct3'}, + {bits: 5, name: 'rs1'}, + {bits: 5, name: 'rs2'}, + {bits: 7, name: 'imm[11:5]'} ], config: {label: {right: 'S-Type'}}} .... [wavedrom, ,svg] .... {reg: [ - {bits: 7, name: 'opcode', type: 8}, - {bits: 5, name: 'rd', type: 2}, - {bits: 20, name: 'imm[31:12]', type: 3} + {bits: 7, name: 'opcode'}, + {bits: 5, name: 'rd'}, + {bits: 20, name: 'imm[31:12]'} ], config: {label: {right: 'U-Type'}}} .... |