资源简介
多达20多个hls的例程,让你一次性学会hls高层次综合,用FPGA完成图像处理或者深度学习的项目。
代码片段和文件信息
/*******************************************************************************
Vendor: Xilinx
Associated Filename: window_fn_test.cpp
Purpose: Vivado HLS tutorial example
Revision History: March 13 2012 - initial release
*******************************************************************************
Copyright (C) 2013 XILINX Inc.
This file contains confidential and proprietary information of Xilinx Inc. and
is protected under U.S. and international copyright and other intellectual
property laws.
DISCLAIMER
This disclaimer is not a license and does not grant any rights to the materials
distributed herewith. Except as otherwise provided in a valid license issued to
you by Xilinx and to the maximum extent permitted by applicable law:
(1) THESE MATERIALS ARE MADE AVAILABLE “AS IS“ AND WITH ALL FAULTS AND XILINX
HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS EXPRESS IMPLIED OR STATUTORY
INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY NON-INFRINGEMENT OR
FITNESS FOR ANY PARTICULAR PURPOSE; and (2) Xilinx shall not be liable (whether
in contract or tort including negligence or under any other theory of
liability) for any loss or damage of any kind or nature related to arising under
or in connection with these materials including for any direct or any indirect
special incidental or consequential loss or damage (including loss of data
profits goodwill or any type of loss or damage suffered as a result of any
action brought by a third party) even if such damage or loss was reasonably
foreseeable or Xilinx had been advised of the possibility of the same.
CRITICAL APPLICATIONS
Xilinx products are not designed or intended to be fail-safe or for use in any
application requiring fail-safe performance such as life-support or safety
devices or systems Class III medical devices nuclear facilities applications
related to the deployment of airbags or any other applications that could lead
to death personal injury or severe property or environmental damage
(individually and collectively “Critical Applications“). Customer assumes the
sole risk and liability of any use of Xilinx products in Critical Applications
subject only to applicable laws and regulations governing limitations on product
liability.
THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS PART OF THIS FILE AT
ALL TIMES.
*******************************************************************************/
#include
#include
using namespace std;
#include “window_fn_top.h“
#ifdef FLOAT_DATA
#define ABS_ERR_THRESH 0.0
#else
#define ABS_ERR_THRESH 0.001
#endif
#define WINDOW_FN_DEBUG 1
int main(void)
{
win_fn_in_t testdata[WIN_LEN];
win_fn_out_t hw_result[WIN_LEN];
float sw_result[WIN_LEN];
unsigned err_cnt = 0;
// Generate test vectors and expected (real valued) results
for (int i = 0; i < WIN_LEN; i++) {
float samp_i = 64.0;
//
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 23799 2018-04-02 11:51 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\hs_err_pid25964.dmp
文件 124 2018-04-02 11:51 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\hs_err_pid25964.log
文件 3304 2013-03-08 09:47 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\run_hls.tcl
文件 3822 2018-04-02 11:51 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\vivado_hls.log
文件 5211 2013-03-08 09:40 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_class.h
文件 539 2018-04-02 11:12 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\.apc\autopilot.apfmapping
文件 18987 2018-04-02 11:38 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\.cproject
文件 2804 2018-04-02 11:31 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\.project
文件 2029 2018-04-02 11:12 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\.settings\window_fn_prj.Debug.launch
文件 2031 2018-04-02 11:12 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\.settings\window_fn_prj.Release.launch
文件 432 2018-04-02 11:38 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\.vivado_hls_log_all.xm
文件 32 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\.automg_exit
文件 22 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\.autopilot_exit
文件 4262 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.export.ll
文件 121959 2014-02-17 12:55 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.g
文件 121959 2014-02-17 12:55 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.g.0
文件 15141844 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.g.0.bc
文件 7803372 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.g.1.bc
文件 32937730 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.g.1.ll
文件 7803008 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.g.2.bc
文件 7803008 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.g.2.prechk.bc
文件 9520108 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.g.bc
文件 121959 2014-02-17 12:55 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.g.pre
文件 9528948 2018-04-02 11:38 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.g.pre.bc
文件 121959 2014-02-17 12:55 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.o
文件 7803372 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.o.1.bc
文件 32937730 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.o.1.ll
文件 7802972 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.o.1.tmp.bc
文件 7801140 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.o.2.bc
文件 32935433 2018-04-02 11:39 Vivado_HLS_Tutorial\Arbitrary_Precision\lab1\window_fn_prj\solution1\.autopilot\db\a.o.2.ll
............此处省略6402个文件信息
相关资源
- 博客藏经阁丛书深入理解AlteraFPGA应用
- 基于FPGAOV7725摄像头采集及VGA显示程序
- ARM contex M3 FPGA软核 for xilinx
- verilog LM75A温度传感器
- vivado使用误区与进阶.pdf
- XILINX FPGA数字信号处理权威指南 从H
- 零基础学FPGA基于AlteraFPGA器件VerilogH
- 你好FPGA 高清扫描 无密码 可看
- 电子系统设计与实战STM32 FPGA控制版
- 基于FPGA LPM多功能信号发生器设计
- 使用verilog实现基于FPGA的UART串口收发
- 基于UDP协议以太网通信的fpga实现ver
- 基于CORDIC的指数函数的FPGA实现
- JPEG图像处理verilog详解以及代码实现
- FPGA数字跑表设计
- 基于FPGA的自动升降电梯控制器设计
- FPGA实现FFT算法的Verilog 源程序
- VHDL语言FPGA音乐程序
- 使用SignalTap_II逻辑分析仪调试FPGA例
- 基于FPGA的存储器实验设计报告.docx
- FPGA通过SPI对ADC配置系列文章.docx
- Xilinx pcie中文快速指南
- 用FPGA实现1024点FFT算法
- 数字控制振荡器_nco_的fpga实现
- TFPGA分析软件
- 基于Quartus2平台实现fsk调制解调
- 基于FPGA的汽车尾灯控制电路的设计
- FPGA数字密码锁的设计
- 基于FPGA密码锁设计
- DE2-115上以RGMII模式发送ARP测试包Veri
评论
共有 条评论