1 |
2 |
john_fpga |
--*****************************************************************************
|
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 2005, 2006, 2007 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.6.1
|
44 |
|
|
-- \ \ Application : MIG
|
45 |
|
|
-- / / Filename : DDR2_Ram_Core_parameters_0.vhd
|
46 |
|
|
-- /___/ /\ Date Last Modified : $Date: 2010/11/26 18:25:42 $
|
47 |
|
|
-- \ \ / \ Date Created : Mon May 2 2005
|
48 |
|
|
-- \___\/\___\
|
49 |
|
|
-- Device : Spartan-3/3A/3A-DSP
|
50 |
|
|
-- Design Name : DDR2 SDRAM
|
51 |
|
|
-- Purpose : This module has the parameters used in the design
|
52 |
|
|
--*****************************************************************************
|
53 |
|
|
|
54 |
|
|
library ieee;
|
55 |
|
|
library UNISIM;
|
56 |
|
|
use ieee.std_logic_1164.all;
|
57 |
|
|
use UNISIM.VCOMPONENTS.all;
|
58 |
|
|
|
59 |
|
|
package DDR2_Ram_Core_parameters_0 is
|
60 |
|
|
|
61 |
|
|
-- The reset polarity is set to active low by default.
|
62 |
|
|
-- You can change this by editing the parameter RESET_ACTIVE_LOW.
|
63 |
|
|
-- Please do not change any of the other parameters directly by editing the RTL.
|
64 |
|
|
-- All other changes should be done through the GUI.
|
65 |
|
|
|
66 |
|
|
constant DATA_WIDTH : INTEGER := 16;
|
67 |
|
|
constant DATA_STROBE_WIDTH : INTEGER := 2;
|
68 |
|
|
constant DATA_MASK_WIDTH : INTEGER := 2;
|
69 |
|
|
constant CLK_WIDTH : INTEGER := 1;
|
70 |
|
|
constant CKE_WIDTH : INTEGER := 1;
|
71 |
|
|
constant ROW_ADDRESS : INTEGER := 13;
|
72 |
|
|
constant MEMORY_WIDTH : INTEGER := 8;
|
73 |
|
|
constant REGISTERED : INTEGER := 0;
|
74 |
|
|
constant DATABITSPERSTROBE : INTEGER := 8;
|
75 |
|
|
constant RESET_PORT : INTEGER := 0;
|
76 |
|
|
constant MASK_ENABLE : INTEGER := 1;
|
77 |
|
|
constant USE_DM_PORT : INTEGER := 1;
|
78 |
|
|
constant COLUMN_ADDRESS : INTEGER := 10;
|
79 |
|
|
constant BANK_ADDRESS : INTEGER := 2;
|
80 |
|
|
constant DEBUG_EN : INTEGER := 0;
|
81 |
|
|
constant CLK_TYPE : string := "SINGLE_ENDED";
|
82 |
|
|
constant LOAD_MODE_REGISTER : std_logic_vector(12 downto 0) := "0010100110010";
|
83 |
|
|
|
84 |
|
|
constant EXT_LOAD_MODE_REGISTER : std_logic_vector(12 downto 0) := "0000000000000";
|
85 |
|
|
|
86 |
|
|
constant RESET_ACTIVE_LOW : std_logic := '1';
|
87 |
|
|
constant RAS_COUNT_VALUE : std_logic_vector(4 downto 0) := "00101";
|
88 |
|
|
constant RP_COUNT_VALUE : std_logic_vector(2 downto 0) := "001";
|
89 |
|
|
constant RFC_COUNT_VALUE : std_logic_vector(7 downto 0) := "00001101";
|
90 |
|
|
constant TWR_COUNT_VALUE : std_logic_vector(2 downto 0) := "010";
|
91 |
|
|
constant MAX_REF_WIDTH : INTEGER := 10;
|
92 |
|
|
constant MAX_REF_CNT : std_logic_vector(9 downto 0) := "1111100111";
|
93 |
|
|
|
94 |
|
|
end DDR2_Ram_Core_parameters_0 ;
|