1
0
mirror of synced 2026-04-17 10:11:18 +00:00

Merge pull request #4803 from povik/write_verilog-buf

write_verilog: Use assign for `$buf`
This commit is contained in:
Martin Povišer
2024-12-10 20:10:58 +01:00
committed by GitHub

View File

@@ -1071,7 +1071,7 @@ bool dump_cell_expr(std::ostream &f, std::string indent, RTLIL::Cell *cell)
return true;
}
if (cell->type == ID($_BUF_)) {
if (cell->type.in(ID($_BUF_), ID($buf))) {
f << stringf("%s" "assign ", indent.c_str());
dump_sigspec(f, cell->getPort(ID::Y));
f << stringf(" = ");