minutes_out.vhd
来自「Bcode_s_m_h.rar实现GPSB码接收、译码等工程」· VHDL 代码 · 共 26 行
VHD
26 行
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
use ieee.std_logic_arith.all;
entity minutes_out is
port(quit_in:in std_logic_vector(25 downto 0);
qa:out std_logic_vector(2 downto 0);
qb:out std_logic_vector(3 downto 0);
clk,j_in:in std_logic);
end minutes_out;
architecture a of minutes_out is
begin
process(clk,j_in)
begin
if(clk'event and clk='1')then
if(j_in='1')then
qa<=quit_in(15 downto 13);
qb<=quit_in(11 downto 8);
else
null;
end if;
end if;
end process;
end a;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?