00001 --**************************************************************
00002 --* *
00003 --* The source code for the ATLAS BCM "AAA" FPGA is made *
00004 --* available via the GNU General Public License (GPL) *
00005 --* unless otherwise stated below. *
00006 --* *
00007 --* In case of problems/questions/bug reports etc. please *
00008 --* contact michael.niegl@cern.ch *
00009 --* *
00010 --**************************************************************
00011
00012 --**************************************************************
00013 --* *
00014 --* $Source: /local/reps/bcmfpga/bcm_aaa/bcm_aaa/ddr/mem_interface_top_v4_dm_iob.vhd,v $ *
00015 --* $Revision: 1.3.2.3 $ *
00016 --* $Name: dev $ *
00017 --* $Author: mniegl $ *
00018 --* $Date: 2008/11/03 17:57:44 $ *
00019 --* *
00020 --**************************************************************
00021 -------------------------------------------------------------------------------
00022 -- Copyright (c) 2005 Xilinx, Inc.
00023 -- This design is confidential and proprietary of Xilinx, All Rights Reserved.
00024 -------------------------------------------------------------------------------
00025 -- ____ ____
00026 -- / /\/ /
00027 -- /___/ \ / Vendor: Xilinx
00028 -- \ \ \/ Version: 1.6
00029 -- \ \ Application : MIG
00030 -- / / Filename: mem_interface_top_v4_dm_iob.vhd
00031 -- /___/ /\ Date Last Modified: Wed Jun 1 2005
00032 -- \ \ / \Date Created: Mon May 2 2005
00033 -- \___\/\___\
00034 -- Device: Virtex-4
00035 -- Design Name: DDR1_SDRAM
00036 -- Description: Places the data mask signals into the IOBs.
00037 -------------------------------------------------------------------------------
00038
00039
00040 library ieee;
00041
00042 use ieee.std_logic_1164.all;
00043
00044 library unisim;
00045
00046 use unisim.vcomponents.all;
00047
00048 entity mem_interface_top_v4_dm_iob is
00049 port( CLK90 : in ;
00050 MASK_DATA_RISE : in ;
00051 MASK_DATA_Fall : in ;
00052 DDR_DM : out
00053 );
00054 end mem_interface_top_v4_dm_iob;
00055
00056 architecture arch of mem_interface_top_v4_dm_iob is
00057
00058 component ODDR
00059 generic( SRTYPE : := "SYNC";
00060 DDR_CLK_EDGE : := "SAME_EDGE"
00061 );
00062 port( Q : out ;
00063 C : in ;
00064 CE : in ;
00065 D1 : in ;
00066 D2 : in ;
00067 R : in ;
00068 S : in
00069 );
00070 end component;
00071
00072 signal vcc : ;
00073 signal gnd : ;
00074
00075
00076
00077
00078 begin
00079
00080 vcc <= '1';
00081 gnd <= '0';
00082
00083 oddr_dm: ODDR
00084 -- generic map( SRTYPE => "SYNC",
00085 -- DDR_CLK_EDGE => "SAME_EDGE"
00086 -- );
00087 port map( Q => DDR_DM,
00088 C => CLK90,
00089 CE => vcc,
00090 D1 => MASK_DATA_RISE,
00091 D2 => MASK_DATA_Fall,
00092 R => gnd,
00093 S => gnd
00094 );
00095
00096 end arch;