diff options
author | Bill Traynor <wmat@riscv.org> | 2023-02-21 10:54:53 -0500 |
---|---|---|
committer | Bill Traynor <wmat@riscv.org> | 2023-02-21 10:54:53 -0500 |
commit | f33df10e1da439e61e431f3e0924111b427843c7 (patch) | |
tree | b539fa4dcf683fc01a86e9839a24568e64735a52 /src | |
parent | b964b210424b18e6fd49e4aecb655475556572b8 (diff) | |
download | riscv-isa-manual-f33df10e1da439e61e431f3e0924111b427843c7.zip riscv-isa-manual-f33df10e1da439e61e431f3e0924111b427843c7.tar.gz riscv-isa-manual-f33df10e1da439e61e431f3e0924111b427843c7.tar.bz2 |
Adjusting font size to fit bitfields
Adjusted font size to fit bitfields
Diffstat (limited to 'src')
-rw-r--r-- | src/images/bytefield/rvc-instr-quad1.adoc | 20 | ||||
-rw-r--r-- | src/images/bytefield/rvc-instr-quad2.adoc | 10 |
2 files changed, 15 insertions, 15 deletions
diff --git a/src/images/bytefield/rvc-instr-quad1.adoc b/src/images/bytefield/rvc-instr-quad1.adoc index 3579a4a..91ac79e 100644 --- a/src/images/bytefield/rvc-instr-quad1.adoc +++ b/src/images/bytefield/rvc-instr-quad1.adoc @@ -8,14 +8,14 @@ (def boxes-per-row 24) (draw-column-headers {:labels (reverse ["" "" "" "" " " " " " " " " "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15"])}) (draw-box "000" {:span 3}) -(draw-box "nzimm[5]" {:span 1}) +(draw-box (text "nzimm[5]" {:font-size 9}) {:span 1}) (draw-box "0" {:span 5}) (draw-box "nzimm[4:0]" {:span 5}) (draw-box "01" {:span 2}) -(draw-box "C.NOP (HINT, nzimm̸=0)" {:span 8 :text-anchor "start" :borders {}}) +(draw-box "C.NOP (HINT, nzimm=0)" {:span 8 :text-anchor "start" :borders {}}) (draw-box "000" {:span 3}) -(draw-box "nzimm[5]" {:span 1}) +(draw-box (text "nzimm[5]" {:font-size 9}) {:span 1}) (draw-box "rs1/rd≠0" {:span 5}) (draw-box "nzimm[4:0]" {:span 5}) (draw-box "01" {:span 2}) @@ -27,35 +27,35 @@ (draw-box "C.JAL (RV32)" {:span 8 :text-anchor "start" :borders {}}) (draw-box "001" {:span 3}) -(draw-box "imm[5]" {:span 1}) +(draw-box (text "imm[5]" {:font-size 9}) {:span 1}) (draw-box "rs1/rd≠0" {:span 5}) (draw-box "imm[4:0]" {:span 5}) (draw-box "01" {:span 2}) (draw-box "C.ADDIW (RV64/128; RES, rd=0)" {:span 8 :text-anchor "start" :borders {}}) (draw-box "010" {:span 3}) -(draw-box "imm[5]" {:span 1}) +(draw-box (text "imm[5]" {:font-size 9}) {:span 1}) (draw-box "rd̸=0" {:span 5}) (draw-box "imm[4:0]" {:span 5}) (draw-box "01" {:span 2}) (draw-box "C.LI (HINT, rd=0)" {:span 8 :text-anchor "start" :borders {}}) (draw-box "011" {:span 3}) -(draw-box "nzimm[9]" {:span 1}) +(draw-box (text "nzimm[9]" {:font-size 9}) {:span 1}) (draw-box "2" {:span 5}) (draw-box "imm[4:0]" {:span 5}) (draw-box "01" {:span 2}) (draw-box "C.ADDI16SP (RES, nzimm=0)" {:span 8 :text-anchor "start" :borders {}}) (draw-box "011" {:span 3}) -(draw-box "nzimm[17]" {:span 1}) +(draw-box (text "nzimm[17]" {:font-size 8}) {:span 1}) (draw-box "rd̸={0, 2}" {:span 5}) (draw-box "nzimm[16:12]" {:span 5}) (draw-box "01" {:span 2}) (draw-box "C.LUI (RES, nzimm=0; HINT, rd=0)" {:span 8 :text-anchor "start" :borders {}}) (draw-box "100" {:span 3}) -(draw-box "nzuimm[5]" {:span 1}) +(draw-box (text "nzuimm[5]" {:font-size 9}) {:span 1}) (draw-box "00" {:span 2}) (draw-box "rs1ʹ/rdʹ" {:span 3}) (draw-box "nzuimm[4:0]" {:span 5}) @@ -71,7 +71,7 @@ (draw-box "C.SRLI64 (RV128; RV32/64 HINT)" {:span 8 :text-anchor "start" :borders {}}) (draw-box "100" {:span 3}) -(draw-box "nzuimm[5]" {:span 1}) +(draw-box (text "nzuimm[5]" {:font-size 9}) {:span 1}) (draw-box "01" {:span 2}) (draw-box "rs1ʹ/rdʹ" {:span 3}) (draw-box "nzuimm[4:0]" {:span 5}) @@ -87,7 +87,7 @@ (draw-box "C.SRAI64 (RV128; RV32/64 HINT)" {:span 8 :text-anchor "start" :borders {}}) (draw-box "100" {:span 3}) -(draw-box "imm[5]" {:span 1}) +(draw-box (text "imm[5]" {:font-size 9}) {:span 1}) (draw-box "10" {:span 2}) (draw-box "rs1ʹ/rdʹ" {:span 3}) (draw-box "imm[4:0]" {:span 5}) diff --git a/src/images/bytefield/rvc-instr-quad2.adoc b/src/images/bytefield/rvc-instr-quad2.adoc index 0bb2cb2..c545060 100644 --- a/src/images/bytefield/rvc-instr-quad2.adoc +++ b/src/images/bytefield/rvc-instr-quad2.adoc @@ -8,7 +8,7 @@ (def boxes-per-row 25) (draw-column-headers {:labels (reverse ["" "" "" "" "" " " " " " " " " "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15"])}) (draw-box "000" {:span 3}) -(draw-box "nzuimm[5]" {:span 1}) +(draw-box (text "nzuimm[5]" {:font-size 9}) {:span 1}) (draw-box "rs1/rd≠0" {:span 5}) (draw-box "nzuimm[4:0]" {:span 5}) (draw-box "10" {:span 2}) @@ -22,28 +22,28 @@ (draw-box "C.SLLI64 (RV128; RV32/64 HINT; HINT, rd=0)" {:span 9 :text-anchor "start" :borders {}}) (draw-box "001" {:span 3}) -(draw-box "uimm[5]" {:span 1}) +(draw-box (text "uimm[5]" {:font-size 9}) {:span 1}) (draw-box "rd" {:span 5}) (draw-box "uimm[4:3|8:6]" {:span 5}) (draw-box "10" {:span 2}) (draw-box "C.FLDSP (RV32/64)" {:span 9 :text-anchor "start" :borders {}}) (draw-box "001" {:span 3}) -(draw-box "uimm[5]" {:span 1}) +(draw-box (text "uimm[5]" {:font-size 9}) {:span 1}) (draw-box "rd≠0" {:span 5}) (draw-box "uimm[4|9:6]" {:span 5}) (draw-box "10" {:span 2}) (draw-box "C.LWSP (RES, rd=0)" {:span 9 :text-anchor "start" :borders {}}) (draw-box "011" {:span 3}) -(draw-box "uimm[5]" {:span 1}) +(draw-box (text "uimm[5]" {:font-size 9}) {:span 1}) (draw-box "rd" {:span 5}) (draw-box "uimm[4:2|7:6]" {:span 5}) (draw-box "10" {:span 2}) (draw-box "C.FLWSP (RV32)" {:span 9 :text-anchor "start" :borders {}}) (draw-box "011" {:span 3}) -(draw-box "uimm[5]" {:span 1}) +(draw-box (text "uimm[5]" {:font-size 9}) {:span 1}) (draw-box "rd≠0" {:span 5}) (draw-box "uimm[4:3|8:6]" {:span 5}) (draw-box "10" {:span 2}) |