- use main_sim for test bench git-svn-id: http://moon:8086/svn/vhdl/trunk@1576 cc03376c-175c-47c8-b038-4cd826a8556b
27 lines
851 B
Makefile
27 lines
851 B
Makefile
# -----------------------------------------------------------
|
|
include $(VHDL_HOME)/make/defs.mk
|
|
# -----------------------------------------------------------
|
|
include $(LIB_PATH)/VGA_ctrl/ghdl/vga_backend.inc
|
|
include $(LIB_PATH)/FIFO/ghdl/fifo_async.inc
|
|
include $(LIB_PATH)/CPUs/JCpu/ghdl/jcpu_core.inc
|
|
|
|
# -----------------------------------------------------------
|
|
SRCS += $(VGA_BACKEND_SRCS)
|
|
SRCS += $(FIFO_ASYNC_SRCS)
|
|
SRCS += $(JCPU_CORE_SRCS)
|
|
SRCS += ../src/sim/main_sim_xrom.vhdl
|
|
SRCS += ../src/sim/main_sim_irom.vhdl
|
|
SRCS += ../src/cpu_embedded.vhd
|
|
SRCS += ../src/vga_ctrl_top.vhd
|
|
SRCS += ../src/tb_vga_ctrl.vhd
|
|
|
|
# -----------------------------------------------------------
|
|
# Compile
|
|
TARGET := tb_vga_ctrl
|
|
ENTITY := tb_vga_ctrl
|
|
RUN_TIME := 2500us
|
|
|
|
include $(VHDL_HOME)/make/ghdl.mk
|
|
# -----------------------------------------------------------
|
|
|