#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 | ) |
|
Value:
DEFN_ASN_OP_T(
op,
bool) \
DEFN_ASN_OP_T(
op,
char) \
DEFN_ASN_OP_T(
op,
const sc_bit &)
Definition at line 206 of file sc_logic.hh.
◆ DEFN_ASN_OP_T
#define DEFN_ASN_OP_T |
( |
|
op, |
|
|
|
tp |
|
) |
| |
Value: sc_logic & \
{ \
return *this; \
}
Definition at line 198 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)
Definition at line 352 of file sc_logic.hh.
◆ 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 340 of file sc_logic.hh.