2022-05-13 11:24:41 +00:00
|
|
|
# // Author: Xianjun Jiao
|
|
|
|
# // SPDX-FileCopyrightText: 2022 UGent
|
|
|
|
# // SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
|
|
|
# fpga_size_flag: 0 small; 1 big
|
|
|
|
|
|
|
|
if {$BOARD_NAME=="zed_fmcs2"} {
|
|
|
|
set ultra_scale_flag 0
|
|
|
|
set part_string xc7z020clg484-1
|
|
|
|
set fpga_size_flag 0
|
|
|
|
} elseif {$BOARD_NAME=="zcu102_fmcs2"} {
|
|
|
|
set ultra_scale_flag 1
|
|
|
|
set part_string xczu9eg-ffvb1156-2-e
|
|
|
|
set fpga_size_flag 1
|
|
|
|
} elseif {$BOARD_NAME=="zc706_fmcs2"} {
|
|
|
|
set ultra_scale_flag 0
|
|
|
|
set part_string xc7z045ffg900-2
|
|
|
|
set fpga_size_flag 1
|
|
|
|
} elseif {$BOARD_NAME=="zc702_fmcs2"} {
|
|
|
|
set ultra_scale_flag 0
|
|
|
|
set part_string xc7z020clg484-1
|
|
|
|
set fpga_size_flag 0
|
|
|
|
} elseif {$BOARD_NAME=="antsdr"} {
|
|
|
|
set ultra_scale_flag 0
|
|
|
|
set part_string xc7z020clg400-1
|
|
|
|
set fpga_size_flag 0
|
2022-10-21 16:58:18 +00:00
|
|
|
} elseif {$BOARD_NAME=="antsdr_e200"} {
|
|
|
|
set ultra_scale_flag 0
|
|
|
|
set part_string xc7z020clg400-1
|
|
|
|
set fpga_size_flag 0
|
2022-08-05 15:49:49 +00:00
|
|
|
} elseif {$BOARD_NAME=="sdrpi"} {
|
|
|
|
set ultra_scale_flag 0
|
|
|
|
set part_string xc7z020clg400-1
|
|
|
|
set fpga_size_flag 0
|
2022-05-13 11:24:41 +00:00
|
|
|
} elseif {$BOARD_NAME=="adrv9361z7035"} {
|
|
|
|
set ultra_scale_flag 0
|
|
|
|
set part_string xc7z035ifbg676-2L
|
|
|
|
set fpga_size_flag 1
|
|
|
|
} elseif {$BOARD_NAME=="adrv9364z7020"} {
|
|
|
|
set ultra_scale_flag 0
|
|
|
|
set part_string xc7z020clg400-1
|
|
|
|
set fpga_size_flag 0
|
2022-10-16 20:09:17 +00:00
|
|
|
} elseif {$BOARD_NAME=="neptunesdr"} {
|
|
|
|
set ultra_scale_flag 0
|
|
|
|
set part_string xc7z020clg400-1
|
|
|
|
set fpga_size_flag 0
|
2022-05-13 11:24:41 +00:00
|
|
|
} else {
|
|
|
|
set ultra_scale_flag []
|
|
|
|
set part_string []
|
|
|
|
set fpga_size_flag []
|
|
|
|
puts "$BOARD_NAME is not valid!"
|
|
|
|
}
|