dll build of many probes forgot to index the probe.

This commit is contained in:
steve 2001-05-03 01:52:45 +00:00
parent a225fe304d
commit 8f88525819
2 changed files with 12 additions and 4 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.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.'

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: 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.'