forked from HEL/rivet-typst
added riscv examples
This commit is contained in:
14
gallery/riscv/riscv.typ
Normal file
14
gallery/riscv/riscv.typ
Normal file
@ -0,0 +1,14 @@
|
||||
#import "../../src/lib.typ": *
|
||||
|
||||
#let conf = config.config(
|
||||
full-page: true,
|
||||
left-labels: true
|
||||
)
|
||||
#let alu = schema.load("/gallery/riscv/alu_instr.yaml")
|
||||
#schema.render(alu, config: conf)
|
||||
|
||||
#let branch = schema.load("/gallery/riscv/branch_instr.yaml")
|
||||
#schema.render(branch, config: conf)
|
||||
|
||||
#let mem = schema.load("/gallery/riscv/mem_instr.yaml")
|
||||
#schema.render(mem, config: conf)
|
Reference in New Issue
Block a user