git-svn-id: http://moon:8086/svn/vhdl/trunk@1399 cc03376c-175c-47c8-b038-4cd826a8556b
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
NAME ?= tb_mips_top
|
|
|
|
include ../src/core/mips.mk
|
|
|
|
#SRCS += ../../../PCK_FIO-2002.7/PCK_FIO_1993.vhd ../../../PCK_FIO-2002.7/PCK_FIO_1993_BODY.vhd
|
|
|
|
# RAMS
|
|
SRCS += ../../../rams/dpram_2w2r2c_ra_sim.vhd
|
|
SRCS += ../../../rams/dpram_1w1r2c_ra_sim.vhd
|
|
|
|
# FIFOS
|
|
SRCS += ../../../FIFO/src/fifo_ctrl_pkg.vhd
|
|
SRCS += ../../../FIFO/src/gray_counter.vhd
|
|
SRCS += ../../../FIFO/src/fifo_sync_ctrl.vhd
|
|
SRCS += ../../../FIFO/src/fifo_sync.vhd
|
|
SRCS += ../../../FIFO/src/fifo_async_ctrl.vhd
|
|
SRCS += ../../../FIFO/src/fifo_async.vhd
|
|
|
|
# UART
|
|
SRCS += ../../../uart/uart_types.vhd
|
|
SRCS += ../../../uart/uart_sim.vhd
|
|
SRCS += ../../../uart/uart_wb.vhd
|
|
|
|
# GPIO
|
|
SRCS += ../../../misc/gpio_wb.vhd
|
|
|
|
# Async port
|
|
SRCS += ../../../misc/async_types.vhd
|
|
SRCS += ../../../misc/async_port_wb.vhd
|
|
SRCS += ../src/async_defs.vhd
|
|
|
|
# ROM
|
|
#SRCS += Z:/work/repos/mips/src/bootloader/build/ml402/eb/bootloader.elf.ROM.vhd
|
|
#SRCS += Z:/work/repos/mips/src/bootloader/build/denano/eb/bootloader.elf.ROM.vhd
|
|
SRCS += ../src/bootloader_flash.ROM.vhd
|
|
SRCS += ../../../misc/rom_wb.vhd
|
|
|
|
# MIPS
|
|
SRCS += $(MIPS_CORE_SRCS)
|
|
|
|
# TB
|
|
SRCS += ../src/$(NAME).vhd
|
|
|
|
# Compile
|
|
ENTITY_RUN = $(NAME)
|
|
BUILD_DIR := build
|
|
|
|
include ../../../../Common/make/ghdl.mk
|
|
|