From b094ccc3f7856dc971391a6010f2f3a59b25bc85 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 13 Jul 2005 04:51:36 +0000 Subject: [PATCH] Functions get type from their output signal. --- t-dll-expr.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/t-dll-expr.cc b/t-dll-expr.cc index 95dff5447..39a7090d0 100644 --- a/t-dll-expr.cc +++ b/t-dll-expr.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: t-dll-expr.cc,v 1.41 2005/07/11 16:56:51 steve Exp $" +#ident "$Id: t-dll-expr.cc,v 1.42 2005/07/13 04:51:36 steve Exp $" #endif # include "config.h" @@ -431,7 +431,7 @@ void dll_target::expr_ufunc(const NetEUFunc*net) assert(expr); expr->type_ = IVL_EX_UFUNC; - expr->value_= IVL_VT_VECTOR; + expr->value_= net->expr_type(); expr->width_= net->expr_width(); expr->signed_ = net->has_sign()? 1 : 0; @@ -473,6 +473,9 @@ void dll_target::expr_unary(const NetEUnary*net) /* * $Log: t-dll-expr.cc,v $ + * Revision 1.42 2005/07/13 04:51:36 steve + * Functions get type from their output signal. + * * Revision 1.41 2005/07/11 16:56:51 steve * Remove NetVariable and ivl_variable_t structures. *