Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / cpus / vonk / n2 / lib / ras / xml / N2_DramErrorCounterMem.xml
CommitLineData
920dae64
AT
1<!-- interpreter=xml2reg args='-t' -->
2<register_list>
3<register name="DRAM_ERROR_COUNTER_REG (DRAM_ERROR_COUNTER_REG)">
4 <class_name>N2_DramErrorCounterMem</class_name>
5 <submodule>N2</submodule>
6 <comment>
7DRAM Error Counter Register. Each DRAM channel has an error counter register for use in counting DRAM errors and generating an interrupt when the counter decrements to 0 and both the ENB and VALID bits are set. Each 16B chunk with an error will cause the COUNT field to decrement by one. When the COUNT reaches zero, and ENB and VALID are set, an error interrupt is issued via INT_MAN[1] / INT_CTL[1] TABLE 12-35 shows the format of the DRAM Error Counter Register. TABLE 12-35 Register64 DRAM Error Counter Register - DRAM_ERROR_COUNTER_REG (0x84-0000-0298) (Count 4 Step 4096)
8 </comment>
9 <base_address>0x8400000298ULL</base_address>
10 <count>4</count>
11 <stride>4096</stride>
12 <priv>yes</priv>
13 <field name="COUNT">
14 <start_offset>0</start_offset>
15 <end_offset>15</end_offset>
16 <initial_value>0</initial_value>
17 <protection>RW</protection>
18 <field_type>NORMAL</field_type>
19 <comment>
20Counter that decrements with each error when the valid bit is set.
21 </comment>
22 <format type="hex"/>
23 </field>
24 <field name="VALID">
25 <start_offset>16</start_offset>
26 <end_offset>16</end_offset>
27 <initial_value>0</initial_value>
28 <protection>RW</protection>
29 <field_type>NORMAL</field_type>
30 <comment>
31Valid bit for counter value. This bit is reset when count decrements to zero.
32 </comment>
33 <format type="hex"/>
34 </field>
35 <field name="ENB">
36 <start_offset>17</start_offset>
37 <end_offset>17</end_offset>
38 <initial_value>0</initial_value>
39 <protection>RW</protection>
40 <field_type>NORMAL</field_type>
41 <comment>
42Enables interrupt generation when the counter reaches 0.
43 </comment>
44 <format type="hex"/>
45 </field>
46 <field name="RSVD0">
47 <start_offset>18</start_offset>
48 <end_offset>63</end_offset>
49 <initial_value>0</initial_value>
50 <protection>RO</protection>
51 <field_type>ZERO</field_type>
52 <comment>
53Reserved.
54 </comment>
55 </field>
56</register>
57</register_list>