From 8f885258190a90520f62a478d25fd5c9be2621de Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 3 May 2001 01:52:45 +0000 Subject: [PATCH] dll build of many probes forgot to index the probe. --- t-dll.cc | 7 +++++-- tgt-stub/stub.c | 9 +++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/t-dll.cc b/t-dll.cc index 6fea8da2b..d817ba2c7 100644 --- a/t-dll.cc +++ b/t-dll.cc @@ -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.cc,v 1.38 2001/04/29 23:17:38 steve Exp $" +#ident "$Id: t-dll.cc,v 1.39 2001/05/03 01:52:45 steve Exp $" #endif # include "compiler.h" @@ -313,7 +313,7 @@ void dll_target::event(const NetEvent*net) if (net->nprobe() >= 1) { for (unsigned idx = 0 ; idx < net->nprobe() ; idx += 1) { - const NetEvProbe*pr = net->probe(0); + const NetEvProbe*pr = net->probe(idx); switch (pr->edge()) { case NetEvProbe::ANYEDGE: obj->nany += pr->pin_count(); @@ -893,6 +893,9 @@ extern const struct target tgt_dll = { "dll", &dll_target_obj }; /* * $Log: t-dll.cc,v $ + * Revision 1.39 2001/05/03 01:52:45 steve + * dll build of many probes forgot to index the probe. + * * Revision 1.38 2001/04/29 23:17:38 steve * Carry drive strengths in the ivl_nexus_ptr_t, and * handle constant devices in targets.' diff --git a/tgt-stub/stub.c b/tgt-stub/stub.c index de32d1d3a..cfb32e2c8 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.39 2001/04/29 23:17:38 steve Exp $" +#ident "$Id: stub.c,v 1.40 2001/05/03 01:52:45 steve Exp $" #endif /* @@ -323,7 +323,9 @@ static int show_process(ivl_process_t net, void*x) static void show_event(ivl_event_t net) { unsigned idx; - fprintf(out, " event %s;\n", ivl_event_name(net)); + fprintf(out, " event %s (%u pos, %u neg, %u any);\n", + ivl_event_name(net), ivl_event_npos(net), + ivl_event_nneg(net), ivl_event_nany(net)); for (idx = 0 ; idx < ivl_event_nany(net) ; idx += 1) { ivl_nexus_t nex = ivl_event_any(net, idx); @@ -548,6 +550,9 @@ DECLARE_CYGWIN_DLL(DllMain); /* * $Log: stub.c,v $ + * Revision 1.40 2001/05/03 01:52:45 steve + * dll build of many probes forgot to index the probe. + * * Revision 1.39 2001/04/29 23:17:38 steve * Carry drive strengths in the ivl_nexus_ptr_t, and * handle constant devices in targets.'