Dump CMP_GE devices.
This commit is contained in:
parent
075f9cbc4b
commit
86942ac592
|
|
@ -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
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#ifdef HAVE_CVS_IDENT
|
||||||
#ident "$Id: stub.c,v 1.90.2.1 2005/08/21 22:27:57 steve Exp $"
|
#ident "$Id: stub.c,v 1.90.2.2 2005/08/28 17:37:28 steve Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
|
|
@ -244,6 +244,23 @@ static void show_lpm(ivl_lpm_t net)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case IVL_LPM_CMP_GE: {
|
||||||
|
fprintf(out, " LPM_COMPARE(GE) %s: <width=%u>\n",
|
||||||
|
ivl_lpm_basename(net), width);
|
||||||
|
fprintf(out, " Q: %s\n", ivl_nexus_name(ivl_lpm_q(net, 0)));
|
||||||
|
for (idx = 0 ; idx < width ; idx += 1) {
|
||||||
|
ivl_nexus_t nex = ivl_lpm_data(net, idx);
|
||||||
|
fprintf(out, " Data A %u: %s\n", idx,
|
||||||
|
nex? ivl_nexus_name(nex) : "");
|
||||||
|
}
|
||||||
|
for (idx = 0 ; idx < width ; idx += 1) {
|
||||||
|
ivl_nexus_t nex = ivl_lpm_datab(net, idx);
|
||||||
|
fprintf(out, " Data B %u: %s\n", idx,
|
||||||
|
nex? ivl_nexus_name(nex) : "");
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case IVL_LPM_SHIFTL: {
|
case IVL_LPM_SHIFTL: {
|
||||||
fprintf(out, " LPM_SHIFTL %s: <width=%u, selects=%u %s>\n",
|
fprintf(out, " LPM_SHIFTL %s: <width=%u, selects=%u %s>\n",
|
||||||
ivl_lpm_basename(net), width, ivl_lpm_selects(net),
|
ivl_lpm_basename(net), width, ivl_lpm_selects(net),
|
||||||
|
|
@ -958,6 +975,9 @@ int target_design(ivl_design_t des)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: stub.c,v $
|
* $Log: stub.c,v $
|
||||||
|
* Revision 1.90.2.2 2005/08/28 17:37:28 steve
|
||||||
|
* Dump CMP_GE devices.
|
||||||
|
*
|
||||||
* Revision 1.90.2.1 2005/08/21 22:27:57 steve
|
* Revision 1.90.2.1 2005/08/21 22:27:57 steve
|
||||||
* Display NOR gates.
|
* Display NOR gates.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue