diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-12-08 12:54:20 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-12-08 12:54:20 +0100 |
commit | f7cb6e8e07c9b314e5052c4b0416db422dbdeb7b (patch) | |
tree | 28a2a4f556f0b319285c0532c0a084ae5c16b47f /examples/hx8kboard/Makefile | |
parent | 2696346d6cbde636c24e853c18272d40b38285bf (diff) | |
download | icestorm-f7cb6e8e07c9b314e5052c4b0416db422dbdeb7b.tar.gz icestorm-f7cb6e8e07c9b314e5052c4b0416db422dbdeb7b.tar.bz2 icestorm-f7cb6e8e07c9b314e5052c4b0416db422dbdeb7b.zip |
Added icestick and hx8kboard examples
Diffstat (limited to 'examples/hx8kboard/Makefile')
-rw-r--r-- | examples/hx8kboard/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/hx8kboard/Makefile b/examples/hx8kboard/Makefile new file mode 100644 index 0000000..551de32 --- /dev/null +++ b/examples/hx8kboard/Makefile @@ -0,0 +1,18 @@ +all: example.bin + +example.blif: example.v + yosys -p 'synth_ice40 -top top -blif example.blif' example.v + +example.txt: example.blif hx8kboard.pcf + arachne-pnr -d 8k -o example.txt -p hx8kboard.pcf example.blif + +example.bin: example.txt + icepack example.txt example.bin + +prog: + iceprog example.bin + +clean: + rm -f example.blif example.txt example.bin + +.PHONY: all prog clean |