SystemC

Parent Previous Next

VisualSim                                                                                                                                    

SystemC

 

Function & Argument Type(s)

 

Description

 

jobject getParameter

(const char* _blockName,  

 const char* _fieldName);

Get parameter of a block

bool getBooleanValue

(jobject token,

 bool defaultValue);

Get boolean value from token

int getIntValue

(jobject token,  

 int defaultValue);

Get int value from token

long getLongValue

(jobject token,  

 long defaultValue);

Get long value from token

double getDoubleValue

(jobject token,  

 double defaultValue);

Get double value from token

char* getStringValue

(jobject token);

Get String value from token

jobjectArray getArrayValue

(jobject token);

Get array of tokens from ArrayToken

int getArrayLength

(jobjectArray array);

Get length array of tokens

jobject getArrayElement

(jobjectArray array,

 int index);

Get element from array of tokens

bool getBooleanField

(jobject recordToken,  

 const char* _fieldName,  

 bool defaultValue);

Get boolean field value from record

int getIntField

(jobject recordToken,  

 const char* _fieldName,  

 int defaultValue);

Get int field value from record

long getLongField

(jobject recordToken,

 const char* _fieldName,

 long defaultValue);

Get long field value from record

double getDoubleField

(jobject recordToken,

 const char* _fieldName,

 double defaultValue);

Get double field value from record

char* getStringField

(jobject recordToken,

 const char* _fieldName);

Get String field value from record

void setBooleanField

(jobject recordToken,

 const char* _fieldName,

 bool fieldValue);

Set boolean field value to record

void setIntField

(jobject recordToken,

 const char* _fieldName,

 int fieldValue);

Set int field value to record

void setLongField

(jobject recordToken,

 const char* _fieldName,

 long fieldValue);

Set long field value to record

void setDoubleField

(jobject recordToken,

 const char* _fieldName,

 double fieldValue);

Set double field value to record

void setStringField

(jobject recordToken,

 const char* _fieldName,

 const char* _fieldValue);

Set String field value to record

jobject fetchTransactionRecord

(const char* _inputPortName);

Fetch transaction data from input port

jobject getInputRecord

(const char*_fullInputPortName);

Get record from input port cache

jobject getInputRecord2

(const char* _blockName,

 const char* _inputPortName);

Get record from input port cache

jobject getTransactionRecord

(tlm::tlm_generic_payload& _payload);

Get transaction record from map

tlm::tlm_sync_enum putTransaction

(const char* _outputPortName,

 const char* _txRecordPortName,

 tlm::tlm_generic_payload&

  _payload, tlm::tlm_phase&   

  _phase,

sc_core::sc_time& _time);

Send transaction record to output port

void releaseTransaction

(tlm::tlm_generic_payload&

  _payload);

Release transaction record from map

 

 

 

 

 

 

Created with the Personal Edition of HelpNDoc: Full-featured EBook editor