简体   繁体   English

VHDL和FPGA

[英]VHDL and FPGA's

I'm relatively new to the FPGA sceen and was looking to get experience with them and VHDL. 我对FPGA技术还比较陌生,希望获得有关它们和VHDL的经验。 I'm not quite sure what the benefit would be over using a standard MCU but looking for experience since many companies are looking for it. 我不太确定使用标准MCU会带来什么好处,但是由于许多公司都在寻找经验,因此他正在寻找经验。

What would be a good platform to start out on and get experience for not to much money. 什么将是一个不错的平台,它以很少的钱就可以开始并获得经验。 Ive been looking and all I can find are 200 - 300 dollar boards if not 1000's. 我一直在寻找,我能找到的都是200-300美元的木板,如果不是1000的话。 What should one look for in an FPGA development board, I hear high speed peripheral interfaces, and what I guess I'm really confused about is that an MCU dev board with around 50/100 GPIO can go for around 100 while that same functionality on an FPGA board is much more expensive! 在FPGA开发板上应该寻找什么,我听到高速外围接口,我想我真的很困惑的是,具有大约50/100 GPIO的MCU开发板可以使用大约100,而相同的功能在FPGA板要贵得多! I know you can reprogram an FPGA, but so can an MCU. 我知道您可以重新编程FPGA,MCU也可以。 Should I even fiddle with FPGA's will the market keep using them or are we moving towards MCU's only? 我应该摆弄FPGA吗?市场会继续使用它们吗?还是只向MCU迈进?

Hmm...I was able to find three evaluation boards under $100 pretty quickly: 嗯...我很快就找到了三个低于100美元的评估板:

$79: http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&No=593 79美元: http//www.terasic.com.tw/cgi-bin/page/archive.pl? Language = English&No = 593

$79: http://www.arrownac.com/solutions/bemicro-sdk/ 79美元: http//www.arrownac.com/solutions/bemicro-sdk/

$89: http://www.xilinx.com/products/boards-and-kits/AES-S6MB-LX9.htm 89美元: http//www.xilinx.com/products/boards-and-kits/AES-S6MB-LX9.htm

As to what to look for in an evaluation board, that depends entirely on what you want to do. 至于要在评估板上寻找什么,则完全取决于您要做什么。 If you have a specific design task to accomplish, you want a board that supports as many of the same functions and I/O as your final circuit. 如果您要完成特定的设计任务,则需要一块电路板支持与最终电路一样多的功能和I / O。 You can get boards with various memory options (SRAM, DDR2, DDR3, Flash, etc), Ethernet, PCI/PCIe bus, high-speed optical transceivers, and more. 您可以获得具有各种内存选项(SRAM,DDR2,DDR3,闪存等),以太网,PCI / PCIe总线,高速光收发器等的电路板。 If you just want to get started, just about any board will work for you. 如果您只是想入门,那么几乎所有董事会都将为您服务。 Virtually anything sold today should have enough space for even non-trivial example designs (ie: build your own microcontroller with a soft-core CPU and design/select-your-own peripheral mix). 实际上,今天售出的任何东西都应该有足够的空间用于甚至不平凡的示例设计(即:使用软核CPU和设计/选择自己的外设组合来构建自己的微控制器)。

Even if your board only has a few switches and LEDs you can get started designing a hardware "Hello World" (aka the blinking LED :), simple state machines, and many other applications. 即使您的板上只有几个开关和LED,您也可以开始设计硬件“ Hello World”(也就是闪烁的LED :),简单的状态机以及许多其他应用程序。 Where you start and what you try to do should depend on your overall goals. 您从哪里开始以及您尝试做什么应该取决于您的总体目标。 If you're just looking to gain general experience with FPGAs, I suggest: 如果您只是想获得FPGA的一般经验,我建议:

  • Start with any of low-cost evaluation boards 从任何低成本评估板开始
  • Run through their demo application (typically already programmed into the HW) to get familiar with what it does 运行他们的演示应用程序(通常已经编程到硬件中)以熟悉其功能
  • Build the demo program from source and verify it works to get familiar with the FPGA tool chain 从源代码构建演示程序并验证其是否可以熟悉FPGA工具链
  • Modify the demo application in some way to get familiar with designing hardware for FPGAs 以某种方式修改演示应用程序,以熟悉FPGA的硬件设计
  • Use your new-found experience to determine what to try next 利用新发现的经验来确定下一步要尝试的方法

As for the market continuing to use FPGAs, they are definitely here to stay, but that does not mean they are suitable for every application. 至于继续使用FPGA的市场,它们肯定会存在,但这并不意味着它们适用于每种应用。 An MCU by itself is fine for many applications, but cannot handle everything. MCU本身对许多应用程序都适用,但不能处理所有事情。 For example, you can easily "bit-bang" an I2C or even serial UART with most micro-controllers, but you would be hard pressed to talk to an Ethernet port, a VGA display, or a PCI/PCIe bus without some custom hardware. 例如,您可以使用大多数微控制器轻松地对I2C或什至串行UART进行“位冲击”,但是如果没有一些自定义硬件,您将很难与以太网端口,VGA显示器或PCI / PCIe总线通信。 It's up to you to decide how to mix the available technology (MCUs, FPGAs, custom logic designed in-house, licensed IP cores, off-the-shelf standard hardware chips, etc) to create a functional product or device, and there typically isn't any single 'right' answer. 由您决定如何混合可用技术(MCU,FPGA,内部设计的定制逻辑,许可的IP内核,现成的标准硬件芯片等)以创建功能性产品或设备,通常在那里不是任何一个“正确”的答案。

FPGAs win over microcontrollers if you need some or all of: 如果您需要部分或全部,则FPGA胜过微控制器:

  • Huge amounts of maths to be done (even more than a DSP makes sense for) 需要完成大量的数学运算(甚至比DSP更有意义)
  • Huge amounts of memory bandwidth (often goes hand in hand with the previous point - not much point having lots of maths to do if you have no data to do it on!) 大量的内存带宽(通常与前一点并驾齐驱-如果没有数据可做,则没有太多的事情要做很多数学运算!)
  • Extremely predictable hard real-time performance - the timing analyser will tell you how fast you can clock you device given the logic you've designed. 极高的可预测的硬实时性能-时序分析器会告诉您,根据您设计的逻辑,可以为设备时钟提供多快的时钟。 You can (with a certain - high - statistical likelihood) "guarantee" to operate at that speed. 您可以(以一定的-高-统计可能性)“保证”以该速度运行。 And therefore you can design logic which you know will always meet certain real-time response times, even if those deadlines are in the nano-second realm. 因此,您可以设计知道始终满足某些实时响应时间的逻辑,即使这些截止时间在纳秒级范围内。

If not, then you are likely better off with a micro or DSP. 如果不是这样,那么使用Micro或DSP可能会更好。

The OpenCores web site is an excellent resource, especially the Programming Tools section. OpenCores网站是一个很好的资源,尤其是“ 编程工具”部分。 The articles link on the site is a good place to start to survey FPGA boards. 该站点上的文章链接是开始调查FPGA板的好地方。

The biggest advantage of an FPGA over a microprocessor is architecture. 与微处理器相比,FPGA的最大优势是架构。 The microprocessor has a fixed set of functional units that solve most problems reasonably well. 微处理器具有一组固定的功能单元,可以很好地解决大多数问题。 I've seen computational efficiency figures for microprocessors form 6% to 15%. 我已经看到微处理器的计算效率数字在6%到15%之间。 In an FPGA you are creating functional units specifically for your problem and nothing else, so you can reach 90-100% computational efficiency. 在FPGA中,您正在创建专门用于解决问题的功能单元,而没有别的,因此您可以达到90-100%的计算效率。

As for the difference in cost, think of volume sales. 至于成本差异,请考虑批量销售。 High volume of microprocessor sales vs. relatively lower FPGA sales. 微处理器销量高而FPGA销量相对低。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM