From 741f69084885e4c63e8ec01b00c626a51bdc155b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 16 May 2024 11:52:01 +0200 Subject: [PATCH] fix --- himbaechel/uarch/ng-ultra/pack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/himbaechel/uarch/ng-ultra/pack.cc b/himbaechel/uarch/ng-ultra/pack.cc index becc93b5..210828a4 100644 --- a/himbaechel/uarch/ng-ultra/pack.cc +++ b/himbaechel/uarch/ng-ultra/pack.cc @@ -797,7 +797,7 @@ void NgUltraPacker::pack_xrf_input_and_output(CellInfo *xrf, IdString cluster, I NetInfo *net_out = nullptr; if (out_port != IdString()) { net_out = xrf->getPort(out_port); - if (net_out->users.entries()==0) { + if (net_out && net_out->users.entries()==0) { xrf->disconnectPort(out_port); net_out = nullptr; }