vhdlpp: Make integer expressions sized during the emission step.

This commit is contained in:
Maciej Suminski 2015-02-05 16:20:49 +01:00
parent 19ff6a434b
commit cdf18de10e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}