nonrandom.vhdl
# use an alternative core (in verilog)
-EXTERNAL_CORE=false
+EXTERNAL_CORE=true
ifeq ($(EXTERNAL_CORE),false)
fpga_files = $(_fpga_files) $(_soc_files) $(core_files)
synth_files = $(core_files) $(soc_files) $(fpga_files) $(clkgen) $(toplevel) $(dmi_dtm)
-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 -nowidelut -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; \
+ read_verilog $(uart_files) $(soc_extra_v); \
+ synth_ecp5 -nowidelut -json $@ $(SYNTH_ECP5_FLAGS)"
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 $@"