aboutsummaryrefslogtreecommitdiff
path: root/src/images/bytefield/sv32va.edn
blob: d378444e619fd8d18d25ca2c4790d6f9713e25d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[bytefield]
----
(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 24}])
(def row-height 40 )
(def row-header-fn nil)
(def left-margin 30)
(def right-margin 30)
(def boxes-per-row 32)

(draw-box "31" {:span 5 :text-anchor "start" :borders {}})
(draw-box "22" {:span 5 :text-anchor "end" :borders {}})
(draw-box "21" {:span 5 :text-anchor "start" :borders {}})
(draw-box "12" {:span 5 :text-anchor "end" :borders {}})
(draw-box "11" {:span 6 :text-anchor "start" :borders {}})
(draw-box "0" {:span 6 :text-anchor "end" :borders {}})

(draw-box "VPN[1]" {:span 10})
(draw-box "VPN[0]" {:span 10})
(draw-box "page offset" {:span 12})

(draw-box "10" {:span 10 :borders {}})
(draw-box "10" {:span 10 :borders {}})
(draw-box "12" {:span 12 :borders {}})
----