forked from libre-chip/fayalite
21 lines
No EOL
779 B
Makefile
21 lines
No EOL
779 B
Makefile
DIRU=/home/alex/Desktop/Hacking/libre-chip/fayalite-wip/target/blinky-out
|
|
NEXTPNR_DENSITY:=--25k
|
|
|
|
all:
|
|
cp $(DIRU)/*.pcf /tmp
|
|
RUST_BACKTRACE=full cargo run --example blinky yosys-nextpnr-ecp5 \
|
|
--nextpnr /home/alex/.guix-profile/bin/nextpnr-ecp5 \
|
|
--platform orangecrab-85k -o target/blinky-out \
|
|
--ecppack /home/alex/.guix-profile/bin/ecppack \
|
|
--placeholder-dir /tmp/anyPathBuf/orangecrab_r0.2.1.pcf
|
|
ls -1 $(DIRU)/*.bit
|
|
ls:
|
|
ls -1 $(DIRU)
|
|
clean:
|
|
rm $(DIRU)/*
|
|
nextpnr:
|
|
cd $(DIRU) && nextpnr-ecp5 --json blinky.json --textcfg blinky.nextpnr.out $(NEXTPNR_DENSITY) \
|
|
--package CSFBGA285 --lpf orangecrab_r0.2.1.pcf --lpf-allow-unconstrained
|
|
pack:
|
|
cd $(DIRU) && ecppack --compress --freq 38.8 --input blinky.nextpnr.out --bit blinky.nextpnr.bit
|
|
cd $(DIRU) && file *.bit
|