Skip to content

Commit

Permalink
write_firrtl: support $buf and $barrier
Browse files Browse the repository at this point in the history
  • Loading branch information
georgerennie committed Nov 20, 2024
1 parent ae7db69 commit 5c24f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/firrtl/firrtl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 5c24f73

Please sign in to comment.