From fca2e6480812a83211ef3bbb3ab41d04e776f81c Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 30 Jun 2004 03:05:04 +0000 Subject: [PATCH] Dump variable type of system function. --- tgt-stub/stub.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tgt-stub/stub.c b/tgt-stub/stub.c index 902c8abc2..12d5c0bcd 100644 --- a/tgt-stub/stub.c +++ b/tgt-stub/stub.c @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: stub.c,v 1.87 2004/06/30 02:16:27 steve Exp $" +#ident "$Id: stub.c,v 1.88 2004/06/30 03:05:04 steve Exp $" #endif # include "config.h" @@ -121,8 +121,9 @@ static void show_expression(ivl_expr_t net, unsigned ind) break; case IVL_EX_SFUNC: - fprintf(out, "%*s\n", ind, "", - ivl_expr_name(net), ivl_expr_width(net), sign); + fprintf(out, "%*s\n", + ind, "", ivl_expr_name(net), ivl_expr_width(net), + sign, ivl_expr_value(net)); { unsigned cnt = ivl_expr_parms(net); unsigned idx; for (idx = 0 ; idx < cnt ; idx += 1) @@ -946,6 +947,9 @@ int target_design(ivl_design_t des) /* * $Log: stub.c,v $ + * Revision 1.88 2004/06/30 03:05:04 steve + * Dump variable type of system function. + * * Revision 1.87 2004/06/30 02:16:27 steve * Implement signed divide and signed right shift in nets. *