
all: compil4 result4_vbe.pat compil result_vbe.pat result_dly.pat

compil:
	@echo "***** compile addaccu.vbe *****"
	asimut -b -c addaccu

compil4 : addaccu4.vbe
	@echo "***** compile addaccu4.vbe generated by VASY *****"
	asimut -b -c addaccu4

addaccu4.vbe : addaccu4.vhdl
	@echo "***** convert addaccu4.vhdl using VASY *****"
	vasy -Vao addaccu4

result_vbe.pat : addaccu.vbe patterns.pat
	@echo "***** test zero delay *****"
	asimut -b addaccu patterns result_vbe

result4_vbe.pat : addaccu4.vbe patterns.pat
	@echo "***** test zero delay on addaccu4.vbe *****"
	asimut -b addaccu4 patterns result4_vbe

result_dly.pat : addaccu_dly.vbe patterns_dly.pat
	@echo "***** test with delay *****"
	asimut -b addaccu_dly patterns_dly result_dly

clean :
	@echo "***** clean all .pat result *****"
	rm -f result_vbe.pat result_dly.pat result4_vbe.pat addaccu4.vbe
