📄 gmajcounter.vhd
字号:
library ieee;
use ieee.std_logic_1164.all;
entity gmajpfi is
port(
ch : in std_logic_vector(2 downto 0);
a : in std_logic_vector(3 downto 0);
b : in std_logic_vector(3 downto 0);
c : in std_logic_vector(3 downto 0);
dataout : out std_logic_vector(3 downto 0));
end gmajpfi;
architecture rtl of gmajpfi is
begin
dataout<=a when ch="000"else
b when ch="001"else
c;
end rtl;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -