DIRU=/home/alex/Hacking/FPGA/libre-chip/fayalite/target/blinky-out NEXTPNR_DENSITY:=--85k # --nextpnr /home/alex/.guix-profile/bin/nextpnr-ecp5 \ # --ecppack /home/alex/.guix-profile/bin/ecppack \ # --yosys /home/alex/.guix-profile/bin/yosys # firtool executed with qemu #FIXME --placeholder-dir all: #cp $(DIRU)/*.pcf /tmp RUST_BACKTRACE=full cargo run --example blinky yosys-nextpnr-ecp5 \ --platform orangecrab-85k -o target/blinky-out \ --placeholder-dir /home/alex/Hacking/FPGA/orangecrab/orangecrab-examples/fayalite/orangecrab_r0.2.1.pcf \ --nextpnr /usr/bin/nextpnr-ecp5 #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 /home/alex/Hacking/FPGA/orangecrab/orangecrab-examples/fayalite/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 clean2: find . -name "*.bit" -exec rm {} \; ls2: find . -name "*.bit"