Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / cpus / vonk / n2 / lib / ras / xml / N2_L2CacheFlushAddrFields.xml
<!-- interpreter=xml2reg args='-t' -->
<register_list>
<register name="L2_CACHE_FLUSHING_ADDRESSING_FIELDS (L2_CACHE_FLUSHING_ADDRESSING_FIELDS)">
<class_name>N2_L2CacheFlushAddrFields</class_name>
<submodule>N2</submodule>
<comment>
This class is based on N2 PRM 1.1 Table 28-41 and splits a virtual
address into the bit fields needed for the prefetchICE instruction. This class
assumes 8 L2 banks.
</comment>
<priv>yes</priv>
<public>
bool checkKey() { return getKEY() == 0x3; }
</public>
<field name="RSVD2">
<start_offset>0</start_offset>
<end_offset>5</end_offset>
<initial_value>0</initial_value>
<protection>RO</protection>
<field_type>ZERO</field_type>
<comment>
All zero for 64-bit access.
</comment>
<format type="hex"/>
</field>
<field name="BANK">
<start_offset>6</start_offset>
<end_offset>8</end_offset>
<initial_value>0</initial_value>
<protection>RW</protection>
<field_type>NORMAL</field_type>
<comment>
Selects bank containing the cache line.
</comment>
<format type="hex"/>
</field>
<field name="SET">
<start_offset>9</start_offset>
<end_offset>17</end_offset>
<initial_value>0</initial_value>
<protection>RW</protection>
<field_type>NORMAL</field_type>
<comment>
Selects cache set containing the cache line. Assumes L2 cache
hashing is disabled.
</comment>
</field>
<field name="WAY">
<start_offset>18</start_offset>
<end_offset>21</end_offset>
<initial_value>0</initial_value>
<protection>RW</protection>
<field_type>NORMAL</field_type>
<comment>
Selects way in cache set.
</comment>
</field>
<field name="RSVD1">
<start_offset>22</start_offset>
<end_offset>36</end_offset>
<initial_value>0</initial_value>
<protection>RO</protection>
<field_type>ZERO</field_type>
<comment>
Reserved.
</comment>
</field>
<field name="KEY">
<start_offset>37</start_offset>
<end_offset>39</end_offset>
<initial_value>0x3</initial_value>
<protection>RW</protection>
<field_type>NORMAL</field_type>
<comment>
Must be 011, i.e. 0x3. Use of any other value places Niagara II in an
undefined state.
</comment>
</field>
<field name="RSVD0">
<start_offset>40</start_offset>
<end_offset>63</end_offset>
<initial_value>0</initial_value>
<protection>RO</protection>
<field_type>ZERO</field_type>
<comment>
Reserved.
</comment>
</field>
</register>
</register_list>