aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Traynor <wmat@riscv.org>2023-05-15 12:01:46 -0400
committerBill Traynor <wmat@riscv.org>2023-05-15 12:01:46 -0400
commit8fd0167bb7d2a563fbc36c7275068f06743475cf (patch)
treee6298ad149bc304bbfcec3f3964e328efe82c0f3
parente674a695bb1521a04d1a1f721c4c7e2f4a9ebba9 (diff)
downloadriscv-isa-manual-8fd0167bb7d2a563fbc36c7275068f06743475cf.zip
riscv-isa-manual-8fd0167bb7d2a563fbc36c7275068f06743475cf.tar.gz
riscv-isa-manual-8fd0167bb7d2a563fbc36c7275068f06743475cf.tar.bz2
Adjusting row lengths and font sizes
Set font size to 24 and made row length 32 boxes.
-rw-r--r--src/images/bytefield/stvec.edn20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/images/bytefield/stvec.edn b/src/images/bytefield/stvec.edn
index df8f5b7..2a3502f 100644
--- a/src/images/bytefield/stvec.edn
+++ b/src/images/bytefield/stvec.edn
@@ -1,22 +1,28 @@
[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 100)
-(def right-margin 100)
-(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 "SXLEN-1" {:span 7 :text-anchor "start" :borders {}})
(draw-box "2" {:span 7 :text-anchor "end" :borders {}})
(draw-box "1" {:span 3 :text-anchor "start" :borders {}})
(draw-box "0" {:span 3 :text-anchor "end" :borders {}})
+(draw-box nil {:span 6 :borders {}})
+(draw-box nil {:span 6 :borders {}})
(draw-box "BASE[SXLEN-1:2]" {:span 7 :text-anchor "end" :borders {:top :border-unrelated :left :border-unrelated :bottom :border-unrelated}})
-(draw-box (text "(WARL)" {:font-weight "bold"}) {:span 7 :text-anchor "start" :borders {:top :border-unrelated :right :border-unrelated :bottom :border-unrelated}})
+(draw-box (text "(WARL)" {:font-weight "bold" :font-size 24}) {:span 7 :text-anchor "start" :borders {:top :border-unrelated :right :border-unrelated :bottom :border-unrelated}})
(draw-box "MODE" {:span 3 :text-anchor "end" :borders {:top :border-unrelated :left :border-unrelated :bottom :border-unrelated}})
-(draw-box (text "(WARL)" {:font-weight "bold"}) {:span 3 :text-anchor "start" :borders {:top :border-unrelated :right :border-unrelated :bottom :border-unrelated}})
+(draw-box (text "(WARL)" {:font-weight "bold" :font-size 24}) {:span 3 :text-anchor "start" :borders {:top :border-unrelated :right :border-unrelated :bottom :border-unrelated}})
+(draw-box nil {:span 6 :borders {}})
+(draw-box nil {:span 6 :borders {}})
(draw-box "SXLEN-2" {:span 14 :borders {}})
(draw-box "2" {:span 6 :borders {}})
+(draw-box nil {:span 6 :borders {}})
---- \ No newline at end of file