vhdlpp: Make integer expressions sized during the emission step.
This commit is contained in:
parent
19ff6a434b
commit
cdf18de10e
|
|
@ -625,7 +625,7 @@ int ExpFunc::emit(ostream&out, Entity*ent, ScopeBase*scope)
|
|||
|
||||
int ExpInteger::emit(ostream&out, Entity*, ScopeBase*)
|
||||
{
|
||||
out << value_;
|
||||
out << "32'd" << value_;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue