Register / Instruction Visualizer & Explainer Tool with Typst, using CeTZ
Go to file
2024-06-14 07:42:20 +02:00
docs added all-bit-i config option 2024-06-13 12:48:26 +02:00
gallery completed README.md 2024-05-19 18:03:52 +02:00
src fixed full page diagrams 2024-06-14 07:41:52 +02:00
CHANGELOG.md added CHANGELOG.md 2024-06-14 07:42:20 +02:00
LICENSE Initial commit 2024-05-19 10:17:37 +00:00
manual.pdf added all-bit-i config option 2024-06-13 12:48:26 +02:00
manual.typ completed README.md 2024-05-19 18:03:52 +02:00
README.md resized README images 2024-05-19 18:08:52 +02:00
typst.toml updated package version to 0.0.2 2024-06-13 12:49:18 +02:00

rivet-typst

RIVET (Register / Instruction Visualizer & Explainer Tool) is a Typst package for visualizing binary instructions or describing the contents of a register, using the CeTZ package.

It is based on the homonymous Python script

Examples

A bit of eveything
RISC-V memory instructions (blueprint)

Click on the example image to jump to the code.

Usage

For information, see the manual

To use this package, simply import schema src/lib.typ and call schema.load to parse a schema description. Then use schema.render to render it, et voilà !

#import "src/lib.typ": schema
#let doc = schema.load("path/to/schema.yaml")
#schema.render(doc)

Installing

TODO