Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: l2_inst_flow_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 LOAD_hit ( {HIT, 1'b1, 1'b0, LOAD_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
36 | wildcard state LOAD_miss ( {MISS, 1'b1, 1'b0, LOAD_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
37 | wildcard state LOAD_dep ( {DEP, 1'b1, 1'b0, LOAD_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
38 | wildcard state LOAD_dephit ( {DEPHIT, 1'b1, 1'b0, LOAD_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
39 | wildcard state LOAD_depmiss( {DEPMISS, 1'b1, 1'b0, LOAD_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
40 | ||
41 | // PREFETCH vld diag reqtype nc jbi cputh inv pf bis | |
42 | wildcard state PREFETCH_hit ( {HIT, 1'b1, 1'b0, LOAD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b1, 1'b0} ); | |
43 | wildcard state PREFETCH_miss ( {MISS, 1'b1, 1'b0, LOAD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b1, 1'b0} ); | |
44 | wildcard state PREFETCH_dep ( {DEP, 1'b1, 1'b0, LOAD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b1, 1'b0} ); | |
45 | wildcard state PREFETCH_dephit ( {DEPHIT, 1'b1, 1'b0, LOAD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b1, 1'b0} ); | |
46 | wildcard state PREFETCH_depmiss( {DEPMISS, 1'b1, 1'b0, LOAD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b1, 1'b0} ); | |
47 | ||
48 | // IMISS vld diag reqtype nc jbi cputh inv pf bis | |
49 | wildcard state IMISS_hit ( {HIT, 1'b1, 1'b0, IMISS_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
50 | wildcard state IMISS_miss ( {MISS, 1'b1, 1'b0, IMISS_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
51 | wildcard state IMISS_dep ( {DEP, 1'b1, 1'b0, IMISS_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
52 | wildcard state IMISS_dephit ( {DEPHIT, 1'b1, 1'b0, IMISS_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
53 | wildcard state IMISS_depmiss( {DEPMISS, 1'b1, 1'b0, IMISS_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
54 | ||
55 | // STORE vld diag reqtype nc jbi cputh inv pf bis | |
56 | wildcard state STORE_hit ( {HIT, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
57 | wildcard state STORE_miss ( {MISS, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
58 | wildcard state STORE_dep ( {DEP, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
59 | wildcard state STORE_dephit ( {DEPHIT, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
60 | wildcard state STORE_depmiss( {DEPMISS, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
61 | ||
62 | // BLKSTORE vld diag reqtype nc jbi cputh inv pf bis | |
63 | wildcard state BLKSTORE_hit ( {HIT, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b1, 1'b1} ); | |
64 | wildcard state BLKSTORE_miss ( {MISS, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b1, 1'b1} ); | |
65 | wildcard state BLKSTORE_dep ( {DEP, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b1, 1'b1} ); | |
66 | wildcard state BLKSTORE_dephit ( {DEPHIT, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b1, 1'b1} ); | |
67 | wildcard state BLKSTORE_depmiss( {DEPMISS, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b1, 1'b1} ); | |
68 | ||
69 | // BLKINITST vld diag reqtype nc jbi cputh inv pf bis | |
70 | wildcard state BLKINITST_hit ( {HIT, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b1} ); | |
71 | wildcard state BLKINITST_miss ( {MISS, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b1} ); | |
72 | wildcard state BLKINITST_dep ( {DEP, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b1} ); | |
73 | wildcard state BLKINITST_dephit ( {DEPHIT, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b1} ); | |
74 | wildcard state BLKINITST_depmiss( {DEPMISS, 1'b1, 1'b0, STORE_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b1} ); | |
75 | ||
76 | // CAS1 vld diag reqtype nc jbi cputh inv pf bis | |
77 | wildcard state CAS1_hit ( {HIT, 1'b1, 1'b0, CAS1_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
78 | wildcard state CAS1_miss ( {MISS, 1'b1, 1'b0, CAS1_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
79 | wildcard state CAS1_dep ( {DEP, 1'b1, 1'b0, CAS1_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
80 | wildcard state CAS1_dephit ( {DEPHIT, 1'b1, 1'b0, CAS1_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
81 | wildcard state CAS1_depmiss( {DEPMISS, 1'b1, 1'b0, CAS1_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
82 | ||
83 | // CAS2 vld diag reqtype nc jbi cputh inv pf bis | |
84 | // CAS2 never has HIT (true hit: see top) combination | |
85 | //wildcard state CAS2_hit ( {HIT, 1'b1, 1'b0, CAS2_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
86 | wildcard state CAS2_miss ( {MISS, 1'b1, 1'b0, CAS2_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
87 | wildcard state CAS2_dep ( {DEP, 1'b1, 1'b0, CAS2_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
88 | wildcard state CAS2_dephit ( {DEPHIT, 1'b1, 1'b0, CAS2_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
89 | wildcard state CAS2_depmiss( {DEPMISS, 1'b1, 1'b0, CAS2_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
90 | ||
91 | // SWAP vld diag reqtype nc jbi cputh inv pf bis | |
92 | wildcard state SWAP_hit ( {HIT, 1'b1, 1'b0, SWAP_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
93 | wildcard state SWAP_miss ( {MISS, 1'b1, 1'b0, SWAP_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
94 | wildcard state SWAP_dep ( {DEP, 1'b1, 1'b0, SWAP_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
95 | wildcard state SWAP_dephit ( {DEPHIT, 1'b1, 1'b0, SWAP_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
96 | wildcard state SWAP_depmiss( {DEPMISS, 1'b1, 1'b0, SWAP_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
97 | ||
98 | // STRLOAD vld diag reqtype nc jbi cputh inv pf bis | |
99 | wildcard state STRLOAD_hit ( {HIT, 1'b1, 1'b0, STRLOAD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
100 | wildcard state STRLOAD_miss ( {MISS, 1'b1, 1'b0, STRLOAD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
101 | wildcard state STRLOAD_dep ( {DEP, 1'b1, 1'b0, STRLOAD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
102 | wildcard state STRLOAD_dephit ( {DEPHIT, 1'b1, 1'b0, STRLOAD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
103 | wildcard state STRLOAD_depmiss( {DEPMISS, 1'b1, 1'b0, STRLOAD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
104 | ||
105 | // STRST vld diag reqtype nc jbi cputh inv pf bis | |
106 | wildcard state STRST_hit ( {HIT, 1'b1, 1'b0, STRST_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
107 | wildcard state STRST_miss ( {MISS, 1'b1, 1'b0, STRST_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
108 | wildcard state STRST_dep ( {DEP, 1'b1, 1'b0, STRST_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
109 | wildcard state STRST_dephit ( {DEPHIT, 1'b1, 1'b0, STRST_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
110 | wildcard state STRST_depmiss( {DEPMISS, 1'b1, 1'b0, STRST_RQ, 1'bx, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
111 | /* | |
112 | // FWDRQ_LOAD vld diag reqtype nc jbi cputh inv pf bis | |
113 | wildcard state FWDRQ_LOAD_hit ( {HIT, 1'b1, 1'b0, FWD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
114 | wildcard state FWDRQ_LOAD_miss ( {MISS, 1'b1, 1'b0, FWD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
115 | wildcard state FWDRQ_LOAD_dep ( {DEP, 1'b1, 1'b0, FWD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
116 | wildcard state FWDRQ_LOAD_dephit ( {DEPHIT, 1'b1, 1'b0, FWD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
117 | wildcard state FWDRQ_LOAD_depmiss( {DEPMISS, 1'b1, 1'b0, FWD_RQ, 1'b1, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
118 | ||
119 | // FWDRQ_STORE vld diag reqtype nc jbi cputh inv pf bis | |
120 | wildcard state FWDRQ_STORE_hit ( {HIT, 1'b1, 1'b0, FWD_RQ, 1'b0, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
121 | wildcard state FWDRQ_STORE_miss ( {MISS, 1'b1, 1'b0, FWD_RQ, 1'b0, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
122 | wildcard state FWDRQ_STORE_dep ( {DEP, 1'b1, 1'b0, FWD_RQ, 1'b0, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
123 | wildcard state FWDRQ_STORE_dephit ( {DEPHIT, 1'b1, 1'b0, FWD_RQ, 1'b0, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
124 | wildcard state FWDRQ_STORE_depmiss( {DEPMISS, 1'b1, 1'b0, FWD_RQ, 1'b0, 1'b0, 6'bx, 1'b0, 1'b0, 1'b0} ); | |
125 | */ | |
126 | ||
127 | // RDD vld diag reqtype nc jbi | |
128 | wildcard state RDD_hit ( {HIT, 1'b1, 1'b0, 5'bxx001, 1'b0, 1'b1, 9'bx} ); | |
129 | wildcard state RDD_miss ( {MISS, 1'b1, 1'b0, 5'bxx001, 1'b0, 1'b1, 9'bx} ); | |
130 | wildcard state RDD_dep ( {DEP, 1'b1, 1'b0, 5'bxx001, 1'b0, 1'b1, 9'bx} ); | |
131 | wildcard state RDD_dephit ( {DEPHIT, 1'b1, 1'b0, 5'bxx001, 1'b0, 1'b1, 9'bx} ); | |
132 | wildcard state RDD_depmiss( {DEPMISS, 1'b1, 1'b0, 5'bxx001, 1'b0, 1'b1, 9'bx} ); | |
133 | ||
134 | // WR8 vld diag reqtype nc jbi | |
135 | wildcard state WR8_hit ( {HIT, 1'b1, 1'b0, 5'bxx010, 1'b0, 1'b1, 9'bx} ); | |
136 | wildcard state WR8_miss ( {MISS, 1'b1, 1'b0, 5'bxx010, 1'b0, 1'b1, 9'bx} ); | |
137 | wildcard state WR8_dep ( {DEP, 1'b1, 1'b0, 5'bxx010, 1'b0, 1'b1, 9'bx} ); | |
138 | wildcard state WR8_dephit ( {DEPHIT, 1'b1, 1'b0, 5'bxx010, 1'b0, 1'b1, 9'bx} ); | |
139 | wildcard state WR8_depmiss( {DEPMISS, 1'b1, 1'b0, 5'bxx010, 1'b0, 1'b1, 9'bx} ); | |
140 | ||
141 | // WRI vld diag reqtype nc jbi | |
142 | wildcard state WRI_hit ( {HIT, 1'b1, 1'b0, 5'bxx100, 1'b0, 1'b1, 9'bx} ); | |
143 | wildcard state WRI_miss ( {MISS, 1'b1, 1'b0, 5'bxx100, 1'b0, 1'b1, 9'bx} ); | |
144 | wildcard state WRI_dep ( {DEP, 1'b1, 1'b0, 5'bxx100, 1'b0, 1'b1, 9'bx} ); | |
145 | wildcard state WRI_dephit ( {DEPHIT, 1'b1, 1'b0, 5'bxx100, 1'b0, 1'b1, 9'bx} ); | |
146 | wildcard state WRI_depmiss( {DEPMISS, 1'b1, 1'b0, 5'bxx100, 1'b0, 1'b1, 9'bx} ); |