Compare commits
5 Commits
2228f22352
...
39e6acaed8
| Author | SHA1 | Date | |
|---|---|---|---|
|
39e6acaed8
|
|||
|
6cc3cfcd00
|
|||
|
861c25026b
|
|||
|
768e63fd46
|
|||
|
2678aee584
|
@@ -9,7 +9,7 @@ It is based on the [homonymous Python script](https://git.kb28.ch/HEL/rivet/)
|
||||
<tr>
|
||||
<td>
|
||||
<a href="./gallery/example1.typ">
|
||||
<img src="./gallery/example1.png" width="1000px">
|
||||
<img src="./gallery/example1.png" width="1000px" alt="A black on white diagram showing the bit structure of a machine instruction, detailing operands, flags and selectors.">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -19,7 +19,7 @@ It is based on the [homonymous Python script](https://git.kb28.ch/HEL/rivet/)
|
||||
<tr>
|
||||
<td>
|
||||
<a href="./gallery/example2.typ">
|
||||
<img src="./gallery/example2.png" width="1000px">
|
||||
<img src="./gallery/example2.png" width="1000px" alt="A white on blue diagram showing the bit structure of RISC-V memory instructions, detailing operands, flags and selectors.">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
#import "../src/lib.typ": schema, config
|
||||
#import "@preview/rivet:0.3.1": schema, config
|
||||
|
||||
#let example = schema.load("/gallery/example1.yaml")
|
||||
#let example = schema.load(yaml("./example1.yaml"))
|
||||
#schema.render(example, config: config.config(
|
||||
full-page: true
|
||||
))
|
||||
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
#import "../src/lib.typ": schema, config
|
||||
#import "@preview/rivet:0.3.1": schema, config
|
||||
|
||||
#let example = schema.load("/gallery/example2.yaml")
|
||||
#let example = schema.load(yaml("./example2.yaml"))
|
||||
#schema.render(example, config: config.blueprint(
|
||||
full-page: true,
|
||||
left-labels: true
|
||||
|
||||
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
#import "../src/lib.typ": schema, config
|
||||
#import "@preview/rivet:0.3.1": schema, config
|
||||
|
||||
#let example = schema.load("/gallery/example1.yaml")
|
||||
#let example = schema.load(yaml("/gallery/example1.yaml"))
|
||||
//#schema.render(example)
|
||||
|
||||
= Chapter 1
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
#import "../../src/lib.typ": *
|
||||
#import "@preview/rivet:0.3.1": *
|
||||
|
||||
#let conf = config.config(
|
||||
full-page: true,
|
||||
left-labels: true
|
||||
)
|
||||
#let alu = schema.load("/gallery/riscv/alu_instr.yaml")
|
||||
#let alu = schema.load(yaml("./alu_instr.yaml"))
|
||||
#schema.render(alu, config: conf)
|
||||
|
||||
#let branch = schema.load("/gallery/riscv/branch_instr.yaml")
|
||||
#let branch = schema.load(yaml("./branch_instr.yaml"))
|
||||
#schema.render(branch, config: conf)
|
||||
|
||||
#let mem = schema.load("/gallery/riscv/mem_instr.yaml")
|
||||
#let mem = schema.load(yaml("./mem_instr.yaml"))
|
||||
#schema.render(mem, config: conf)
|
||||
|
||||
BIN
gallery/test.pdf
BIN
gallery/test.pdf
Binary file not shown.
@@ -1,16 +1,17 @@
|
||||
#import "../src/lib.typ": *
|
||||
#import "@preview/rivet:0.3.1": *
|
||||
|
||||
#let test-yaml = schema.load("/gallery/test.yaml")
|
||||
#let test-yaml = schema.load(yaml("./test.yaml"))
|
||||
#schema.render(test-yaml, config: config.config(
|
||||
full-page: true
|
||||
))
|
||||
|
||||
#let test-json = schema.load("/gallery/test.json")
|
||||
#let test-json = schema.load(json("./test.json"))
|
||||
#schema.render(test-json, config: config.blueprint(
|
||||
full-page: true
|
||||
))
|
||||
|
||||
#let test-xml = schema.load("/gallery/test.xml")
|
||||
#let test-xml-raw = schema.xml-loader.parse(xml("./test.xml").first())
|
||||
#let test-xml = schema.load(test-xml-raw)
|
||||
#schema.render(test-xml, config: config.dark(
|
||||
full-page: true
|
||||
))
|
||||
|
||||
681
manual.pdf
681
manual.pdf
@@ -18360,64 +18360,81 @@ endobj
|
||||
<0013> <0022>
|
||||
<0014> <0040>
|
||||
<0015> <0076>
|
||||
<0016> <0077>
|
||||
<0016> <0077>
|
||||
<0017> <002F>
|
||||
<0018> <003A>
|
||||
<0019> <0030>
|
||||
<001A> <0033>
|
||||
<001B> <0054>
|
||||
<001C> <0079>
|
||||
<001D> <0032>
|
||||
<001E> <003D>
|
||||
<001F> <0028>
|
||||
<0020> <0029>
|
||||
<0021> <007B>
|
||||
<0022> <004A>
|
||||
<0023> <0053>
|
||||
<0024> <004F>
|
||||
<0025> <004E>
|
||||
<0026> <0075>
|
||||
<0027> <0034>
|
||||
<0028> <0035>
|
||||
<0029> <007D>
|
||||
<002A> <002C>
|
||||
<002B> <0036>
|
||||
<002C> <0037>
|
||||
<002D> <0038>
|
||||
<002E> <0039>
|
||||
<002F> <002D>
|
||||
<0030> <0062>
|
||||
<0031> <0066>
|
||||
<0032> <0067>
|
||||
<0033> <004C>
|
||||
<0034> <0041>
|
||||
<0035> <0044>
|
||||
<0036> <0052>
|
||||
<0037> <0058>
|
||||
<0038> <0056>
|
||||
<0039> <0042>
|
||||
<003A> <0043>
|
||||
<003B> <0045>
|
||||
<003C> <0046>
|
||||
<003D> <005B>
|
||||
<003E> <005D>
|
||||
<003F> <003C>
|
||||
<0040> <003E>
|
||||
<0041> <004D>
|
||||
<0042> <0059>
|
||||
<0043> <0049>
|
||||
<0044> <0050>
|
||||
<0045> <004B>
|
||||
<0046> <0047>
|
||||
<0047> <006A>
|
||||
<0048> <006B>
|
||||
<0049> <0060>
|
||||
<004A> <0078>
|
||||
<004B> <007A>
|
||||
<004C> <0055>
|
||||
<004D> <0025>
|
||||
endbfchar
|
||||
endcmap
|
||||
<001A> <0033>
|
||||
<001B> <0054>
|
||||
<001C> <0079>
|
||||
<001D> <0032>
|
||||
<001E> <003D>
|
||||
<001F> <0028>
|
||||
<0020> <0029>
|
||||
<0021> <007B>
|
||||
<0022> <004A>
|
||||
<0023> <0053>
|
||||
<0024> <004F>
|
||||
<0025> <004E>
|
||||
<0026> <0075>
|
||||
<0027> <0034>
|
||||
<0028> <0035>
|
||||
<0029> <007D>
|
||||
<002A> <002C>
|
||||
<002B> <0036>
|
||||
<002C> <0037>
|
||||
<002D> <0038>
|
||||
<002E> <0039>
|
||||
<002F> <002D>
|
||||
<0030> <0062>
|
||||
<0031> <0066>
|
||||
<0032> <0067>
|
||||
<0033> <004C>
|
||||
<0034> <0041>
|
||||
<0035> <0044>
|
||||
<0036> <0052>
|
||||
<0037> <0058>
|
||||
<0038> <0056>
|
||||
<0039> <0042>
|
||||
<003A> <0043>
|
||||
<003B> <0045>
|
||||
<003C> <0046>
|
||||
<003D> <005B>
|
||||
<003E> <005D>
|
||||
<003F> <003C>
|
||||
<0040> <003E>
|
||||
<0041> <004D>
|
||||
<0042> <0059>
|
||||
<0043> <0049>
|
||||
<0044> <0050>
|
||||
<0045> <004B>
|
||||
<0046> <0047>
|
||||
<0047> <006A>
|
||||
<0048> <006B>
|
||||
<0049> <0060>
|
||||
<004A> <0078>
|
||||
<004B> <007A>
|
||||
<004C> <0055>
|
||||
<004D> <0025>
|
||||
endbfchar
|
||||
endcmap
|
||||
CMapName currentdict /CMap defineresource pop
|
||||
end
|
||||
end
|
||||
%%EndResource
|
||||
%%EOF
|
||||
endstream
|
||||
endobj
|
||||
|
||||
1604 0 obj
|
||||
<<
|
||||
/Length 12679
|
||||
/Filter /FlateDecode
|
||||
>>
|
||||
stream
|
||||
xœÝ|XUUú÷»ÖÚkï}.œçp¸8à <09>ˆŠ¢ñŠ45EËò‚*b"ya1ÿ*J¦<4A>¨“ŒÓX1M:f„Ú )VfŽ9IM5Ž5Z3ÖÉü;h¥‡å÷¬½í2ó|ÿï{¾çùÀsÎ>{¯ý®÷ú[ïû®<C3BB>€ | ||||