- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Lecture 13 VHDL Structural Modeling.ppt
ECE C03 Lecture 13 Lecture 13 VHDL Structural Modeling Hai Zhou ECE 303 Advanced Digital Design Spring 2002 Outline Structural VHDL Use of hierarchy Component instantiation statements Concurrent statements Test Benches READING: Dewey 12.1, 12.2, 12.3, 12.4, 13.1, 13.2, 13.3. 13.4, 13.6, 13.7. 13.8 A general VHDL design Structural Descriptions A structural description of a system is expressed in terms of subsystems interconnected by signals Each subsystem may be another design (component) or a process Component instantiation and port maps entity entity_name (architecture_identifier) port map ( port_name = signal_name expression open, ); Example of Component Instantiation entity DRAM_controller is port (rd, wr, mem: in bit; ras, cas, we, ready: out bit); end entity DRAM_controller; We can then perform a component instantiation as follows assuming that there is a corresponding architecture called “fpld” for the entity. main_mem_cont : entity work.DRAM_controller(fpld) port map(rd=cpu_rd, wr=cpu_wr, mem=cpu_mem, ready= cpu_rdy, ras=mem_ras, cas=mem_cas, we=mem_we); Example of a four-bit register Let us look at a 4-bit register built out of 4 D latches Behavioral Description of Register Structural Composition of Register Structural VHDL Description of Register Structural VHDL Description of Register Mixed Structural and Behavioral Models Models need not be purely structural or behavioral Often it is useful to specify a model with some parts composed of interconnected component instances and other parts using processes Use signals as a way to join component instances and processes A signal can be associated with a port of a component instance and can be assigned to or read in a process Example of Mixed Modeling: Multiplier Component and Signal Declarations The declarative part of the architecture STRUCTURE contains: component declaration signal declaration Example of component declaration component AND2_OP port (A, B: in bit; Z : out bit); end comp
您可能关注的文档
- CoolingChapter 13.ppt
- COPDChronic Obstructive Lung Disease.ppt
- Copyright © 2008 W. W. Norton & Company.All rights reserved..ppt
- CORPORATE GOVERNANCE.ppt
- COSOSIMO Workshop Outbrief14 March 2006.ppt
- CPEEE 428, CPE 528 Session #13.ppt
- CPSC 614 Computer Architecture Lec 18 – Storage.ppt
- Creative Problem SolvingChapter 13.ppt
- Cryptography and Network SecurityChapter 16.ppt
- CS155a E-Commerce.ppt
- Lecture 13. Dissipation of Gravity Waves.ppt
- Lecture 13.ppt
- Lecture 13Chapter 7 Deadlocks.ppt
- Lecture 13Examples of Memory Management.ppt
- Lecture 13Heteroskedasticity.ppt
- Lecture 13Mobile Data Services inWireless Environments.ppt
- Lecture 13Relational Decomposition and Relational Algebra.ppt
- Lecture 14 chi-square test, P-value.ppt
- Lecture 14 Setting Complaints.ppt
- Lecture 14 Thur., Feb. 26.ppt
文档评论(0)