1CWD = $(shell pwd)
2COCOTB = $(CWD)/../../..
3
4TOPLEVEL_LANG = vhdl
5
6VHDL_SOURCES = $(CWD)/../hdl/top.vhd
7
8SIM = ghdl
9CMD_BIN = ghdl
10
11TOPLEVEL=top
12MODULE=$(TOPLEVEL)_cocotb
13
14include $(COCOTB)/makefiles/Makefile.inc
15include $(COCOTB)/makefiles/Makefile.sim
16
17sim: $(MODULE).py
18