dff.vhd

来自「This is a project about PWM. Application」· VHDL 代码 · 共 28 行

VHD
28
字号
------------------------------------------------------------------------------ d-flipflop ----------------------------------------------------------------------------library IEEE;use IEEE.STD_LOGIC_1164.ALL;use IEEE.STD_LOGIC_ARITH.ALL;use IEEE.STD_LOGIC_UNSIGNED.ALL;entity dff is  port(    clk: in std_logic;    input: in std_logic;    output: out std_logic  );end dff;architecture behavioral of dff isbegin  process(clk)    begin      if rising_edge(clk) then	output <= input;      end if;    end process;end behavioral;

⌨️ 快捷键说明

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