Open frantic0 opened 5 months ago
install gnu make with brew install make
and then build using gmake
instead of make
Thank you @jrsa
not sure why, but the makefile entry for generating the .ys files wasn't working for me.
I was able to build it with make
by changing the makefile and replacing the following
%.ys: $(VERILOG_FILES)
$(file >$@)
$(foreach V,$(VERILOG_FILES),$(file >>$@,read_verilog $V))
$(file >>$@,synth_ecp5 -top $(TOP_MODULE)) \
$(file >>$@,write_json "$(basename $@).json") \
with this
%.ys: $(VERILOG_FILES)
@echo "Generating Yosys script $@"
@echo "read_verilog $(VERILOG_FILES)" > $@
@echo "synth_ecp5 -top $(TOP_MODULE)" >> $@
@echo "write_json $(basename $@).json" >> $@
it's most likely because something in the original makefile is only supported by GNU make, and not by BSD make which is what ships with OS X
Hello,
I have been trying to compile and upload with the latest Yosys 0.37+34 oss-cad-suite-darwin-x64-20240127.tgz on Mac OS Sonoma 14.2
I can successfully compile and upload the blink verilog examples but not the pll, pwm_rainbow, usb_acm_device examples, which are of interest.
I am adding the result of the make on pll. Any ideas of what is not working?
Thank you
`