vhdlpp: Changed emitted type from 'bool' to 'bit'.
This commit is contained in:
parent
08e5aa021a
commit
e4694cb6cb
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue