可编程逻辑控件(CPLD/FPGA)外文翻译资料

 2022-12-05 16:26:36

Programmable Logic Control (CPLD / FPGA)

In our design, we selected CPLD / FPGA, as compared with the traditional MCU has many advantages, mainly in the following areas:

① advanced programming very easy. CPLD / FPGA products, part of the daisy chain in-system programming mode. This advanced method of programming has become the worlds development trend of various types of programmable devices. Because it obviates the expensive and inconvenient operation dedicated programmer, just need to download a very simple programming circuit and a PC, printer communication cable on the line. It is not programmed pressure, the TTL level line can be programmed at any time, and the so-called multi-chip daisy chain serial programming. Its programming up to 1 million times, such as Lattices isles and AMDs MACH family. In addition, programming can easily achieve infrared, ultrasonic or radio programming programmer, or through the telephone line remote online programming. These features are in communication devices and military special purpose devices.

② high speed. CPLD / FPGA clock delay of up to ns level, combined with the parallel work, in the ultra high-speed real-time monitoring and control applications and has a very broad application prospects. If you use the FLEX10K50 ALTERA development network image through USB interface, real-time encryption / decryption ASIC system, carried out in FLEX10K50 up to 56-bit parallel binary arithmetic, each encryption / decryption cycle of only a few mu;s, and the MCU takes nearly 1 minute . Another example is in the mold manufacturing EDM processing, motor control, the effective operation of the processing parts from only a few mu;s, which is required for the control of sensitive and high-speed circuit feeding service, not a short circuit or arcing is less than the breakdown . Obviously, this work, MCU is difficult to directly participate. If direct feeding by ispLSI1032 service control, feeding on the closed-loop motor speed service, the use of sampling ispLSI direct control of the AD1674, 8-bit accuracy using a maximum speed of 8mu;s / each, in order to achieve a good closed-loop speed control of synchronous and .

③ high reliability. In high reliability applications, MCUrsquo;s shortcomings as a CPLD / FPGA application left a lot of useless. Although the function of this group developed the device is achieved through the EDA software. But the physical mechanism like a 74LS164 as purely a hardware circuit is very reliable. Through the rational design of most applications, no need to consider the complex reset and initialization. Design using a simple statement just idle initial entry into the same, we can effectively prevent any possible 'death' phenomenon. Because it is working in parallel, it can be used as either input pin interrupt monitoring is similar to pin MCU, and the reaction rate is only satisfied wonderful class. CPLD / FPGA, high reliability is also reflected in almost the entire system can be downloaded on the same chip, thus greatly reducing the volume, easy to manage and shielding.

④ powerful, applications are broad. Currently, CPLD / FPGA to select a large range, according to different applications use different capacity chips, such as Lattices ispLSI and AMDs MACH, the smallest chip for the 1000 equivalent logic gates, the largest of several one hundred thousand . ALTERA and XILINX gate introduced millions of CPLD / FPGA can achieve almost any form of digital circuits or digital systems design. With the wide application of such devices and the cost dropped significantly, and the market rate increase, CPLD / FPGA in the system rate is almost equal to the direct application of ASIC development.

⑤ easy to use, develop convenient. The design of SCM experts in application system is very simple. However, for beginners, such as the CPUs work, many of the usage of special registers, interrupt concepts, etc., really is not an easy task. In contrast, CPLD / FPGA application does not require too much preparation to learn the knowledge, as long as a little bit of design of digital circuits and computer software basics, you can in the short term to handle basic design and development skills. And in turn, to learn to use SCM, it appeared hundreds of times more. This is undoubtedly high for us to provide a shortcut to learning, standing on the shoulders of giants, of course faster to be successful. It can be predicted, the study of EDA technology boom and the CPLD / FPGA application boom never inferior to boom over the past 10 years, single chip.

⑥ short development cycle. EDA software features as the corresponding sound and powerful, convenient and real-time simulation capabilities, and intuitive image of the development process, and the hardware factors involved very little, it can be very complicated in a very short time the system design, which is the product to market quickly the most valuable features. Some EDA experts predict, the future of large-scale systems of CPLD / FPGA design is just all kinds of logic and then apply the IP core (CORE) of the assembly, the design cycle, only hour. TI company that eighty percent of an ASIC IP core features available such as ready-made logic synthesis.

1.Development of language VHDL

VHDL (Very High Speed ​​Integrated Circuit Hardware Description Language) is a very high speed integrated circuit hardware description language, it can describe the function of the hardware circuitry, signal connectivity and the time between languages. It can be more effective than the circuit diagram to express the characteristics of the hardware circuit. Using the VHDL language, you can proceed to the general requirements of the system, since the detailed content will be designed to come down to earth, and finally to complete the overall design of the system hardware. IEEE VHDL language has been the industry standard as a design to facilitate reuse and shari

剩余内容已隐藏,支付完成后下载完整资料


