Skip to content

Commit ba7efe6

Browse files
committed
write_verilog: support $barrier
1 parent c7fd92e commit ba7efe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/verilog/verilog_backend.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ bool dump_cell_expr(std::ostream &f, std::string indent, RTLIL::Cell *cell)
10961096
return true;
10971097
}
10981098

1099-
if (cell->type.in(ID($_BUF_), ID($buf))) {
1099+
if (cell->type.in(ID($_BUF_), ID($buf), ID($barrier))) {
11001100
f << stringf("%s" "assign ", indent.c_str());
11011101
dump_sigspec(f, cell->getPort(ID::Y));
11021102
f << stringf(" = ");

0 commit comments

Comments
 (0)