diff options
author | Bill Traynor <wmat@riscv.org> | 2023-05-17 11:22:31 -0400 |
---|---|---|
committer | Bill Traynor <wmat@riscv.org> | 2023-05-17 11:22:31 -0400 |
commit | 2458c5ec8856eab2a15beb9af7a5d235a73e2788 (patch) | |
tree | 5997ced8456d2d495a4b44c2b94c2bfe0143fce4 | |
parent | ec985e439f80b2102db1ec974a5b98a72142a0c8 (diff) | |
download | riscv-isa-manual-2458c5ec8856eab2a15beb9af7a5d235a73e2788.zip riscv-isa-manual-2458c5ec8856eab2a15beb9af7a5d235a73e2788.tar.gz riscv-isa-manual-2458c5ec8856eab2a15beb9af7a5d235a73e2788.tar.bz2 |
Set font size and row height
Set font size to 24.
Set row height to 40.
Set margins to 30.
Added empty boxes to pad rows.
-rw-r--r-- | src/images/bytefield/sv32x4va.edn | 16 | ||||
-rw-r--r-- | src/images/bytefield/sv39x4va.edn | 16 | ||||
-rw-r--r-- | src/images/bytefield/sv48x4va.edn | 16 | ||||
-rw-r--r-- | src/images/bytefield/sv57x4va.edn | 16 |
4 files changed, 44 insertions, 20 deletions
diff --git a/src/images/bytefield/sv32x4va.edn b/src/images/bytefield/sv32x4va.edn index 00f5c92..379253e 100644 --- a/src/images/bytefield/sv32x4va.edn +++ b/src/images/bytefield/sv32x4va.edn @@ -1,24 +1,30 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 16}]) -(def row-height 30 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 24}]) +(def row-height 40 ) (def row-header-fn nil) -(def left-margin 200) -(def right-margin 200) -(def boxes-per-row 20) +(def left-margin 30) +(def right-margin 30) +(def boxes-per-row 32) +(draw-box nil {:span 6 :borders {}}) (draw-box "33" {:span 3 :text-anchor "start" :borders {}}) (draw-box "22" {:span 3 :text-anchor "end" :borders {}}) (draw-box "21" {:span 3 :text-anchor "start" :borders {}}) (draw-box "12" {:span 3 :text-anchor "end" :borders {}}) (draw-box "11" {:span 4 :text-anchor "start" :borders {}}) (draw-box "0" {:span 4 :text-anchor "end" :borders {}}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "VPN[1]" {:span 6}) (draw-box "VPN[0]" {:span 6}) (draw-box "page offset" {:span 8}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "12" {:span 6 :borders {}}) (draw-box "10" {:span 6 :borders {}}) (draw-box "12" {:span 8 :borders {}}) +(draw-box nil {:span 6 :borders {}}) ----
\ No newline at end of file diff --git a/src/images/bytefield/sv39x4va.edn b/src/images/bytefield/sv39x4va.edn index 9fb196a..06b04f2 100644 --- a/src/images/bytefield/sv39x4va.edn +++ b/src/images/bytefield/sv39x4va.edn @@ -1,12 +1,13 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 16}]) -(def row-height 30 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 24}]) +(def row-height 40 ) (def row-header-fn nil) -(def left-margin 200) -(def right-margin 200) -(def boxes-per-row 20) +(def left-margin 30) +(def right-margin 30) +(def boxes-per-row 32) +(draw-box nil {:span 6 :borders {}}) (draw-box "40" {:span 2 :text-anchor "start" :borders {}}) (draw-box "30" {:span 2 :text-anchor "end" :borders {}}) (draw-box "29" {:span 2 :text-anchor "start" :borders {}}) @@ -15,14 +16,19 @@ (draw-box "12" {:span 2 :text-anchor "end" :borders {}}) (draw-box "11" {:span 4 :text-anchor "start" :borders {}}) (draw-box "0" {:span 4 :text-anchor "end" :borders {}}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "VPN[2]" {:span 4}) (draw-box "VPN[1]" {:span 4}) (draw-box "VPN[0]" {:span 4}) (draw-box "page offset" {:span 8}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "11" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "12" {:span 8 :borders {}}) +(draw-box nil {:span 6 :borders {}}) ----
\ No newline at end of file diff --git a/src/images/bytefield/sv48x4va.edn b/src/images/bytefield/sv48x4va.edn index 3561ceb..e368e51 100644 --- a/src/images/bytefield/sv48x4va.edn +++ b/src/images/bytefield/sv48x4va.edn @@ -1,12 +1,13 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 16}]) -(def row-height 30 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 24}]) +(def row-height 40 ) (def row-header-fn nil) -(def left-margin 200) -(def right-margin 200) -(def boxes-per-row 20) +(def left-margin 30) +(def right-margin 30) +(def boxes-per-row 32) +(draw-box nil {:span 6 :borders {}}) (draw-box "49" {:span 2 :text-anchor "start" :borders {}}) (draw-box "39" {:span 2 :text-anchor "end" :borders {}}) (draw-box "38" {:span 2 :text-anchor "start" :borders {}}) @@ -17,16 +18,21 @@ (draw-box "12" {:span 2 :text-anchor "end" :borders {}}) (draw-box "11" {:span 2 :text-anchor "start" :borders {}}) (draw-box "0" {:span 2 :text-anchor "end" :borders {}}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "VPN[3]" {:span 4}) (draw-box "VPN[2]" {:span 4}) (draw-box "VPN[1]" {:span 4}) (draw-box "VPN[0]" {:span 4}) (draw-box "page offset" {:span 4}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "11" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "12" {:span 4 :borders {}}) +(draw-box nil {:span 6 :borders {}}) ----
\ No newline at end of file diff --git a/src/images/bytefield/sv57x4va.edn b/src/images/bytefield/sv57x4va.edn index 5a89f94..37f401c 100644 --- a/src/images/bytefield/sv57x4va.edn +++ b/src/images/bytefield/sv57x4va.edn @@ -1,12 +1,13 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 16}]) -(def row-height 30 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 24}]) +(def row-height 40 ) (def row-header-fn nil) -(def left-margin 200) -(def right-margin 200) -(def boxes-per-row 24) +(def left-margin 30) +(def right-margin 30) +(def boxes-per-row 32) +(draw-box nil {:span 4 :borders {}}) (draw-box "58" {:span 2 :text-anchor "start" :borders {}}) (draw-box "48" {:span 2 :text-anchor "end" :borders {}}) (draw-box "47" {:span 2 :text-anchor "start" :borders {}}) @@ -19,18 +20,23 @@ (draw-box "12" {:span 2 :text-anchor "end" :borders {}}) (draw-box "11" {:span 2 :text-anchor "start" :borders {}}) (draw-box "0" {:span 2 :text-anchor "end" :borders {}}) +(draw-box nil {:span 4 :borders {}}) +(draw-box nil {:span 4 :borders {}}) (draw-box "VPN[4]" {:span 4}) (draw-box "VPN[3]" {:span 4}) (draw-box "VPN[2]" {:span 4}) (draw-box "VPN[1]" {:span 4}) (draw-box "VPN[0]" {:span 4}) (draw-box "page offset" {:span 4}) +(draw-box nil {:span 4 :borders {}}) +(draw-box nil {:span 4 :borders {}}) (draw-box "11" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "12" {:span 4 :borders {}}) +(draw-box nil {:span 4 :borders {}}) ----
\ No newline at end of file |