fpga: Update testbenches to work in ModelSim
Original-commit: 0076076467303247c4e62e5824e5bf8ce79cbe66
This commit is contained in:
@@ -50,6 +50,30 @@ $(IP_FIFO_SHORT_2CLK_SRCS) \
|
||||
$(AURORA_PHY_SRCS) \
|
||||
)
|
||||
|
||||
#-------------------------------------------------
|
||||
# ModelSim Specific
|
||||
#-------------------------------------------------
|
||||
|
||||
MODELSIM_IP_SRCS = $(wildcard $(abspath \
|
||||
$(IP_BUILD_DIR)/fifo_short_2clk/sim/fifo_short_2clk.v \
|
||||
$(IP_BUILD_DIR)/axi64_4k_2clk_fifo/sim/axi64_4k_2clk_fifo.v \
|
||||
$(IP_BUILD_DIR)/aurora_64b66b_pcs_pma/aurora_64b66b_pcs_pma.v \
|
||||
$(IP_BUILD_DIR)/aurora_64b66b_pcs_pma/aurora_64b66b_pcs_pma_core.v \
|
||||
$(IP_BUILD_DIR)/aurora_64b66b_pcs_pma/aurora_64b66b_pcs_pma/src/*.v \
|
||||
$(IP_BUILD_DIR)/aurora_64b66b_pcs_pma/aurora_64b66b_pcs_pma/example_design/*.v \
|
||||
$(IP_BUILD_DIR)/aurora_64b66b_pcs_pma/aurora_64b66b_pcs_pma/example_design/gt/*.v \
|
||||
$(VIVADO_PATH)/data/verilog/src/glbl.v \
|
||||
))
|
||||
|
||||
MODELSIM_LIBS += \
|
||||
unisims_ver \
|
||||
unimacro_ver \
|
||||
secureip \
|
||||
fifo_generator_v13_2_4 \
|
||||
|
||||
|
||||
MODELSIM_ARGS += glbl -t 1fs
|
||||
|
||||
#-------------------------------------------------
|
||||
# Testbench Specific
|
||||
#-------------------------------------------------
|
||||
@@ -66,7 +90,8 @@ SIM_SRCS = \
|
||||
$(abspath aurora_loopback_tb.sv) \
|
||||
$(SIM_GENERAL_SRCS) \
|
||||
$(SIM_CONTROL_SRCS) \
|
||||
$(SIM_AXI_SRCS)
|
||||
$(SIM_AXI_SRCS) \
|
||||
$(MODELSIM_IP_SRCS) \
|
||||
|
||||
#-------------------------------------------------
|
||||
# Bottom-of-Makefile
|
||||
|
||||
Reference in New Issue
Block a user