28 lines
683 B
Tcl
28 lines
683 B
Tcl
## Copyright (2019-2023) Paul Scherrer Institute
|
|
|
|
open_project $env(HLS_TOP_FUNCTION) -reset
|
|
|
|
set_top $env(HLS_TOP_FUNCTION)
|
|
|
|
add_files $env(SRC_DIR)/$env(HLS_FILE)
|
|
|
|
if { [info exists ::env(HLS_TB_FILE)] } {
|
|
add_files -tb $env(SRC_DIR)/$env(HLS_TB_FILE)
|
|
}
|
|
|
|
open_solution solution1
|
|
|
|
# Outcome will work for all Virtex US+ HBM FPGAs (this is mostly for utilization statistics)
|
|
set_part xcu55c-fsvh2892-2L-e
|
|
|
|
create_clock -period 3.2 -name default
|
|
config_interface -m_axi_addr64=true
|
|
config_schedule -enable_dsp_full_reg=true
|
|
|
|
csynth_design
|
|
|
|
config_export -vendor {psi.ch} -version 1.0 -ipname $env(HLS_TOP_FUNCTION) -format ip_catalog -rtl verilog
|
|
export_design
|
|
|
|
close_project
|
|
exit |