OpenCores
URL https://opencores.org/ocsvn/s1_core/s1_core/trunk

Subversion Repositories s1_core

[/] [s1_core/] [trunk/] [hdl/] [rtl/] [sparc_core/] [tlu_incr64.v] - Blame information for rev 105

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 95 fafa1971
// ========== Copyright Header Begin ==========================================
2
// 
3
// OpenSPARC T1 Processor File: tlu_incr64.v
4
// Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
5
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
6
// 
7
// The above named program is free software; you can redistribute it and/or
8
// modify it under the terms of the GNU General Public
9
// License version 2 as published by the Free Software Foundation.
10
// 
11
// The above named program is distributed in the hope that it will be 
12
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
// General Public License for more details.
15
// 
16
// You should have received a copy of the GNU General Public
17
// License along with this work; if not, write to the Free Software
18
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
19
// 
20
// ========== Copyright Header End ============================================
21
////////////////////////////////////////////////////////////////////////
22
/*
23
//      Description:    64b incr macro
24
*/
25
////////////////////////////////////////////////////////////////////////
26
// Global header file includes
27
////////////////////////////////////////////////////////////////////////
28
// system level definition file which contains the/*
29
/* ========== Copyright Header Begin ==========================================
30
*
31
* OpenSPARC T1 Processor File: sys.h
32
* Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
34
*
35
* The above named program is free software; you can redistribute it and/or
36
* modify it under the terms of the GNU General Public
37
* License version 2 as published by the Free Software Foundation.
38
*
39
* The above named program is distributed in the hope that it will be
40
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
41
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
42
* General Public License for more details.
43
*
44
* You should have received a copy of the GNU General Public
45
* License along with this work; if not, write to the Free Software
46
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
47
*
48
* ========== Copyright Header End ============================================
49
*/
50
// -*- verilog -*-
51
////////////////////////////////////////////////////////////////////////
52
/*
53
//
54
// Description:         Global header file that contain definitions that
55
//                      are common/shared at the systme level
56
*/
57
////////////////////////////////////////////////////////////////////////
58
//
59
// Setting the time scale
60
// If the timescale changes, JP_TIMESCALE may also have to change.
61
`timescale      1ps/1ps
62
 
63
//
64
// JBUS clock
65
// =========
66
//
67
 
68
 
69
 
70
// Afara Link Defines
71
// ==================
72
 
73
// Reliable Link
74
 
75
 
76
 
77
 
78
// Afara Link Objects
79
 
80
 
81
// Afara Link Object Format - Reliable Link
82
 
83
 
84
 
85
 
86
 
87
 
88
 
89
 
90
 
91
 
92
// Afara Link Object Format - Congestion
93
 
94
 
95
 
96
 
97
 
98
 
99
 
100
 
101
 
102
 
103
 
104
// Afara Link Object Format - Acknowledge
105
 
106
 
107
 
108
 
109
 
110
 
111
 
112
 
113
 
114
 
115
 
116
// Afara Link Object Format - Request
117
 
118
 
119
 
120
 
121
 
122
 
123
 
124
 
125
 
126
 
127
 
128
 
129
 
130
 
131
 
132
 
133
 
134
// Afara Link Object Format - Message
135
 
136
 
137
 
138
// Acknowledge Types
139
 
140
 
141
 
142
 
143
// Request Types
144
 
145
 
146
 
147
 
148
 
149
// Afara Link Frame
150
 
151
 
152
 
153
//
154
// UCB Packet Type
155
// ===============
156
//
157
 
158
 
159
 
160
 
161
 
162
 
163
 
164
 
165
 
166
 
167
 
168
 
169
 
170
 
171
 
172
 
173
 
174
//
175
// UCB Data Packet Format
176
// ======================
177
//
178
 
179
 
180
 
181
 
182
 
183
 
184
 
185
 
186
 
187
 
188
 
189
 
190
 
191
 
192
 
193
 
194
 
195
 
196
 
197
 
198
 
199
 
200
 
201
 
202
 
203
 
204
 
205
 
206
 
207
 
208
// Size encoding for the UCB_SIZE_HI/LO field
209
// 000 - byte
210
// 001 - half-word
211
// 010 - word
212
// 011 - double-word
213
// 111 - quad-word
214
 
215
 
216
 
217
 
218
 
219
 
220
 
221
//
222
// UCB Interrupt Packet Format
223
// ===========================
224
//
225
 
226
 
227
 
228
 
229
 
230
 
231
 
232
 
233
 
234
 
235
//`define UCB_THR_HI             9      // (6) cpu/thread ID shared with
236
//`define UCB_THR_LO             4             data packet format
237
//`define UCB_PKT_HI             3      // (4) packet type shared with
238
//`define UCB_PKT_LO             0      //     data packet format
239
 
240
 
241
 
242
 
243
 
244
 
245
 
246
//
247
// FCRAM Bus Widths
248
// ================
249
//
250
 
251
 
252
 
253
 
254
 
255
 
256
//
257
// ENET clock periods
258
// ==================
259
//
260
 
261
 
262
 
263
 
264
//
265
// JBus Bridge defines
266
// =================
267
//
268
 
269
 
270
 
271
 
272
 
273
 
274
 
275
 
276
 
277
 
278
 
279
//
280
// PCI Device Address Configuration
281
// ================================
282
//
283
 
284
 
285
 
286
 
287
 
288
 
289
 
290
 
291
 
292
 
293
 
294
 
295
 
296
 
297
 
298
 
299
 
300
 
301
 
302
 
303
 
304
 
305
 
306
                        // time scale definition
307
 
308
////////////////////////////////////////////////////////////////////////
309
// Local header file includes / local defines
310
////////////////////////////////////////////////////////////////////////
311
 
312
module tlu_incr64 ( in, out );
313
 
314
  input  [63:0] in;
315
 
316
  output [63:0] out;   // result of increment
317
 
318
  assign out = in + 64'h01;
319
 
320
endmodule // tlu_incr64

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.