mirror of
https://github.com/pConst/basic_verilog.git
synced 2025-01-14 06:42:54 +08:00
27 lines
760 B
Tcl
27 lines
760 B
Tcl
|
#------------------------------------------------------------------------------
|
||
|
# published as part of https://github.com/pConst/basic_verilog
|
||
|
# Konstantin Pavlov, pavlovconst@gmail.com
|
||
|
#------------------------------------------------------------------------------
|
||
|
|
||
|
# Create a project
|
||
|
open_project proj -reset
|
||
|
add_files hls_operator.cpp
|
||
|
add_files -tb hls_operator_tb.cpp
|
||
|
set_top hls_operator
|
||
|
|
||
|
# Create a solution
|
||
|
open_solution -reset sol1 -flow_target vitis
|
||
|
set_part {xcvu9p-flga2104-2-i}
|
||
|
create_clock -period 5 -name default
|
||
|
|
||
|
#csim_design
|
||
|
csynth_design
|
||
|
#cosim_design
|
||
|
#export_design -rtl verilog -format ip_catalog -output /home/kp/tmp
|
||
|
|
||
|
#export_design -flow syn -rtl verilog -format ip_catalog
|
||
|
#export_design -flow impl -rtl verilog -format ip_catalog
|
||
|
|
||
|
exit
|
||
|
|