| 1 | // ========== Copyright Header Begin ========================================== |
| 2 | // |
| 3 | // OpenSPARC T2 Processor File: mac_test_defines.vri |
| 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 | #include <vera_defines.vrh> |
| 36 | |
| 37 | #include "mac_defines.vri" |
| 38 | #include "neptune_memory_map.vri" |
| 39 | #include "bmac_memory_map.vri" |
| 40 | #include "xmac_memory_map.vri" |
| 41 | #include "xpcs_memory_map.vri" |
| 42 | #include "pcs_memory_map.vri" |
| 43 | #include "mif_memory_map.vri" |
| 44 | |
| 45 | |
| 46 | #include "pcg_defines.vri" |
| 47 | #include "pcg_types.vri" |
| 48 | // #include "pcg_classes.vrh" |
| 49 | #include "pack_db.vrh" |
| 50 | // #include "pack_db_tasks.vrh" |
| 51 | #include "flow_db.vrh" |
| 52 | #include "flow_db_tasks.vrh" |
| 53 | #include "pg_top_pp.vrh" |
| 54 | // #include "pcg_lib.vrh" |
| 55 | #include "pc_top_pp.vrh" |
| 56 | |
| 57 | #include "mbox_class.vrh" |
| 58 | #include "get_mbox_id.vrh" |
| 59 | #include "pio_driver.vrh" |
| 60 | #include "mac_pio_class.vrh" |
| 61 | #include "mac_shadow_class.vrh" |
| 62 | #include "xmac_shadow_class.vrh" |
| 63 | #include "mac_shadow_class.vrh" |
| 64 | #include "xmac_util.vrh" |
| 65 | #include "bmac_util.vrh" |
| 66 | #include "vega_shadow_class.vrh" |
| 67 | |
| 68 | #include "cMesg.vrh" |
| 69 | |
| 70 | //Drivers & Checkers |
| 71 | #ifdef MAC_SAT |
| 72 | #include "nrx_xmac_chk.vrh" |
| 73 | #include "nrx_mac_chk.vrh" |
| 74 | #endif |
| 75 | |
| 76 | /* |
| 77 | #ifdef RXC_SAT |
| 78 | #include "nrx_xmac_chk.vrh" |
| 79 | #include "nrx_mac_chk.vrh" |
| 80 | #endif |
| 81 | */ |
| 82 | |
| 83 | extern pg ptr_to_first_pg; |
| 84 | extern pg pack_gen[16]; |
| 85 | extern pc pack_check[4]; |
| 86 | // extern pack_db_entry pack_db[]; |
| 87 | extern flow_db_entry flow_db[]; |
| 88 | // extern node_db node[32]; |
| 89 | // extern tup_descr tud[32]; |
| 90 | extern fr_cl fr[8]; |
| 91 | #ifdef MAC_SAT |
| 92 | extern Cnrx_xmac_chkr ixm[2]; |
| 93 | #endif |
| 94 | /* |
| 95 | #ifdef RXC_SAT |
| 96 | extern Cnrx_xmac_chkr ixm[2]; |
| 97 | #endif |
| 98 | #ifdef RXC_SAT |
| 99 | extern Cnrx_mac_chkr im[4]; |
| 100 | #endif |
| 101 | */ |
| 102 | |
| 103 | #ifdef MAC_SAT |
| 104 | #endif |
| 105 | |
| 106 | extern mac_util_class mac_util; |
| 107 | extern bmac_util_class bmac_util; |
| 108 | extern shadow_cl shdow_class; |
| 109 | extern mac_shadow_cl mac_shdow_class; |
| 110 | extern xmac_shadow_cl xmac_shdow_class; |
| 111 | extern pio_drv pio_driver_class; |
| 112 | extern mac_pio_cl mac_pio_class; |
| 113 | |
| 114 | extern bit[3:0] rtl_mac; |
| 115 | extern integer quiet_on; |
| 116 | |
| 117 | extern Mesg be_msg; |
| 118 | |
| 119 | extern hdl_task bmac1_over_flow(); |