1 |
2 |
dmitryr |
/*
|
2 |
|
|
* ========== Copyright Header Begin ==========================================
|
3 |
|
|
*
|
4 |
|
|
* OpenSPARC T1 Processor File: sys_paths.h
|
5 |
|
|
* Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
|
6 |
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
|
7 |
|
|
*
|
8 |
|
|
* The above named program is free software; you can redistribute it and/or
|
9 |
|
|
* modify it under the terms of the GNU General Public
|
10 |
|
|
* License version 2 as published by the Free Software Foundation.
|
11 |
|
|
*
|
12 |
|
|
* The above named program is distributed in the hope that it will be
|
13 |
|
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15 |
|
|
* General Public License for more details.
|
16 |
|
|
*
|
17 |
|
|
* You should have received a copy of the GNU General Public
|
18 |
|
|
* License along with this work; if not, write to the Free Software
|
19 |
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
20 |
|
|
*
|
21 |
|
|
* ========== Copyright Header End ============================================
|
22 |
|
|
*/
|
23 |
|
|
// -*- verilog -*-
|
24 |
|
|
////////////////////////////////////////////////////////////////////////
|
25 |
|
|
/*
|
26 |
|
|
//
|
27 |
|
|
// Description: Global header file that contain definitions that
|
28 |
|
|
// are common/shared at the systme level
|
29 |
|
|
*/
|
30 |
|
|
////////////////////////////////////////////////////////////////////////
|
31 |
|
|
|
32 |
|
|
// Here we add defines for all the blocks referenced in monitors.
|
33 |
|
|
// The absolute path would vary based on the verif model being built.
|
34 |
|
|
|
35 |
|
|
// Global CIOP defines
|
36 |
|
|
`define RBC sys_top
|
37 |
|
|
`define RBC_CLK `RBC.jbus_gclk
|
38 |
|
|
`define CPU_CLK `RBC.cmp_gclk
|
39 |
|
|
`define CHIP_RST_L `RBC.jbus_grst_l
|
40 |
|
|
`define CHIP_RST ~`RBC.jbus_grst_l
|
41 |
|
|
|
42 |
|
|
// BSC defines
|
43 |
|
|
`define BSC `RBC.iop.bsc
|
44 |
|
|
`define BSC_CTL `BSC.bsc_ctl
|
45 |
|
|
`define BSC_SFS `BSC_CTL.bsc_sfs
|
46 |
|
|
`define BSC_IOP `BSC.bsc_iop
|
47 |
|
|
`define BSC_EEPU `BSC_IOP.eepu_ioq
|
48 |
|
|
|
49 |
|
|
// Environment defines
|
50 |
|
|
`define FAIL_FLAG sys_top.fail_flag
|