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 |
113 |
albert.wat |
`include "sys.h" // system level definition file which contains the
|
29 |
95 |
fafa1971 |
// time scale definition
|
30 |
|
|
|
31 |
|
|
////////////////////////////////////////////////////////////////////////
|
32 |
|
|
// Local header file includes / local defines
|
33 |
|
|
////////////////////////////////////////////////////////////////////////
|
34 |
|
|
|
35 |
|
|
module tlu_incr64 ( in, out );
|
36 |
|
|
|
37 |
|
|
input [63:0] in;
|
38 |
|
|
|
39 |
|
|
output [63:0] out; // result of increment
|
40 |
|
|
|
41 |
|
|
assign out = in + 64'h01;
|
42 |
|
|
|
43 |
|
|
endmodule // tlu_incr64
|