```
glasgow build --type archive
```
will output `<applet-name>.zip`
Unzip this folder and cd into it
```
build_top.bat
build_top.sh
top.il
top.pcf
top.ys
```
## Yosys
```
yosys -o output.json -p synth_ice40 -f rtlil "top.il"
```
### getting a visual layout
```
yosys show
```
## Nextpnr
```
nextpnr-ice40 --package HX8K --json "output.json" --pcf "top.pcf" --placed-svg "placed.svg" --routed-svg "routed.svg" --timing-allow-fail
```