Skip to content

Commit ab293d6

Browse files
committed
write_firrtl: support $buf and $barrier
1 parent 6b3901e commit ab293d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/firrtl/firrtl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ struct FirrtlWorker
966966
register_reverse_wire_map(y_id, cell->getPort(ID::Y));
967967
continue;
968968
}
969-
if (cell->type == ID($pos)) {
969+
if (cell->type.in(ID($pos), ID($buf), ID($barrier))) {
970970
// assign y = a;
971971
// printCell(cell);
972972
string a_expr = make_expr(cell->getPort(ID::A));

0 commit comments

Comments
 (0)