- 1、本文档共96页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
EDA_VHDL语言程基本结构
第三章 VHDL编程基础 3.1 概述 3.2 VHDL程序基本结构 3.3 VHDL语言要素 3.4 VHDL顺序语句 3.5 VHDL并行语句 3.6 子程序 3.7 库、程序包及其他 3.8 VHDL描述风格 3.9 基本逻辑电路设计 3.10 状态机的VHDL设计 3.1 概述 3.1.1常用硬件描述语言简介 3.1.2VHDL的优点 3.1.3VHDL程序设计约定 3.1.1常用硬件描述语言简介 VHDL、Verilog和ABEL 三者的比较 (1)逻辑描述层次 (2)设计要求 (3)综合过程 (4)对综合器的要求 (5)支持的EDA工具 (6)VHDL的优点 3.1.2 VHDL的优点 Levels of design description Register Transfer Logic (RTL) Design Description Design process for FPGAs (1) Design process for FPGAs (2) 程序例子 全加器VHDL程序 3.1.3 VHDL程序设计约定 语句结构描述中方括号[]内的内容为可选内容 对于VHDL的编译器和综合器来说,程序文字的大小是不加区分的。 注释使用双横线-- 使用层次缩进格式,同层次对齐,低层次的,较高层次的缩进两个字符 建议各个源程序文件的命名与其实体名一致 Naming and Labeling (1) VHDL is not case sensitive Example: Names or labels databus Databus DataBus DATABUS are all equivalent Naming and Labeling (2) General rules of thumb (according to VHDL-87) All names should start with an alphabet character (a-z or A-Z) Use only alphabet characters (a-z or A-Z) digits (0-9) and underscore (_) Do not use any punctuation or reserved characters within a name (!, ?, ., , +, -, etc.) Do not use two or more consecutive underscore characters (__) within a name (e.g., Sel__A is invalid) All names and labels in a given entity and architecture must be unique Free Format VHDL is a “free format” language No formatting conventions, such as spacing or indentation imposed by VHDL compilers. Space and carriage return treated the same way. Example: if (a=b) then or if (a=b) then or if (a = b) then are all equivalent Readability standards Consistent Writing Style Consistent Naming Conventions Consistent Indentation Consistent Commenting Style Recommended File Headers File naming and contents Number of statements/declarations per line Ordering of port and signal declarations Constructs to avoid Comments Comments in VHDL are indicated with a “double dash”, i.e., “--” Comment indicator can be placed anywhere in the line Any text that follows in the same line is treated as a comment Carriage return terminates a comment No method for commenting a block e
您可能关注的文档
- 5机械零设计概论.ppt
- 6_武汉后湖花园完可行性研究报告.docx
- 779万高档纺织面料项目建议书.doc
- 7、形状位置公差1.ppt
- 85条高级AutoCAD程师绘图技巧.doc
- 8万方搅拌项目建议书.doc
- 8、形状和置公差2.ppt
- ActieX服务器.doc
- ACURA歌-汽车4S店员工手册.doc
- ADSL户维护手册.ppt
- 优路教育安全工程师课件.pptx
- 会务服务与说课课件.pptx
- 2024-2025学年度会计硕士高频难、易错点题附参考答案详解【黄金题型】.docx
- 2024-2025学年度会计硕士预测复习附参考答案详解(培优A卷).docx
- 2024-2025学年度会计硕士高频难、易错点题及参考答案详解(A卷).docx
- 2024-2025学年度会计硕士预测复习附参考答案详解(B卷).docx
- 2024-2025学年度会计硕士通关考试题库含答案详解AB卷.docx
- 2024-2025学年度会计硕士过关检测试卷及完整答案详解(考点梳理).docx
- 2024-2025学年度会计硕士题库试题【研优卷】附答案详解.docx
- 2024-2025学年度海船船员考试检测卷【完整版】附答案详解.docx
文档评论(0)