diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-11-02 05:15:41 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-11-02 05:15:41 +0100 |
commit | 0b950a4ceec7501c680f45b43ff001fc35f927f0 (patch) | |
tree | 040c5c14a4e8173459c9ce36bc636d23007b5a67 /testsuite/gna/issue450/cocotb/Makefile | |
parent | 1c1ca0a5e7c6ba9427db3d24167545d5cada9085 (diff) | |
download | ghdl-0b950a4ceec7501c680f45b43ff001fc35f927f0.tar.gz ghdl-0b950a4ceec7501c680f45b43ff001fc35f927f0.tar.bz2 ghdl-0b950a4ceec7501c680f45b43ff001fc35f927f0.zip |
File cocotb example for #450
https://stackoverflow.com/questions/46988237/unusable-module-names-with-generate-statement-in-cocotb
Diffstat (limited to 'testsuite/gna/issue450/cocotb/Makefile')
-rw-r--r-- | testsuite/gna/issue450/cocotb/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/issue450/cocotb/Makefile b/testsuite/gna/issue450/cocotb/Makefile new file mode 100644 index 000000000..e740fd2a2 --- /dev/null +++ b/testsuite/gna/issue450/cocotb/Makefile @@ -0,0 +1,17 @@ +CWD = $(shell pwd) +COCOTB = $(CWD)/../../.. + +TOPLEVEL_LANG = vhdl + +VHDL_SOURCES = $(CWD)/../hdl/top.vhd + +SIM = ghdl +CMD_BIN = ghdl + +TOPLEVEL=top +MODULE=$(TOPLEVEL)_cocotb + +include $(COCOTB)/makefiles/Makefile.inc +include $(COCOTB)/makefiles/Makefile.sim + +sim: $(MODULE).py |