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

📄 generator_reg81.vhd

📁 DDS锯齿波发生器: 开发平台:maxplus+FPGA 功能: 输出X路扫屏锯齿波。频率可用键盘精确控制
💻 VHD
字号:
------------------------------------------------------------------------------------
-- DESCRIPTION   :  Flip-flop D type
--                  Width: 8
--                  Clock active: high
--                  Asynchronous clear active: high
--                  Clock enable active: high
-- 
------------------------------------------------------------------------------------



library IEEE;
use IEEE.std_logic_1164.all;

entity generator_reg81 is
	port (
		CLR : in std_logic;
		CLKK : in std_logic;
		DATA : in std_logic_vector (7 downto 0);
		Q1 : out std_logic_vector (7 downto 0)
	);
end entity;



architecture reg_arch8 of generator_reg81 is
signal TEMP_Q_1: std_logic_vector (7 downto 0);
begin

	process (CLKK, CLR)
	begin

		if CLR = '1' then
			TEMP_Q_1 <= (others => '0');
		elsif rising_edge(CLKK) then
				TEMP_Q_1 <= DATA;
		end if;

	end process;

	Q1 <= TEMP_Q_1;

end architecture;

⌨️ 快捷键说明

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