Add neptunesdr to related files

This commit is contained in:
Xianjun Jiao 2023-01-16 13:40:22 +01:00
parent 3f645e30f4
commit 36c6b0f59a
2 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@ print_usage () {
echo "Need at least 2 arguments: \$XILINX_DIR \$TCL_FILENAME"
echo "More arguments (max 7) will be passed as arguments to the .tcl script to create ip_name_pre_def.v"
echo "Among these max 7 arguments:"
echo "- the 1st: BOARD_NAME (antsdr antsdr_e200 sdrpi zc706_fmcs2 zed_fmcs2 zc702_fmcs2 adrv9361z7035 adrv9364z7020 zcu102_fmcs2)"
echo "- the 1st: BOARD_NAME (antsdr antsdr_e200 sdrpi zc706_fmcs2 zed_fmcs2 zc702_fmcs2 adrv9361z7035 adrv9364z7020 zcu102_fmcs2 neptunesdr)"
echo "- the 2nd: NUM_CLK_PER_US (for example: input 100 for 100MHz)"
echo "- the 3rd-7th: User pre defines (assume it is ABC) for conditional compiling. Will be \`define IP_NAME_ABC in ip_name_pre_def.v"
echo " - the 3rd exception: in the case of openofdm_rx, it indicates SAMPLE_FILE for simulation. Can be changed later in openofdm_rx_pre_def.v"

View File

@ -40,6 +40,10 @@ if {$BOARD_NAME=="zed_fmcs2"} {
set ultra_scale_flag 0
set part_string xc7z020clg400-1
set fpga_size_flag 0
} elseif {$BOARD_NAME=="neptunesdr"} {
set ultra_scale_flag 0
set part_string xc7z020clg400-1
set fpga_size_flag 0
} else {
set ultra_scale_flag []
set part_string []