Skip to content

Commit

Permalink
Give nets better names, if available.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed Nov 1, 2002
1 parent 1298656 commit 539e494
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tgt-fpga/d-generic-edif.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: d-generic-edif.c,v 1.11 2002/10/30 03:58:45 steve Exp $"
#ident "$Id: d-generic-edif.c,v 1.12 2002/11/01 02:36:22 steve Exp $"
#endif

# include "device.h"
Expand Down Expand Up @@ -271,7 +271,8 @@ void edif_show_footer(ivl_design_t des)
edif_show_consts(des);

for (cur = net_list ; cur ; cur = cur->next) {
fprintf(xnf, "(net N%u (joined %s))\n", nref, cur->joined);
fprintf(xnf, "(net (rename N%u \"%s\") (joined %s))\n",
nref, ivl_nexus_name(cur->nex), cur->joined);
nref += 1;
}

Expand Down Expand Up @@ -448,6 +449,9 @@ const struct device_s d_generic_edif = {

/*
* $Log: d-generic-edif.c,v $
* Revision 1.12 2002/11/01 02:36:22 steve
* Give nets better names, if available.
*
* Revision 1.11 2002/10/30 03:58:45 steve
* Fix up left shift to pass compile,
* fix up ADD/SUB to generate missing pieces,
Expand Down

0 comments on commit 539e494

Please sign in to comment.