Skip to content
Snippets Groups Projects
Commit 13000ac9 authored by auphelia's avatar auphelia
Browse files

[IP gen] Update paths for hlslib in tcl template

parent a3bb03b1
No related branches found
No related tags found
No related merge requests found
......@@ -86,15 +86,17 @@ puts "HLS project: $config_proj_name"
set config_hwsrcdir "$HWSRCDIR$"
puts "HW source dir: $config_hwsrcdir"
set config_proj_part "$FPGAPART$"
set config_bnnlibdir "$::env(FINN_ROOT)/finn-hlslib"
set config_bnnlibdir "$::env(FINN_ROOT)/deps/finn-hlslib"
puts "finn-hlslib dir: $config_bnnlibdir"
set config_customhlsdir "$::env(FINN_ROOT)/finn/custom_hls"
set config_customhlsdir "$::env(FINN_ROOT)/custom_hls"
puts "custom HLS dir: $config_customhlsdir"
set config_customrtldir "$::env(FINN_ROOT)/finn-rtllib/checksum"
puts "custom RTL dir: $config_customrtldir"
set config_toplevelfxn "$TOPFXN$"
set config_clkperiod $CLKPERIOD$
open_project $config_proj_name
add_files $config_hwsrcdir/top_$TOPFXN$.cpp -cflags "-std=c++14 -I$config_bnnlibdir -I$config_customhlsdir"
add_files $config_hwsrcdir/top_$TOPFXN$.cpp -cflags "-std=c++14 -I$config_bnnlibdir -I$config_customhlsdir -I$config_customrtldir"
set_top $config_toplevelfxn
open_solution sol1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment