Infrared working
[mw/milkymist.git] / boards / milkymist-one / sources.mak
1 BOARD_SRC=$(wildcard $(BOARD_DIR)/*.v) $(BOARD_DIR)/../../gen_capabilities.v
2
3 ASFIFO_SRC=$(wildcard $(CORES_DIR)/asfifo/rtl/*.v)
4 CONBUS_SRC=$(wildcard $(CORES_DIR)/conbus/rtl/*.v)
5 LM32_SRC=                                                       \
6         $(CORES_DIR)/lm32/rtl/lm32_cpu.v                        \
7         $(CORES_DIR)/lm32/rtl/lm32_instruction_unit.v           \
8         $(CORES_DIR)/lm32/rtl/lm32_decoder.v                    \
9         $(CORES_DIR)/lm32/rtl/lm32_load_store_unit.v            \
10         $(CORES_DIR)/lm32/rtl/lm32_adder.v                      \
11         $(CORES_DIR)/lm32/rtl/lm32_addsub.v                     \
12         $(CORES_DIR)/lm32/rtl/lm32_logic_op.v                   \
13         $(CORES_DIR)/lm32/rtl/lm32_shifter.v                    \
14         $(CORES_DIR)/lm32/rtl/lm32_multiplier_spartan6.v        \
15         $(CORES_DIR)/lm32/rtl/lm32_mc_arithmetic.v              \
16         $(CORES_DIR)/lm32/rtl/lm32_interrupt.v                  \
17         $(CORES_DIR)/lm32/rtl/lm32_ram.v                        \
18         $(CORES_DIR)/lm32/rtl/lm32_icache.v                     \
19         $(CORES_DIR)/lm32/rtl/lm32_dcache.v                     \
20         $(CORES_DIR)/lm32/rtl/lm32_top.v
21 FMLARB_SRC=$(wildcard $(CORES_DIR)/fmlarb/rtl/*.v)
22 FMLBRG_SRC=$(wildcard $(CORES_DIR)/fmlbrg/rtl/*.v)
23 CSRBRG_SRC=$(wildcard $(CORES_DIR)/csrbrg/rtl/*.v)
24 NORFLASH_SRC=$(wildcard $(CORES_DIR)/norflash16/rtl/*.v)
25 UART_SRC=$(wildcard $(CORES_DIR)/uart/rtl/*.v)
26 SYSCTL_SRC=$(wildcard $(CORES_DIR)/sysctl/rtl/*.v)
27 HPDMC_SRC=$(wildcard $(CORES_DIR)/hpdmc_ddr32/rtl/*.v) $(wildcard $(CORES_DIR)/hpdmc_ddr32/rtl/spartan6/*.v)
28 VGAFB_SRC=$(wildcard $(CORES_DIR)/vgafb/rtl/*.v)
29 AC97_SRC=$(wildcard $(CORES_DIR)/ac97/rtl/*.v)
30 PFPU_SRC=$(wildcard $(CORES_DIR)/pfpu/rtl/*.v)
31 TMU_SRC=$(wildcard $(CORES_DIR)/tmu2/rtl/*.v)
32 ETHERNET_SRC=$(wildcard $(CORES_DIR)/minimac/rtl/*.v)
33 FMLMETER_SRC=$(wildcard $(CORES_DIR)/fmlmeter/rtl/*.v)
34 VIDEOIN_SRC=$(wildcard $(CORES_DIR)/bt656cap/rtl/*.v)
35 IR_SRC=$(wildcard $(CORES_DIR)/rc5/rtl/*.v)
36
37 CORES_SRC=$(ASFIFO_SRC) $(CONBUS_SRC) $(LM32_SRC) $(FMLARB_SRC) $(FMLBRG_SRC) $(CSRBRG_SRC) $(NORFLASH_SRC) $(UART_SRC) $(SYSCTL_SRC) $(HPDMC_SRC) $(VGAFB_SRC) $(AC97_SRC) $(PFPU_SRC) $(TMU_SRC) $(ETHERNET_SRC) $(FMLMETER_SRC) $(VIDEOIN_SRC) $(IR_SRC)