tscircuit/dataset-srj12-bus-routing

The code defines electronic circuit diagrams featuring PCB layouts with USB-C, HDMI, and general-purpose chips, connecting their pins with traces, component footprints, and annotations for hardware design.

Version
1.0.6
License
unset
Stars
0

Files

README.md

# dataset-srj12-bus-routing

A dataset of ten synthetic bus-routing problems for validating that an
autorouter can keep related signals organized through connector- and
component-dense layouts. Each sample includes a tscircuit source board, Simple
Route JSON, and a derived tiny-hypergraph representation in `dataset-dist/`.

## Example

The image below shows `sample001`. It is generated by constructing an
`AutoroutingPipelineSolver`, calling `.visualize()`, and converting that
graphics object with `graphics-debug`.

![SRJ12 sample001 bus-routing problem](docs/sample.svg)

Run `bun run generate:readme-image` to regenerate the image.

## Browse and deploy

```sh
bun install
bun run cosmos
bun run build:site
```

The static Cosmos catalog is exported to `cosmos-export/`, which is the Vercel
output directory configured by `vercel.json`. The browser can switch among all
ten samples and stores the active sample in the `sample` URL parameter, so a
specific view can be shared or bookmarked.