Implement reduction nor.

This commit is contained in:
steve 2001-05-20 01:18:38 +00:00
parent 61991e6367
commit 8669b372e0
1 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#if !defined(WINNT) #if !defined(WINNT)
#ident "$Id: eval_expr.c,v 1.27 2001/05/20 01:02:55 steve Exp $" #ident "$Id: eval_expr.c,v 1.28 2001/05/20 01:18:38 steve Exp $"
#endif #endif
# include "vvp_priv.h" # include "vvp_priv.h"
@ -940,6 +940,7 @@ static struct vector_info draw_unary_expr(ivl_expr_t exp, unsigned wid)
break; break;
case '!': case '!':
case 'N': /* Reduction NOR ~| */
res = draw_eval_expr(sub); res = draw_eval_expr(sub);
if (res.wid > 1) { if (res.wid > 1) {
/* a ! on a vector is implemented with a reduction /* a ! on a vector is implemented with a reduction
@ -1029,6 +1030,9 @@ struct vector_info draw_eval_expr(ivl_expr_t exp)
/* /*
* $Log: eval_expr.c,v $ * $Log: eval_expr.c,v $
* Revision 1.28 2001/05/20 01:18:38 steve
* Implement reduction nor.
*
* Revision 1.27 2001/05/20 01:02:55 steve * Revision 1.27 2001/05/20 01:02:55 steve
* Initial support for system functions. * Initial support for system functions.
* *