Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <hls_stream.h> | |
#include <ap_axi_sdata.h> | |
using namespace std; | |
typedef ap_axis <32,1,1,1> AXI_T; | |
typedef hls::stream<AXI_T> STREAM_T; | |
void vec_add(STREAM_T &A, STREAM_T &B, STREAM_T &C, int LEN){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script to build vec_add.cpp | |
open_project vec_add | |
set_top vec_add | |
add_files vec_add.cpp | |
open_solution "solution1" | |
set_part {xc7z020clg400-1} -tool vivado | |
create_clock -period 7 -name default | |
csynth_design | |
export_design -format ip_catalog -description "vec_add" -display_name "vec_add" | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script to build vec_add.cpp HLS IP | |
open_project vec_add | |
set_top vec_add | |
add_files vec_add.cpp | |
open_solution "solution1" | |
set_part {xc7z020clg400-1} -tool vivado | |
create_clock -period 7 -name default | |
csynth_design | |
export_design -format ip_catalog -description "vec_add" -display_name "vec_add" | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################ | |
# This is a generated script based on design: streams_example | |
# | |
# Though there are limitations about the generated script, | |
# the main purpose of this utility is to make learning | |
# IP Integrator Tcl commands easier. | |
################################################################ | |
namespace eval _tcl { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer