FreeCalypso > hg > fc-pcm-if
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fpga/mcsi-rx/Makefile Fri Oct 11 21:11:24 2024 +0000 @@ -0,0 +1,21 @@ +VSRC= clk_check.v clk_edge.v mcsi_rx.v sync_inputs.v top.v uart_tx.v +PCF= ../common/icestick-mcsi.pcf +PROJ= fpga + +all: ${PROJ}.bin timing.rpt + +${PROJ}.json: ${VSRC} + ../tools/yosys-tee top $@ synthesis.rpt ${VSRC} + +${PROJ}.asc: ${PROJ}.json ${PCF} + nextpnr-ice40 --hx1k --package tq144 --asc $@ --pcf ${PCF} \ + --json ${PROJ}.json -l pnr.rpt + +${PROJ}.bin: ${PROJ}.asc + icepack $< $@ + +timing.rpt: ${PROJ}.asc + icetime -d hx1k -mtr $@ $< + +clean: + rm -f *.json *.asc *.bin *.rpt