可编程逻辑控件(CPLD/FPGA)

在设计中我们之所以选用CPLD/FPGA,因为它与传统的MCU相比有着许多优点。主要体现在以下几个方面:

①编程方式简便先进。CPLD/FPGA产品中部分是采用菊花链在系统编程方式的,这种先进的编程方式已成为当今世界上各类可编程器件发展的趋势,因为它省却了价格昂贵,操作不便的专用编程器,只需要一个十分简单的下载编程电路和一条PC机的打印机通讯线即可。它无须编程高压,在TTL电平下随时可进行在线编程,并可进行所谓菊花链式多片串行编程。其编程次数多达1万次,如Lattice的isles和AMD公司的MACH系列。此外,还可轻易地实现红外编程,超声编程或无线编程,或通过电话线远程在线编程。这些功能在通讯器件和军事器件上有特殊用途。

②高速。CPLD/FPGA的时钟延迟可达ns级,结合其并行工作方式,在超高速应用领域和实时测控方面有非常广阔的应用前景。如果利用ALTERA的FLEX10K50开发通过USB接口的网络图像实时加密/解密ASIC系统,在FLEX10K50中进行高达56位二进制的并行四则运算,每一加密/解密周期只需数mu;s,而MCU需时近1分。又如在模具制造业的电火花成型加工中,电机控制的加工件的有效运行距离仅数mu;s,这要求极敏感和高速的控制饲服电路系统,否则不是发生短路拉弧,就是击穿不足。显然,这方面的工作,MCU也是难于直接参与的。如果利用ispLSI1032进行直接饲服控制,对测速电机的闭环饲服,利用ispLSI对AD1674直接进行采样控制,8位采用精度,最高速度达8mu;s/每次,从而实现了良好的闭环同步和变速控制。

③高可靠性。在高可靠应用领域,MCU的缺憾为CPLD/FPGA的应用留下了很大的用武之地。这组器件尽管在功能开发上是通过EDA软件实现的,但物理机制却像一片74LS164那样纯属硬件电路,十分可靠。通过合理设计,大多数应用中,无须考虑复杂的复位和初始化。设计中只需利用简单的语句将闲置状态导入同一初始入口,就能有效防止任何可能的“死机”现象。由于是并行工作,它的任一输入脚都可用作类似于MCU的中断监测引脚,且反应速度仅为纳妙级。CPLD/FPGA的高可靠性还表现在几乎可将整个系统下载于同一芯片中,从而大大缩小了体积,易于管理和屏蔽。

④功能强大,应用广阔。目前,CPLD/FPGA的可选择范围很大,可根据不同的应用选用不同容量的芯片,如Lattice的ispLSI和AMD公司的MACH,最小芯片的等效逻辑门为1000门,最大达数十万门。ALTERA和XILINX公司推出的百万门的CPLD/FPGA可实现几乎任何形式的数字电路或数字系统的设计。随着这类器件的广泛应用和成本的大幅下降,以及产品上市速率的提高,CPLD/FPGA在系统中的直接应用率正直逼ASIC的开发。

⑤易学易用,开发便捷。单片机应用系统的设计对于行家里手来说是十分简单的事。然而,对于初学者,诸如CPU的工作方式、众多特殊寄存器的用法、中断概念等等,着实不是一件容易的事。相比之下,CPLD/FPGA应用的学习却不需要太多的预备知识,只要稍具一点数字电路和计算机软件设计的基础知识,就能在短期内掌握基本的设计方法和开发技巧。而且反过来去学用单片机,就显得轻车熟路多了。这无疑是高技术为我们的学习提供了捷径,站在巨人的肩膀当然能更快地获得成功。可以预言,我国EDA技术的学习热潮和CPLD/FPGA的应用热潮决不会逊色于过去10年的单片机热潮。

⑥开发周期短。由于相应的EDA软件功能完善而强大,仿真能力便捷而实时,开发过程形象而直观,兼之硬件因素涉及甚少,因此可以在很短时间内完成十分复杂的系统设计,这是产品快速进入市场的最宝贵的特征。一些EDA专家预言,未来的大系统的CPLD/FPGA设计仅仅是各类再应用逻辑与IP核(CORE)的拼装,其设计周期仅以小时计。TI公司认为,一个ASIC百分之八十的功能可用IP核等现成逻辑合成。

一.开发语言VHDL

