-
Notifications
You must be signed in to change notification settings - Fork 519
/
Makefile
37 lines (30 loc) · 1.64 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# =============================================================================
# Amazon FPGA Hardware Development Kit
#
# Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Amazon Software License (the "License"). You may not use
# this file except in compliance with the License. A copy of the License is
# located at
#
# http://aws.amazon.com/asl/
#
# or in the "license" file accompanying this file. This file is distributed on
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or
# implied. See the License for the specific language governing permissions and
# limitations under the License.
# =============================================================================
ifndef HDK_COMMON_DIR
$(error Environment variable HDK_COMMON_DIR not set. Please source hdk_setup.sh)
endif
include $(HDK_COMMON_DIR)/verif/tb/scripts/Makefile.header.inc
### Files required to do C cosimulation
C_FILES = $(C_SDK_USR_UTILS_DIR)/sh_dpi_tasks.c $(C_COMMON_DIR)/src/fpga_pci_sv.c
C_INCLUDE_DIRS = $(C_SDK_USR_INC_DIR) $(C_SDK_USR_UTILS_DIR) $(C_COMMON_DIR)/include $(C_COMMON_DIR)/src $(C_INC_DIR) $(C_HEADER_INCLUDE_DIR)
### DEFAULT: Lists each test target under Makefile.tests
REGRESSION_TEST_LIST = ${DEFAULT_REGRESSION_TEST_LIST_COLLECTION}
### ALTERNATIVE: Space-delimitted list of test targets
### REGRESSION_TEST_LIST = CL_TEMPLATE_base_test module_name_of_new_test
### 'regression' sub-targets can be found in $(HDK_COMMON_DIR)/verif/tb/scripts/Makefile.common.inc
regression: run_regression log_regression_results print_regression_results
include $(HDK_COMMON_DIR)/verif/tb/scripts/Makefile.common.inc