FreeCalypso > hg > fc-pcm-if
comparison fpga/mcsi-rx/Makefile @ 1:b3190839cce3
first FPGA version, MCSI Rx only
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 11 Oct 2024 21:11:24 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:4624f3da093a | 1:b3190839cce3 |
---|---|
1 VSRC= clk_check.v clk_edge.v mcsi_rx.v sync_inputs.v top.v uart_tx.v | |
2 PCF= ../common/icestick-mcsi.pcf | |
3 PROJ= fpga | |
4 | |
5 all: ${PROJ}.bin timing.rpt | |
6 | |
7 ${PROJ}.json: ${VSRC} | |
8 ../tools/yosys-tee top $@ synthesis.rpt ${VSRC} | |
9 | |
10 ${PROJ}.asc: ${PROJ}.json ${PCF} | |
11 nextpnr-ice40 --hx1k --package tq144 --asc $@ --pcf ${PCF} \ | |
12 --json ${PROJ}.json -l pnr.rpt | |
13 | |
14 ${PROJ}.bin: ${PROJ}.asc | |
15 icepack $< $@ | |
16 | |
17 timing.rpt: ${PROJ}.asc | |
18 icetime -d hx1k -mtr $@ $< | |
19 | |
20 clean: | |
21 rm -f *.json *.asc *.bin *.rpt |