#
# Copyright (C) 2017 FAUmachine Team <info@faumachine.org>.
# This program is free software. You can redistribute it and/or modify it
# under the terms of the GNU General Public License, either version 2 of
# the License, or (at your option) any later version. See COPYING.
#

SIMULATION_PC := vt102.vhdl
ZUSE=${HOME}/Work/zuse23
.PHONY: bench, sources

include $(dir $(shell which faum))/../share/faumachine/vhdl/experiment.mk

bench:
	mkdir -p test
	cp $(ZUSE)/src/plan2vhdl/zuse_trommel.xml test/
	cp $(ZUSE)/src/plan2vhdl/zuse_li.xml test/
	cp $(ZUSE)/src/plan2vhdl/zuse_lii.xml test/
	cp $(ZUSE)/src/plan2vhdl/zuse_ri.xml test/
	cp $(ZUSE)/src/plan2vhdl/zuse_rii.xml test/
	cp $(ZUSE)/src/plan2vhdl/zuse_matrix.xml test/
	../../scripts/faum-xml2bench test
	rm -rf test

generate:
	touch $@

clean distclean::
	rm -f generate
