📄 out_mux.vhd
字号:
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
library basic;
use basic.mnemonics.all;
entity out_mux is port(
ad,f:in unsigned(3 downto 0);
dest_ctl:in std_logic_vector(2 downto 0);
oe:in std_logic;
y:buffer unsigned(3 downto 0));
end out_mux;
architecture archout_mux of out_mux is
signal y_int:unsigned(3 downto 0);
begin
y_int<=ad when dest_ctl=rama else f;
y<=y_int when oe='1' else "ZZZZ";
end archout_mux;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -