write_firrtl: support $buf and $barrier

This commit is contained in:
George Rennie
2026-09-30 09:52:46 +02:00
committed by nella
parent 80c6a7eaf3
commit b8e34c78d7
+1 -1
View File
@@ -966,7 +966,7 @@ struct FirrtlWorker
register_reverse_wire_map(y_id, cell->getPort(ID::Y));
continue;
}
if (cell->type == ID($pos)) {
if (cell->type.in(ID($pos), ID($buf), ID($barrier))) {
// assign y = a;
// printCell(cell);
string a_expr = make_expr(cell->getPort(ID::A));