ParaNut SystemC Model
A SystemC Model of the ParaNut architecture
Functions | Variables
base.cpp File Reference
#include "base.h"
#include <float.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <systemc.h>
Include dependency graph for base.cpp:

Functions

std::string pn_GetTraceName (sc_object *obj, const char *name, int dim, int arg1, int arg2)
 Generates and returns a trace file compatible string. More...
 
char * pn_TbPrintf (const char *format,...)
 Testbench printf helper. More...
 
void pn_TbAssert (bool cond, const char *msg, const char *filename, const int line)
 Testbench assert helper. More...
 
void pn_TbInfo (const char *msg, const char *filename, const int line)
 Testbench information helper. More...
 
void pn_TbWarning (const char *msg, const char *filename, const int line)
 Testbench warning helper. More...
 
void pn_TbError (const char *msg, const char *filename, const int line)
 Testbench error helper. More...
 
char * pn_DisAss (TWord insn)
 Dissassemble RISC-V instructions to C string. More...
 

Variables

int pn_cfg_vcd_level = 0
 VCD trace level. More...
 
int pn_cfg_insn_trace = 0
 Internal simulation instruction trace level. More...
 
bool pn_cfg_disable_cache = 0
 Cache enable override. More...
 
bool pn_cfg_debug_mode = 0
 Interactive debug mode enable. More...
 
bool pn_trace_verbose = false
 Output verbose tracing information. More...
 
sc_trace_file * pn_trace_file = NULL
 ParaNut trace file pointer. More...