- 1、本文档共25页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Digital Design — Pinciples and Practices Digital Design — Pinciples and Practices 内部结构不一样 CPLD以乘积项结构方式来构成逻辑行为 FPGA以查找表结构方式来构成逻辑行为 CPLD VS FPGA 配置方式不一样 CPLD基于内部的E2PROM或FLASH来存放编程信息,断电时不丢失。 编程次数可达1万次。 FPGA基于内部SRAM来存放编程信息,断电时丢失。每次上电时需从器件 外部将编程信息重新写入SRAM中。编程任意次,可在工作中动态配置。 集成度不一样 CPLD集成度较低,适合于2万门以下的应用。 FPGA集成度较高,适合于1万门以上的应用。 速度不一样 CPLD的速度比FPGA快。 内部延迟不一样 CPLD是逻辑块级编程,内部采用固定长度的金属线进行各逻辑块的互连, 其时序延迟是均匀的、可预测的。 FPGA是门级编程,内部采用分段式布线结构,其延迟不可预测。 CPLD VS FPGA 必威体育官网网址性不一样 CPLD必威体育官网网址性好,FPGA必威体育官网网址性差。 功耗不一样 CPLD的功耗比FPGA大 。 适用场合不一样 CPLD适合于乘积项丰富的组合逻辑,如编、译码器。 FPGA适合于触发器丰富的时序逻辑。 象棋谱 似曾相识的硬件描述语言 红方:马八进七 黑方:卒三进一 黑方:炮二平五 ...... HDL Design Tools Text Editor (文本编辑器) Compiler (编译器) Synthesizer (综合器) Simulator (仿真器) Waveform Editor (波形编辑器) Verilog HDL Structure Verilog HDL Use Text description to replace Schematic description. Large design and time delay can be easily described. Modification can be easily done. Verilog HDL Structure Verilog HDL ? Module is the basic unit in Verilog. voter Name Port Port Verilog HDL Structure Verilog HDL voter module voter (a,b,c,f); input a,b,c; output f; … … endmodule Save as voter.v Verilog HDL Structure Verilog HDL Two kinds of signal : port : input and output wire : any connect nets in module The value of signals: 0 1 z x input output wire Verilog HDL Structure Verilog HDL module voter (a,b,c,f); input a,b,c; output f; wire w1,w2,w3; … … endmodule Logic Operations Verilog HDL Logic operators for bit data: y = a b; y = a | b; y = ~ a; (优先级最高) y = a ^ b; Dataflow Description Verilog HDL module voter (a,b,c,f); input a,b,c; output f; wire w1,w2,w3; assign w1 = a b; assign w2 = b c; assign w3 = a c; assign f = w1 | w2 | w3; endmodule 连续赋值 适用于组合逻辑 Dataflow Description Verilog HDL module voter (a,b,c,f); input a,b,c; output f; wire w1,w2,w3; assign f = (a b) | (b c) | (a c); endmodule Structure Description Verilog HDL Use built_in gates fo
文档评论(0)