#include <cstdio>#include "sysc/utils/sc_iostream.h"#include "sysc/kernel/sc_macros.h"#include "sysc/utils/sc_mempool.h"#include "sysc/datatypes/bit/sc_bit.h"

Go to the source code of this file.
Classes | |
| class | sc_dt::sc_logic |
Namespaces | |
| namespace | sc_dt |
Defines | |
| #define | DEFN_ASN_OP_T(op, tp) |
| #define | DEFN_ASN_OP(op) |
| #define | DEFN_BIN_OP_T(ret, op, tp) |
| #define | DEFN_BIN_OP(ret, op) |
Enumerations | |
| enum | sc_dt::sc_logic_value_t { sc_dt::Log_0 = 0, sc_dt::Log_1, sc_dt::Log_Z, sc_dt::Log_X } |
Functions | |
| const sc_logic | sc_dt::operator& (const sc_logic &a, const sc_logic &b) |
| const sc_logic | sc_dt::operator| (const sc_logic &a, const sc_logic &b) |
| const sc_logic | sc_dt::operator^ (const sc_logic &a, const sc_logic &b) |
| bool | sc_dt::operator== (const sc_logic &a, const sc_logic &b) |
| bool | sc_dt::operator!= (const sc_logic &a, const sc_logic &b) |
| inline::std::ostream & | sc_dt::operator<< (::std::ostream &os, const sc_logic &a) |
| inline::std::istream & | sc_dt::operator>> (::std::istream &is, sc_logic &a) |
Variables | |
| const sc_logic | sc_dt::SC_LOGIC_0 |
| const sc_logic | sc_dt::SC_LOGIC_1 |
| const sc_logic | sc_dt::SC_LOGIC_Z |
| const sc_logic | sc_dt::SC_LOGIC_X |
| const sc_logic | sc_dt::sc_logic_0 |
| const sc_logic | sc_dt::sc_logic_1 |
| const sc_logic | sc_dt::sc_logic_Z |
| const sc_logic | sc_dt::sc_logic_X |
| #define DEFN_ASN_OP | ( | op | ) |
DEFN_ASN_OP_T(op, sc_logic_value_t) \ DEFN_ASN_OP_T(op, bool) \ DEFN_ASN_OP_T(op, char) \ DEFN_ASN_OP_T(op, int ) \ DEFN_ASN_OP_T(op, const sc_bit& )
Definition at line 205 of file sc_logic.h.
| #define DEFN_ASN_OP_T | ( | op, | |||
| tp | ) |
sc_logic& operator op ( tp v ) \
{ *this op sc_logic( v ); return *this; }
Definition at line 201 of file sc_logic.h.
| #define DEFN_BIN_OP | ( | ret, | |||
| op | ) |
DEFN_BIN_OP_T(ret,op,sc_logic_value_t) \ DEFN_BIN_OP_T(ret,op,bool) \ DEFN_BIN_OP_T(ret,op,char) \ DEFN_BIN_OP_T(ret,op,int)
Definition at line 325 of file sc_logic.h.
| #define DEFN_BIN_OP_T | ( | ret, | |||
| op, | |||||
| tp | ) |
inline ret operator op ( const sc_logic& a, tp b ) \ { return ( a op sc_logic( b ) ); } \ inline ret operator op ( tp a, const sc_logic& b ) \ { return ( sc_logic( a ) op b ); }
Definition at line 319 of file sc_logic.h.
1.6.1