Skip to content

Commit f3f8037

Browse files
committed
abc9_ops: Allow no arcs on box w/o inputs or w/o outputs
1 parent 481d596 commit f3f8037

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

passes/techmap/abc9_ops.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,8 +1093,9 @@ void prep_box(RTLIL::Design *design)
10931093
ss << std::endl;
10941094

10951095
auto &t = timing.setup_module(module);
1096-
if (t.comb.empty())
1096+
if (t.comb.empty() && !outputs.empty() && !inputs.empty()) {
10971097
log_error("Module '%s' with (* abc9_box *) has no timing (and thus no connectivity) information.\n", log_id(module));
1098+
}
10981099

10991100
for (const auto &o : outputs) {
11001101
first = true;

0 commit comments

Comments
 (0)