Skip to content

Commit

Permalink
Connect right ANEB pin when doing NE comparator.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed Sep 9, 2001
1 parent 749c3eb commit 432d4ef
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions t-dll.cc
Expand Up @@ -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.61 2001/09/08 01:23:21 steve Exp $"
#ident "$Id: t-dll.cc,v 1.62 2001/09/09 16:49:04 steve Exp $"
#endif

# include "config.h"
Expand Down Expand Up @@ -882,9 +882,14 @@ void dll_target::lpm_compare(const NetCompare*net)
IVL_DR_STRONG, IVL_DR_STRONG);

} else if (net->pin_ANEB().is_linked()) {
const Nexus*nex = net->pin_AEB().nexus();
const Nexus*nex = net->pin_ANEB().nexus();
obj->type = IVL_LPM_CMP_NE;

if (! nex->t_cookie()) {
cerr << "internal error: COMPARE_NE device " <<
net->name()<<" ANEB pin nexus has no cookie."<<endl;
assert(0);
}
assert(nex->t_cookie());
obj->u_.arith.q[0] = (ivl_nexus_t) nex->t_cookie();
nexus_lpm_add(obj->u_.arith.q[0], obj, 0,
Expand Down Expand Up @@ -1527,6 +1532,9 @@ extern const struct target tgt_dll = { "dll", &dll_target_obj };

/*
* $Log: t-dll.cc,v $
* Revision 1.62 2001/09/09 16:49:04 steve
* Connect right ANEB pin when doing NE comparator.
*
* Revision 1.61 2001/09/08 01:23:21 steve
* No code for unlinked constants.
*
Expand Down

0 comments on commit 432d4ef

Please sign in to comment.