173 lines
6.6 KiB
VHDL
173 lines
6.6 KiB
VHDL
-- megafunction wizard: %ALTDDIO_BIDIR%
|
|
-- GENERATION: STANDARD
|
|
-- VERSION: WM1.0
|
|
-- MODULE: altddio_bidir
|
|
|
|
-- ============================================================
|
|
-- File Name: altddio_bidir0.vhd
|
|
-- Megafunction Name(s):
|
|
-- altddio_bidir
|
|
--
|
|
-- Simulation Library Files(s):
|
|
-- altera_mf
|
|
-- ============================================================
|
|
-- ************************************************************
|
|
-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
|
|
--
|
|
-- 8.1 Build 163 10/28/2008 SJ Web Edition
|
|
-- ************************************************************
|
|
|
|
|
|
--Copyright (C) 1991-2008 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.
|
|
|
|
|
|
LIBRARY ieee;
|
|
USE ieee.std_logic_1164.all;
|
|
|
|
LIBRARY altera_mf;
|
|
USE altera_mf.all;
|
|
|
|
ENTITY altddio_bidir0 IS
|
|
PORT
|
|
(
|
|
datain_h : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
datain_l : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
inclock : IN STD_LOGIC ;
|
|
oe : IN STD_LOGIC := '1';
|
|
outclock : IN STD_LOGIC ;
|
|
combout : OUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
dataout_h : OUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
dataout_l : OUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
padio : INOUT STD_LOGIC_VECTOR (31 DOWNTO 0)
|
|
);
|
|
END altddio_bidir0;
|
|
|
|
|
|
ARCHITECTURE SYN OF altddio_bidir0 IS
|
|
|
|
SIGNAL sub_wire0 : STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
SIGNAL sub_wire1 : STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
SIGNAL sub_wire2 : STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
|
|
|
|
|
|
COMPONENT altddio_bidir
|
|
GENERIC (
|
|
extend_oe_disable : STRING;
|
|
implement_input_in_lcell : STRING;
|
|
intended_device_family : STRING;
|
|
invert_output : STRING;
|
|
lpm_type : STRING;
|
|
oe_reg : STRING;
|
|
power_up_high : STRING;
|
|
width : NATURAL
|
|
);
|
|
PORT (
|
|
outclock : IN STD_LOGIC ;
|
|
padio : INOUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
inclock : IN STD_LOGIC ;
|
|
dataout_h : OUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
oe : IN STD_LOGIC ;
|
|
datain_h : IN STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
combout : OUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
dataout_l : OUT STD_LOGIC_VECTOR (31 DOWNTO 0);
|
|
datain_l : IN STD_LOGIC_VECTOR (31 DOWNTO 0)
|
|
);
|
|
END COMPONENT;
|
|
|
|
BEGIN
|
|
dataout_h <= sub_wire0(31 DOWNTO 0);
|
|
combout <= sub_wire1(31 DOWNTO 0);
|
|
dataout_l <= sub_wire2(31 DOWNTO 0);
|
|
|
|
altddio_bidir_component : altddio_bidir
|
|
GENERIC MAP (
|
|
extend_oe_disable => "UNUSED",
|
|
implement_input_in_lcell => "ON",
|
|
intended_device_family => "Cyclone III",
|
|
invert_output => "OFF",
|
|
lpm_type => "altddio_bidir",
|
|
oe_reg => "UNUSED",
|
|
power_up_high => "OFF",
|
|
width => 32
|
|
)
|
|
PORT MAP (
|
|
outclock => outclock,
|
|
inclock => inclock,
|
|
oe => oe,
|
|
datain_h => datain_h,
|
|
datain_l => datain_l,
|
|
dataout_h => sub_wire0,
|
|
combout => sub_wire1,
|
|
dataout_l => sub_wire2,
|
|
padio => padio
|
|
);
|
|
|
|
|
|
|
|
END SYN;
|
|
|
|
-- ============================================================
|
|
-- CNX file retrieval info
|
|
-- ============================================================
|
|
-- Retrieval info: PRIVATE: ARESET_MODE NUMERIC "2"
|
|
-- Retrieval info: PRIVATE: CLKEN NUMERIC "0"
|
|
-- Retrieval info: PRIVATE: EXTEND_OE_DISABLE NUMERIC "0"
|
|
-- Retrieval info: PRIVATE: IMPLEMENT_INPUT_IN_LCELL NUMERIC "0"
|
|
-- Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
|
|
-- Retrieval info: PRIVATE: OE NUMERIC "1"
|
|
-- Retrieval info: PRIVATE: OE_REG NUMERIC "0"
|
|
-- Retrieval info: PRIVATE: POWER_UP_HIGH NUMERIC "0"
|
|
-- Retrieval info: PRIVATE: SRESET_MODE NUMERIC "2"
|
|
-- Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0"
|
|
-- Retrieval info: PRIVATE: USE_COMBOUT NUMERIC "1"
|
|
-- Retrieval info: PRIVATE: USE_DATAOUT NUMERIC "1"
|
|
-- Retrieval info: PRIVATE: USE_DQS_UNDELAYOUT NUMERIC "0"
|
|
-- Retrieval info: PRIVATE: WIDTH NUMERIC "32"
|
|
-- Retrieval info: CONSTANT: EXTEND_OE_DISABLE STRING "UNUSED"
|
|
-- Retrieval info: CONSTANT: IMPLEMENT_INPUT_IN_LCELL STRING "ON"
|
|
-- Retrieval info: CONSTANT: INTENDED_DEVICE_FAMILY STRING "Cyclone III"
|
|
-- Retrieval info: CONSTANT: INVERT_OUTPUT STRING "OFF"
|
|
-- Retrieval info: CONSTANT: LPM_TYPE STRING "altddio_bidir"
|
|
-- Retrieval info: CONSTANT: OE_REG STRING "UNUSED"
|
|
-- Retrieval info: CONSTANT: POWER_UP_HIGH STRING "OFF"
|
|
-- Retrieval info: CONSTANT: WIDTH NUMERIC "32"
|
|
-- Retrieval info: USED_PORT: combout 0 0 32 0 OUTPUT NODEFVAL combout[31..0]
|
|
-- Retrieval info: USED_PORT: datain_h 0 0 32 0 INPUT NODEFVAL datain_h[31..0]
|
|
-- Retrieval info: USED_PORT: datain_l 0 0 32 0 INPUT NODEFVAL datain_l[31..0]
|
|
-- Retrieval info: USED_PORT: dataout_h 0 0 32 0 OUTPUT NODEFVAL dataout_h[31..0]
|
|
-- Retrieval info: USED_PORT: dataout_l 0 0 32 0 OUTPUT NODEFVAL dataout_l[31..0]
|
|
-- Retrieval info: USED_PORT: inclock 0 0 0 0 INPUT_CLK_EXT NODEFVAL inclock
|
|
-- Retrieval info: USED_PORT: oe 0 0 0 0 INPUT VCC oe
|
|
-- Retrieval info: USED_PORT: outclock 0 0 0 0 INPUT_CLK_EXT NODEFVAL outclock
|
|
-- Retrieval info: USED_PORT: padio 0 0 32 0 BIDIR NODEFVAL padio[31..0]
|
|
-- Retrieval info: CONNECT: @datain_h 0 0 32 0 datain_h 0 0 32 0
|
|
-- Retrieval info: CONNECT: @datain_l 0 0 32 0 datain_l 0 0 32 0
|
|
-- Retrieval info: CONNECT: padio 0 0 32 0 @padio 0 0 32 0
|
|
-- Retrieval info: CONNECT: @outclock 0 0 0 0 outclock 0 0 0 0
|
|
-- Retrieval info: CONNECT: @oe 0 0 0 0 oe 0 0 0 0
|
|
-- Retrieval info: CONNECT: dataout_h 0 0 32 0 @dataout_h 0 0 32 0
|
|
-- Retrieval info: CONNECT: dataout_l 0 0 32 0 @dataout_l 0 0 32 0
|
|
-- Retrieval info: CONNECT: @inclock 0 0 0 0 inclock 0 0 0 0
|
|
-- Retrieval info: CONNECT: combout 0 0 32 0 @combout 0 0 32 0
|
|
-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL altddio_bidir0.vhd TRUE
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL altddio_bidir0.ppf TRUE
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL altddio_bidir0.inc TRUE
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL altddio_bidir0.cmp TRUE
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL altddio_bidir0.bsf TRUE FALSE
|
|
-- Retrieval info: GEN_FILE: TYPE_NORMAL altddio_bidir0_inst.vhd FALSE
|
|
-- Retrieval info: LIB_FILE: altera_mf
|