added riscv examples

This commit is contained in:
2024-05-19 13:54:49 +02:00
parent 5e0e680f60
commit 44fd298edb
7 changed files with 186 additions and 1 deletions

14
gallery/riscv/riscv.typ Normal file
View 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)