# iCE40HX1K USB Molecule

Lattice iCE40HX1K-VQ100 FPGA (1280 LUTs) with USB-C power + data on an Adom molecule. Open-toolchain target — yosys + nextpnr + icepack. 30 GPIO machine-pin contacts to the workcell.

## How it works

This molecule is authored in **tscircuit** (TSX) and rendered through
**adom-tsci** for the interactive 3D viewer + Components / Nets HUDs +
Walkthrough Demo. The board source — `lib/index.tsx`,
`package.json`, walkthrough — ships as a downloadable source bundle
on this page. Untar it and run `bun install && bunx tsci build` to
recreate the GLB / PCB / schematic from source.

## Live 3D viewer

Open the interactive viewer above to orbit the board, click any
chip for refdes + footprint, run the Walkthrough Demo, or open the
Nets HUD for the auto-glow x-ray view.

## Hardware summary

| Block | Notes |
|---|---|
| Source | tscircuit TSX in `lib/index.tsx` |
| Build | `bunx tsci build lib/index.tsx --glbs --svgs --3d-png --pcb-png` |
| Preview | `adom-tsci start .` |
| Publish to wiki | `adom-tsci export-wiki . --slug ice40hx1k-usb-molecule --page-type molecules` |

## Files attached

- **3d.glb** — full 3D model (open in any glTF viewer)
- **pcb.svg / pcb.png** — flat PCB layout
- **schematic.svg** — circuit diagram
- **`*-source.tar.gz`** — full tscircuit project source (recreate with `bun install && bunx tsci build`)

## Provenance

Authored with tscircuit; published via `adom-tsci export-wiki` from `adom-tsci/examples/iCE40HX1K-USB-Molecule`.

*Designed by Adom in Fort Worth, Texas.*
