probe expression widths of analog contribution expressions.
The expressions of a contribution statement are real valued by definition, but we need to do the width probing anyhow in order to resolve types and the widths of subexpressions.
This commit is contained in:
parent
17b937740a
commit
fc00bd9a5b
|
|
@ -28,6 +28,8 @@
|
||||||
|
|
||||||
NetProc* AContrib::elaborate(Design*des, NetScope*scope) const
|
NetProc* AContrib::elaborate(Design*des, NetScope*scope) const
|
||||||
{
|
{
|
||||||
|
probe_expr_width(des, scope, lval_);
|
||||||
|
probe_expr_width(des, scope, rval_);
|
||||||
NetExpr*lval = elab_and_eval(des, scope, lval_, -1);
|
NetExpr*lval = elab_and_eval(des, scope, lval_, -1);
|
||||||
NetExpr*rval = elab_and_eval(des, scope, rval_, -1);
|
NetExpr*rval = elab_and_eval(des, scope, rval_, -1);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue