// ========== Copyright Header Begin ==========================================
// OpenSPARC T2 Processor File: l2_inv_vector_sample.vrhpal
// Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved
// 4150 Network Circle, Santa Clara, California 95054, U.S.A.
// * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// For the avoidance of doubt, and except that if any non-GPL license
// choice is available it will apply instead, Sun elects to use only
// the General Public License version 2 (GPLv2) at this time for any
// software where a choice of GPL license versions is made
// available with the language indicating that GPLv2 or any later version
// may be used, or where a choice of which version of the GPL is applied is
// otherwise unspecified.
// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
// CA 95054 USA or visit www.sun.com if you need additional information or
// ========== Copyright Header End ============================================
. if ($newway == 0) { $vld = "00"; }
. elsif ($newway == 1) { $vld = "01"; }
. elsif ($newway == 2) { $vld = "10"; }
. elsif ($newway == 3) { $vld = "11"; }
. $vld = "0" . $vld . "1";
. $vld = "1" . $vld . "1";
. if ($i == $sparc) { $x32 = $vld . $x32; }
. else { $x32 = "xxxx" . $x32; }
. if (($way < 4) || ($id == 0)) {
wildcard state EVICT_a00_s${sparc}_w${way}${type}( {1'b1, EVICT_REQ, 24'bx, 32'bx, 24'bx, 32'b${x32}} );
. } ## if ($way < 4) || ($id == 0)
. if ($way == 0) { $vld = "00"; }
. elsif ($way == 1) { $vld = "01"; }
. elsif ($way == 2) { $vld = "10"; }
. elsif ($way == 3) { $vld = "11"; }
. if ($i == $sparc) { $x24 = $vld . $x24; }
. else { $x24 = "xxx" . $x24; }
wildcard state EVICT_a01_s${sparc}_w${way}_D( {1'b1, EVICT_REQ, 24'bx, 32'bx, 24'b${x24}, 32'bx} );
. if ($newway == 0) { $vld = "00"; }
. elsif ($newway == 1) { $vld = "01"; }
. elsif ($newway == 2) { $vld = "10"; }
. elsif ($newway == 3) { $vld = "11"; }
. $vld = "0" . $vld . "1";
. $vld = "1" . $vld . "1";
. if ($i == $sparc) { $x32 = $vld . $x32; }
. else { $x32 = "xxxx" . $x32; }
. if (($way < 4) || ($id == 0)) {
wildcard state EVICT_a10_s${sparc}_w${way}${type}( {1'b1, EVICT_REQ, 24'bx, 32'b${x32}, 24'bx, 32'bx} );
. } ## if ($way < 4) || ($id == 0)
. if ($way == 0) { $vld = "00"; }
. elsif ($way == 1) { $vld = "01"; }
. elsif ($way == 2) { $vld = "10"; }
. elsif ($way == 3) { $vld = "11"; }
. if ($i == $sparc) { $x24 = $vld . $x24; }
. else { $x24 = "xxx" . $x24; }
wildcard state EVICT_a11_s${sparc}_w${way}_D( {1'b1, EVICT_REQ, 24'b${x24}, 32'bx, 24'bx, 32'bx} );