#Auto generated by Edalize

all: post_build

synth: design.config

bitstream: design.bit

pre_build: 

design.json: edalize_yosys_template.tcl sv_file.sv tcl_file.tcl vlog_file.v vlog_with_define.v vlog05_file.v vlog_incfile another_sv_file.sv | pre_build
	$(EDALIZE_LAUNCHER) yosys -l yosys.log -p 'tcl edalize_yosys_template.tcl'

design.config: design.json
	$(EDALIZE_LAUNCHER) nextpnr-ecp5 -l next.log --lpf lpf_file.lpf --json design.json --textcfg design.config

build-gui: design.json
	$(EDALIZE_LAUNCHER) nextpnr-ecp5 -l next.log --lpf lpf_file.lpf --json design.json --textcfg design.config --gui

design.bit: design.config
	$(EDALIZE_LAUNCHER) ecppack design.config design.bit

post_build: bitstream

pre_run: 

run: pre_run

post_run: run
