Support getting the signal from IVL_EX_SIGNAL expressions.

This commit is contained in:
steve 2001-07-28 01:17:40 +00:00
parent becc7cb56a
commit c5a5a11b7f
1 changed files with 7 additions and 1 deletions

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: t-dll-api.cc,v 1.60 2001/07/27 04:51:44 steve Exp $"
#ident "$Id: t-dll-api.cc,v 1.61 2001/07/28 01:17:40 steve Exp $"
#endif
# include "config.h"
@ -368,6 +368,9 @@ extern "C" ivl_signal_t ivl_expr_signal(ivl_expr_t net)
case IVL_EX_BITSEL:
return net->u_.bitsel_.sig;
case IVL_EX_SIGNAL:
return net->u_.signal_.sig;
default:
assert(0);
return 0;
@ -1294,6 +1297,9 @@ extern "C" ivl_statement_t ivl_stmt_sub_stmt(ivl_statement_t net)
/*
* $Log: t-dll-api.cc,v $
* Revision 1.61 2001/07/28 01:17:40 steve
* Support getting the signal from IVL_EX_SIGNAL expressions.
*
* Revision 1.60 2001/07/27 04:51:44 steve
* Handle part select expressions as variants of
* NetESignal/IVL_EX_SIGNAL objects, instead of