Remove the $ from signal labels. They do not help.
This commit is contained in:
parent
bb3f3c1f46
commit
c75f0a930e
|
|
@ -17,7 +17,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
#ifdef HAVE_CVS_IDENT
|
||||
#ident "$Id: eval_expr.c,v 1.126 2005/10/11 18:30:50 steve Exp $"
|
||||
#ident "$Id: eval_expr.c,v 1.127 2005/10/11 18:54:10 steve Exp $"
|
||||
#endif
|
||||
|
||||
# include "vvp_priv.h"
|
||||
|
|
@ -1648,7 +1648,7 @@ static struct vector_info draw_select_signal(ivl_expr_t sube,
|
|||
if (shiv.base == 0 && ivl_expr_width(sube) == wid) {
|
||||
res.base = allocate_vector(wid);
|
||||
res.wid = wid;
|
||||
fprintf(vvp_out, " %%load/v %u, V_$%p, %u;\n",
|
||||
fprintf(vvp_out, " %%load/v %u, V_%p, %u;\n",
|
||||
res.base, sig, ivl_expr_width(sube));
|
||||
|
||||
return res;
|
||||
|
|
@ -1663,7 +1663,7 @@ static struct vector_info draw_select_signal(ivl_expr_t sube,
|
|||
|
||||
res.base = allocate_vector(ivl_expr_width(sube));
|
||||
res.wid = ivl_expr_width(sube);
|
||||
fprintf(vvp_out, " %%load/v %u, V_$%p, %u; Only need %u bits\n",
|
||||
fprintf(vvp_out, " %%load/v %u, V_%p, %u; Only need %u bits\n",
|
||||
res.base, sig, ivl_expr_width(sube), wid);
|
||||
|
||||
save_signal_lookaside(res.base, sig, res.wid);
|
||||
|
|
@ -1683,7 +1683,7 @@ static struct vector_info draw_select_signal(ivl_expr_t sube,
|
|||
res.wid = wid;
|
||||
|
||||
for (idx = 0 ; idx < res.wid ; idx += 1) {
|
||||
fprintf(vvp_out, " %%load/x.p %u, V_$%p, 0;\n",
|
||||
fprintf(vvp_out, " %%load/x.p %u, V_%p, 0;\n",
|
||||
res.base+idx, sig);
|
||||
}
|
||||
|
||||
|
|
@ -2168,6 +2168,9 @@ struct vector_info draw_eval_expr(ivl_expr_t exp, int stuff_ok_flag)
|
|||
|
||||
/*
|
||||
* $Log: eval_expr.c,v $
|
||||
* Revision 1.127 2005/10/11 18:54:10 steve
|
||||
* Remove the $ from signal labels. They do not help.
|
||||
*
|
||||
* Revision 1.126 2005/10/11 18:30:50 steve
|
||||
* Remove obsolete vvp_memory_label function.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
#ifdef HAVE_CVS_IDENT
|
||||
#ident "$Id: vvp_scope.c,v 1.135 2005/10/11 18:30:50 steve Exp $"
|
||||
#ident "$Id: vvp_scope.c,v 1.136 2005/10/11 18:54:10 steve Exp $"
|
||||
#endif
|
||||
|
||||
# include "vvp_priv.h"
|
||||
|
|
@ -147,7 +147,7 @@ static void str_repeat(char*buf, const char*str, unsigned rpt)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/* REMOVE ME: vvp_signal_label should not be used. DEAD CODE
|
||||
* Given a signal, generate a string name that is suitable for use as
|
||||
* a label. The only rule is that the same signal will always have the
|
||||
* same label. The result is stored in static memory, so remember to
|
||||
|
|
@ -156,7 +156,7 @@ static void str_repeat(char*buf, const char*str, unsigned rpt)
|
|||
const char* vvp_signal_label(ivl_signal_t sig)
|
||||
{
|
||||
static char buf[32];
|
||||
sprintf(buf, "$%p", sig);
|
||||
sprintf(buf, "%p", sig);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
|
@ -2010,6 +2010,9 @@ int draw_scope(ivl_scope_t net, ivl_scope_t parent)
|
|||
|
||||
/*
|
||||
* $Log: vvp_scope.c,v $
|
||||
* Revision 1.136 2005/10/11 18:54:10 steve
|
||||
* Remove the $ from signal labels. They do not help.
|
||||
*
|
||||
* Revision 1.135 2005/10/11 18:30:50 steve
|
||||
* Remove obsolete vvp_memory_label function.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue