SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
External functions for both sc_signed and sc_unsigned. More...
#include "sysc/datatypes/int/sc_nbutils.h"
Go to the source code of this file.
Namespaces | |
sc_dt | |
Functions | |
void | sc_dt::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 | sc_dt::mul_on_help_signed (small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) |
void | sc_dt::div_on_help_signed (small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) |
void | sc_dt::mod_on_help_signed (small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) |
void | sc_dt::mul_on_help_unsigned (small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) |
void | sc_dt::div_on_help_unsigned (small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) |
void | sc_dt::mod_on_help_unsigned (small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) |
void | sc_dt::and_on_help (small_type us, int unb, int und, sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd) |
void | sc_dt::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 | sc_dt::xor_on_help (small_type us, int unb, int und, sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd) |
External functions for both sc_signed and sc_unsigned.
classes. These functions work on two parameters u and v, and copy the result to the first parameter u. This is also the reason that they are suffixed with _on_help.
The vec_* functions are called through either these functions or those in sc_nbfriends.cpp. The functions in sc_nbfriends.cpp perform their work on two inputs u and v, and return the result object.
Original Author: Ali Dasdan, Synopsys, Inc.
Definition in file sc_nbexterns.h.