Skip to content

Commit

Permalink
Makefile: Correct parameters for the Orange Crab 85F
Browse files Browse the repository at this point in the history
The Orange Crab v2.1 with 85k LUT FPGA uses a LFE5U-85F device, not
an LFE5UM5G device.  Specifying the wrong device causes the FPGA to
give a configuration error and not load the bitstream.  Also add flags
to indicate that the device is the highest speed grade (the -8 grade)
and that the bitstream should be compressed, and can be loaded at
38.8MHz.

Signed-off-by: Paul Mackerras <[email protected]>
  • Loading branch information
paulusmack committed Oct 2, 2021
1 parent 9cbe1f4 commit 63b9103
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ CLK_INPUT=48000000
CLK_FREQUENCY=48000000
LPF=constraints/orange-crab.lpf
PACKAGE=CSFBGA285
NEXTPNR_FLAGS=--um5g-85k --freq 48
NEXTPNR_FLAGS=--85k --speed 8 --freq 48
OPENOCD_JTAG_CONFIG=openocd/olimex-arm-usb-tiny-h.cfg
OPENOCD_DEVICE_CONFIG=openocd/LFE5UM5G-85F.cfg
OPENOCD_DEVICE_CONFIG=openocd/LFE5UM-85F.cfg
endif

# ECP5-EVN
Expand Down Expand Up @@ -213,7 +213,7 @@ microwatt_out.config: microwatt.json $(LPF)
mv -f $@.tmp $@

microwatt.bit: microwatt_out.config
$(ECPPACK) --svf microwatt.svf $< $@
$(ECPPACK) --compress --freq 38.8 --svf microwatt.svf $< $@

microwatt.svf: microwatt.bit

Expand Down

0 comments on commit 63b9103

Please sign in to comment.