- 5
- 0
- 约9.35千字
- 约 27页
- 2015-09-25 发布于重庆
- 举报
eda课上练习题
习题课 4.4 generic decoder library ieee; use ieee.std_logic_1164.all; entity g44 is generic(n:integer:=3); port(ena: in std_logic; x: out std_logic_vector(2**n-1 downto 0); sel:in integer ); end g44; architecture g of g44 is begin process(ena,sel) variable t1:std_logic_vector(xhigh downto 0); begin t1:=(others=1); if(ena=1) then t1(sel):=0; end if; x=t1; end process; end g; 5.2 priority encoder (a) Using only operators Entity priority_encoder is port(x:in bit_vector(7 downto 1); y:out bit_vector(2 downto 0)); End priority
您可能关注的文档
最近下载
- 【培训课件】城市地下管网体检更新政策与路径.pptx
- SJT11852-2022 服务机器人用锂离子电池和电池组通用规范.pdf VIP
- 2026年度恩施职业技术学院单招《语文》模考模拟试题附完整答案详解【各地真题】.docx VIP
- 老年协会管理制度.docx VIP
- 机修钳工(中级)实操模拟考试题库附答案.docx VIP
- 2026【苏教版】-六年级数学下册第1单元 正比例的意义.ppt VIP
- 小学语文新课程标准.docx VIP
- 1000道100以内进位退位加减法题理创编[001].pdf VIP
- 2025年上半年四川省事业单位公开招聘《卫生公共基础(不含中医)》真题卷.docx VIP
- DB32/T+5065-2025+卫生健康非现场执法数据交换接口规范.pdf VIP
原创力文档

文档评论(0)