Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions plugins/solve_fsm/src/solve_fsm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ namespace hal
}

const auto pin_net = ff->get_fan_in_net(pin_var);
if (pin_net == nullptr)
{
return ERR("failed to generate boolean functions of state: the next state of gate " + ff->get_name() + " with ID " + std::to_string(ff->get_id()) + " depends on input pin "
+ pin_var + ", but no net is connected to it.");
}

BooleanFunction pin_bf;
if (auto res = nl_dec.get_subgraph_function(subgraph_gates, pin_net); res.is_error())
{
Expand Down
Loading