📄 altshift_taps1.vhd
字号:
-- megafunction wizard: %ALTSHIFT_TAPS%
-- GENERATION: STANDARD
-- VERSION: WM1.0
-- MODULE: altshift_taps
-- ============================================================
-- File Name: altshift_taps1.vhd
-- Megafunction Name(s):
-- altshift_taps
-- ============================================================
-- ************************************************************
-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
--
-- 6.0 Build 178 04/27/2006 SJ Full Version
-- ************************************************************
--Copyright (C) 1991-2006 Altera Corporation
--Your use of Altera Corporation's design tools, logic functions
--and other software and tools, and its AMPP partner logic
--functions, and any output files any of the foregoing
--(including device programming or simulation files), and any
--associated documentation or information are expressly subject
--to the terms and conditions of the Altera Program License
--Subscription Agreement, Altera MegaCore Function License
--Agreement, or other applicable license agreement, including,
--without limitation, that your use is for the sole purpose of
--programming logic devices manufactured by Altera and sold by
--Altera or its authorized distributors. Please refer to the
--applicable agreement for further details.
LIBRARY ieee;
USE ieee.std_logic_1164.all;
LIBRARY altera_mf;
USE altera_mf.all;
ENTITY altshift_taps1 IS
PORT
(
clken : IN STD_LOGIC := '1';
clock : IN STD_LOGIC ;
shiftin : IN STD_LOGIC_VECTOR (11 DOWNTO 0);
shiftout : OUT STD_LOGIC_VECTOR (11 DOWNTO 0);
taps : OUT STD_LOGIC_VECTOR (11 DOWNTO 0)
);
END altshift_taps1;
ARCHITECTURE SYN OF altshift_taps1 IS
SIGNAL sub_wire0 : STD_LOGIC_VECTOR (11 DOWNTO 0);
SIGNAL sub_wire1 : STD_LOGIC_VECTOR (11 DOWNTO 0);
COMPONENT altshift_taps
GENERIC (
lpm_type : STRING;
number_of_taps : NATURAL;
tap_distance : NATURAL;
width : NATURAL
);
PORT (
taps : OUT STD_LOGIC_VECTOR (11 DOWNTO 0);
clken : IN STD_LOGIC ;
clock : IN STD_LOGIC ;
shiftout : OUT STD_LOGIC_VECTOR (11 DOWNTO 0);
shiftin : IN STD_LOGIC_VECTOR (11 DOWNTO 0)
);
END COMPONENT;
BEGIN
taps <= sub_wire0(11 DOWNTO 0);
shiftout <= sub_wire1(11 DOWNTO 0);
altshift_taps_component : altshift_taps
GENERIC MAP (
lpm_type => "altshift_taps",
number_of_taps => 1,
tap_distance => 8,
width => 12
)
PORT MAP (
clken => clken,
clock => clock,
shiftin => shiftin,
taps => sub_wire0,
shiftout => sub_wire1
);
END SYN;
-- ============================================================
-- CNX file retrieval info
-- ============================================================
-- Retrieval info: PRIVATE: CLKEN NUMERIC "1"
-- Retrieval info: PRIVATE: GROUP_TAPS NUMERIC "0"
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone"
-- Retrieval info: PRIVATE: NUMBER_OF_TAPS NUMERIC "1"
-- Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
-- Retrieval info: PRIVATE: TAP_DISTANCE NUMERIC "8"
-- Retrieval info: PRIVATE: WIDTH NUMERIC "12"
-- Retrieval info: CONSTANT: LPM_TYPE STRING "altshift_taps"
-- Retrieval info: CONSTANT: NUMBER_OF_TAPS NUMERIC "1"
-- Retrieval info: CONSTANT: TAP_DISTANCE NUMERIC "8"
-- Retrieval info: CONSTANT: WIDTH NUMERIC "12"
-- Retrieval info: USED_PORT: clken 0 0 0 0 INPUT VCC clken
-- Retrieval info: USED_PORT: clock 0 0 0 0 INPUT NODEFVAL clock
-- Retrieval info: USED_PORT: shiftin 0 0 12 0 INPUT NODEFVAL shiftin[11..0]
-- Retrieval info: USED_PORT: shiftout 0 0 12 0 OUTPUT NODEFVAL shiftout[11..0]
-- Retrieval info: USED_PORT: taps 0 0 12 0 OUTPUT NODEFVAL taps[11..0]
-- Retrieval info: CONNECT: @shiftin 0 0 12 0 shiftin 0 0 12 0
-- Retrieval info: CONNECT: shiftout 0 0 12 0 @shiftout 0 0 12 0
-- Retrieval info: CONNECT: taps 0 0 12 0 @taps 0 0 12 0
-- Retrieval info: CONNECT: @clock 0 0 0 0 clock 0 0 0 0
-- Retrieval info: CONNECT: @clken 0 0 0 0 clken 0 0 0 0
-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
-- Retrieval info: GEN_FILE: TYPE_NORMAL altshift_taps1.vhd TRUE
-- Retrieval info: GEN_FILE: TYPE_NORMAL altshift_taps1.inc FALSE
-- Retrieval info: GEN_FILE: TYPE_NORMAL altshift_taps1.cmp TRUE
-- Retrieval info: GEN_FILE: TYPE_NORMAL altshift_taps1.bsf TRUE FALSE
-- Retrieval info: GEN_FILE: TYPE_NORMAL altshift_taps1_inst.vhd FALSE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -