Lines Matching refs:op
203 #define DEFN_ASN_OP_T(op,tp) \
204 sc_logic& operator op ( tp v ) \
205 { *this op sc_logic( v ); return *this; }
207 #define DEFN_ASN_OP(op) \
208 DEFN_ASN_OP_T(op, sc_logic_value_t) \
209 DEFN_ASN_OP_T(op, bool) \
210 DEFN_ASN_OP_T(op, char) \
211 DEFN_ASN_OP_T(op, int ) \
212 DEFN_ASN_OP_T(op, const sc_bit& )
321 #define DEFN_BIN_OP_T(ret,op,tp) \
322 inline ret operator op ( const sc_logic& a, tp b ) \
323 { return ( a op sc_logic( b ) ); } \
324 inline ret operator op ( tp a, const sc_logic& b ) \
325 { return ( sc_logic( a ) op b ); }
327 #define DEFN_BIN_OP(ret,op) \
328 DEFN_BIN_OP_T(ret,op,sc_logic_value_t) \
329 DEFN_BIN_OP_T(ret,op,bool) \
330 DEFN_BIN_OP_T(ret,op,char) \
331 DEFN_BIN_OP_T(ret,op,int)