SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_nbexterns.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3  Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
4  more contributor license agreements. See the NOTICE file distributed
5  with this work for additional information regarding copyright ownership.
6  Accellera licenses this file to you under the Apache License, Version 2.0
7  (the "License"); you may not use this file except in compliance with the
8  License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15  implied. See the License for the specific language governing
16  permissions and limitations under the License.
17 
18  *****************************************************************************/
19 
20 /*****************************************************************************
21 
22  sc_nbexterns.h -- External functions for both sc_signed and sc_unsigned
23 */
40 /*****************************************************************************
41 
42  MODIFICATION LOG - modifiers, enter your name, affiliation, date and
43  changes you are making here.
44 
45  Name, Affiliation, Date:
46  Description of Modification:
47 
48  *****************************************************************************/
49 
50 // $Log: sc_nbexterns.h,v $
51 // Revision 1.2 2011/02/18 20:19:15 acg
52 // Andy Goodrich: updating Copyright notice.
53 //
54 // Revision 1.1.1.1 2006/12/15 20:20:05 acg
55 // SystemC 2.3
56 //
57 // Revision 1.3 2006/01/13 18:49:32 acg
58 // Added $Log command so that CVS check in comments are reproduced in the
59 // source.
60 //
61 
62 #ifndef SC_NBEXTERNS_H
63 #define SC_NBEXTERNS_H
64 
65 
67 
68 
69 namespace sc_dt
70 {
71 
72 extern
73 void add_on_help(small_type &us,
74  int unb, int und, sc_digit *ud,
75  small_type vs,
76  int vnb, int vnd, const sc_digit *vd);
77 
78 extern
80  int unb, int und, sc_digit *ud,
81  int vnb, int vnd, const sc_digit *vd);
82 
84  int unb, int und, sc_digit *ud,
85  int vnb, int vnd, const sc_digit *vd);
86 
87 extern
89  int unb, int und, sc_digit *ud,
90  int vnb, int vnd, const sc_digit *vd);
91 
92 extern
94  int unb, int und, sc_digit *ud,
95  int vnb, int vnd, const sc_digit *vd);
96 
98  int unb, int und, sc_digit *ud,
99  int vnb, int vnd, const sc_digit *vd);
100 
101 extern
103  int unb, int und, sc_digit *ud,
104  int vnb, int vnd, const sc_digit *vd);
105 
106 extern
107 void and_on_help(small_type us,
108  int unb, int und, sc_digit *ud,
109  small_type vs,
110  int vnb, int vnd, const sc_digit *vd);
111 
112 extern
113 void or_on_help(small_type us,
114  int unb, int und, sc_digit *ud,
115  small_type vs,
116  int vnb, int vnd, const sc_digit *vd);
117 
118 extern
119 void xor_on_help(small_type us,
120  int unb, int und, sc_digit *ud,
121  small_type vs,
122  int vnb, int vnd, const sc_digit *vd);
123 
124 } // namespace sc_dt
125 
126 
127 #endif
void and_on_help(small_type us, int unb, int und, sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
int small_type
Definition: sc_nbdefs.h:124
void mul_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
void div_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
void mod_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
unsigned int sc_digit
Definition: sc_nbdefs.h:179
void or_on_help(small_type us, int unb, int und, sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
void mul_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
External and friend functions for both sc_signed and.
void add_on_help(small_type &us, int unb, int und, sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
void div_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd)
void xor_on_help(small_type us, int unb, int und, sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd)
void mod_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd)