ilasynth  1.0
ILASynth: Template-based ILA Synthesis Engine
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ilasynth::NodeType Struct Reference

#include <type.hpp>

Public Types

enum  Type {
  INVALID, BOOL, BITVECTOR, MEM,
  FUNC
}
 

Public Member Functions

 NodeType ()
 
 NodeType (Type t)
 
 NodeType (Type t, int w)
 
 NodeType (Type t, int aw, int dw)
 
 NodeType (Type t, int rw, const std::vector< int > &aw)
 
bool operator! (void) const
 
bool isBool () const
 
bool isBitvector (int width=-1) const
 
bool isMem (int aw=-1, int dw=-1) const
 
bool isFunc (int rw=-1, std::vector< int > aw={}) const
 
bool operator== (const NodeType &t) const
 
bool operator!= (const NodeType &t) const
 

Static Public Member Functions

static NodeType getBool ()
 
static NodeType getBitvector (int w)
 
static NodeType getMem (int aw, int dw)
 
static NodeType getFunc (int rw, const std::vector< int > &aw)
 

Public Attributes

enum ilasynth::NodeType::Type type
 
int bitWidth
 
int addrWidth
 
int dataWidth
 
std::vector< int > argsWidth
 
size_t hash_val
 

Member Enumeration Documentation

◆ Type

Enumerator
INVALID 
BOOL 
BITVECTOR 
MEM 
FUNC 

Constructor & Destructor Documentation

◆ NodeType() [1/5]

ilasynth::NodeType::NodeType ( )
inline

◆ NodeType() [2/5]

ilasynth::NodeType::NodeType ( Type  t)

◆ NodeType() [3/5]

ilasynth::NodeType::NodeType ( Type  t,
int  w 
)

◆ NodeType() [4/5]

ilasynth::NodeType::NodeType ( Type  t,
int  aw,
int  dw 
)

◆ NodeType() [5/5]

ilasynth::NodeType::NodeType ( Type  t,
int  rw,
const std::vector< int > &  aw 
)

Member Function Documentation

◆ getBitvector()

static NodeType ilasynth::NodeType::getBitvector ( int  w)
static

◆ getBool()

static NodeType ilasynth::NodeType::getBool ( )
static

◆ getFunc()

static NodeType ilasynth::NodeType::getFunc ( int  rw,
const std::vector< int > &  aw 
)
static

◆ getMem()

static NodeType ilasynth::NodeType::getMem ( int  aw,
int  dw 
)
static

◆ isBitvector()

bool ilasynth::NodeType::isBitvector ( int  width = -1) const
inline

◆ isBool()

bool ilasynth::NodeType::isBool ( ) const
inline

◆ isFunc()

bool ilasynth::NodeType::isFunc ( int  rw = -1,
std::vector< int >  aw = {} 
) const
inline

◆ isMem()

bool ilasynth::NodeType::isMem ( int  aw = -1,
int  dw = -1 
) const
inline

◆ operator!()

bool ilasynth::NodeType::operator! ( void  ) const

◆ operator!=()

bool ilasynth::NodeType::operator!= ( const NodeType t) const
inline

◆ operator==()

bool ilasynth::NodeType::operator== ( const NodeType t) const

Member Data Documentation

◆ addrWidth

int ilasynth::NodeType::addrWidth

◆ argsWidth

std::vector<int> ilasynth::NodeType::argsWidth

◆ bitWidth

int ilasynth::NodeType::bitWidth

◆ dataWidth

int ilasynth::NodeType::dataWidth

◆ hash_val

size_t ilasynth::NodeType::hash_val

◆ type

enum ilasynth::NodeType::Type ilasynth::NodeType::type

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