ifeq ($(FPGA_TARGET), ULX3S)
RESET_LOW=true
CLK_INPUT=25000000
-CLK_FREQUENCY=25000000
+CLK_FREQUENCY=12500000
LPF=constraints/ulx3s.lpf
PACKAGE=CABGA381
-NEXTPNR_FLAGS=--um5g-85k --freq 25
+NEXTPNR_FLAGS=--85k --freq 25
OPENOCD_JTAG_CONFIG=openocd/ulx3s.cfg
-OPENOCD_DEVICE_CONFIG=openocd/LFE5UM5G-85F.cfg
+OPENOCD_DEVICE_CONFIG=openocd/LFE5U-85F.cfg
endif
# OrangeCrab with ECP85
-gEXTERNAL_CORE=$(EXTERNAL_CORE)
microwatt.json: $(synth_files) $(RAM_INIT_FILE)
- $(YOSYS) -m $(GHDLSYNTH) -p "ghdl --std=08 --no-formal $(GHDL_IMAGE_GENERICS) $(GHDL_TARGET_GENERICS) $(synth_files) -e toplevel; synth_ecp5 -json $@ $(SYNTH_ECP5_FLAGS)" $(uart_files)
+ $(YOSYS) -m $(GHDLSYNTH) -p "ghdl --std=08 --no-formal $(GHDL_IMAGE_GENERICS) $(GHDL_TARGET_GENERICS) $(synth_files) -e toplevel; synth_ecp5 -nowidelut -json $@ $(SYNTH_ECP5_FLAGS)" $(uart_files)
microwatt.v: $(synth_files) $(RAM_INIT_FILE)
$(YOSYS) -m $(GHDLSYNTH) -p "ghdl --std=08 --no-formal $(GHDL_IMAGE_GENERICS) $(GHDL_TARGET_GENERICS) $(synth_files) -e toplevel; write_verilog $@"