From 74eb544962ff5c4de018fd87a46948e4f8481727 Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 25 Apr 2002 05:03:11 +0000 Subject: [PATCH] Dump bit select expressions. --- tgt-stub/stub.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tgt-stub/stub.c b/tgt-stub/stub.c index 66a8d1d74..31d0b7eb2 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 */ #if !defined(WINNT) && !defined(macintosh) -#ident "$Id: stub.c,v 1.55 2002/04/22 03:15:25 steve Exp $" +#ident "$Id: stub.c,v 1.56 2002/04/25 05:03:11 steve Exp $" #endif # include "config.h" @@ -69,6 +69,13 @@ static void show_expression(ivl_expr_t net, unsigned ind) break; } + case IVL_EX_SELECT: + fprintf(out, "%*s\n", ind, "", + width, sign); + show_expression(ivl_expr_oper1(net), ind+3); + show_expression(ivl_expr_oper2(net), ind+3); + break; + case IVL_EX_STRING: fprintf(out, "%*s\n", ind, "", ivl_expr_string(net), ivl_expr_width(net)); @@ -618,6 +625,9 @@ int target_design(ivl_design_t des) /* * $Log: stub.c,v $ + * Revision 1.56 2002/04/25 05:03:11 steve + * Dump bit select expressions. + * * Revision 1.55 2002/04/22 03:15:25 steve * Keep delays applied to BUFZ devices. *