Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / common / coverage / l2sat / l2_fc_error_allbankerror_sample.vrhpal
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: l2_fc_error_allbankerror_sample.vrhpal
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#ifdef L2_INTF_COV
36
37sample l2_fc_err_allbankerrtype_allbank0_sample (l2_ras_intf.l2t0_cpx_data[136:134])
38 {
39 state s_L2_CPX_TYPE_1 (3'b000);
40 state s_L2_CPX_TYPE_2 (3'b001);
41 state s_L2_CPX_TYPE_3 (3'b010);
42 state s_L2_CPX_TYPE_4 (3'b011);
43 state s_L2_CPX_TYPE_5 (3'b100);
44 state s_L2_CPX_TYPE_6 (3'b101);
45 state s_L2_CPX_TYPE_7 (3'b110);
46 state s_L2_CPX_TYPE_8 (3'b111);
47 }
48
49sample l2_fc_err_allbankerrtype_allbank1_sample (l2_ras_intf.l2t1_cpx_data[136:134])
50 {
51 state s_L2_CPX_TYPE_1 (3'b000);
52 state s_L2_CPX_TYPE_2 (3'b001);
53 state s_L2_CPX_TYPE_3 (3'b010);
54 state s_L2_CPX_TYPE_4 (3'b011);
55 state s_L2_CPX_TYPE_5 (3'b100);
56 state s_L2_CPX_TYPE_6 (3'b101);
57 state s_L2_CPX_TYPE_7 (3'b110);
58 state s_L2_CPX_TYPE_8 (3'b111);
59 }
60
61sample l2_fc_err_allbankerrtype_allbank2_sample (l2_ras_intf.l2t2_cpx_data[136:134])
62 {
63 state s_L2_CPX_TYPE_1 (3'b000);
64 state s_L2_CPX_TYPE_2 (3'b001);
65 state s_L2_CPX_TYPE_3 (3'b010);
66 state s_L2_CPX_TYPE_4 (3'b011);
67 state s_L2_CPX_TYPE_5 (3'b100);
68 state s_L2_CPX_TYPE_6 (3'b101);
69 state s_L2_CPX_TYPE_7 (3'b110);
70 state s_L2_CPX_TYPE_8 (3'b111);
71 }
72
73sample l2_fc_err_allbankerrtype_allbank3_sample (l2_ras_intf.l2t3_cpx_data[136:134])
74 {
75 state s_L2_CPX_TYPE_1 (3'b000);
76 state s_L2_CPX_TYPE_2 (3'b001);
77 state s_L2_CPX_TYPE_3 (3'b010);
78 state s_L2_CPX_TYPE_4 (3'b011);
79 state s_L2_CPX_TYPE_5 (3'b100);
80 state s_L2_CPX_TYPE_6 (3'b101);
81 state s_L2_CPX_TYPE_7 (3'b110);
82 state s_L2_CPX_TYPE_8 (3'b111);
83 }
84
85sample l2_fc_err_allbankerrtype_allbank4_sample (l2_ras_intf.l2t4_cpx_data[136:134])
86 {
87 state s_L2_CPX_TYPE_1 (3'b000);
88 state s_L2_CPX_TYPE_2 (3'b001);
89 state s_L2_CPX_TYPE_3 (3'b010);
90 state s_L2_CPX_TYPE_4 (3'b011);
91 state s_L2_CPX_TYPE_5 (3'b100);
92 state s_L2_CPX_TYPE_6 (3'b101);
93 state s_L2_CPX_TYPE_7 (3'b110);
94 state s_L2_CPX_TYPE_8 (3'b111);
95 }
96
97sample l2_fc_err_allbankerrtype_allbank5_sample (l2_ras_intf.l2t5_cpx_data[136:134])
98 {
99 state s_L2_CPX_TYPE_1 (3'b000);
100 state s_L2_CPX_TYPE_2 (3'b001);
101 state s_L2_CPX_TYPE_3 (3'b010);
102 state s_L2_CPX_TYPE_4 (3'b011);
103 state s_L2_CPX_TYPE_5 (3'b100);
104 state s_L2_CPX_TYPE_6 (3'b101);
105 state s_L2_CPX_TYPE_7 (3'b110);
106 state s_L2_CPX_TYPE_8 (3'b111);
107 }
108
109sample l2_fc_err_allbankerrtype_allbank6_sample (l2_ras_intf.l2t6_cpx_data[136:134])
110 {
111 state s_L2_CPX_TYPE_1 (3'b000);
112 state s_L2_CPX_TYPE_2 (3'b001);
113 state s_L2_CPX_TYPE_3 (3'b010);
114 state s_L2_CPX_TYPE_4 (3'b011);
115 state s_L2_CPX_TYPE_5 (3'b100);
116 state s_L2_CPX_TYPE_6 (3'b101);
117 state s_L2_CPX_TYPE_7 (3'b110);
118 state s_L2_CPX_TYPE_8 (3'b111);
119 }
120
121sample l2_fc_err_allbankerrtype_allbank7_sample (l2_ras_intf.l2t7_cpx_data[136:134])
122 {
123 state s_L2_CPX_TYPE_1 (3'b000);
124 state s_L2_CPX_TYPE_2 (3'b001);
125 state s_L2_CPX_TYPE_3 (3'b010);
126 state s_L2_CPX_TYPE_4 (3'b011);
127 state s_L2_CPX_TYPE_5 (3'b100);
128 state s_L2_CPX_TYPE_6 (3'b101);
129 state s_L2_CPX_TYPE_7 (3'b110);
130 state s_L2_CPX_TYPE_8 (3'b111);
131 }
132
133#endif