decoder.vhd
来自「利用TMS320C6701开发板搭建的移动视频电话平台」· VHDL 代码 · 共 17 行
VHD
17 行
-- Memory decoder module for the Mobile Videophone Thesis. It is
-- set to send the output high when the address is 0x01000000.
library ieee;
use ieee.std_logic_1164.all;
entity MEM_DEC is
port(XA21,XA20,XA5,XA4,XA3,XA2,XRE,XOE,XWE,XCE1: in BIT; DOE: out BIT);
end MEM_DEC;
architecture behavioral of MEM_DEC is
begin
process (XA21,XA20,XA5,XA4,XA3,XA2,XRE,XOE,XWE,XCE1)
variable READ,WRITE: BIT;
begin
READ := not XA21 and not XA20 and not XA5 and not XA4 and not XOE and not
XRE and XWE and not XCE1;
DOE <= READ and not XA3 and not XA2;
end process;
end behavioral;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?