Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: ccu.port.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 | #ifndef INC_CCU_PORT_VRI | |
36 | #define INC_CCU_PORT_VRI | |
37 | ||
38 | //---clock port: each signal is a VERA CLOCK--- | |
39 | //---WARN:: does not contain all CCU ports--- | |
40 | ||
41 | port CCU_clk_port { | |
42 | //---pll ref clk--- | |
43 | sys_clk; // warn: rtl signal is pll_sys_clk_p | |
44 | cmp_pll_clk; | |
45 | ccu_io2x_out; | |
46 | rst_ccu_pll_; | |
47 | ||
48 | #ifndef GATESIM | |
49 | ccu_rst_sys_clk; | |
50 | ||
51 | //---clocks--- | |
52 | gclk; | |
53 | dr_pll_clk; | |
54 | ccu_io_out; | |
55 | ||
56 | //---sync pulses--- | |
57 | ccu_cmp_io_sync_en; | |
58 | ccu_io_cmp_sync_en; | |
59 | ccu_dr_sync_en; | |
60 | ccu_io2x_sync_en; | |
61 | ccu_cmp_sys_sync_en; | |
62 | ccu_sys_cmp_sync_en; | |
63 | ||
64 | //---reset/mode signals--- | |
65 | rst_ccu_; | |
66 | ccu_rst_sync_stable; | |
67 | ccu_rst_change; | |
68 | ||
69 | //---others--- | |
70 | ccu_vco_aligned; | |
71 | gclk_aligned; | |
72 | gl_ccu_clk_stop; | |
73 | gl_ccu_io_clk_stop; | |
74 | tcu_atpg_mode; | |
75 | ||
76 | //---internal signals--- | |
77 | ref_clk; | |
78 | #endif | |
79 | } | |
80 | ||
81 | //----monitor port: all CCU ports, except UCB signals (ie. ncu_ccu_* and ccu_ncu_*)--- | |
82 | //----WARN: UCB signals defined in ucb.*.vri--- | |
83 | #ifndef GATESIM | |
84 | port CCU_mon_port { | |
85 | cmp_pll_clk; | |
86 | ||
87 | //---the rest: in alphabetical order--- | |
88 | ccu_cmp_io_sync_en; | |
89 | ccu_cmp_sys_sync_en; | |
90 | ccu_dbg1_serdes_dtm; | |
91 | ccu_dr_sync_en; | |
92 | ccu_io2x_out; | |
93 | ccu_io2x_sync_en; | |
94 | ccu_io_cmp_sync_en; | |
95 | ccu_io_out; | |
96 | ccu_mio_pll_char_out; | |
97 | ccu_mio_serdes_dtm; | |
98 | ccu_rst_change; | |
99 | ccu_rst_sync_stable; | |
100 | ccu_rst_sys_clk; | |
101 | ccu_serdes_dtm; | |
102 | ccu_sys_cmp_sync_en; | |
103 | ccu_vco_aligned; | |
104 | cluster_arst_l; | |
105 | gclk; | |
106 | dr_pll_clk; | |
107 | gclk_aligned; | |
108 | gl_ccu_clk_stop; | |
109 | gl_ccu_io_clk_stop; | |
110 | gl_ccu_io_out; | |
111 | mio_ccu_pll_char_in; | |
112 | mio_ccu_pll_clamp_fltr; | |
113 | mio_ccu_pll_div2; | |
114 | mio_ccu_pll_div4; | |
115 | mio_ccu_pll_trst_l; | |
116 | mio_ccu_vreg_selbg_l; | |
117 | mio_pll_testmode; | |
118 | pll_sys_clk_n; | |
119 | pll_sys_clk_p; | |
120 | pll_vdd; | |
121 | rng_anlg_sel; | |
122 | rng_arst_l; | |
123 | rng_bypass; | |
124 | rng_ch_sel; | |
125 | rng_data; | |
126 | rng_vcoctrl_sel; | |
127 | rst_ccu_; | |
128 | rst_ccu_pll_; | |
129 | rst_wmr_protect; | |
130 | scan_in; | |
131 | scan_out; | |
132 | tcu_aclk; | |
133 | tcu_atpg_mode; | |
134 | tcu_bclk; | |
135 | tcu_ccu_clk_stretch; | |
136 | tcu_ccu_ext_cmp_clk; | |
137 | tcu_ccu_ext_dr_clk; | |
138 | tcu_ccu_mux_sel; | |
139 | tcu_pce_ov; | |
140 | tcu_scan_en; | |
141 | ||
142 | //---ccu internal signals--- | |
143 | ref_clk; | |
144 | pll_div1_at_csrblk; | |
145 | pll_div2_at_csrblk; | |
146 | pll_div3_at_csrblk; | |
147 | pll_div4_at_csrblk; | |
148 | serdes_dtm1_at_csrblk; | |
149 | serdes_dtm2_at_csrblk; | |
150 | } | |
151 | ||
152 | //---- Port for sigs that are clocked by IO clock--- | |
153 | port CCU_mon_ioclk_port { | |
154 | iol2clk; | |
155 | //--- sigs in csr block---- | |
156 | csr_rd_req_vld; | |
157 | csr_rd_ack_vld; | |
158 | csr_lfsr_data; | |
159 | } | |
160 | ||
161 | //---- Port for internal signals needed for ccu and clocking verification ---- | |
162 | //---- WARN: these ports/signals are NOT in ccu block --- | |
163 | ||
164 | port CCU_clks_internal_port { | |
165 | l2clk; // l2clk of RST block. WARN: cannot use 'rst_l2clk' which is vera interface defined in rst.if.vri | |
166 | rst_ccu_cmp_sys_sync_en; // inside RST block | |
167 | rst_ccu_cmp_sys_sync_en3; // inside RST block | |
168 | rst_ccu_sys_cmp_sync_en; // inside RST block | |
169 | rst_ccu_sys_cmp_sync_en3; // inside RST block | |
170 | } | |
171 | #endif | |
172 | #endif | |
173 |