aboutsummaryrefslogtreecommitdiff
path: root/src/images/bytefield/sv48va.edn
diff options
context:
space:
mode:
authorBill Traynor <wmat@riscv.org>2023-05-15 15:06:11 -0400
committerBill Traynor <wmat@riscv.org>2023-05-15 15:06:11 -0400
commit6d0c12d32c5ecc8867f0e37b523698e94f9991d6 (patch)
treefb5fd3e7e3f764c8fd3703a559b4fcc69d1f138f /src/images/bytefield/sv48va.edn
parent7dba4bce5d53875268733b463a6af42cca6810e7 (diff)
downloadriscv-isa-manual-6d0c12d32c5ecc8867f0e37b523698e94f9991d6.zip
riscv-isa-manual-6d0c12d32c5ecc8867f0e37b523698e94f9991d6.tar.gz
riscv-isa-manual-6d0c12d32c5ecc8867f0e37b523698e94f9991d6.tar.bz2
Adjusting font and row height
Set font-size to 24 Set row height to 40 Set margins to 30 Set boxes per row to 32 Adjusted spans to match row width
Diffstat (limited to 'src/images/bytefield/sv48va.edn')
-rw-r--r--src/images/bytefield/sv48va.edn56
1 files changed, 31 insertions, 25 deletions
diff --git a/src/images/bytefield/sv48va.edn b/src/images/bytefield/sv48va.edn
index 97553ee..2ef5054 100644
--- a/src/images/bytefield/sv48va.edn
+++ b/src/images/bytefield/sv48va.edn
@@ -1,32 +1,38 @@
[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 "47" {:span 2 :text-anchor "start" :borders {}})
-(draw-box "39" {:span 2 :text-anchor "end" :borders {}})
-(draw-box "38" {:span 2 :text-anchor "start" :borders {}})
-(draw-box "30" {:span 2 :text-anchor "end" :borders {}})
-(draw-box "29" {:span 2 :text-anchor "start" :borders {}})
-(draw-box "21" {:span 2 :text-anchor "end" :borders {}})
-(draw-box "20" {:span 2 :text-anchor "start" :borders {}})
-(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 1 :borders {}})
+(draw-box "47" {:span 3 :text-anchor "start" :borders {}})
+(draw-box "39" {:span 3 :text-anchor "end" :borders {}})
+(draw-box "38" {:span 3 :text-anchor "start" :borders {}})
+(draw-box "30" {:span 3 :text-anchor "end" :borders {}})
+(draw-box "29" {:span 3 :text-anchor "start" :borders {}})
+(draw-box "21" {:span 3 :text-anchor "end" :borders {}})
+(draw-box "20" {:span 3 :text-anchor "start" :borders {}})
+(draw-box "12" {:span 3 :text-anchor "end" :borders {}})
+(draw-box "11" {:span 3 :text-anchor "start" :borders {}})
+(draw-box "0" {:span 3 :text-anchor "end" :borders {}})
+(draw-box nil {:span 1 :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 1 :borders {}})
+(draw-box "VPN[3]" {:span 6})
+(draw-box "VPN[2]" {:span 6})
+(draw-box "VPN[1]" {:span 6})
+(draw-box "VPN[0]" {:span 6})
+(draw-box "page offset" {:span 6})
+(draw-box nil {:span 1 :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 1 :borders {}})
+(draw-box "9" {:span 6 :borders {}})
+(draw-box "9" {:span 6 :borders {}})
+(draw-box "9" {:span 6 :borders {}})
+(draw-box "9" {:span 6 :borders {}})
+(draw-box "12" {:span 6 :borders {}})
+(draw-box nil {:span 1 :borders {}})
---- \ No newline at end of file