1 |
32 |
redbear |
/*
|
2 |
|
|
Copyright (C) 2016 Intel Corporation
|
3 |
|
|
All rights reserved.
|
4 |
|
|
|
5 |
|
|
SPDX-License-Identifier: BSD-3-Clause
|
6 |
|
|
|
7 |
|
|
Redistribution and use in source and binary forms, with or without
|
8 |
|
|
modification, are permitted provided that the following conditions are met:
|
9 |
|
|
* Redistributions of source code must retain the above copyright
|
10 |
|
|
notice, this list of conditions and the following disclaimer.
|
11 |
|
|
* Redistributions in binary form must reproduce the above copyright
|
12 |
|
|
notice, this list of conditions and the following disclaimer in the
|
13 |
|
|
documentation and/or other materials provided with the distribution.
|
14 |
|
|
* Neither the name of Altera Corporation nor the
|
15 |
|
|
names of its contributors may be used to endorse or promote products
|
16 |
|
|
derived from this software without specific prior written permission.
|
17 |
|
|
|
18 |
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
19 |
|
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
20 |
|
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
21 |
|
|
DISCLAIMED. IN NO EVENT SHALL ALTERA CORPORATION BE LIABLE FOR ANY
|
22 |
|
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
23 |
|
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
24 |
|
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
25 |
|
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
26 |
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
27 |
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
28 |
|
|
*/
|
29 |
|
|
#ifndef _SEQUENCER_DEFINES_H_
|
30 |
|
|
#define _SEQUENCER_DEFINES_H_
|
31 |
|
|
|
32 |
|
|
#define AC_ROM_MR1_MIRR 0000000000000
|
33 |
|
|
#define AC_ROM_MR1_OCD_ENABLE
|
34 |
|
|
#define AC_ROM_MR2_MIRR 0000000010000
|
35 |
|
|
#define AC_ROM_MR3_MIRR 0000000000000
|
36 |
|
|
#define AC_ROM_MR0_CALIB
|
37 |
|
|
#define AC_ROM_MR0_DLL_RESET_MIRR 0001011001000
|
38 |
|
|
#define AC_ROM_MR0_DLL_RESET 0001100110000
|
39 |
|
|
#define AC_ROM_MR0_MIRR 0001001001001
|
40 |
|
|
#define AC_ROM_MR0 0001000110001
|
41 |
|
|
#define AC_ROM_MR1 0000000000000
|
42 |
|
|
#define AC_ROM_MR2 0000000001000
|
43 |
|
|
#define AC_ROM_MR3 0000000000000
|
44 |
|
|
#define AC_ROM_USER_ADD_0 0_0000_0000_0000
|
45 |
|
|
#define AC_ROM_USER_ADD_1 0_0000_0000_1000
|
46 |
|
|
#define AFI_CLK_FREQ 301
|
47 |
|
|
#define AFI_RATE_RATIO 1
|
48 |
|
|
#define AP_MODE 0
|
49 |
|
|
#define ARRIAVGZ 0
|
50 |
|
|
#define ARRIAV 0
|
51 |
|
|
#define AVL_CLK_FREQ 61
|
52 |
|
|
#define BFM_MODE 0
|
53 |
|
|
#define BURST2 0
|
54 |
|
|
#define CALIBRATE_BIT_SLIPS 0
|
55 |
|
|
#define CALIB_LFIFO_OFFSET 8
|
56 |
|
|
#define CALIB_VFIFO_OFFSET 6
|
57 |
|
|
#define CYCLONEV 1
|
58 |
|
|
#define DDR2 0
|
59 |
|
|
#define DDR3 1
|
60 |
|
|
#define DDRX 1
|
61 |
|
|
#define DM_PINS_ENABLED 1
|
62 |
|
|
#define ENABLE_ASSERT 0
|
63 |
|
|
#define ENABLE_BRINGUP_DEBUGGING 0
|
64 |
|
|
#define ENABLE_DELAY_CHAIN_WRITE 0
|
65 |
|
|
#define ENABLE_DQS_IN_CENTERING 1
|
66 |
|
|
#define ENABLE_DQS_OUT_CENTERING 0
|
67 |
|
|
#define ENABLE_EXPORT_SEQ_DEBUG_BRIDGE 0
|
68 |
|
|
#define ENABLE_INST_ROM_WRITE 1
|
69 |
|
|
#define ENABLE_MARGIN_REPORT_GEN 0
|
70 |
|
|
#define ENABLE_NON_DESTRUCTIVE_CALIB 0
|
71 |
|
|
#define ENABLE_NON_DES_CAL_TEST 0
|
72 |
|
|
#define ENABLE_NON_DES_CAL 0
|
73 |
|
|
#define ENABLE_SUPER_QUICK_CALIBRATION 0
|
74 |
|
|
#define ENABLE_TCL_DEBUG 0
|
75 |
|
|
#define FAKE_CAL_FAIL 0
|
76 |
|
|
#define FIX_READ_LATENCY 8
|
77 |
|
|
#define FULL_RATE 1
|
78 |
|
|
#define GUARANTEED_READ_BRINGUP_TEST 0
|
79 |
|
|
#define HALF_RATE 0
|
80 |
|
|
#define HARD_PHY 1
|
81 |
|
|
#define HARD_VFIFO 1
|
82 |
|
|
#define HCX_COMPAT_MODE 0
|
83 |
|
|
#define HHP_HPS_SIMULATION 0
|
84 |
|
|
#define HHP_HPS_VERIFICATION 0
|
85 |
|
|
#define HHP_HPS 1
|
86 |
|
|
#define HPS_HW 1
|
87 |
|
|
#define HR_DDIO_OUT_HAS_THREE_REGS 0
|
88 |
|
|
#define IO_DELAY_PER_DCHAIN_TAP 25
|
89 |
|
|
#define IO_DELAY_PER_DQS_EN_DCHAIN_TAP 25
|
90 |
|
|
#define IO_DELAY_PER_OPA_TAP 416
|
91 |
|
|
#define IO_DLL_CHAIN_LENGTH 8
|
92 |
|
|
#define IO_DM_OUT_RESERVE 0
|
93 |
|
|
#define IO_DQDQS_OUT_PHASE_MAX 0
|
94 |
|
|
#define IO_DQS_EN_DELAY_MAX 31
|
95 |
|
|
#define IO_DQS_EN_DELAY_OFFSET 0
|
96 |
|
|
#define IO_DQS_EN_PHASE_MAX 7
|
97 |
|
|
#define IO_DQS_IN_DELAY_MAX 31
|
98 |
|
|
#define IO_DQS_IN_RESERVE 4
|
99 |
|
|
#define IO_DQS_OUT_RESERVE 4
|
100 |
|
|
#define IO_DQ_OUT_RESERVE 0
|
101 |
|
|
#define IO_IO_IN_DELAY_MAX 31
|
102 |
|
|
#define IO_IO_OUT1_DELAY_MAX 31
|
103 |
|
|
#define IO_IO_OUT2_DELAY_MAX 0
|
104 |
|
|
#define IO_SHIFT_DQS_EN_WHEN_SHIFT_DQS 0
|
105 |
|
|
#define LPDDR1 0
|
106 |
|
|
#define LPDDR2 0
|
107 |
|
|
#define LRDIMM 0
|
108 |
|
|
#define MARGIN_VARIATION_TEST 0
|
109 |
|
|
#define MAX_LATENCY_COUNT_WIDTH 5
|
110 |
|
|
#define MEM_ADDR_WIDTH 13
|
111 |
|
|
#define MRS_MIRROR_PING_PONG_ATSO 0
|
112 |
|
|
#define MULTIPLE_AFI_WLAT 0
|
113 |
|
|
#define NON_DES_CAL 0
|
114 |
|
|
#define NUM_SHADOW_REGS 1
|
115 |
|
|
#define QDRII 0
|
116 |
|
|
#define QUARTER_RATE 0
|
117 |
|
|
#define RDIMM 0
|
118 |
|
|
#define READ_AFTER_WRITE_CALIBRATION 1
|
119 |
|
|
#define READ_VALID_FIFO_SIZE 16
|
120 |
40 |
redbear |
#define REG_FILE_INIT_SEQ_SIGNATURE 0x555504ab
|
121 |
32 |
redbear |
#define RLDRAM3 0
|
122 |
|
|
#define RLDRAMII 0
|
123 |
|
|
#define RLDRAMX 0
|
124 |
|
|
#define RUNTIME_CAL_REPORT 0
|
125 |
|
|
#define RW_MGR_MEM_ADDRESS_MIRRORING 0
|
126 |
|
|
#define RW_MGR_MEM_ADDRESS_WIDTH 13
|
127 |
|
|
#define RW_MGR_MEM_BANK_WIDTH 3
|
128 |
|
|
#define RW_MGR_MEM_CHIP_SELECT_WIDTH 1
|
129 |
|
|
#define RW_MGR_MEM_CLK_EN_WIDTH 1
|
130 |
|
|
#define RW_MGR_MEM_CONTROL_WIDTH 1
|
131 |
|
|
#define RW_MGR_MEM_DATA_MASK_WIDTH 1
|
132 |
|
|
#define RW_MGR_MEM_DATA_WIDTH 8
|
133 |
|
|
#define RW_MGR_MEM_DQ_PER_READ_DQS 8
|
134 |
|
|
#define RW_MGR_MEM_DQ_PER_WRITE_DQS 8
|
135 |
|
|
#define RW_MGR_MEM_IF_READ_DQS_WIDTH 1
|
136 |
|
|
#define RW_MGR_MEM_IF_WRITE_DQS_WIDTH 1
|
137 |
|
|
#define RW_MGR_MEM_NUMBER_OF_CS_PER_DIMM 1
|
138 |
|
|
#define RW_MGR_MEM_NUMBER_OF_RANKS 1
|
139 |
|
|
#define RW_MGR_MEM_ODT_WIDTH 1
|
140 |
|
|
#define RW_MGR_MEM_VIRTUAL_GROUPS_PER_READ_DQS 1
|
141 |
|
|
#define RW_MGR_MEM_VIRTUAL_GROUPS_PER_WRITE_DQS 1
|
142 |
|
|
#define RW_MGR_MR0_BL 1
|
143 |
|
|
#define RW_MGR_MR0_CAS_LATENCY 3
|
144 |
|
|
#define RW_MGR_TRUE_MEM_DATA_MASK_WIDTH 1
|
145 |
|
|
#define RW_MGR_WRITE_TO_DEBUG_READ 1.0
|
146 |
|
|
#define SET_FIX_READ_LATENCY_ENABLE 0
|
147 |
|
|
#define SKEW_CALIBRATION 0
|
148 |
|
|
#define SKIP_PTAP_0_DQS_EN_CAL 1
|
149 |
|
|
#define STATIC_FULL_CALIBRATION 1
|
150 |
|
|
#define STATIC_SIM_FILESET 0
|
151 |
|
|
#define STATIC_SKIP_MEM_INIT 0
|
152 |
|
|
#define STRATIXV 0
|
153 |
|
|
#define TINIT_CNTR1_VAL 32
|
154 |
|
|
#define TINIT_CNTR2_VAL 32
|
155 |
|
|
#define TINIT_CNTR0_VAL 74
|
156 |
|
|
#define TRACKING_ERROR_TEST 0
|
157 |
|
|
#define TRACKING_WATCH_TEST 0
|
158 |
|
|
#define TRESET_CNTR1_VAL 99
|
159 |
|
|
#define TRESET_CNTR2_VAL 10
|
160 |
|
|
#define TRESET_CNTR0_VAL 74
|
161 |
|
|
#define USE_DQS_TRACKING 1
|
162 |
|
|
#define USE_SHADOW_REGS 0
|
163 |
|
|
#define USE_USER_RDIMM_VALUE 0
|
164 |
|
|
|
165 |
|
|
#endif /* _SEQUENCER_DEFINES_H_ */
|