⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dflipflop.vhd

📁 利用VHDL编写的counter程序
💻 VHD
字号:
------------------------------------------------------------------------------------ Create Date:    22:44:20 10/05/2008 -- Design Name: Chu Kuang Liu-- Module Name:    Dflipflop - Behavioral -- Affiliation: -- Description: D Flip-Flop---- Dependencies: ---- Revision: -- Revision 0.01 - File Created-- Additional Comments: ------------------------------------------------------------------------------------library IEEE;use IEEE.STD_LOGIC_1164.ALL;use IEEE.STD_LOGIC_ARITH.ALL;use IEEE.STD_LOGIC_UNSIGNED.ALL;---- Uncomment the following library declaration if instantiating---- any Xilinx primitives in this code.--library UNISIM;--use UNISIM.VComponents.all;entity Dflipflop is    Port ( D : in  STD_LOGIC;           CK : in  STD_LOGIC;           Q : out  STD_LOGIC);end Dflipflop;architecture Behavioral of Dflipflop isbegin   process(CK)    begin      if (CK'event) and (CK = '1') then       Q <= D;	end if;   end process;	end Behavioral;

⌨️ 快捷键说明

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