网站大量收购独家精品文档,联系QQ:2885784924

EDA_HDL的基本描述语句.ppt

  1. 1、本文档共250页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
EDA_HDL的基本描述语句

case 表达式的注意点 所有分支都要覆盖且不重叠 选择项是静态值 Others用于最后,且唯一 十一、 文本文件操作(TEXTIO) 十五、 决断函数 决断函数定义了当一个信号有多个驱动源时以什么样的方式将这些驱动源的值决断为一个单一的值。 顺序语句和并发语句 3.8 VHDL描述风格 行为描述 数据流(寄存器传输)描述 结构描述 VHDL Design Styles Entity (XOR3 Gate) entity XOR3 is port( A : in STD_LOGIC; B : in STD_LOGIC; C : in STD_LOGIC; RESULT : out STD_LOGIC ); end XOR3; Dataflow Architecture (XOR3 Gate) Dataflow Description Describes how data moves through the system and the various processing steps. Data Flow uses series of concurrent statements to realize logic. Concurrent statements are evaluated at the same time; thus, order of these statements doesn’t matter. Data Flow is most useful style when series of Boolean equations can represent a logic. Structural Architecture (XOR3 Gate) architecture XOR3_STRUCTURAL of XOR3 is signal U1_OUT:STD_LOGIC; component XOR2 is port( I1 : in STD_LOGIC; I2 : in STD_LOGIC; Y : out STD_LOGIC ); end component; begin U1: XOR2 port map (I1 = A, I2 = B, Y = U1_OUT); U2: XOR2 port map (I1 = U1_OUT, I2 = C, Y = RESULT); end XOR3_STRUCTURAL; Component and Instantiation (1) Named association connectivity (recommended) Component and Instantiation (2) Positional association connectivity (not recommended) Structural Description Structural design is the simplest to understand. This style is the closest to schematic capture and utilizes simple building blocks to compose logic functions. Components are interconnected in a hierarchical manner. Structural descriptions may connect simple gates or complex, abstract components. Structural style is useful when expressing a design that is naturally composed of sub-blocks. Behavioral Architecture (XOR Gate) architecture XOR3_BEHAVIORAL of XOR3 is begin XOR3_BEHAVE: process (A,B,C) begin if ((A xor B xor C) = 1) then RESULT = 1; else RESULT = 0; end if; end process XOR3_BEHAVE; end XOR3_BEHAVIORAL; Behavioral Description It

文档评论(0)

skvdnd51 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档