fpga

初始FPGA

跟風遠走 提交于 2019-12-02 03:25:51
FPGA(Field-Programmable Gate Array),即现场可编程门阵列,它是在PAL、GAL、CPLD等可编程器件的基础上进一步发展的产物。它是作为专用集成电路(ASIC)领域中的一种半定制电路而出现的,既解决了定制电路的不足,又克服了原有可编程器件门电路数有限的缺点。 来源: https://www.cnblogs.com/lhkhhk/p/11728776.html

最近几天关于FPGA的计划

被刻印的时光 ゝ 提交于 2019-12-01 16:20:42
最近一段时间的目标是,实现FPGA上的,以太网MAC接口, 刚刚我下载了《Xilinx系列FPGA芯片IP核详解 刘东华2013年》和《Xilinx FPGA应用进阶 通用IP核详解和设计开发》这两本讲解如何使用IP核的方法。 来源: https://www.cnblogs.com/zf007/p/11692715.html

How to check time performances in a C++ program on Zedboard

柔情痞子 提交于 2019-12-01 12:01:08
I have implemented a C++ code on a Zedboard. It compiles and runs perfectly, but now i would like to check the performances in order to optimize some functions. I have checked some threads here ( Testing the performance of a C++ app ) and here ( Timer function to provide time in nano seconds using C++ ), but i don't really understand how to apply it mon code ... To make things clear : I'm not good at C++, I have never really learned the language formally but only used it several times with specific libraries. I am not even the author of the code I'm using (given to me by the professors). My

[Xilinx笔记] 《FPGA伴你玩转USB3.0与LVDS》 读书笔记

坚强是说给别人听的谎言 提交于 2019-12-01 09:41:48
2019年10月15日09:31:10 第一部分·哪些要看(优先级由高到低) 0、8.1 LVDS 数据收发实例 8.2 带 CRC 校验的 LVDS 数据收发实例 1、3.6 USB3.0 控制器 FX3 的 SDK 安装 ” 3.7 USB3.0 控制器 FX3 的驱动安装 5.4 UART 的 loopback 实例 2、7.1 基于 FX3 内部 DMA 的 USB 传输 Loopback 实例 7.2 FX3 的 SPI FLASH 代码固化 7.3 7.2 FX3 的 SPI FLASH 代码固化 整个第七章,看了7.1到7.3之后,再决定要不要把整个第七章看完。 3、6.1 DD R3 IP核配置与仿真”, 4、3.4节 Vivado 中使用 notepad++ 的关联设置 第二部分·笔记 来源: https://www.cnblogs.com/zf007/p/11675613.html

When to use VHDL library std_logic_unsigned and numeric_std?

蓝咒 提交于 2019-12-01 03:26:17
问题 I use VHDL-200X in ISE.I always use data type like std_logic_vector , std_logic , integer , boolean and real .Always use std_logic_vector convert to integer and reverse. My team mates ask me to use these three parts of library IEEE . library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNSIGNED.ALL; But someone said do not use IEEE.STD_LOGIC_UNSIGNED.ALL instead of IEEE.NUMERIC_STD.ALL .Because you have everything you need in numeric_std , and STD_LOGIC

ZYNQ7000性能分析

夙愿已清 提交于 2019-11-30 21:03:06
提到自动驾驶,机器人视觉,高清摄像机,都要想到摄像头这个单元,先前本侠也讲过一些FPGA应用在高清摄像头和机器视觉中的深度摄像头以及双目摄像头等,FPGA在里面的作用主要是对采集的图像进行处理,对图像的处理需要硬件有着很好的并行的性能,那么它处理速度跟ARM的CPU比起来有没有优势呢?本侠今天就带领各位一起来探索一下FPGA在边缘计算方面的应用。 提起计算速度,我们首先能想到的是云计算。云计算有数不清的好处,例如计算快,计算数据的量大,等等。但智者千虑必有一失,没有云计算的厂家能够保证他能做任何的事情,云计算也有自己的不足之处,最大的不足就是计算的实时性不够高。例如,在你把一些数据送到云端去进行处理的时候总会有一些延迟,最难熬的莫过于等结果的时间。边缘计算需要很高的计算性能,而且有着很高的实时性,FPGA能够同时并行处理很多的事情,既能满足数据处理速度的要求,还能满足实时性的需求,可谓是两全其美。今年在加利福尼亚的圣塔拉拉举行的嵌入式视觉峰会上展示了基于Aldec的TySOM-2-7Z100原型板的4摄像头ADAS模型,如图.1所示。TySOM的性能很好,主要是因为里面的核心的运算处理部件是Xilinx Zynq Z-7100的SoC。 图.1 TySOM-2-7Z100原型板 如图.2可以看到Zynq在TySOM板子中的位置

