[高等教育]第三章 组合逻辑电路.pptVIP

  • 11
  • 0
  • 约1.38万字
  • 约 53页
  • 2018-03-05 发布于浙江
  • 举报
[高等教育]第三章 组合逻辑电路

组合逻辑电路——缓冲器 单向缓冲器 在总线传输中起数据暂存缓冲的作用 Library IEEE; Use IEEE.std_logic_1164.all; Entity tri_buf8 is port ( din : in std_logic_vector(7 downto 0) ; en : in std_logic ; dout : out std_logic_vector(7 downto 0) ); End tri_buf8 ; Architecture behav of tri_buf8 is Begin process ( din ,en) begin if (en=‘1’) then dout=din; else dout=“ZZZZZZZZ”; end if ; end process; End behav; 组合逻辑电路——缓冲器 双向向缓冲器 在单向总线缓冲器的基础上加入了总线方向控制端口,使总线上的数据可以双向暂存和传输。 Library IEEE; Use IEEE.std_logic_1164.all; Entity tri_bigate is port ( a ,

文档评论(0)

1亿VIP精品文档

相关文档