diff options
author | Bill Traynor <wmat@riscv.org> | 2023-03-07 15:02:50 -0500 |
---|---|---|
committer | Bill Traynor <wmat@riscv.org> | 2023-03-07 15:02:50 -0500 |
commit | 4afabf63ed4a9ca270785110d070e6497f6847bf (patch) | |
tree | d35d781b7b5bd448409f9e5c7117b92ec90e8ac2 /src | |
parent | 8c20bb379980e66c1c3b0cf0e572ee898d4f66fb (diff) | |
download | riscv-isa-manual-4afabf63ed4a9ca270785110d070e6497f6847bf.zip riscv-isa-manual-4afabf63ed4a9ca270785110d070e6497f6847bf.tar.gz riscv-isa-manual-4afabf63ed4a9ca270785110d070e6497f6847bf.tar.bz2 |
Formatting bytefield-svg diagrams
Formatting bytefield-svg diagrams
Diffstat (limited to 'src')
-rw-r--r-- | src/images/bytefield/medeleg.adoc | 6 | ||||
-rw-r--r-- | src/images/bytefield/mideleg.adoc | 6 | ||||
-rw-r--r-- | src/images/bytefield/miereg-standard.adoc | 38 | ||||
-rw-r--r-- | src/images/bytefield/mipreg-standard.adoc | 38 |
4 files changed, 44 insertions, 44 deletions
diff --git a/src/images/bytefield/medeleg.adoc b/src/images/bytefield/medeleg.adoc index c52fedb..8caa327 100644 --- a/src/images/bytefield/medeleg.adoc +++ b/src/images/bytefield/medeleg.adoc @@ -1,13 +1,13 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback"}]) -(def row-height 45 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 24}]) +(def row-height 45) (def row-header-fn nil) (def left-margin 200) (def right-margin 200) (def boxes-per-row 32) (draw-column-headers {:height 24 :font-size 24 :labels (reverse ["0" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "MXLEN-1"])}) -(draw-box (text "Synchronous Exceptions" {:font-size 24:font-style "bolder"} "(WARL)") {:span 32 :vertical-align "middle"}) +(draw-box (text "Synchronous Exceptions" {:font-size 24 :font-style "bolder"} "(WARL)") {:span 32}) (draw-box "MXLEN" {:font-size 24 :span 32 :borders {}}) ----
\ No newline at end of file diff --git a/src/images/bytefield/mideleg.adoc b/src/images/bytefield/mideleg.adoc index a64f388..76bc5f3 100644 --- a/src/images/bytefield/mideleg.adoc +++ b/src/images/bytefield/mideleg.adoc @@ -1,13 +1,13 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback"}]) -(def row-height 45 ) +(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 32) (draw-column-headers {:height 24 :font-size 24 :labels (reverse ["0" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "MXLEN-1"])}) -(draw-box (text "Interrupts" {:font-size 24:font-style "bolder"} "(WARL)") {:span 32 :vertical-align "middle"}) +(draw-box (text "Interrupts" {:font-size 24 :font-style "bolder"} "(WARL)") {:span 32}) (draw-box "MXLEN" {:font-size 24 :span 32 :borders {}}) ----
\ No newline at end of file diff --git a/src/images/bytefield/miereg-standard.adoc b/src/images/bytefield/miereg-standard.adoc index d041353..d069e9e 100644 --- a/src/images/bytefield/miereg-standard.adoc +++ b/src/images/bytefield/miereg-standard.adoc @@ -1,38 +1,38 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback"}]) -(def row-height 35 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 12}]) +(def row-height 30 ) (def row-header-fn nil) -(def left-margin 0) -(def right-margin 40) -(def boxes-per-row 22) -(draw-column-headers {:labels (reverse ["0" "1" "" "2" "3" "" "4" "5" "" "6" "7" "" "8" "9" "" "10" "11" "" "12" "" "" "15"])}) +(def left-margin 100) +(def right-margin 100) +(def boxes-per-row 16) +(draw-column-headers {:labels (reverse ["0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "" "" "15"])}) -(draw-box "0" {:span 4 :vertical-align "middle"}) -(draw-box "MEIE" {:span 2}) +(draw-box "0" {:span 4}) +(draw-box "MEIE" {:span 1}) (draw-box "0" {:span 1}) -(draw-box "SEIE" {:span 2}) +(draw-box "SEIE" {:span 1}) (draw-box "0" {:span 1}) -(draw-box "MTIE" {:span 2}) +(draw-box "MTIE" {:span 1}) (draw-box "0" {:span 1}) -(draw-box "STIE" {:span 2}) +(draw-box "STIE" {:span 1}) (draw-box "0" {:span 1}) -(draw-box "MSIE" {:span 2}) +(draw-box "MSIE" {:span 1}) (draw-box "0" {:span 1}) -(draw-box "SSIE" {:span 2}) +(draw-box "SSIE" {:span 1}) (draw-box "0" {:span 1}) (draw-box "4" {:span 4 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) (draw-box "1" {:span 1 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) (draw-box "1" {:span 1 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) (draw-box "1" {:span 1 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) (draw-box "1" {:span 1 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) (draw-box "1" {:span 1 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) (draw-box "1" {:span 1 :borders {}}) ----
\ No newline at end of file diff --git a/src/images/bytefield/mipreg-standard.adoc b/src/images/bytefield/mipreg-standard.adoc index 82bf300..2b33776 100644 --- a/src/images/bytefield/mipreg-standard.adoc +++ b/src/images/bytefield/mipreg-standard.adoc @@ -1,38 +1,38 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback"}]) -(def row-height 35 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 12}]) +(def row-height 30 ) (def row-header-fn nil) -(def left-margin 0) -(def right-margin 40) -(def boxes-per-row 22) -(draw-column-headers {:labels (reverse ["0" "1" "" "2" "3" "" "4" "5" "" "6" "7" "" "8" "9" "" "10" "11" "" "12" "" "" "15"])}) +(def left-margin 100) +(def right-margin 100) +(def boxes-per-row 16) +(draw-column-headers {:labels (reverse ["0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "" "" "15"])}) -(draw-box "0" {:span 4 :vertical-align "middle"}) -(draw-box "MEIP" {:span 2}) +(draw-box "0" {:span 4}) +(draw-box "MEIP" {:span 1}) (draw-box "0" {:span 1}) -(draw-box "SEIP" {:span 2}) +(draw-box "SEIP" {:span 1}) (draw-box "0" {:span 1}) -(draw-box "MTIP" {:span 2}) +(draw-box "MTIP" {:span 1}) (draw-box "0" {:span 1}) -(draw-box "STIP" {:span 2}) +(draw-box "STIP" {:span 1}) (draw-box "0" {:span 1}) -(draw-box "MSIP" {:span 2}) +(draw-box "MSIP" {:span 1}) (draw-box "0" {:span 1}) -(draw-box "SSIP" {:span 2}) +(draw-box "SSIP" {:span 1}) (draw-box "0" {:span 1}) (draw-box "4" {:span 4 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) (draw-box "1" {:span 1 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) (draw-box "1" {:span 1 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) (draw-box "1" {:span 1 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) (draw-box "1" {:span 1 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) (draw-box "1" {:span 1 :borders {}}) -(draw-box "1" {:span 2 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) +(draw-box "1" {:span 1 :borders {}}) (draw-box "1" {:span 1 :borders {}}) ----
\ No newline at end of file |