diff --git a/tgt-stub/stub.c b/tgt-stub/stub.c index cb0866e38..fbc5d24fa 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 */ #ifdef HAVE_CVS_IDENT -#ident "$Id: stub.c,v 1.90.2.2 2005/08/28 17:37:28 steve Exp $" +#ident "$Id: stub.c,v 1.90.2.3 2006/01/14 20:13:22 steve Exp $" #endif # include "config.h" @@ -227,6 +227,23 @@ static void show_lpm(ivl_lpm_t net) break; } + case IVL_LPM_CMP_EQ: { + fprintf(out, " LPM_COMPARE(EQ) %s: \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_CMP_NE: { fprintf(out, " LPM_COMPARE(NE) %s: \n", ivl_lpm_basename(net), width); @@ -325,6 +342,10 @@ static void show_lpm(ivl_lpm_t net) fprintf(out, " Aclr: %s\n", ivl_nexus_name(ivl_lpm_async_clr(net))); + if (ivl_lpm_sync_clr(net)) + fprintf(out, " Sclr: %s\n", + ivl_nexus_name(ivl_lpm_sync_clr(net))); + if (ivl_lpm_async_set(net)) { fprintf(out, " Aset: %s\n", ivl_nexus_name(ivl_lpm_async_set(net))); @@ -332,6 +353,11 @@ static void show_lpm(ivl_lpm_t net) show_expression(ivl_lpm_aset_value(net), 10); } + if (ivl_lpm_sync_set(net)) { + fprintf(out, " Sset: %s\n", + ivl_nexus_name(ivl_lpm_sync_set(net))); + } + for (idx = 0 ; idx < width ; idx += 1) fprintf(out, " Data %u: %s\n", idx, ivl_nexus_name(ivl_lpm_data(net, idx))); @@ -975,6 +1001,9 @@ int target_design(ivl_design_t des) /* * $Log: stub.c,v $ + * Revision 1.90.2.3 2006/01/14 20:13:22 steve + * Show synchronous set/clr of FF. + * * Revision 1.90.2.2 2005/08/28 17:37:28 steve * Dump CMP_GE devices. *