mirror of https://github.com/YosysHQ/yosys.git
Revert "Only xaig if GetSize(output_bits) > 0"
This reverts commit 7b646101e9
.
This commit is contained in:
parent
7b646101e9
commit
4d123b7638
|
@ -575,7 +575,6 @@ struct XAigerWriter
|
|||
|
||||
f << "c";
|
||||
|
||||
if (GetSize(output_bits) > 0) {
|
||||
auto write_buffer = [](std::stringstream &buffer, int i32) {
|
||||
int32_t i32_be = to_big_endian(i32);
|
||||
buffer.write(reinterpret_cast<const char*>(&i32_be), sizeof(i32_be));
|
||||
|
@ -745,7 +744,6 @@ struct XAigerWriter
|
|||
//buffer_size_be = to_big_endian(buffer_str.size());
|
||||
//f.write(reinterpret_cast<const char*>(&buffer_size_be), sizeof(buffer_size_be));
|
||||
//f.write(buffer_str.data(), buffer_str.size());
|
||||
}
|
||||
|
||||
f << stringf("Generated by %s\n", yosys_version_str);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue