2025-04-15 19:32:05 +02:00
2026-06-14 13:33:04 +02:00
2024-05-19 10:17:37 +00:00
2026-06-15 13:13:30 +02:00
2026-06-15 13:13:30 +02:00
2026-06-15 12:42:36 +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 black on white diagram showing the bit structure of a machine instruction, detailing operands, flags and selectors.
A bit of eveything
A white on blue diagram showing the bit structure of RISC-V memory instructions, detailing operands, flags and selectors.
RISC-V memory instructions (blueprint)

Click on the example image to jump to the code.

Usage

For more information, see the manual

To use this package, simply import schema from rivet and call schema.load to parse a schema description. Then use schema.render to render it, et voilà !

#import "@preview/rivet:0.3.1": schema
#let doc = schema.load(yaml("path/to/schema.yaml"))
#schema.render(doc)
Description
Register / Instruction Visualizer & Explainer Tool with Typst, using CeTZ
https://typst.app/universe/package/rivet Readme 3.8 MiB
V0.3.0 Latest
2025-05-02 22:41:12 +00:00
Languages
Typst 99.1%
Just 0.9%