-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefrag-srcs
24 lines (18 loc) · 855 Bytes
/
Makefrag-srcs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#--------------------------------------------------------------------
# Sources
#--------------------------------------------------------------------
# Verilog sources
RTL_SRCS += $(VLOG_FILE)
RTL_SRCS += $(SRAM_FILE)
RTL_SRCS += $(BOOTROM_VLOG)
RTL_SRCS += $(shell find $(base_dir)/src -name "*.*v")
RTL_SRCS += $(ROCKETCHIP_DIR)/src/main/resources/vsrc/plusarg_reader.v
RTL_SRCS += $(ROCKETCHIP_DIR)/src/main/resources/vsrc/AsyncResetReg.v
RTL_SRCS += $(ROCKETCHIP_DIR)/src/main/resources/vsrc/EICG_wrapper.v
RTL_SRCS += $(ROCKETCHIP_DIR)/src/main/resources/vsrc/ClockDivider2.v
RTL_SRCS += $(SIFIVEBLOCKS_DIR)/vsrc/SRLatch.v
TB_SRCS += $(shell find $(base_dir)/bench -name "*.*v")
# C/C++ sources
CSRCS += $(shell find $(base_dir)/src -name "*.c*")
CSRCS += $(shell find $(base_dir)/bench -name "*.c*")
SIM_SRCS := $(RTL_SRCS) $(TB_SRCS)