93 lines
3.6 KiB
Plaintext
93 lines
3.6 KiB
Plaintext
-- megafunction wizard: %LPM_CLSHIFT%
|
|
-- GENERATION: STANDARD
|
|
-- VERSION: WM1.0
|
|
-- MODULE: lpm_clshift
|
|
|
|
-- ============================================================
|
|
-- File Name: lpm_clshift0.tdf
|
|
-- Megafunction Name(s):
|
|
-- lpm_clshift
|
|
--
|
|
-- Simulation Library Files(s):
|
|
--
|
|
-- ============================================================
|
|
-- ************************************************************
|
|
-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
|
|
--
|
|
-- 9.1 Build 350 03/24/2010 SP 2 SJ Web Edition
|
|
-- ************************************************************
|
|
|
|
|
|
--Copyright (C) 1991-2010 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 from 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.
|
|
|
|
INCLUDE "lpm_clshift.inc";
|
|
|
|
|
|
|
|
SUBDESIGN lpm_clshift0
|
|
(
|
|
data[255..0] : INPUT;
|
|
distance[6..0] : INPUT;
|
|
result[255..0] : OUTPUT;
|
|
)
|
|
|
|
VARIABLE
|
|
|
|
lpm_clshift_component : lpm_clshift WITH (
|
|
LPM_SHIFTTYPE = "LOGICAL",
|
|
LPM_TYPE = "LPM_CLSHIFT",
|
|
LPM_WIDTH = 256,
|
|
LPM_WIDTHDIST = 7
|
|
);
|
|
|
|
BEGIN
|
|
|
|
result[255..0] = lpm_clshift_component.result[255..0];
|
|
lpm_clshift_component.distance[6..0] = distance[6..0];
|
|
lpm_clshift_component.direction = VCC;
|
|
lpm_clshift_component.data[255..0] = data[255..0];
|
|
END;
|
|
|
|
|
|
|
|
-- ============================================================
|
|
-- CNX file retrieval info
|
|
-- ============================================================
|
|
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
|
|
-- Retrieval info: PRIVATE: LPM_SHIFTTYPE NUMERIC "0"
|
|
-- Retrieval info: PRIVATE: LPM_WIDTH NUMERIC "256"
|
|
-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
|
|
-- Retrieval info: PRIVATE: lpm_width_varies NUMERIC "0"
|
|
-- Retrieval info: PRIVATE: lpm_widthdist NUMERIC "7"
|
|
-- Retrieval info: PRIVATE: lpm_widthdist_style NUMERIC "1"
|
|
-- Retrieval info: PRIVATE: port_direction NUMERIC "1"
|
|
-- Retrieval info: CONSTANT: LPM_SHIFTTYPE STRING "LOGICAL"
|
|
-- Retrieval info: CONSTANT: LPM_TYPE STRING "LPM_CLSHIFT"
|
|
-- Retrieval info: CONSTANT: LPM_WIDTH NUMERIC "256"
|
|
-- Retrieval info: CONSTANT: LPM_WIDTHDIST NUMERIC "7"
|
|
-- Retrieval info: USED_PORT: data 0 0 256 0 INPUT NODEFVAL data[255..0]
|
|
-- Retrieval info: USED_PORT: distance 0 0 7 0 INPUT NODEFVAL distance[6..0]
|
|
-- Retrieval info: USED_PORT: result 0 0 256 0 OUTPUT NODEFVAL result[255..0]
|
|
-- Retrieval info: CONNECT: @distance 0 0 7 0 distance 0 0 7 0
|
|
-- Retrieval info: CONNECT: @data 0 0 256 0 data 0 0 256 0
|
|
-- Retrieval info: CONNECT: result 0 0 256 0 @result 0 0 256 0
|
|
-- Retrieval info: CONNECT: @direction 0 0 0 0 VCC 0 0 0 0
|
|
-- Retrieval info: LIBRARY: lpm lpm.lpm_components.all
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_clshift0.tdf TRUE
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_clshift0.inc TRUE
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_clshift0.cmp TRUE
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_clshift0.bsf TRUE FALSE
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL lpm_clshift0_inst.tdf FALSE
|