SystemC 3.0.0
Accellera SystemC proof-of-concept library
Public Types | Public Member Functions | Protected Attributes | List of all members
sc_dt::ScNativeDigits< int64 > Class Reference

#include <sysc/datatypes/int/sc_vector_utils.h>

Public Types

enum  {
  ACTUAL_WIDTH = 8*sizeof(int64) , DIGITS_N = SC_DIGIT_COUNT(ACTUAL_WIDTH) , HOD = SC_DIGIT_INDEX(ACTUAL_WIDTH-1) , WIDTH = ACTUAL_WIDTH ,
  SIGNED = 1
}
 

Public Member Functions

 ScNativeDigits (int64 init)
 
int get_actual_length () const
 
const sc_digitget_digits () const
 
sc_digitget_digits ()
 
int get_digits_n () const
 
int get_hod () const
 
int is_signed () const
 
int length () const
 

Protected Attributes

sc_digit m_digits [DIGITS_N]
 

Detailed Description

Definition at line 139 of file sc_vector_utils.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ACTUAL_WIDTH 
DIGITS_N 
HOD 
WIDTH 
SIGNED 

Definition at line 142 of file sc_vector_utils.h.

Constructor & Destructor Documentation

◆ ScNativeDigits()

sc_dt::ScNativeDigits< int64 >::ScNativeDigits ( int64  init)
inline

Definition at line 151 of file sc_vector_utils.h.

Member Function Documentation

◆ get_actual_length()

int sc_dt::ScNativeDigits< int64 >::get_actual_length ( ) const
inline

Definition at line 159 of file sc_vector_utils.h.

◆ get_digits() [1/2]

sc_digit * sc_dt::ScNativeDigits< int64 >::get_digits ( )
inline

Definition at line 161 of file sc_vector_utils.h.

◆ get_digits() [2/2]

const sc_digit * sc_dt::ScNativeDigits< int64 >::get_digits ( ) const
inline

Definition at line 160 of file sc_vector_utils.h.

◆ get_digits_n()

int sc_dt::ScNativeDigits< int64 >::get_digits_n ( ) const
inline

Definition at line 162 of file sc_vector_utils.h.

◆ get_hod()

int sc_dt::ScNativeDigits< int64 >::get_hod ( ) const
inline

Definition at line 163 of file sc_vector_utils.h.

◆ is_signed()

int sc_dt::ScNativeDigits< int64 >::is_signed ( ) const
inline

Definition at line 164 of file sc_vector_utils.h.

◆ length()

int sc_dt::ScNativeDigits< int64 >::length ( ) const
inline

Definition at line 165 of file sc_vector_utils.h.

Member Data Documentation

◆ m_digits

sc_digit sc_dt::ScNativeDigits< int64 >::m_digits[DIGITS_N]
protected

Definition at line 167 of file sc_vector_utils.h.


The documentation for this class was generated from the following file: