Skip to content

Commit

Permalink
write_verilog: log_abort on unhandled $check flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
rroohhh authored and whitequark committed Jan 30, 2025
1 parent 2f11dc8 commit 0ab1392
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backends/verilog/verilog_backend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,8 @@ void dump_cell_expr_check(std::ostream &f, std::string indent, const RTLIL::Cell
f << stringf("%s" "%s" "assume (eventually ", indent.c_str(), label.c_str());
else if (flavor == "cover")
f << stringf("%s" "%s" "cover (", indent.c_str(), label.c_str());
else
log_abort();
dump_sigspec(f, cell->getPort(ID::A));
f << stringf(");\n");
}
Expand Down

0 comments on commit 0ab1392

Please sign in to comment.