vhdlpp: Changed emitted type from 'bool' to 'bit'.

This commit is contained in:
Maciej Suminski 2015-05-06 15:59:00 +02:00
parent 08e5aa021a
commit e4694cb6cb
2 changed files with 2 additions and 2 deletions

View File

@ -404,7 +404,7 @@ void generate_global_types(ActiveScope*res)
res->use_name(perm_string::literal("real"), &primitive_REAL);
res->use_name(perm_string::literal("std_logic"), &primitive_STDLOGIC);
res->use_name(perm_string::literal("character"), &primitive_CHARACTER);
res->use_name(perm_string::literal("bit_vector"),&primitive_BOOL_VECTOR);
res->use_name(perm_string::literal("bit_vector"),&primitive_BIT_VECTOR);
res->use_name(perm_string::literal("string"), &primitive_STRING);
res->use_name(perm_string::literal("natural"), &primitive_NATURAL);
}

View File

@ -152,7 +152,7 @@ int VTypePrimitive::emit_primitive_type(ostream&out) const
out << "boolean";
break;
case BIT:
out << "bool";
out << "bit";
break;
case STDLOGIC:
out << "logic";