组成实验报告-计算机22_第1页
组成实验报告-计算机22_第2页
组成实验报告-计算机22_第3页
已阅读5页,还剩4页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、实验实验实验分析VHDL程序代码,写出寄存器组模块的设计思路( 个数为 64)并且完成相关的读写操作。实验实验实验分析VHDL程序代码,写出寄存器组模块的设计思路( 个数为 64)并且完成相关的读写操作。实验原,设计思路与源代 源代码libraryuseentityregister_16is: in : in std_logic_vector(15downto: inlibraryuseentityregister_16is: in : in std_logic_vector(15downto: in : in : in end : out std_logic_vector(15downto

2、architectureaofregister_16is if reset =0q_output = elsif(clkeventandclk=1)then if sel = 1 and write = 1 thenend if;end end pro end a;2-4libraryuseentitydecoder2_to_4 port: std_logic_vector(1 downtosel00 : out std_logic; sel01 : out std_logic; sel02 : out std_logic; sel03:outstd_logicend architecture

3、behavioralofdecoder2_to_4 =(not sel(1) and(not =(not sel(1) andsel(0)=sel(1) and(not=sel(1) and end libraryentity mux4_to_1 is : in std_logic_vector(15downto =sel(1) and end libraryentity mux4_to_1 is : in std_logic_vector(15downto end : in std_logic_vector(1downto : out std_logic_vector(15downto ar

4、chitecturebehavioralofmux4_to_1is mux:pro ,input0,input1,input2,caseselis whenwhenwhenend case;out_put=input0; out_put=input1; out_put=input2; out_put -该语句将底的引脚与顶层-号连接起来了;顶层设计实体的外部输入信号= -顶层设计实体的外部输入信=-该语句将底的引脚与顶层-号连接起来了;顶层设计实体的外部输入信号= -顶层设计实体的外部输入信-顶层设计实体的外部输入信号 -顶层设计实体的外部输入信号 =q_output = decoder2_t

5、o_4 port -24= = -顶层设计实体的外部输入信mux4_to_1 port-41 多路-顶层设计实体的外部输入信号 -顶层设计实体的输出信号 out_put end实验步16位寄存器的工程、2-4译的工程、4-1 实验现象分仿真图7. 实验小实验四:模块连接1. 实验目进一步掌握Vhdl7. 实验小实验四:模块连接1. 实验目进一步掌握Vhdl 掌握ISE14.*的使用(选2. 实验要3. 实验2-4 4. 设计思路与源代2-4选择器和或门,在又一个顶层实体进ABG源代码libraryuseate b1:out std_logic);architecturebehavof end behav;ate源代码libraryuseate b1:out std_logic);architecturebehavof end behav;ate2-4libraryuseentitydecoder2_to_4 port: std_logic_vector(1 downtosel00 : out std_logic; sel01 : out std_logic; sel02 : out std_logic; sel03:outstd_logicend architecturebehavioralofdecoder2_to_4 =(not s

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论