2023-02-24 06:01:53 +03:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# published as part of https://github.com/pConst/basic_verilog
|
|
|
|
# Konstantin Pavlov, pavlovconst@gmail.com
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Script to perform HLS IP synthesis and implementation
|
|
|
|
# see ../example_projects/vitis_hls_prj_template_v1/ for complete example
|
|
|
|
|
2023-03-12 21:09:32 +03:00
|
|
|
if [ ! -d "./prj" ]; then
|
2023-02-24 06:01:53 +03:00
|
|
|
source vitis_hls_csynth.sh
|
|
|
|
fi
|
|
|
|
|
|
|
|
vitis_hls -eval 'export_design -flow impl -rtl verilog -format ip_catalog'
|
|
|
|
|