#include <cstdio>
#include <iostream>
#include "../sc_mempool.hh"
#include "sc_bit.hh"
Go to the source code of this file.
◆ DEFN_ASN_OP
#define DEFN_ASN_OP |
( |
|
op | ) |
|
◆ DEFN_ASN_OP_T
#define DEFN_ASN_OP_T |
( |
|
op, |
|
|
|
tp |
|
) |
| |
Value:sc_logic & \
{ \
return *this; \
}
Definition at line 166 of file sc_logic.hh.
◆ DEFN_BIN_OP
#define DEFN_BIN_OP |
( |
|
ret, |
|
|
|
op |
|
) |
| |
Value: DEFN_BIN_OP_T(ret,
op,
bool) \
DEFN_BIN_OP_T(ret,
op,
char) \
DEFN_BIN_OP_T(ret,
op,
int)
#define DEFN_BIN_OP_T(ret, op, tp)
Definition at line 320 of file sc_logic.hh.
Referenced by sc_dt::operator!=().
◆ DEFN_BIN_OP_T
#define DEFN_BIN_OP_T |
( |
|
ret, |
|
|
|
op, |
|
|
|
tp |
|
) |
| |
Value: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 308 of file sc_logic.hh.