?? shift.vhd
字號:
-- megafunction wizard: %Shift register (RAM-based)%
-- GENERATION: STANDARD
-- VERSION: WM1.0
-- MODULE: altshift_taps
-- ============================================================
-- File Name: shift.vhd
-- Megafunction Name(s):
-- altshift_taps
-- ============================================================
-- ************************************************************
-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
--
-- 5.0 Build 148 04/26/2005 SJ Full Version
-- ************************************************************
--Copyright (C) 1991-2005 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.altera_mf_components.all;
ENTITY shift IS
PORT
(
shiftin : IN STD_LOGIC_VECTOR (95 DOWNTO 0);
clock : IN STD_LOGIC ;
shiftout : OUT STD_LOGIC_VECTOR (95 DOWNTO 0);
taps : OUT STD_LOGIC_VECTOR (95 DOWNTO 0)
);
END shift;
ARCHITECTURE SYN OF shift IS
SIGNAL sub_wire0 : STD_LOGIC_VECTOR (95 DOWNTO 0);
SIGNAL sub_wire1 : STD_LOGIC_VECTOR (95 DOWNTO 0);
COMPONENT altshift_taps
GENERIC (
width : NATURAL;
number_of_taps : NATURAL;
tap_distance : NATURAL;
lpm_type : STRING
);
PORT (
taps : OUT STD_LOGIC_VECTOR (95 DOWNTO 0);
clock : IN STD_LOGIC ;
shiftout : OUT STD_LOGIC_VECTOR (95 DOWNTO 0);
shiftin : IN STD_LOGIC_VECTOR (95 DOWNTO 0)
);
END COMPONENT;
BEGIN
taps <= sub_wire0(95 DOWNTO 0);
shiftout <= sub_wire1(95 DOWNTO 0);
altshift_taps_component : altshift_taps
GENERIC MAP (
width => 96,
number_of_taps => 1,
tap_distance => 16,
lpm_type => "altshift_taps"
)
PORT MAP (
clock => clock,
shiftin => shiftin,
taps => sub_wire0,
shiftout => sub_wire1
);
END SYN;
-- ============================================================
-- CNX file retrieval info
-- ============================================================
-- Retrieval info: PRIVATE: WIDTH NUMERIC "96"
-- Retrieval info: PRIVATE: NUMBER_OF_TAPS NUMERIC "1"
-- Retrieval info: PRIVATE: TAP_DISTANCE NUMERIC "16"
-- Retrieval info: PRIVATE: GROUP_TAPS NUMERIC "0"
-- Retrieval info: PRIVATE: CLKEN NUMERIC "0"
-- Retrieval info: PRIVATE: RAM_BLOCK_TYPE NUMERIC "0"
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone"
-- Retrieval info: CONSTANT: WIDTH NUMERIC "96"
-- Retrieval info: CONSTANT: NUMBER_OF_TAPS NUMERIC "1"
-- Retrieval info: CONSTANT: TAP_DISTANCE NUMERIC "16"
-- Retrieval info: CONSTANT: LPM_TYPE STRING "altshift_taps"
-- Retrieval info: USED_PORT: shiftin 0 0 96 0 INPUT NODEFVAL shiftin[95..0]
-- Retrieval info: USED_PORT: shiftout 0 0 96 0 OUTPUT NODEFVAL shiftout[95..0]
-- Retrieval info: USED_PORT: taps 0 0 96 0 OUTPUT NODEFVAL taps[95..0]
-- Retrieval info: USED_PORT: clock 0 0 0 0 INPUT NODEFVAL clock
-- Retrieval info: CONNECT: @shiftin 0 0 96 0 shiftin 0 0 96 0
-- Retrieval info: CONNECT: shiftout 0 0 96 0 @shiftout 0 0 96 0
-- Retrieval info: CONNECT: taps 0 0 96 0 @taps 0 0 96 0
-- Retrieval info: CONNECT: @clock 0 0 0 0 clock 0 0 0 0
-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
-- Retrieval info: GEN_FILE: TYPE_NORMAL shift.vhd TRUE
-- Retrieval info: GEN_FILE: TYPE_NORMAL shift.inc FALSE
-- Retrieval info: GEN_FILE: TYPE_NORMAL shift.cmp TRUE
-- Retrieval info: GEN_FILE: TYPE_NORMAL shift.bsf TRUE FALSE
-- Retrieval info: GEN_FILE: TYPE_NORMAL shift_inst.vhd TRUE
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -