三菱PLC驱动双位七段数码管译码程序
三菱PLC驱动双位七段数码管译码程序
日期:2016-01-01 12:21:45 人气:1
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity ymq is
port
(
num:in std_logic_vector(3 downto 0);
dout:out std_logic_vector(6 downto 0)
);
end ymq;
architecture a1