You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error_message(NETLIST, unknown_location, "%s", "Found a combinational loop");
468
-
} elseif (other_net->num_driver_pins > 1) {
469
-
if (other_net->name && join_to_net->name)
470
-
error_message(NETLIST, unknown_location, "Tried to join net %s to %s but this would lose %d drivers for net %s", other_net->name, join_to_net->name, other_net->num_driver_pins - 1, other_net->name);
471
-
else
472
-
error_message(NETLIST, unknown_location, "Tried to join nets but this would lose %d drivers", other_net->num_driver_pins - 1);
// Either we tried to eliminate a buffer into a net with multiple drivers
483
+
// or we tried to combine nets that already had mismatching drivers
484
+
if(!drivers_match) {
485
+
if (other_net->name && join_to_net->name)
486
+
error_message(NETLIST, unknown_location, "Tried to join net %s to %s but this would lose %d drivers for net %s", other_net->name, join_to_net->name, other_net->num_driver_pins - 1, other_net->name);
487
+
else
488
+
error_message(NETLIST, unknown_location, "Tried to join nets but this would lose %d drivers", other_net->num_driver_pins - 1);
0 commit comments