00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 #ifndef SC_NBEXTERNS_H
00045 #define SC_NBEXTERNS_H
00046
00047
00048 #include "sysc/datatypes/int/sc_nbutils.h"
00049
00050
00051 namespace sc_dt
00052 {
00053
00054 extern
00055 void add_on_help(small_type &us,
00056 int unb, int und, unsigned long *ud,
00057 small_type vs,
00058 int vnb, int vnd, const unsigned long *vd);
00059
00060 extern
00061 void mul_on_help_signed(small_type &us,
00062 int unb, int und, unsigned long *ud,
00063 int vnb, int vnd, const unsigned long *vd);
00064
00065 void div_on_help_signed(small_type &us,
00066 int unb, int und, unsigned long *ud,
00067 int vnb, int vnd, const unsigned long *vd);
00068
00069 extern
00070 void mod_on_help_signed(small_type &us,
00071 int unb, int und, unsigned long *ud,
00072 int vnb, int vnd, const unsigned long *vd);
00073
00074 extern
00075 void mul_on_help_unsigned(small_type &us,
00076 int unb, int und, unsigned long *ud,
00077 int vnb, int vnd, const unsigned long *vd);
00078
00079 void div_on_help_unsigned(small_type &us,
00080 int unb, int und, unsigned long *ud,
00081 int vnb, int vnd, const unsigned long *vd);
00082
00083 extern
00084 void mod_on_help_unsigned(small_type &us,
00085 int unb, int und, unsigned long *ud,
00086 int vnb, int vnd, const unsigned long *vd);
00087
00088 extern
00089 void and_on_help(small_type us,
00090 int unb, int und, unsigned long *ud,
00091 small_type vs,
00092 int vnb, int vnd, const unsigned long *vd);
00093
00094 extern
00095 void or_on_help(small_type us,
00096 int unb, int und, unsigned long *ud,
00097 small_type vs,
00098 int vnb, int vnd, const unsigned long *vd);
00099
00100 extern
00101 void xor_on_help(small_type us,
00102 int unb, int und, unsigned long *ud,
00103 small_type vs,
00104 int vnb, int vnd, const unsigned long *vd);
00105
00106 }
00107
00108
00109 #endif