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_parameters_0.vhd,v $
00015 --* $Revision: 1.4.2.3 $ *
00016 --* $Name: dev $ *
00017 --* $Author: mniegl $ *
00018 --* $Date: 2008/11/03 17:57:43 $ *
00019
00020
00021 --* *
00022 --**************************************************************
00023 -------------------------------------------------------------------------------
00024 -- Copyright (c) 2005 Xilinx, Inc.
00025 -- This design is confidential and proprietary of Xilinx, All Rights Reserved.
00026 -------------------------------------------------------------------------------
00027 -- ____ ____
00028 -- / /\/ /
00029 -- /___/ \ / Vendor: Xilinx
00030 -- \ \ \/ Version: 1.6
00031 -- \ \ Application : MIG
00032 -- / / Filename: mem_interface_top_parameters_0.vhd
00033 -- /___/ /\ Date Last Modified: Wed Jun 1 2005
00034 -- \ \ / \Date Created: Mon May 2 2005
00035 -- \___\/\___\
00036 -- Device: Virtex-4
00037 -- Design Name: DDR1_SDRAM
00038 -------------------------------------------------------------------------------
00039
00040
00041 library ieee;
00042
00043 use ieee.std_logic_1164.all;
00044
00045 library unisim;
00046
00047 use unisim.vcomponents.all;
00048
00049
00050
00051
00052
00053
00054 package mem_interface_top_parameters_0 is
00055
00056 constant data_width : := 32;
00057 constant data_strobe_width : := 4;
00058 constant data_mask_width : := 4;
00059 constant clk_width : := 2;
00060 constant fifo_16 : := 2;
00061 constant ReadEnable : := 1;
00062 constant row_address : := 13;
00063 constant column_address : := 9;
00064 constant bank_address : := 2;
00065 constant memory_width : := 8;
00066 constant DatabitsPerReadClock : := 8;
00067 constant DatabitsPerMask : := 8;
00068 constant no_of_cs : := 1;
00069 constant data_mask : := 1;
00070 constant mask_disable : := 0;
00071 constant RESET : := 0;
00072 constant dimm : := 0;
00073 constant comp : := 1;
00074 constant cke_width : := 1;
00075 constant registered : := 0;
00076 constant unbuffered : := 1;
00077 constant col_ap_width : := 11;
00078 constant tb_enable : := 0;
00079 constant tb_disable : := 1;
00080 constant dcm_enable : := 1;
00081 constant dcm_disable : := 0;
00082 constant low_frequency : := 0;
00083 constant high_frequency : := 1;
00084 constant foundation_ise : := 1;
00085 constant Data8PerReadEnable : := 1;
00086 constant Data4PerReadEnable : := 0;
00087 constant burst_length : (2 downto 0) := "011";
00088 constant burst_type : := '0';
00089 constant cas_latency_value : (2 downto 0) := "011";
00090 constant Operating_mode : (4 downto 0) := "00000";
00091 constant load_mode_register : (12 downto 0) := "0000000110011";
00092 constant dll_enable : := '0';
00093 constant drive_strengh : := '0';
00094 constant ext_load_mode_register : (12 downto 0) := "0000000000000";
00095 constant chip_address : := 1;
00096 constant rcd_count_value : (2 downto 0) := "010";
00097 constant ras_count_value : (3 downto 0) := "0110";
00098 constant mrd_count_value : := '0';
00099 constant rp_count_value : (2 downto 0) := "010";
00100 constant rfc_count_value : (5 downto 0) := "001011";
00101 constant twr_count_value : (2 downto 0) := "110";
00102 constant twtr_count_value : (2 downto 0) := "100";
00103 constant max_ref_width : := 7;
00104 constant max_ref_cnt : (6 downto 0) := "1001100";
00105 constant ecc_enable : := '0';
00106 constant ecc_disable : := '1';
00107 constant ecc_width : := 0;
00108 constant Phy_Mode : := '1';
00109 constant trtp_count_value : (2 downto 0) := "011";
00110 constant odt_enable : := 0;
00111 constant rc_count_value : (3 downto 0) := "1111"; -- active to active same bank = tRC-1
00112 constant read_enables : := 1;
00113 constant cs_h0 : (3 downto 0) := "0000";
00114 constant cs_hE : (3 downto 0) := "1110";
00115 constant cs_hD : (3 downto 0) := "1101";
00116 constant cs_hB : (3 downto 0) := "1011";
00117 constant cs_h7 : (3 downto 0) := "0111";
00118 constant cs_hF : (3 downto 0) := "1111";
00119 constant add_const1 : (15 downto 0) := X"0400";
00120 constant add_const2 : (15 downto 0) := X"0100";
00121 constant add_const3 : (15 downto 0) := X"0000";
00122 constant add_const4 : (15 downto 0) := X"FBFF";
00123 constant add_const5 : (15 downto 0) := X"FEFF";
00124
00125 end mem_interface_top_parameters_0;