Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions projects/ad9081_fmca_ebz/vcu118/system_project.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if {[get_env_param CORUNDUM 0] == 1} {
"system_top_corundum.v" \
"$ad_hdl_dir/../corundum/fpga/mqnic/VCU118/fpga_100g/boot.xdc" \
"$ad_hdl_dir/../corundum/fpga/mqnic/VCU118/fpga_100g/rtl/sync_signal.v" \
]
] system_top_corundum

add_files -fileset constrs_1 -norecurse [list \
"$ad_hdl_dir/../corundum/fpga/common/syn/vivado/rb_drp.tcl" \
Expand All @@ -87,7 +87,7 @@ if {[get_env_param CORUNDUM 0] == 1} {
} else {
adi_project_files ad9081_fmca_ebz_vcu118 [list \
"system_top.v" \
]
] system_top
}

# Avoid critical warning in OOC mode from the clock definitions
Expand Down
4 changes: 2 additions & 2 deletions projects/ad9082_fmca_ebz/vcu118/system_project.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if {[get_env_param CORUNDUM 0] == 1} {
"../../ad9081_fmca_ebz/vcu118/system_top_corundum.v" \
"$ad_hdl_dir/../corundum/fpga/mqnic/VCU118/fpga_100g/boot.xdc" \
"$ad_hdl_dir/../corundum/fpga/mqnic/VCU118/fpga_100g/rtl/sync_signal.v" \
]
] system_top_corundum

add_files -fileset constrs_1 -norecurse [list \
"$ad_hdl_dir/../corundum/fpga/common/syn/vivado/rb_drp.tcl" \
Expand All @@ -83,7 +83,7 @@ if {[get_env_param CORUNDUM 0] == 1} {
} else {
adi_project_files ad9082_fmca_ebz_vcu118 [list \
"../../ad9081_fmca_ebz/vcu118/system_top.v" \
]
] system_top
}

# Avoid critical warning in OOC mode from the clock definitions
Expand Down
6 changes: 3 additions & 3 deletions projects/scripts/adi_project_xilinx.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ proc adi_project_create {project_name mode parameter_list device {board "not-app
#
# \param[project_name] - name of the project
# \param[project_files] - list of project files
# \param[system_top] - system_top file name; default is system_top
#
proc adi_project_files {project_name project_files} {
proc adi_project_files {project_name project_files {system_top "system_top"}} {
global ADI_POST_ROUTE_POD_PRE_SCRIPT
global ADI_POST_ROUTE_SCRIPT

Expand All @@ -342,8 +343,7 @@ proc adi_project_files {project_name project_files} {
add_files -fileset utils_1 -norecurse ${ADI_POST_ROUTE_SCRIPT}
}

# NOTE: top file name is always system_top
set_property top system_top [current_fileset]
set_property top $system_top [current_fileset]
}


Expand Down