* ========== Copyright Header Begin ==========================================
* OpenSPARC T2 Processor File: global.h
* Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved
* 4150 Network Circle, Santa Clara, California 95054, U.S.A.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* For the avoidance of doubt, and except that if any non-GPL license
* choice is available it will apply instead, Sun elects to use only
* the General Public License version 2 (GPLv2) at this time for any
* software where a choice of GPL license versions is made
* available with the language indicating that GPLv2 or any later version
* may be used, or where a choice of which version of the GPL is applied is
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* ========== Copyright Header End ============================================
`define PR_ALWAYS $dispmon
// Stingray uses parts of fbdimm model, so FBDIMM_FAST flag cannot be verified at this point
`ifdef AXIS_FBDIMM_NO_FSR
`define FBDIMM_FAST_IDLE
1
`define AXIS_FBDIMM_1AMB
1
`define FBDIMM_FAST_CURR
1
`define FBDIMM_FAST_INIT
1
`define FBDIMM_ENABLE_SELF_REF_FSM
1
`define AMB_INIT_DISABLE
4'b0000
`define AMB_INIT_TRAIN
4'b0001
`define AMB_INIT_TEST
4'b0010
`define AMB_INIT_POLL
4'b0011
`define AMB_INIT_CONFIG
4'b0100
`define AMB_INIT_LO
4'b0101
`define AMB_INIT_LOS
4'b0110
`define AMB_INIT_CALIB
4'b0111
`define AMB_INIT_RECALIB
4'b1000
`define TS0_FRAMES
50 //3180 // 265 ts0 * 12 cyc/frame
`define tCalibrate
5760 // 480K frames = 480 * 12 cycles per frame
`define tClkTrain
10 //504 // 42 frames = 42 * 12 cycles per frame
`define tBitLock
1428 // 119 frames = 119 * 12 cycles per frame
`define tFrameLock
1848 // 154 frames = 154 * 12 cycles per frame
`define tEIPropagate
48 // 4 frames = 4 * 12 cycles per frame
`define tDisable
10 //612 // 51 frames = 51 * 12 cycles per frame
`define tEDisable
10 //240 // 20 frames = 20 * 12 cycles per frame
`define CMD_DRAM_CKE_DIMM
20
`define CMD_DRAM_CKE_RANK
21