-
Notifications
You must be signed in to change notification settings - Fork 16
/
run_hls_fullpfalgo.tcl
37 lines (33 loc) · 1.21 KB
/
run_hls_fullpfalgo.tcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
############################################################
## This file is generated automatically by Vivado HLS.
## Please DO NOT edit it.
## Copyright (C) 1986-2016 Xilinx, Inc. All Rights Reserved.
############################################################
# open the project, don't forget to reset
open_project -reset proj_fullpfalgo_15151504_240MHz_II2
set_top pfalgo3_full
add_files firmware/simple_fullpfalgo.cpp -cflags "-DHLS_pipeline_II=2"
add_files -tb simple_fullpfalgo_test.cpp
add_files -tb simple_fullpfalgo_ref.cpp
add_files -tb utils/pattern_serializer.cpp
add_files -tb utils/test_utils.cpp
add_files -tb DiscretePFInputs.h -cflags "-std=c++0x"
add_files -tb utils/DiscretePFInputs_IO.h -cflags "-std=c++0x"
add_files -tb data/regions_TTbar_PU140.dump
# reset the solution
open_solution -reset "solution1"
#set_part {xcku9p-ffve900-2-i-EVAL}
#set_part {xc7vx690tffg1927-2}
#set_part {xcku5p-sfvb784-3-e}
set_part {xcku115-flvf1924-2-i}
create_clock -period 4.16667 -name default
set_clock_uncertainty 1.0
#source "./nb1/solution1/directives.tcl"
config_interface -trim_dangling_port
# do stuff
csim_design
csynth_design
cosim_design -trace_level all
#export_design -format ip_catalog
# exit Vivado HLS
exit