Lines Matching refs:op
166 #define DEFN_ASN_OP_T(op,tp) \
168 operator op (tp v) \
170 *this op sc_logic(v); \
174 #define DEFN_ASN_OP(op) \
175 DEFN_ASN_OP_T(op, sc_logic_value_t) \
176 DEFN_ASN_OP_T(op, bool) \
177 DEFN_ASN_OP_T(op, char) \
178 DEFN_ASN_OP_T(op, int) \
179 DEFN_ASN_OP_T(op, const sc_bit &)
308 #define DEFN_BIN_OP_T(ret,op,tp) \
310 operator op (const sc_logic &a, tp b) \
312 return (a op sc_logic(b)); \
315 operator op (tp a, const sc_logic &b) \
317 return (sc_logic(a) op b); \
320 #define DEFN_BIN_OP(ret, op) \
321 DEFN_BIN_OP_T(ret, op, sc_logic_value_t) \
322 DEFN_BIN_OP_T(ret, op, bool) \
323 DEFN_BIN_OP_T(ret, op, char) \
324 DEFN_BIN_OP_T(ret, op, int)