supply signals give input values.

This commit is contained in:
steve 2001-07-22 21:31:14 +00:00
parent 260b4166c1
commit bc284ee6d8
1 changed files with 16 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)
#ident "$Id: vvp_scope.c,v 1.41 2001/07/18 02:44:39 steve Exp $"
#ident "$Id: vvp_scope.c,v 1.42 2001/07/22 21:31:14 steve Exp $"
#endif
# include "vvp_priv.h"
@ -194,6 +194,18 @@ static const char* draw_net_input_drive(ivl_nexus_t nex, ivl_nexus_ptr_t nptr)
return result;
}
if (sptr && (ivl_signal_type(sptr) == IVL_SIT_SUPPLY1)) {
sprintf(result, "V_%s[%u]", vvp_mangle_id(ivl_signal_name(sptr)),
nptr_pin);
return result;
}
if (sptr && (ivl_signal_type(sptr) == IVL_SIT_SUPPLY0)) {
sprintf(result, "V_%s[%u]", vvp_mangle_id(ivl_signal_name(sptr)),
nptr_pin);
return result;
}
cptr = ivl_nexus_ptr_con(nptr);
if (cptr) {
const char*bits = ivl_const_bits(cptr);
@ -1098,6 +1110,9 @@ int draw_scope(ivl_scope_t net, ivl_scope_t parent)
/*
* $Log: vvp_scope.c,v $
* Revision 1.42 2001/07/22 21:31:14 steve
* supply signals give input values.
*
* Revision 1.41 2001/07/18 02:44:39 steve
* Relax driver limit from 64 to forever (Stephan Boettcher)
*