aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/blinky_noyspack.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/blinky_noyspack.sh')
-rwxr-xr-xice40/blinky_noyspack.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/ice40/blinky_noyspack.sh b/ice40/blinky_noyspack.sh
new file mode 100755
index 00000000..00824ae9
--- /dev/null
+++ b/ice40/blinky_noyspack.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+set -ex
+yosys blinky_nopack.ys
+../nextpnr-ice40 --json blinky_nopack.json --asc blinky.asc --pack
+icepack blinky.asc blinky.bin
+icebox_vlog blinky.asc > blinky_chip.v
+iverilog -o blinky_tb blinky_chip.v blinky_tb.v
+vvp -N ./blinky_tb