Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / common / coverage / ilu_peu / peu_oe_error_sample.vrh
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: peu_oe_error_sample.vrh
4// Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved
5// 4150 Network Circle, Santa Clara, California 95054, U.S.A.
6//
7// * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8//
9// This program is free software; you can redistribute it and/or modify
10// it under the terms of the GNU General Public License as published by
11// the Free Software Foundation; version 2 of the License.
12//
13// This program is distributed in the hope that it will be useful,
14// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16// GNU General Public License for more details.
17//
18// You should have received a copy of the GNU General Public License
19// along with this program; if not, write to the Free Software
20// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21//
22// For the avoidance of doubt, and except that if any non-GPL license
23// choice is available it will apply instead, Sun elects to use only
24// the General Public License version 2 (GPLv2) at this time for any
25// software where a choice of GPL license versions is made
26// available with the language indicating that GPLv2 or any later version
27// may be used, or where a choice of which version of the GPL is applied is
28// otherwise unspecified.
29//
30// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
31// CA 95054 USA or visit www.sun.com if you need additional information or
32// have any questions.
33//
34// ========== Copyright Header End ============================================
35 sample peu_oe_eip ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[0],
36 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[32] })
37 {
38 state peu_oe_eip_s10 (2'b10);
39 state peu_oe_eip_s11 (2'b11);
40 state peu_oe_eip_s01 (2'b01);
41 trans peu_oe_eip_t10_to_t11 ("s10" -> "s11");
42 }
43 sample peu_oe_erp ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[1],
44 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[33] })
45 {
46 state peu_oe_erp_s10 (2'b10);
47 state peu_oe_erp_s11 (2'b11);
48 state peu_oe_erp_s01 (2'b01);
49 trans peu_oe_erp_t10_to_t11 ("s10" -> "s11");
50 }
51 sample peu_oe_epe ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[2],
52 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[34] })
53 {
54 state peu_oe_epe_s10 (2'b10);
55 state peu_oe_epe_s11 (2'b11);
56 state peu_oe_epe_s01 (2'b01);
57 trans peu_oe_epe_t10_to_t11 ("s10" -> "s11");
58 }
59 sample peu_oe_emp ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[3],
60 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[35] })
61 {
62 state peu_oe_emp_s10 (2'b10);
63 state peu_oe_emp_s11 (2'b11);
64 state peu_oe_emp_s01 (2'b01);
65 trans peu_oe_emp_t10_to_t11 ("s10" -> "s11");
66 }
67 sample peu_oe_ero ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[4],
68 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[36] })
69 {
70 state peu_oe_ero_s10 (2'b10);
71 state peu_oe_ero_s11 (2'b11);
72 state peu_oe_ero_s01 (2'b01);
73 trans peu_oe_ero_t10_to_t11 ("s10" -> "s11");
74 }
75 sample peu_oe_eru ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[5],
76 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[37] })
77 {
78 state peu_oe_eru_s10 (2'b10);
79 state peu_oe_eru_s11 (2'b11);
80 state peu_oe_eru_s01 (2'b01);
81 trans peu_oe_eru_t10_to_t11 ("s10" -> "s11");
82 }
83 sample peu_oe_lup ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[8],
84 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[40] })
85 {
86 state peu_oe_lup_s10 (2'b10);
87 state peu_oe_lup_s11 (2'b11);
88 state peu_oe_lup_s01 (2'b01);
89 trans peu_oe_lup_t10_to_t11 ("s10" -> "s11");
90 }
91 sample peu_oe_ldn ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[9],
92 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[41] })
93 {
94 state peu_oe_ldn_s10 (2'b10);
95 state peu_oe_ldn_s11 (2'b11);
96 state peu_oe_ldn_s01 (2'b01);
97 trans peu_oe_ldn_t10_to_t11 ("s10" -> "s11");
98 }
99 sample peu_oe_lrs ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[10],
100 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[42] })
101 {
102 state peu_oe_lrs_s10 (2'b10);
103 state peu_oe_lrs_s11 (2'b11);
104 state peu_oe_lrs_s01 (2'b01);
105 trans peu_oe_lrs_t10_to_t11 ("s10" -> "s11");
106 }
107 sample peu_oe_lin ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[11],
108 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[43] })
109 {
110 state peu_oe_lin_s10 (2'b10);
111 state peu_oe_lin_s11 (2'b11);
112 state peu_oe_lin_s01 (2'b01);
113 trans peu_oe_lin_t10_to_t11 ("s10" -> "s11");
114 }
115 sample peu_oe_ehp ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[12],
116 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[44] })
117 {
118 state peu_oe_ehp_s10 (2'b10);
119 state peu_oe_ehp_s11 (2'b11);
120 state peu_oe_ehp_s01 (2'b01);
121 trans peu_oe_ehp_t10_to_t11 ("s10" -> "s11");
122 }
123 sample peu_oe_edp ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[13],
124 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[45] })
125 {
126 state peu_oe_edp_s10 (2'b10);
127 state peu_oe_edp_s11 (2'b11);
128 state peu_oe_edp_s01 (2'b01);
129 trans peu_oe_edp_t10_to_t11 ("s10" -> "s11");
130 }
131 sample peu_oe_hp ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[14],
132 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[46] })
133 {
134 state peu_oe_hp_s10 (2'b10);
135 state peu_oe_hp_s11 (2'b11);
136 state peu_oe_hp_s01 (2'b01);
137 trans peu_oe_hp_t10_to_t11 ("s10" -> "s11");
138 }
139 sample peu_oe_crs ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[15],
140 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[47] })
141 {
142 state peu_oe_crs_s10 (2'b10);
143 state peu_oe_crs_s11 (2'b11);
144 state peu_oe_crs_s01 (2'b01);
145 trans peu_oe_crs_t10_to_t11 ("s10" -> "s11");
146 }
147 sample peu_oe_ruc ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[16],
148 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[48] })
149 {
150 state peu_oe_ruc_s10 (2'b10);
151 state peu_oe_ruc_s11 (2'b11);
152 state peu_oe_ruc_s01 (2'b01);
153 trans peu_oe_ruc_t10_to_t11 ("s10" -> "s11");
154 }
155 sample peu_oe_wuc ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[17],
156 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[49] })
157 {
158 state peu_oe_wuc_s10 (2'b10);
159 state peu_oe_wuc_s11 (2'b11);
160 state peu_oe_wuc_s01 (2'b01);
161 trans peu_oe_wuc_t10_to_t11 ("s10" -> "s11");
162 }
163 sample peu_oe_mrc ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[18],
164 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[50] })
165 {
166 state peu_oe_mrc_s10 (2'b10);
167 state peu_oe_mrc_s11 (2'b11);
168 state peu_oe_mrc_s01 (2'b01);
169 trans peu_oe_mrc_t10_to_t11 ("s10" -> "s11");
170 }
171 sample peu_oe_lwc ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[19],
172 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[51] })
173 {
174 state peu_oe_lwc_s10 (2'b10);
175 state peu_oe_lwc_s11 (2'b11);
176 state peu_oe_lwc_s01 (2'b01);
177 trans peu_oe_lwc_t10_to_t11 ("s10" -> "s11");
178 }
179 sample peu_oe_nfp ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[20],
180 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[52] })
181 {
182 state peu_oe_nfp_s10 (2'b10);
183 state peu_oe_nfp_s11 (2'b11);
184 state peu_oe_nfp_s01 (2'b01);
185 trans peu_oe_nfp_t10_to_t11 ("s10" -> "s11");
186 }
187 sample peu_oe_cto ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[21],
188 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[53] })
189 {
190 state peu_oe_cto_s10 (2'b10);
191 state peu_oe_cto_s11 (2'b11);
192 state peu_oe_cto_s01 (2'b01);
193 trans peu_oe_cto_t10_to_t11 ("s10" -> "s11");
194 }
195 sample peu_oe_mfc ( { peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[22],
196 peu_registers_coverage_ifc.peu_oe_err_csrbus_read_data[54] })
197 {
198 state peu_oe_mfc_s10 (2'b10);
199 state peu_oe_mfc_s11 (2'b11);
200 state peu_oe_mfc_s01 (2'b01);
201 trans peu_oe_mfc_t10_to_t11 ("s10" -> "s11");
202 }
203