vhdlpp: Added ExpBitString::write_to_stream().

This commit is contained in:
Maciej Suminski 2014-09-05 14:59:20 +02:00
parent 94caa4881e
commit 51b121ae7a
1 changed files with 7 additions and 2 deletions

View File

@ -112,9 +112,14 @@ void ExpAttribute::write_to_stream(ostream&)
ivl_assert(*this, !"Not supported");
}
void ExpBitstring::write_to_stream(ostream&)
void ExpBitstring::write_to_stream(ostream&fd)
{
ivl_assert(*this, !"Not supported");
fd << "\"";
for(vector<char>::const_iterator it = value_.begin();
it != value_.end(); ++it) {
fd << *it;
}
fd << "\"";
}
void ExpCharacter::write_to_stream(ostream&fd)