main.cpp File Reference

#include "systemc.h"
#include "./scx_signal_int.h"
#include "./scx_signal_uint.h"
#include "./scx_signal_signed.h"
#include "./scx_signal_unsigned.h"

Defines

#define DISPLAY(exp, base)   cout << #exp << " = " << base << exp << endl;
#define TEST(exp1, exp2, base)

Functions

 SC_MODULE (DUT)
int sc_main (int argc, char *argv[])

Define Documentation

#define DISPLAY ( exp,
base   )     cout << #exp << " = " << base << exp << endl;

Referenced by SC_MODULE().

#define TEST ( exp1,
exp2,
base   ) 

Value:

if ( exp1 != exp2 ) \
        { \
            cout << #exp1 << "(" << base << exp1 << ") != " \
                     << #exp2 << "(" << base << exp2 << ")" << endl; \
    }

Referenced by SC_MODULE().


Function Documentation

int sc_main ( int  argc,
char *  argv[] 
)

References sc_core::sc_start().

SC_MODULE ( DUT   ) 

Generated by
Matthieu Moy <Matthieu.Moy@st.com>
Back to Pinapa Home Page