Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / common / coverage / mcusat / mcusat_err_l2if_sample.vrhpal
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: mcusat_err_l2if_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 wildcard state s_secc_0 (5'b0xxxx);
36 wildcard state s_secc_1 (5'b1xxxx);
37 wildcard state s_pa_0 (5'bx0xxx);
38 wildcard state s_pa_1 (5'bx1xxx);
39 wildcard state s_mecc_0 (5'bxx0xx);
40 wildcard state s_mecc_1 (5'bxx1xx);
41 wildcard state s_scb_secc_0 (5'bxxx0x);
42 wildcard state s_scb_secc_1 (5'bxxx1x);
43 wildcard state s_scb_mecc_0 (5'bxxxx0);
44 wildcard state s_scb_mecc_1 (5'bxxxx1);
45
46 wildcard trans t_secc_0_0 (5'b0xxxx -> 5'b0xxxx);
47 wildcard trans t_secc_0_1 (5'b0xxxx -> 5'b1xxxx);
48 wildcard trans t_secc_1_1 (5'b1xxxx -> 5'b1xxxx);
49 wildcard trans t_secc_1_0 (5'b1xxxx -> 5'b0xxxx);
50 wildcard trans t_pa_0_0 (5'bx0xxx -> 5'bx0xxx);
51 wildcard trans t_pa_0_1 (5'bx0xxx -> 5'bx1xxx);
52 wildcard trans t_pa_1_1 (5'bx1xxx -> 5'bx1xxx);
53 wildcard trans t_pa_1_0 (5'bx1xxx -> 5'bx0xxx);
54 wildcard trans t_mecc_0_0 (5'bxx0xx -> 5'bxx0xx);
55 wildcard trans t_mecc_0_1 (5'bxx0xx -> 5'bxx1xx);
56 wildcard trans t_mecc_1_1 (5'bxx1xx -> 5'bxx1xx);
57 wildcard trans t_mecc_1_0 (5'bxx1xx -> 5'bxx0xx);
58 wildcard trans t_scb_secc_0_0 (5'bxxx0x -> 5'bxxx0x);
59 wildcard trans t_scb_secc_0_1 (5'bxxx0x -> 5'bxxx1x);
60 wildcard trans t_scb_secc_1_1 (5'bxxx1x -> 5'bxxx1x);
61 wildcard trans t_scb_secc_1_0 (5'bxxx1x -> 5'bxxx0x);
62 wildcard trans t_scb_mecc_0_0 (5'bxxxx0 -> 5'bxxxx0);
63 wildcard trans t_scb_mecc_0_1 (5'bxxxx0 -> 5'bxxxx1);
64 wildcard trans t_scb_mecc_1_1 (5'bxxxx1 -> 5'bxxxx1);
65 wildcard trans t_scb_mecc_1_0 (5'bxxxx1 -> 5'bxxxx0);
66
67 // Combinations
68 wildcard trans t_secc_00_00 (5'b0xxxx -> 5'b0xxxx -> 5'bxxxxx[.1:8.] -> 5'b0xxxx -> 5'b0xxxx);
69 wildcard trans t_secc_00_01 (5'b0xxxx -> 5'b0xxxx -> 5'bxxxxx[.1:8.] -> 5'b0xxxx -> 5'b1xxxx);
70 wildcard trans t_secc_00_10 (5'b0xxxx -> 5'b0xxxx -> 5'bxxxxx[.1:8.] -> 5'b1xxxx -> 5'b0xxxx);
71 wildcard trans t_secc_00_11 (5'b0xxxx -> 5'b0xxxx -> 5'bxxxxx[.1:8.] -> 5'b1xxxx -> 5'b1xxxx);
72 wildcard trans t_secc_01_00 (5'b0xxxx -> 5'b1xxxx -> 5'bxxxxx[.1:8.] -> 5'b0xxxx -> 5'b0xxxx);
73 wildcard trans t_secc_01_01 (5'b0xxxx -> 5'b1xxxx -> 5'bxxxxx[.1:8.] -> 5'b0xxxx -> 5'b1xxxx);
74 wildcard trans t_secc_01_10 (5'b0xxxx -> 5'b1xxxx -> 5'bxxxxx[.1:8.] -> 5'b1xxxx -> 5'b0xxxx);
75 wildcard trans t_secc_01_11 (5'b0xxxx -> 5'b1xxxx -> 5'bxxxxx[.1:8.] -> 5'b1xxxx -> 5'b1xxxx);
76 wildcard trans t_secc_10_00 (5'b1xxxx -> 5'b0xxxx -> 5'bxxxxx[.1:8.] -> 5'b0xxxx -> 5'b0xxxx);
77 wildcard trans t_secc_10_10 (5'b1xxxx -> 5'b0xxxx -> 5'bxxxxx[.1:8.] -> 5'b1xxxx -> 5'b0xxxx);
78 wildcard trans t_secc_10_01 (5'b1xxxx -> 5'b0xxxx -> 5'bxxxxx[.1:8.] -> 5'b0xxxx -> 5'b1xxxx);
79 wildcard trans t_secc_10_11 (5'b1xxxx -> 5'b0xxxx -> 5'bxxxxx[.1:8.] -> 5'b1xxxx -> 5'b1xxxx);
80 wildcard trans t_secc_11_00 (5'b1xxxx -> 5'b1xxxx -> 5'bxxxxx[.1:8.] -> 5'b0xxxx -> 5'b0xxxx);
81 wildcard trans t_secc_11_01 (5'b1xxxx -> 5'b1xxxx -> 5'bxxxxx[.1:8.] -> 5'b0xxxx -> 5'b1xxxx);
82 wildcard trans t_secc_11_10 (5'b1xxxx -> 5'b1xxxx -> 5'bxxxxx[.1:8.] -> 5'b1xxxx -> 5'b0xxxx);
83 wildcard trans t_secc_11_11 (5'b1xxxx -> 5'b1xxxx -> 5'bxxxxx[.1:8.] -> 5'b1xxxx -> 5'b1xxxx);
84
85 wildcard trans t_pa_00_00 (5'bx0xxx -> 5'bx0xxx -> 5'bxxxxx[.1:8.] -> 5'bx0xxx -> 5'bx0xxx);
86 wildcard trans t_pa_11_11 (5'bx1xxx -> 5'bx1xxx -> 5'bxxxxx[.1:8.] -> 5'bx1xxx -> 5'bx1xxx);
87
88 // The following PA transactions don't make sense since the
89 // PA signals don't behave like secc or mecc signals
90 // -ncr(10/20/05)
91
92 //wildcard trans t_pa_00_01 (5'bx0xxx -> 5'bx0xxx -> 5'bxxxxx[.1:8.] -> 5'bx0xxx -> 5'bx1xxx);
93 //wildcard trans t_pa_00_10 (5'bx0xxx -> 5'bx0xxx -> 5'bxxxxx[.1:8.] -> 5'bx1xxx -> 5'bx0xxx);
94 //wildcard trans t_pa_00_11 (5'bx0xxx -> 5'bx0xxx -> 5'bxxxxx[.1:8.] -> 5'bx1xxx -> 5'bx1xxx);
95 //wildcard trans t_pa_01_00 (5'bx0xxx -> 5'bx1xxx -> 5'bxxxxx[.1:8.] -> 5'bx0xxx -> 5'bx0xxx);
96 //wildcard trans t_pa_01_01 (5'bx0xxx -> 5'bx1xxx -> 5'bxxxxx[.1:8.] -> 5'bx0xxx -> 5'bx1xxx);
97 //wildcard trans t_pa_01_10 (5'bx0xxx -> 5'bx1xxx -> 5'bxxxxx[.1:8.] -> 5'bx1xxx -> 5'bx0xxx);
98 //wildcard trans t_pa_01_11 (5'bx0xxx -> 5'bx1xxx -> 5'bxxxxx[.1:8.] -> 5'bx1xxx -> 5'bx1xxx);
99 //wildcard trans t_pa_10_00 (5'bx1xxx -> 5'bx0xxx -> 5'bxxxxx[.1:8.] -> 5'bx0xxx -> 5'bx0xxx);
100 //wildcard trans t_pa_10_10 (5'bx1xxx -> 5'bx0xxx -> 5'bxxxxx[.1:8.] -> 5'bx1xxx -> 5'bx0xxx);
101 //wildcard trans t_pa_10_01 (5'bx1xxx -> 5'bx0xxx -> 5'bxxxxx[.1:8.] -> 5'bx0xxx -> 5'bx1xxx);
102 //wildcard trans t_pa_10_11 (5'bx1xxx -> 5'bx0xxx -> 5'bxxxxx[.1:8.] -> 5'bx1xxx -> 5'bx1xxx);
103 //wildcard trans t_pa_11_00 (5'bx1xxx -> 5'bx1xxx -> 5'bxxxxx[.1:8.] -> 5'bx0xxx -> 5'bx0xxx);
104 //wildcard trans t_pa_11_01 (5'bx1xxx -> 5'bx1xxx -> 5'bxxxxx[.1:8.] -> 5'bx0xxx -> 5'bx1xxx);
105 //wildcard trans t_pa_11_10 (5'bx1xxx -> 5'bx1xxx -> 5'bxxxxx[.1:8.] -> 5'bx1xxx -> 5'bx0xxx);
106
107 wildcard trans t_mecc_00_00 (5'bxx0xx -> 5'bxx0xx -> 5'bxxxxx[.1:8.] -> 5'bxx0xx -> 5'bxx0xx);
108 wildcard trans t_mecc_00_01 (5'bxx0xx -> 5'bxx0xx -> 5'bxxxxx[.1:8.] -> 5'bxx0xx -> 5'bxx1xx);
109 wildcard trans t_mecc_00_10 (5'bxx0xx -> 5'bxx0xx -> 5'bxxxxx[.1:8.] -> 5'bxx1xx -> 5'bxx0xx);
110 wildcard trans t_mecc_00_11 (5'bxx0xx -> 5'bxx0xx -> 5'bxxxxx[.1:8.] -> 5'bxx1xx -> 5'bxx1xx);
111 wildcard trans t_mecc_01_00 (5'bxx0xx -> 5'bxx1xx -> 5'bxxxxx[.1:8.] -> 5'bxx0xx -> 5'bxx0xx);
112 wildcard trans t_mecc_01_01 (5'bxx0xx -> 5'bxx1xx -> 5'bxxxxx[.1:8.] -> 5'bxx0xx -> 5'bxx1xx);
113 wildcard trans t_mecc_01_10 (5'bxx0xx -> 5'bxx1xx -> 5'bxxxxx[.1:8.] -> 5'bxx1xx -> 5'bxx0xx);
114 wildcard trans t_mecc_01_11 (5'bxx0xx -> 5'bxx1xx -> 5'bxxxxx[.1:8.] -> 5'bxx1xx -> 5'bxx1xx);
115 wildcard trans t_mecc_10_00 (5'bxx1xx -> 5'bxx0xx -> 5'bxxxxx[.1:8.] -> 5'bxx0xx -> 5'bxx0xx);
116 wildcard trans t_mecc_10_10 (5'bxx1xx -> 5'bxx0xx -> 5'bxxxxx[.1:8.] -> 5'bxx1xx -> 5'bxx0xx);
117 wildcard trans t_mecc_10_01 (5'bxx1xx -> 5'bxx0xx -> 5'bxxxxx[.1:8.] -> 5'bxx0xx -> 5'bxx1xx);
118 wildcard trans t_mecc_10_11 (5'bxx1xx -> 5'bxx0xx -> 5'bxxxxx[.1:8.] -> 5'bxx1xx -> 5'bxx1xx);
119 wildcard trans t_mecc_11_00 (5'bxx1xx -> 5'bxx1xx -> 5'bxxxxx[.1:8.] -> 5'bxx0xx -> 5'bxx0xx);
120 wildcard trans t_mecc_11_01 (5'bxx1xx -> 5'bxx1xx -> 5'bxxxxx[.1:8.] -> 5'bxx0xx -> 5'bxx1xx);
121 wildcard trans t_mecc_11_10 (5'bxx1xx -> 5'bxx1xx -> 5'bxxxxx[.1:8.] -> 5'bxx1xx -> 5'bxx0xx);
122 wildcard trans t_mecc_11_11 (5'bxx1xx -> 5'bxx1xx -> 5'bxxxxx[.1:8.] -> 5'bxx1xx -> 5'bxx1xx);
123
124 wildcard trans t_scb_secc_00_00 (5'bxxx0x -> 5'bxxx0x -> 5'bxxxxx[.1:8.] -> 5'bxxx0x -> 5'bxxx0x);
125 wildcard trans t_scb_secc_00_01 (5'bxxx0x -> 5'bxxx0x -> 5'bxxxxx[.1:8.] -> 5'bxxx0x -> 5'bxxx1x);
126 wildcard trans t_scb_secc_00_10 (5'bxxx0x -> 5'bxxx0x -> 5'bxxxxx[.1:8.] -> 5'bxxx1x -> 5'bxxx0x);
127 wildcard trans t_scb_secc_00_11 (5'bxxx0x -> 5'bxxx0x -> 5'bxxxxx[.1:8.] -> 5'bxxx1x -> 5'bxxx1x);
128 wildcard trans t_scb_secc_01_00 (5'bxxx0x -> 5'bxxx1x -> 5'bxxxxx[.1:8.] -> 5'bxxx0x -> 5'bxxx0x);
129 wildcard trans t_scb_secc_01_01 (5'bxxx0x -> 5'bxxx1x -> 5'bxxxxx[.1:8.] -> 5'bxxx0x -> 5'bxxx1x);
130 wildcard trans t_scb_secc_01_10 (5'bxxx0x -> 5'bxxx1x -> 5'bxxxxx[.1:8.] -> 5'bxxx1x -> 5'bxxx0x);
131 wildcard trans t_scb_secc_01_11 (5'bxxx0x -> 5'bxxx1x -> 5'bxxxxx[.1:8.] -> 5'bxxx1x -> 5'bxxx1x);
132 wildcard trans t_scb_secc_10_00 (5'bxxx1x -> 5'bxxx0x -> 5'bxxxxx[.1:8.] -> 5'bxxx0x -> 5'bxxx0x);
133 wildcard trans t_scb_secc_10_10 (5'bxxx1x -> 5'bxxx0x -> 5'bxxxxx[.1:8.] -> 5'bxxx1x -> 5'bxxx0x);
134 wildcard trans t_scb_secc_10_01 (5'bxxx1x -> 5'bxxx0x -> 5'bxxxxx[.1:8.] -> 5'bxxx0x -> 5'bxxx1x);
135 wildcard trans t_scb_secc_10_11 (5'bxxx1x -> 5'bxxx0x -> 5'bxxxxx[.1:8.] -> 5'bxxx1x -> 5'bxxx1x);
136 wildcard trans t_scb_secc_11_00 (5'bxxx1x -> 5'bxxx1x -> 5'bxxxxx[.1:8.] -> 5'bxxx0x -> 5'bxxx0x);
137 wildcard trans t_scb_secc_11_01 (5'bxxx1x -> 5'bxxx1x -> 5'bxxxxx[.1:8.] -> 5'bxxx0x -> 5'bxxx1x);
138 wildcard trans t_scb_secc_11_10 (5'bxxx1x -> 5'bxxx1x -> 5'bxxxxx[.1:8.] -> 5'bxxx1x -> 5'bxxx0x);
139 wildcard trans t_scb_secc_11_11 (5'bxxx1x -> 5'bxxx1x -> 5'bxxxxx[.1:8.] -> 5'bxxx1x -> 5'bxxx1x);
140
141 wildcard trans t_scb_mecc_00_00 (5'bxxxx0 -> 5'bxxxx0 -> 5'bxxxxx[.1:8.] -> 5'bxxxx0 -> 5'bxxxx0);
142 wildcard trans t_scb_mecc_00_01 (5'bxxxx0 -> 5'bxxxx0 -> 5'bxxxxx[.1:8.] -> 5'bxxxx0 -> 5'bxxxx1);
143 wildcard trans t_scb_mecc_00_10 (5'bxxxx0 -> 5'bxxxx0 -> 5'bxxxxx[.1:8.] -> 5'bxxxx1 -> 5'bxxxx0);
144 wildcard trans t_scb_mecc_00_11 (5'bxxxx0 -> 5'bxxxx0 -> 5'bxxxxx[.1:8.] -> 5'bxxxx1 -> 5'bxxxx1);
145 wildcard trans t_scb_mecc_01_00 (5'bxxxx0 -> 5'bxxxx1 -> 5'bxxxxx[.1:8.] -> 5'bxxxx0 -> 5'bxxxx0);
146 wildcard trans t_scb_mecc_01_01 (5'bxxxx0 -> 5'bxxxx1 -> 5'bxxxxx[.1:8.] -> 5'bxxxx0 -> 5'bxxxx1);
147 wildcard trans t_scb_mecc_01_10 (5'bxxxx0 -> 5'bxxxx1 -> 5'bxxxxx[.1:8.] -> 5'bxxxx1 -> 5'bxxxx0);
148 wildcard trans t_scb_mecc_01_11 (5'bxxxx0 -> 5'bxxxx1 -> 5'bxxxxx[.1:8.] -> 5'bxxxx1 -> 5'bxxxx1);
149 wildcard trans t_scb_mecc_10_00 (5'bxxxx1 -> 5'bxxxx0 -> 5'bxxxxx[.1:8.] -> 5'bxxxx0 -> 5'bxxxx0);
150 wildcard trans t_scb_mecc_10_10 (5'bxxxx1 -> 5'bxxxx0 -> 5'bxxxxx[.1:8.] -> 5'bxxxx1 -> 5'bxxxx0);
151 wildcard trans t_scb_mecc_10_01 (5'bxxxx1 -> 5'bxxxx0 -> 5'bxxxxx[.1:8.] -> 5'bxxxx0 -> 5'bxxxx1);
152 wildcard trans t_scb_mecc_10_11 (5'bxxxx1 -> 5'bxxxx0 -> 5'bxxxxx[.1:8.] -> 5'bxxxx1 -> 5'bxxxx1);
153 wildcard trans t_scb_mecc_11_00 (5'bxxxx1 -> 5'bxxxx1 -> 5'bxxxxx[.1:8.] -> 5'bxxxx0 -> 5'bxxxx0);
154 wildcard trans t_scb_mecc_11_01 (5'bxxxx1 -> 5'bxxxx1 -> 5'bxxxxx[.1:8.] -> 5'bxxxx0 -> 5'bxxxx1);
155 wildcard trans t_scb_mecc_11_10 (5'bxxxx1 -> 5'bxxxx1 -> 5'bxxxxx[.1:8.] -> 5'bxxxx1 -> 5'bxxxx0);
156 wildcard trans t_scb_mecc_11_11 (5'bxxxx1 -> 5'bxxxx1 -> 5'bxxxxx[.1:8.] -> 5'bxxxx1 -> 5'bxxxx1);
157
158 // bad states
159 //bad_state s_not_rd_q_full_n_req_state (not state);
160 //wildcard bad_state s_mecc_secc_bad_0_N2_BUG_111726 (5'b1x1xx);
161
162 // bad transitions
163 //bad_trans t_not_rd_q_full_n_req_trans (not trans);
164
165//}