comparison fpga/sniffer-basic/Makefile @ 6:7db5fd6646df

fpga/sniffer-basic: initial version
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 21 Aug 2023 00:52:00 +0000
parents
children 7cab8e0dd937
comparison
equal deleted inserted replaced
5:07c5aac6e84f 6:7db5fd6646df
1 VSRC= clk_edge.v reset_detect.v sniff_rx.v sync_inputs.v top.v uart_tx.v
2 PCF= icestick.pcf
3 PROJ= fpga
4
5 all: ${PROJ}.bin
6
7 ${PROJ}.json: ${VSRC}
8 ./yosys-wrap top $@ ${VSRC}
9
10 ${PROJ}.asc: ${PROJ}.json ${PCF}
11 nextpnr-ice40 --hx1k --package tq144 --asc $@ --pcf ${PCF} \
12 --json ${PROJ}.json
13
14 ${PROJ}.bin: ${PROJ}.asc
15 icepack $< $@
16
17 clean:
18 rm -f *.json *.asc *.bin