From c335bad6e933331db64d027237529473b103799d Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 16 Sep 2024 12:25:35 +0200 Subject: [PATCH] Do not incorporate loops in XLUT --- himbaechel/uarch/ng-ultra/pack.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/himbaechel/uarch/ng-ultra/pack.cc b/himbaechel/uarch/ng-ultra/pack.cc index 29aaf864..aa51b47c 100644 --- a/himbaechel/uarch/ng-ultra/pack.cc +++ b/himbaechel/uarch/ng-ultra/pack.cc @@ -355,6 +355,8 @@ void NgUltraPacker::pack_xluts(void) if (!net) continue; lut[i] = net_driven_by(ctx, net, is_lut, id_O); + if (lut[i] == cell.second.get()) + continue; if (lut[i]) { if (net->users.entries()>1) dff_parts_used++; inputs_used++;