vhdlpp: Emit '-' std_logic value as 'x'.
Note: It is not a direct ("don't care" vs "unknown"), but I could not
find anything that suits better.
This commit is contained in:
parent
95faed8e9d
commit
97df6183a9
|
|
@ -821,6 +821,10 @@ int ExpString::emit_as_array_(ostream& out, Entity*, Architecture*, const VTypeA
|
|||
assert(etype->type() == VTypePrimitive::STDLOGIC);
|
||||
out << "z";
|
||||
break;
|
||||
case '-':
|
||||
assert(etype->type() == VTypePrimitive::STDLOGIC);
|
||||
out << "x";
|
||||
break;
|
||||
default:
|
||||
cerr << get_fileline() << ": internal error: "
|
||||
<< "Don't know how to handle bit " << value_[idx]
|
||||
|
|
|
|||
Loading…
Reference in New Issue