blob: 551de324cca3bed0ca74027d460245bc5c80a983 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|