20 lines
430 B
Makefile
20 lines
430 B
Makefile
# defaults
|
|
|
|
SIM ?= ghdl
|
|
TOPLEVEL_LANG ?= vhdl
|
|
BASE = $(PWD)/..
|
|
BENCHTOP ?= cocotb_top_mac_test
|
|
|
|
COMPILE_ARGS=--std=08
|
|
SIM_ARGS ?= --wave=wave.ghw
|
|
|
|
VHDL_SOURCES_trashernet += $(BASE)/trashernet/*.vhd
|
|
VHDL_SOURCES_design += $(BASE)/design/*.vhd
|
|
VHDL_SOURCES_design += $(BASE)/bench/pll0.vhd
|
|
VHDL_SOURCES += $(BASE)/cocotb/*.vhd
|
|
|
|
TOPLEVEL ?= $(BENCHTOP)
|
|
MODULE ?= $(BENCHTOP)
|
|
|
|
include $(shell cocotb-config --makefiles)/Makefile.sim
|