dff.vhd

来自「以C语言和Java语言、嵌入式开发、算法实现为主」· VHDL 代码 · 共 24 行

VHD
24
字号
--dff2.vhd  
--v0.1

library ieee;
use ieee.std_logic_1164.all;

entity dff2 is 
	port(
		clk: in std_logic;
		in_outp: in std_logic_vector(1 downto 0);
		out_outp: out std_logic_vector(1 downto 0)
		);
end dff2;

architecture a of dff2 is
begin
process(clk,in_outp)
begin
	if rising_edge(clk) then
		out_outp<=in_outp;
	end if;
end process;
end a;
				 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?