Properly step through wide inputs. (Stephan Boettcher)
This commit is contained in:
parent
8cc89a3a1f
commit
c7b36322f6
|
|
@ -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
|
||||||
*/
|
*/
|
||||||
#if !defined(WINNT)
|
#if !defined(WINNT)
|
||||||
#ident "$Id: eval_expr.c,v 1.35 2001/07/07 20:20:10 steve Exp $"
|
#ident "$Id: eval_expr.c,v 1.36 2001/07/09 15:38:35 steve Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# include "vvp_priv.h"
|
# include "vvp_priv.h"
|
||||||
|
|
@ -820,7 +820,6 @@ static struct vector_info draw_sfunc_expr(ivl_expr_t exp, unsigned wid)
|
||||||
unsigned parm_count = ivl_expr_parms(exp);
|
unsigned parm_count = ivl_expr_parms(exp);
|
||||||
struct vector_info res;
|
struct vector_info res;
|
||||||
|
|
||||||
fprintf(stderr, "XXXX %s(%u)\n", ivl_expr_name(exp), parm_count);
|
|
||||||
|
|
||||||
/* If the function has no parameters, then use this short-form
|
/* If the function has no parameters, then use this short-form
|
||||||
to draw the statement. */
|
to draw the statement. */
|
||||||
|
|
@ -1126,6 +1125,9 @@ struct vector_info draw_eval_expr(ivl_expr_t exp)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: eval_expr.c,v $
|
* $Log: eval_expr.c,v $
|
||||||
|
* Revision 1.36 2001/07/09 15:38:35 steve
|
||||||
|
* Properly step through wide inputs. (Stephan Boettcher)
|
||||||
|
*
|
||||||
* Revision 1.35 2001/07/07 20:20:10 steve
|
* Revision 1.35 2001/07/07 20:20:10 steve
|
||||||
* Pass parameters to system functions.
|
* Pass parameters to system functions.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
*/
|
*/
|
||||||
#if !defined(WINNT)
|
#if !defined(WINNT)
|
||||||
#ident "$Id: vvp_scope.c,v 1.38 2001/07/07 03:01:06 steve Exp $"
|
#ident "$Id: vvp_scope.c,v 1.39 2001/07/09 15:38:35 steve Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# include "vvp_priv.h"
|
# include "vvp_priv.h"
|
||||||
|
|
@ -614,7 +614,7 @@ static void draw_logic_in_scope(ivl_net_logic_t lptr)
|
||||||
fprintf(vvp_out, ", L_%s/%d/%d",
|
fprintf(vvp_out, ", L_%s/%d/%d",
|
||||||
vvp_mangle_id(ivl_logic_name(lptr)),
|
vvp_mangle_id(ivl_logic_name(lptr)),
|
||||||
level - 1,
|
level - 1,
|
||||||
pdx );
|
pdx*4 );
|
||||||
} else {
|
} else {
|
||||||
ivl_nexus_t nex = ivl_logic_pin(lptr, pdx+1);
|
ivl_nexus_t nex = ivl_logic_pin(lptr, pdx+1);
|
||||||
fprintf(vvp_out, ", ");
|
fprintf(vvp_out, ", ");
|
||||||
|
|
@ -631,6 +631,7 @@ static void draw_logic_in_scope(ivl_net_logic_t lptr)
|
||||||
ninp = (ninp+3) / 4;
|
ninp = (ninp+3) / 4;
|
||||||
else
|
else
|
||||||
ninp = 0;
|
ninp = 0;
|
||||||
|
level += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1071,6 +1072,9 @@ int draw_scope(ivl_scope_t net, ivl_scope_t parent)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: vvp_scope.c,v $
|
* $Log: vvp_scope.c,v $
|
||||||
|
* Revision 1.39 2001/07/09 15:38:35 steve
|
||||||
|
* Properly step through wide inputs. (Stephan Boettcher)
|
||||||
|
*
|
||||||
* Revision 1.38 2001/07/07 03:01:06 steve
|
* Revision 1.38 2001/07/07 03:01:06 steve
|
||||||
* Generate code for right shift.
|
* Generate code for right shift.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue