Handle (with a warning) unconnected opads.
This commit is contained in:
parent
33946e188c
commit
23ce3a9042
11
xnfio.cc
11
xnfio.cc
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#if !defined(WINNT)
|
#if !defined(WINNT)
|
||||||
#ident "$Id: xnfio.cc,v 1.5 1999/11/02 04:55:01 steve Exp $"
|
#ident "$Id: xnfio.cc,v 1.6 1999/11/18 02:58:37 steve Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# include "functor.h"
|
# include "functor.h"
|
||||||
|
|
@ -56,6 +56,12 @@ static void make_obuf(Design*des, NetNet*net)
|
||||||
/* FIXME: If there is nothing internally driving this PAD, I
|
/* FIXME: If there is nothing internally driving this PAD, I
|
||||||
can connect the PAD to a pullup and disconnect it from the
|
can connect the PAD to a pullup and disconnect it from the
|
||||||
rest of the circuit. This would save routing resources. */
|
rest of the circuit. This would save routing resources. */
|
||||||
|
if (count_outputs(net->pin(0)) <= 0) {
|
||||||
|
cerr << net->get_line() << ":warning: No outputs to OPAD: "
|
||||||
|
<< net->name() << endl;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
assert(count_outputs(net->pin(0)) > 0);
|
assert(count_outputs(net->pin(0)) > 0);
|
||||||
|
|
||||||
/* Look for an existing OBUF connected to this signal. If it
|
/* Look for an existing OBUF connected to this signal. If it
|
||||||
|
|
@ -217,6 +223,9 @@ void xnfio(Design*des)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: xnfio.cc,v $
|
* $Log: xnfio.cc,v $
|
||||||
|
* Revision 1.6 1999/11/18 02:58:37 steve
|
||||||
|
* Handle (with a warning) unconnected opads.
|
||||||
|
*
|
||||||
* Revision 1.5 1999/11/02 04:55:01 steve
|
* Revision 1.5 1999/11/02 04:55:01 steve
|
||||||
* repair the sense of T from bufif01
|
* repair the sense of T from bufif01
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue