有没有大神帮帮孩子啊 用VHDL语言
eda吧
全部回复
仅看楼主
level 1
Poison💍 楼主
有没有大神帮帮孩子啊 用VHDL语言
2019年10月25日 07点10分 1
level 2
entity encoder8to3
port(
I : in std_logic_vector(7 downto 0);
A : out std_logic_vector(2 downto 0)
);
end encoder8to3;
architecture rtl of encoder8to3 is
begin
process(I)
begin
if(I(0) = '1') then
A <= "111";
end if;
end process;
end rtl;
优先级编码器,剩下的我就不写了
2019年10月25日 13点10分 2
1