空气炸锅手表冰箱自行车空调电视机瓷砖蓝牙耳机益生菌洗衣机
天猫优惠券 9块9精选 每日更新

如何用VHDL语言编程实现一个3-8线译码器

於英姑2023-09-24 10:16:16 关注 译码器品牌榜
1个回答
音响虚心2023-09-24 10:16:16

--======================================
-- Decoder
--======================================
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_unsigned.all;

entity dec3_8 is
port (
din : in std_logic_vector(2 downto 0) ;
dout : out std_logic_vector(7 downto 0) ;
);
end dec3_8 ;

architecture RTL of dec3_8 is
begin
dout <= "10000000" when ( din =

33赞
相关问答

热门推荐

浙ICP备18038099号-3


如果有侵权投诉请联系QQ:50734858