| 1 | 412 | julius | //*****************************************************************************
 | 
      
         | 2 |  |  | // DISCLAIMER OF LIABILITY
 | 
      
         | 3 |  |  | //
 | 
      
         | 4 |  |  | // This file contains proprietary and confidential information of
 | 
      
         | 5 |  |  | // Xilinx, Inc. ("Xilinx"), that is distributed under a license
 | 
      
         | 6 |  |  | // from Xilinx, and may be used, copied and/or disclosed only
 | 
      
         | 7 |  |  | // pursuant to the terms of a valid license agreement with Xilinx.
 | 
      
         | 8 |  |  | //
 | 
      
         | 9 |  |  | // XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION
 | 
      
         | 10 |  |  | // ("MATERIALS") "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
 | 
      
         | 11 |  |  | // EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING WITHOUT
 | 
      
         | 12 |  |  | // LIMITATION, ANY WARRANTY WITH RESPECT TO NONINFRINGEMENT,
 | 
      
         | 13 |  |  | // MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx
 | 
      
         | 14 |  |  | // does not warrant that functions included in the Materials will
 | 
      
         | 15 |  |  | // meet the requirements of Licensee, or that the operation of the
 | 
      
         | 16 |  |  | // Materials will be uninterrupted or error-free, or that defects
 | 
      
         | 17 |  |  | // in the Materials will be corrected. Furthermore, Xilinx does
 | 
      
         | 18 |  |  | // not warrant or make any representations regarding use, or the
 | 
      
         | 19 |  |  | // results of the use, of the Materials in terms of correctness,
 | 
      
         | 20 |  |  | // accuracy, reliability or otherwise.
 | 
      
         | 21 |  |  | //
 | 
      
         | 22 |  |  | // Xilinx products are not designed or intended to be fail-safe,
 | 
      
         | 23 |  |  | // or for use in any application requiring fail-safe performance,
 | 
      
         | 24 |  |  | // such as life-support or safety devices or systems, Class III
 | 
      
         | 25 |  |  | // medical devices, nuclear facilities, applications related to
 | 
      
         | 26 |  |  | // the deployment of airbags, or any other applications that could
 | 
      
         | 27 |  |  | // lead to death, personal injury or severe property or
 | 
      
         | 28 |  |  | // environmental damage (individually and collectively, "critical
 | 
      
         | 29 |  |  | // applications"). Customer assumes the sole risk and liability
 | 
      
         | 30 |  |  | // of any use of Xilinx products in critical applications,
 | 
      
         | 31 |  |  | // subject only to applicable laws and regulations governing
 | 
      
         | 32 |  |  | // limitations on product liability.
 | 
      
         | 33 |  |  | //
 | 
      
         | 34 |  |  | // Copyright 2006, 2007, 2008 Xilinx, Inc.
 | 
      
         | 35 |  |  | // All rights reserved.
 | 
      
         | 36 |  |  | //
 | 
      
         | 37 |  |  | // This disclaimer and copyright notice must be retained as part
 | 
      
         | 38 |  |  | // of this file at all times.
 | 
      
         | 39 |  |  | //*****************************************************************************
 | 
      
         | 40 |  |  | //   ____  ____
 | 
      
         | 41 |  |  | //  /   /\/   /
 | 
      
         | 42 |  |  | // /___/  \  /    Vendor: Xilinx
 | 
      
         | 43 |  |  | // \   \   \/     Version: 3.0
 | 
      
         | 44 |  |  | //  \   \         Application: MIG
 | 
      
         | 45 |  |  | //  /   /         Filename: ddr2_idelay_ctrl.v
 | 
      
         | 46 |  |  | // /___/   /\     Date Last Modified: $Date: 2008/12/23 14:26:00 $
 | 
      
         | 47 |  |  | // \   \  /  \    Date Created: Wed Aug 16 2006
 | 
      
         | 48 |  |  | //  \___\/\___\
 | 
      
         | 49 |  |  | //
 | 
      
         | 50 |  |  | //Device: Virtex-5
 | 
      
         | 51 |  |  | //Design Name: DDR2
 | 
      
         | 52 |  |  | //Purpose:
 | 
      
         | 53 |  |  | //   This module instantiates the IDELAYCTRL primitive of the Virtex-5 device
 | 
      
         | 54 |  |  | //   which continuously calibrates the IDELAY elements in the region in case of
 | 
      
         | 55 |  |  | //   varying operating conditions. It takes a 200MHz clock as an input
 | 
      
         | 56 |  |  | //Reference:
 | 
      
         | 57 |  |  | //Revision History:
 | 
      
         | 58 |  |  | //   Rev 1.1 - Parameter IODELAY_GRP added and constraint IODELAY_GROUP added
 | 
      
         | 59 |  |  | //             on IOELAYCTRL primitive. Generate logic on IDELAYCTRL removed
 | 
      
         | 60 |  |  | //             since tools will replicate idelactrl primitives.PK. 11/27/08
 | 
      
         | 61 |  |  | //*****************************************************************************
 | 
      
         | 62 |  |  |  
 | 
      
         | 63 |  |  | `timescale 1ns/1ps
 | 
      
         | 64 |  |  |  
 | 
      
         | 65 |  |  | module ddr2_idelay_ctrl #
 | 
      
         | 66 |  |  |   (
 | 
      
         | 67 |  |  |    // Following parameters are for 72-bit RDIMM design (for ML561 Reference
 | 
      
         | 68 |  |  |    // board design). Actual values may be different. Actual parameters values
 | 
      
         | 69 |  |  |    // are passed from design top module ddr2_mig module. Please refer to
 | 
      
         | 70 |  |  |    // the ddr2_mig module for actual values.
 | 
      
         | 71 |  |  |    parameter IODELAY_GRP     = "IODELAY_MIG"
 | 
      
         | 72 |  |  |    )
 | 
      
         | 73 |  |  |  
 | 
      
         | 74 |  |  |   (
 | 
      
         | 75 |  |  |    input  clk200,
 | 
      
         | 76 |  |  |    input  rst200,
 | 
      
         | 77 |  |  |    output idelay_ctrl_rdy
 | 
      
         | 78 |  |  |    );
 | 
      
         | 79 |  |  |  
 | 
      
         | 80 |  |  |   (* IODELAY_GROUP = IODELAY_GRP *) IDELAYCTRL u_idelayctrl
 | 
      
         | 81 |  |  |     (
 | 
      
         | 82 |  |  |      .RDY(idelay_ctrl_rdy),
 | 
      
         | 83 |  |  |      .REFCLK(clk200),
 | 
      
         | 84 |  |  |      .RST(rst200)
 | 
      
         | 85 |  |  |      );
 | 
      
         | 86 |  |  |  
 | 
      
         | 87 |  |  | endmodule
 |