alt_dspbuilder_clock_gn7862.vhd
来自「NCO的VHDL程序」· VHDL 代码 · 共 36 行
VHD
36 行
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_arith.all;
use IEEE.std_logic_unsigned.all;
library altera;
use altera.alt_dspbuilder_package.all;
library lpm;
use lpm.lpm_components.all;
entity alt_dspbuilder_clock_GN7862 is
generic ( RESET : string := "ACTIVE_LOW"; DOMAIN : string := "default");
port( clock_out : out std_logic; aclr_out : out std_logic; clock : in std_logic; aclr_n : in std_logic);
end entity;
architecture rtl of alt_dspbuilder_clock_GN7862 is
Begin
-- Straight Bypass Clock
clock_out <= clock;
-- reset logic
aclr_out <= not(aclr_n);
end architecture;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?