Random number generation on Spartan-3E

血红的双手。 提交于 2019-11-30 18:14:26
I need to generate pseudo-random numbers for my genetic algorithm on a Spartan-3E FPGA and i want to implement it in verilog: could you give me any pointers on this? Adam Davis Typically you'd use the IEEE.math_real uniform function use IEEE.math_real.all; procedure UNIFORM (variable Seed1,Seed2:inout integer; variable X:out real); But do a tiny bit a research on pseudo random number generators (PRNGs) and you'll find many variants that are simple LFSR 's - which look remarkably similar to CRC generators. Here are several resources if you want to roll your own starting from existing, working

How can I speed up my math operations in VHDL?

守給你的承諾、 提交于 2019-11-30 18:05:48
问题 I have some calculations going on currently at rising edge of a 75MHz pixel clock to output 720p video on screen. Some of the math (like a few modulo) take too long (20+ns whereas 75MHz is 13.3ns) so my timing constraints are not met. I'm new to FPGAs but I'm wondering if for example there is a way to run the calculations at a faster speed than the current pixel clock in order to have them completed by the next tick of the 75MHz clock. I'm using VHDL by the way. 回答1: Here's some techniques:

谈谈IC、ASIC、SoC、MPU、MCU、CPU、GPU、DSP、FPGA、CPLD

半腔热情 提交于 2019-11-30 16:28:47
IC (integrated circuit) 集成电路 :微电路、微芯片、芯片;集成电路又分成:模拟集成电路(线性电路)、数字集成电路、数/模混合集成电路; 模拟集成电路 :产生、放大、处理各种模拟信号(幅度随时间变化的信号); 数字集成电路 :产生、放大、处理各种数字信号(时间和幅度上离散取值的信号); 集成电路按用途分成: 专用集成电路(ASIC) 、通用集成电路; ASIC (Application Specific Integrated Circuit) 专用集成电路:是指应特定用户要求和特定电子系统的需要而设计、制造的集成电路。 目前用 CPLD (复杂可编程逻辑器件)和 FPGA (现场可编程逻辑阵列)来进行ASIC设计是最为流行的方式之一,它们的共性是都具有 用户现场可编程特性 ,都支持边界扫描技术,但两者在集成度、速度以及编程方式上具有各自的特点。 ASIC是对特定算法定制的芯片,所以效率是最高的 ,但是一旦算法改变,芯片就无法使用。 现代ASIC常包含整个32-bit处理器,类似ROM、RAM、EEPROM、Flash的存储单元和其他模块. 这样的ASIC常被称为 SoC(片上系统) 。 SoC (System On Chip) 片上系统 :MCU只是芯片级芯片,SOC是系统级芯片,它既像MCU那样有内置RAM,ROM的同时

How to generate pseudo random number in FPGA?

白昼怎懂夜的黑 提交于 2019-11-30 15:28:39
问题 How to generate pseudo random number in FPGA? 回答1: This has been covered (I'd go for an LFSR): Random number generation on Spartan-3E 回答2: There's an excellent Xilinx application note on generating pseudo-random number sequences efficiently in an FPGA. It's XAPP052. 回答3: If it's not for cryptography or other applications with an intelligent adversary (e.g. gambling) I'd use a linear feedback shift register approach. It only uses exclusive or and shift, so it is very simple to implement in