VHDL是高速集成电路硬件描述语言,是可以描述硬件电路的功能、信号连接关系及定时关系的语言,它能比电路原理图更有效地表示硬件电路的特性。使用VHDL语言,可以就系统的总体要求出发,自上至下地将设计内容细化,最后完成系统硬件的整体设计。VHDL语言已作为一种IEEE的工业标准,设计结果便于复用和交流。目前,它还不能应用于模拟电路的设计,但已有人投入研究。VHDL程序结构包括:实体(Entity)、结构体(Architecture)、配置(Configuration)、包集合(Package)及库(Library)。其中,实体是一个VHDL程序的基本单元,由实体说明和结构体两部分组成:实体说明用于描述设计系统的外部接口信号;结构体用于描述系统的行为、系统数据的流程或系统组织结构形式。配置用语从库中选取所需的单元来组成系统设计的不同规格的不同版本,使被设计系统的功能发生变化。包集合存放各设计模块能共享的数据类型、常数、子程序等。库用于存放已编译的实体、构造体、包集合及配置:一种是用户自己开发的工程软件,另一种是制造商提供的库。

VHDL语言的主要特点是:

①功能强大,灵活性高:VHDL语言是一种功能强大的语言结构,可用简洁明确的代码来进行复杂控制逻辑的设计。同时VHDL语言还支持层次化的设计,支持设计库和可重复使用的元件生成。目前,VHDL语言已成为一种设计、仿真、综合的标准硬件描述语言。

②器件无关性:VHDL语言允许设计者在生成一个设计时不需要首先选择一个具体的器件。对于同一个设计描述,可以采用多种不同器件结构来实现其功能。因此设计描述阶段,可以集中精力从事设计构思。当设计、仿真通过后,指定具体的器件综合、适配即可。

③可移植性:VHDL语言是一种标准的语言,故采用VHDL进行的设计可以被不同的EDA工具所支持。从一个仿真工具移植到另一个仿真工具,从一个综合工具移植到另一个综合工具,从一个工作平台移植到另一个工作平台。在一个EDA工具中采用的技术技巧,在其它工具中同样可以采用。

④自顶向下的设计方法:传统的设计方法是,自底向上的设计或平坦式设计。自底向上的设计方法是先从底层模块设计开始,逐渐由各个模块形成功能复杂的电路。这种设计方法优点是很明显的,因为它是一种层次设计电路,一般电路的子模块都是按照结构或功能划分,因此这种电路层次清楚,结构明确,便于多人合作开发,同时设计文件易于存档,易于交流。自底向上设计方法的缺点也很明显,往往由于整体设计思路不对而使的花费几个月的低层设计付之东流。平坦式设计是整个电路只含有一个模块,电路的设计是平铺直叙的,没有结构和功能上的划分,因此不是层次电路的设计方式。优点是小型电路设计时可以节省时间和精力,但随着电路复杂程度的增加,这种设计方式的缺点变的异常突出。自顶向下的设计方法是将要设计的电路进行最顶层的描述(顶层建模),然后利用EDA软件进行顶层仿真,如果顶层设计的仿真结果满足要求,则可以继续将顶层划分的模块进行低一级的划分并仿真,这样一级一级设计最终将完成整个电路的设计。自顶向下的设计方法与前面两种方法相比优点是很明显的。

⑤数据类型丰富:作为硬件描述语言的一种VHDL语言的数据类型非常丰富,除了VHDL语言自身预定义的十种数据类型外,在VHDL语言程序设计中还可以由用户自定义数据类型。特别是std_logic数据类型的使用,使得VHDL语言能最真实模拟电路中的复杂信号。

⑥建模方便:由于VHDL语言中可综合的语句和用于仿真的语句齐备,行为描述能力强,因此VHDL语言特别适合信号建模。目前VHDL的综合器能对复杂的算术描述进行综合(如:QuartusⅡ 2.0以上的版本都能对std_logic_vector类型的数据进行加、减、乘、除),因此对于复杂电路的建模VHDL语言无论仿真还是综合都是非常合适的描述语言。

⑦运行库和程序包丰富:目前支持VHDL语言的程序包很丰富,大多以库的形式存放在特定的目录下,用户可随时调用。如IEEE库收集了std_logic_1164、std_logic_arith、std_logic_unsigned等程序包。在CPLD/FPGA综合时,还可以使用EDA软件商提供的各种库和程序包,而且用户利用VHDL语言编写的各种成果都可以以库的形式存放,在后续的设计中可以继续使用。

⑧VHDL语言是一种硬件电路的建模描述语言,因此与普通的计算机语言有较大差别。普通计算机语言是CPU按照时钟的节拍,一条指令执行完后才能执行下一条指令,因此指令执行是有先后顺序的,也即是顺序执行,而每条指令的执行占用特定的时间。而与VHDL语言描述结果相对应的是硬件电路,它遵循硬件电路的特点,语句的执行没有先后顺序,是并发的执行的,而且语句的执行不象普通软件那样每条指令占用一定的时间,只是遵循硬件电路自身的延迟时间。

剩余内容已隐藏,支付完成后下载完整资料


资料编号:[28892],资料为PDF文档或Word文档,PDF文档可免费转换为Word

您需要先支付 30元 才能查看全部内容!立即支付

发小红书推广免费获取该资料资格。点击链接进入获取推广文案即可: Ai一键组稿 | 降AI率 | 降重复率 | 论文一键排版