Skip to content

Commit

Permalink
includes: Added .mk extenstion to Makeinclude files
Browse files Browse the repository at this point in the history
Signed-off-by: Istvan-Zsolt Szekely <[email protected]>
  • Loading branch information
IstvanZsSzekely committed Nov 29, 2024
1 parent 1fce0ec commit cd32db2
Show file tree
Hide file tree
Showing 43 changed files with 126 additions and 126 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
####################################################################################

# Makeincludes
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axi
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axi.mk

# All test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/utilities/utils.svh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
####################################################################################

# Makeincludes
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap.mk

# All test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/drivers/data_offload/data_offload_api.sv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
####################################################################################

# Makeincludes
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap.mk

# All test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/drivers/dmac/dma_trans.sv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
####################################################################################

# Makeincludes
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap.mk

# All test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/drivers/jesd/adi_jesd204_pkg.sv
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
####################################################################################

# Makeincludes
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap.mk

# All test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/vip/adi/spi_vip/adi_spi_vip_pkg.sv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
####################################################################################

# Makeincludes
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap.mk

# All test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/regmaps/adi_regmap_tdd_gen_pkg.sv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
####################################################################################

# Makeincludes
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap
include $(TB_LIBRARY_PATH)/includes/Makeinclude_regmap.mk

# All test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/drivers/xcvr/adi_xcvr_pkg.sv
Expand Down
2 changes: 1 addition & 1 deletion library/vip/adi/io_vip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
####################################################################################

# Makeincludes
include ../../../../scripts/make_tb_path
include ../../../../scripts/make_tb_path.mk

LIBRARY_NAME := io_vip

Expand Down
2 changes: 1 addition & 1 deletion library/vip/adi/spi_vip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
####################################################################################

# Makeincludes
include ../../../../scripts/make_tb_path
include ../../../../scripts/make_tb_path.mk

LIBRARY_NAME := adi_spi_vip

Expand Down
4 changes: 2 additions & 2 deletions scripts/make_tb_path → scripts/make_tb_path.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
####################################################################################
####################################################################################

# Assumes this file is in <HDL>/testbenches/scripts/make_tb_path
ADI_HDL_DIR := $(subst /testbenches/scripts/make_tb_path,,$(abspath $(lastword $(MAKEFILE_LIST))))
# Assumes this file is in <HDL>/testbenches/scripts/make_tb_path.mk
ADI_HDL_DIR := $(subst /testbenches/scripts/make_tb_path.mk,,$(abspath $(lastword $(MAKEFILE_LIST))))
HDL_LIBRARY_PATH := $(ADI_HDL_DIR)/library/
ADI_TB_DIR := $(ADI_HDL_DIR)/testbenches/
TB_LIBRARY_PATH := $(ADI_TB_DIR)/library/
2 changes: 1 addition & 1 deletion scripts/project-sim.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
####################################################################################
####################################################################################

include $(ADI_TB_DIR)/library/includes/Makeinclude_common
include $(ADI_TB_DIR)/library/includes/Makeinclude_common.mk

include $(ADI_HDL_DIR)/quiet.mk

Expand Down
6 changes: 3 additions & 3 deletions testbenches/ip/axi_tdd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
#include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_tdd
include ../../../scripts/make_tb_path.mk
#include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_tdd.mk

# Remaining test-bench dependencies except test programs
LIB_DEPS += axi_tdd
Expand Down
6 changes: 3 additions & 3 deletions testbenches/ip/axis_sequencers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += environment.sv
Expand Down
4 changes: 2 additions & 2 deletions testbenches/ip/base/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += environment.sv
Expand Down
6 changes: 3 additions & 3 deletions testbenches/ip/data_offload/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += do_scoreboard.sv
Expand Down
6 changes: 3 additions & 3 deletions testbenches/ip/data_offload_2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += do_scoreboard.sv
Expand Down
8 changes: 4 additions & 4 deletions testbenches/ip/dma_flock/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis.mk

# All test-bench dependencies except test programs
SV_DEPS += environment.sv
Expand Down
8 changes: 4 additions & 4 deletions testbenches/ip/dma_loopback/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk

# Remaining test-bench dependencies except test programs
LIB_DEPS += axi_dmac
Expand Down
8 changes: 4 additions & 4 deletions testbenches/ip/dma_sg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk

# Remaining test-bench dependencies except test programs
LIB_DEPS += axi_dmac
Expand Down
8 changes: 4 additions & 4 deletions testbenches/ip/hbm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk

# Remaining test-bench dependencies except test programs
LIB_DEPS += axi_dmac
Expand Down
4 changes: 2 additions & 2 deletions testbenches/ip/i3c_controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk

# Remaining test-bench dependencies except test programs
ENV_DEPS += $(HDL_LIBRARY_PATH)/util_cdc/sync_bits.v
Expand Down
10 changes: 5 additions & 5 deletions testbenches/ip/jesd_loopback/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include $(TB_LIBRARY_PATH)/includes/Makeinclude_jesd
include $(TB_LIBRARY_PATH)/includes/Makeinclude_xcvr
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_jesd.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_xcvr.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/regmaps/adi_regmap_dac_pkg.sv
Expand Down
10 changes: 5 additions & 5 deletions testbenches/ip/jesd_loopback_64b/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include $(TB_LIBRARY_PATH)/includes/Makeinclude_jesd
include $(TB_LIBRARY_PATH)/includes/Makeinclude_xcvr
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_jesd.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_xcvr.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/regmaps/adi_regmap_dac_pkg.sv
Expand Down
12 changes: 6 additions & 6 deletions testbenches/ip/scoreboard/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis
include $(TB_LIBRARY_PATH)/includes/Makeinclude_scoreboard
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include $(TB_LIBRARY_PATH)/includes/Makeinclude_data_offload
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_scoreboard.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_data_offload.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += environment.sv
Expand Down
10 changes: 5 additions & 5 deletions testbenches/ip/spi_engine/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/regmaps/adi_regmap_clkgen_pkg.sv
Expand Down
10 changes: 5 additions & 5 deletions testbenches/ip/util_pack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis
include $(TB_LIBRARY_PATH)/includes/Makeinclude_scoreboard
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_axis.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_scoreboard.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += environment.sv
Expand Down
8 changes: 4 additions & 4 deletions testbenches/project/ad463x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/regmaps/adi_regmap_clkgen_pkg.sv
Expand Down
8 changes: 4 additions & 4 deletions testbenches/project/ad57xx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/regmaps/adi_regmap_clkgen_pkg.sv
Expand Down
8 changes: 4 additions & 4 deletions testbenches/project/ad738x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/regmaps/adi_regmap_clkgen_pkg.sv
Expand Down
8 changes: 4 additions & 4 deletions testbenches/project/ad7606x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/regmaps/adi_regmap_adc_pkg.sv
Expand Down
8 changes: 4 additions & 4 deletions testbenches/project/ad7616/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
####################################################################################

# Makeincludes
include ../../../scripts/make_tb_path
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine
include ../../../scripts/make_tb_path.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_common.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_dmac.mk
include $(TB_LIBRARY_PATH)/includes/Makeinclude_spi_engine.mk

# Remaining test-bench dependencies except test programs
SV_DEPS += $(TB_LIBRARY_PATH)/regmaps/adi_regmap_axi_ad7616_pkg.sv
Expand Down
Loading

0 comments on commit cd32db2

Please sign in to comment.