vhdlpp: "integer" is emitted as "bool[31:0" but is marked as accepted to be used in packed arrays.
This commit is contained in:
parent
447e402d16
commit
bb66ed8b9d
|
|
@ -345,7 +345,7 @@ static void import_ieee_use(ActiveScope*res, perm_string package, perm_string na
|
|||
|
||||
const VTypePrimitive primitive_BOOLEAN(VTypePrimitive::BOOLEAN, true);
|
||||
const VTypePrimitive primitive_BIT(VTypePrimitive::BIT, true);
|
||||
const VTypePrimitive primitive_INTEGER(VTypePrimitive::INTEGER);
|
||||
const VTypePrimitive primitive_INTEGER(VTypePrimitive::INTEGER, true);
|
||||
const VTypePrimitive primitive_REAL(VTypePrimitive::REAL);
|
||||
const VTypePrimitive primitive_STDLOGIC(VTypePrimitive::STDLOGIC, true);
|
||||
const VTypePrimitive primitive_CHARACTER(VTypePrimitive::CHARACTER);
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ int VTypePrimitive::emit_primitive_type(ostream&out) const
|
|||
out << "logic";
|
||||
break;
|
||||
case INTEGER:
|
||||
out << "integer";
|
||||
out << "bool[31:0]";
|
||||
break;
|
||||
case REAL:
|
||||
out << "real";
|
||||
|
|
|
|||
Loading…
Reference in New Issue