Skip to content

Commit 82b5d5e

Browse files
committed
project: Add xcvr_wizard project
The project is designed to automatically generate xcvr parameters for specific configurations. Signed-off-by: Elena-Hadarau_adi <[email protected]>
1 parent 70d0ce1 commit 82b5d5e

17 files changed

+206
-0
lines changed

projects/xcvr_wizard/Makefile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
####################################################################################
2+
## Copyright (c) 2018 - 2023 Analog Devices, Inc.
3+
### SPDX short identifier: BSD-1-Clause
4+
## Auto-generated, do not modify!
5+
####################################################################################
6+
7+
include ../scripts/project-toplevel.mk
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
###############################################################################
2+
## Copyright (C) 2018-2024 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################

projects/xcvr_wizard/kc705/Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
####################################################################################
2+
## Copyright (c) 2018 - 2023 Analog Devices, Inc.
3+
### SPDX short identifier: BSD-1-Clause
4+
## Auto-generated, do not modify!
5+
####################################################################################
6+
7+
PROJECT_NAME := xcvr_wizard_kc705
8+
9+
include ../../scripts/project-xilinx.mk
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
###############################################################################
2+
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################
5+
6+
set LANE_RATE $ad_project_params(LANE_RATE) ; # [gbps]
7+
set PLL_TYPE $ad_project_params(PLL_TYPE) ; # [CPLL/QPLL]
8+
set REF_CLK $ad_project_params(REF_CLK) ; # [MHz]
9+
10+
source $ad_hdl_dir/projects/scripts/gtwizard_generator.tcl
11+
get_diff_params $LANE_RATE $PLL_TYPE $REF_CLK
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
###############################################################################
2+
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################
5+
6+
source ../../../scripts/adi_env.tcl
7+
source $ad_hdl_dir/projects/scripts/adi_project_xilinx.tcl
8+
source $ad_hdl_dir/projects/scripts/adi_board.tcl
9+
10+
# Parameter description:
11+
# LANE_RATE: Value of lane rate [gbps]
12+
# REF_CLK: Value of the reference clock [MHz] (usually LANE_RATE/20 or LANE_RATE/40)
13+
# PLL_TYPE: The PLL used for driving the link [CPLL/QPLL]
14+
15+
adi_project xcvr_wizard_kc705 0 [list \
16+
LANE_RATE [get_env_param LANE_RATE 10 ] \
17+
REF_CLK [get_env_param REF_CLK 500 ] \
18+
PLL_TYPE [get_env_param PLL_TYPE QPLL ] \
19+
]

projects/xcvr_wizard/kcu105/Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
####################################################################################
2+
## Copyright (c) 2018 - 2023 Analog Devices, Inc.
3+
### SPDX short identifier: BSD-1-Clause
4+
## Auto-generated, do not modify!
5+
####################################################################################
6+
7+
PROJECT_NAME := xcvr_wizard_kcu105
8+
9+
include ../../scripts/project-xilinx.mk
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
###############################################################################
2+
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################
5+
6+
set LANE_RATE $ad_project_params(LANE_RATE) ; # [gbps]
7+
set PLL_TYPE $ad_project_params(PLL_TYPE) ; # [CPLL/QPLL0/QPLL1]
8+
set REF_CLK $ad_project_params(REF_CLK) ; # [MHz]
9+
10+
source $ad_hdl_dir/projects/scripts/gtwizard_generator.tcl
11+
get_diff_params $LANE_RATE $PLL_TYPE $REF_CLK
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
###############################################################################
2+
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################
5+
6+
source ../../../scripts/adi_env.tcl
7+
source $ad_hdl_dir/projects/scripts/adi_project_xilinx.tcl
8+
source $ad_hdl_dir/projects/scripts/adi_board.tcl
9+
10+
# Parameter description:
11+
# LANE_RATE: Value of lane rate [gbps]
12+
# REF_CLK: Value of the reference clock [MHz] (usually LANE_RATE/20 or LANE_RATE/40)
13+
# PLL_TYPE: The PLL used for driving the link [CPLL/QPLL0/QPLL1]
14+
15+
adi_project xcvr_wizard_kcu105 0 [list \
16+
LANE_RATE [get_env_param LANE_RATE 10 ] \
17+
REF_CLK [get_env_param REF_CLK 500 ] \
18+
PLL_TYPE [get_env_param PLL_TYPE QPLL0 ] \
19+
]

projects/xcvr_wizard/vcu118/Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
####################################################################################
2+
## Copyright (c) 2018 - 2023 Analog Devices, Inc.
3+
### SPDX short identifier: BSD-1-Clause
4+
## Auto-generated, do not modify!
5+
####################################################################################
6+
7+
PROJECT_NAME := xcvr_wizard_vcu118
8+
9+
include ../../scripts/project-xilinx.mk
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
###############################################################################
2+
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################
5+
6+
set LANE_RATE $ad_project_params(LANE_RATE) ; # [gbps]
7+
set PLL_TYPE $ad_project_params(PLL_TYPE) ; # [CPLL/QPLL0/QPLL1]
8+
set REF_CLK $ad_project_params(REF_CLK) ; # [MHz]
9+
10+
source $ad_hdl_dir/projects/scripts/gtwizard_generator.tcl
11+
get_diff_params $LANE_RATE $PLL_TYPE $REF_CLK
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
###############################################################################
2+
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################
5+
6+
source ../../../scripts/adi_env.tcl
7+
source $ad_hdl_dir/projects/scripts/adi_project_xilinx.tcl
8+
source $ad_hdl_dir/projects/scripts/adi_board.tcl
9+
10+
# Parameter description:
11+
# LANE_RATE: Value of lane rate [gbps]
12+
# REF_CLK: Value of the reference clock [MHz] (usually LANE_RATE/20 or LANE_RATE/40)
13+
# PLL_TYPE: The PLL used for driving the link [CPLL/QPLL0/QPLL1]
14+
15+
adi_project xcvr_wizard_vcu118 0 [list \
16+
LANE_RATE [get_env_param LANE_RATE 10 ] \
17+
REF_CLK [get_env_param REF_CLK 500 ] \
18+
PLL_TYPE [get_env_param PLL_TYPE QPLL0 ] \
19+
]

projects/xcvr_wizard/zc706/Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
####################################################################################
2+
## Copyright (c) 2018 - 2023 Analog Devices, Inc.
3+
### SPDX short identifier: BSD-1-Clause
4+
## Auto-generated, do not modify!
5+
####################################################################################
6+
7+
PROJECT_NAME := xcvr_wizard_zc706
8+
9+
include ../../scripts/project-xilinx.mk
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
###############################################################################
2+
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################
5+
6+
set LANE_RATE $ad_project_params(LANE_RATE) ; # [gbps]
7+
set PLL_TYPE $ad_project_params(PLL_TYPE) ; # [CPLL/QPLL]
8+
set REF_CLK $ad_project_params(REF_CLK) ; # [MHz]
9+
10+
source $ad_hdl_dir/projects/scripts/gtwizard_generator.tcl
11+
get_diff_params $LANE_RATE $PLL_TYPE $REF_CLK
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
###############################################################################
2+
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################
5+
6+
source ../../../scripts/adi_env.tcl
7+
source $ad_hdl_dir/projects/scripts/adi_project_xilinx.tcl
8+
source $ad_hdl_dir/projects/scripts/adi_board.tcl
9+
10+
# Parameter description:
11+
# LANE_RATE: Value of lane rate [gbps]
12+
# REF_CLK: Value of the reference clock [MHz] (usually LANE_RATE/20 or LANE_RATE/40)
13+
# PLL_TYPE: The PLL used for driving the link [CPLL/QPLL]
14+
15+
adi_project xcvr_wizard_zc706 0 [list \
16+
LANE_RATE [get_env_param LANE_RATE 10 ] \
17+
REF_CLK [get_env_param REF_CLK 500 ] \
18+
PLL_TYPE [get_env_param PLL_TYPE QPLL ] \
19+
]

projects/xcvr_wizard/zcu102/Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
####################################################################################
2+
## Copyright (c) 2018 - 2023 Analog Devices, Inc.
3+
### SPDX short identifier: BSD-1-Clause
4+
## Auto-generated, do not modify!
5+
####################################################################################
6+
7+
PROJECT_NAME := xcvr_wizard_zcu102
8+
9+
include ../../scripts/project-xilinx.mk
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
###############################################################################
2+
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################
5+
6+
set LANE_RATE $ad_project_params(LANE_RATE) ; # [gbps]
7+
set PLL_TYPE $ad_project_params(PLL_TYPE) ; # [CPLL/QPLL0/QPLL1]
8+
set REF_CLK $ad_project_params(REF_CLK) ; # [MHz]
9+
10+
source $ad_hdl_dir/projects/scripts/gtwizard_generator.tcl
11+
get_diff_params $LANE_RATE $PLL_TYPE $REF_CLK
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
###############################################################################
2+
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
3+
### SPDX short identifier: ADIBSD
4+
###############################################################################
5+
6+
source ../../../scripts/adi_env.tcl
7+
source $ad_hdl_dir/projects/scripts/adi_project_xilinx.tcl
8+
source $ad_hdl_dir/projects/scripts/adi_board.tcl
9+
10+
# Parameter description:
11+
# LANE_RATE: Value of lane rate [gbps]
12+
# REF_CLK: Value of the reference clock [MHz] (usually LANE_RATE/20 or LANE_RATE/40)
13+
# PLL_TYPE: The PLL used for driving the link [CPLL/QPLL0/QPLL1]
14+
15+
adi_project xcvr_wizard_zcu102 0 [list \
16+
LANE_RATE [get_env_param LANE_RATE 10 ] \
17+
REF_CLK [get_env_param REF_CLK 500 ] \
18+
PLL_TYPE [get_env_param PLL_TYPE QPLL0 ] \
19+
]

0 commit comments

Comments
 (0)