Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / common / coverage / mcusat / mcusat_rd_wr_schmoo_sample.vrhpal
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: mcusat_rd_wr_schmoo_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_rd_wr_vld0 ({2'b00, 1'bx});
36 wildcard state s_rd_wr_vld1 ({2'b01, 1'bx});
37 wildcard state s_rd_wr_vld2 ({2'b10, 1'bx});
38 wildcard state s_rd_wr_vld3 ({2'b11, 1'bx});
39 wildcard state s_rd_wr_scrb_vld_011 ({2'b01, 1'b1});
40 state s_rd_wr_scrb_vld_101 ({2'b10, 1'b1});
41 state s_rd_wr_scrb_vld_111 ({2'b11, 1'b1});
42
43
44 // transitions(to same)
45 wildcard trans t_rd_wr_vld0_0 ({2'b00, 1'bx} -> {2'b00, 1'bx});
46 wildcard trans t_rd_wr_vld1_1 ({2'b01, 1'bx} -> {2'b01, 1'bx});
47 wildcard trans t_rd_wr_vld2_2 ({2'b10, 1'bx} -> {2'b10, 1'bx});
48 wildcard trans t_rd_wr_vld3_3 ({2'b11, 1'bx} -> {2'b11, 1'bx});
49
50 // transitions(to different)
51 wildcard trans t_rd_wr_vld0_1 ({2'b00, 1'bx} -> {2'b01, 1'bx});
52 wildcard trans t_rd_wr_vld1_2 ({2'b01, 1'bx} -> {2'b10, 1'bx});
53 wildcard trans t_rd_wr_vld0_3 ({2'b00, 1'bx} -> {2'b11, 1'bx});
54 wildcard trans t_rd_wr_vld1_3 ({2'b01, 1'bx} -> {2'b11, 1'bx});
55 wildcard trans t_rd_wr_vld2_3 ({2'b10, 1'bx} -> {2'b11, 1'bx});
56 wildcard trans t_rd_wr_vld3_2 ({2'b11, 1'bx} -> {2'b10, 1'bx});
57 trans t_rd_wr_scrb_010_011 ({2'b01, 1'b0} -> {2'b01, 1'b1});
58 trans t_rd_wr_scrb_100_101 ({2'b10, 1'b0} -> {2'b10, 1'b1});
59 trans t_rd_wr_scrb_110_111 ({2'b11, 1'b0} -> {2'b11, 1'b1});
60 trans t_rd_wr_scrb_101_100 ({2'b10, 1'b1} -> {2'b10, 1'b0});
61 trans t_rd_wr_scrb_111_110 ({2'b11, 1'b1} -> {2'b11, 1'b0});
62 //trans t_rd_wr_scrb_011_110 ({2'b01, 1'b1} -> {2'b11, 1'b0});
63 trans t_bad_rd_wr_scrb_011_111 ({2'b01, 1'b1} -> {2'b11, 1'b1});
64
65
66 // transitions(combinations)
67
68 // bad states
69 //bad_state s_not_WR_Q_STATE (not state);
70
71 // bad transitions
72 //bad_trans t_not_WR_Q_TRANS (not trans);
73//Commenting out following 10 checkers somePerson,08/30/05
74// bad_trans t_bad_rd_wr_vld3_1 ({2'b11, 1'bx} -> {2'b01, 1'bx});
75// bad_trans t_bad_rd_wr_vld3_0 ({2'b11, 1'bx} -> {2'b00, 1'bx});
76// bad_trans t_bad_rd_wr_scrb_101_001 ({2'b10, 1'b1} -> {2'b00, 1'b1});
77// bad_trans t_bad_rd_wr_scrb_101_011 ({2'b10, 1'b1} -> {2'b01, 1'b1});
78// bad_trans t_bad_rd_wr_scrb_111_001 ({2'b11, 1'b1} -> {2'b00, 1'b1});
79// bad_trans t_bad_rd_wr_scrb_111_011 ({2'b11, 1'b1} -> {2'b01, 1'b1});
80// bad_trans t_bad_rd_wr_scrb_111_101 ({2'b11, 1'b1} -> {2'b10, 1'b1});
81// bad_trans t_bad_rd_wr_scrb_011_001 ({2'b01, 1'b1} -> {2'b00, 1'b1});
82// bad_trans t_bad_rd_wr_scrb_011_101 ({2'b01, 1'b1} -> {2'b10, 1'b1});
83 // a new write cant be issued to same address if a read is pending
84 // bad_trans t_bad_rd_wr_scrb_101_111 ({2'b10, 1'b1} -> {2'b11, 1'b1});
85
86// }
87