Skip to content

Commit 83ad6a6

Browse files
committed
Tried to minimize QoR impact 2
1. Do not remove unused buffer 2. Do not consider input port for survivor net decision Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
1 parent 3aef189 commit 83ad6a6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/rsz/src/UnbufferMove.cc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ void UnbufferMove::removeBuffer(Instance* buffer)
363363

364364
// Remove the unused buffer
365365
if (out_db_net == nullptr) {
366+
// jk: behavior change point1
366367
// dbInst* dbinst_buffer = db_network_->staToDb(buffer);
367368
// dbInst::destroy(dbinst_buffer);
368369
return;
@@ -377,9 +378,11 @@ void UnbufferMove::removeBuffer(Instance* buffer)
377378
Net* removed = out_net;
378379
odb::dbModNet* survivor_modnet = ip_modnet;
379380
odb::dbModNet* removed_modnet = op_modnet;
380-
bool in_net_has_port = db_network_->hasPort(in_net);
381381
bool out_net_has_port = db_network_->hasPort(out_net);
382-
if (in_net_has_port == false && out_net_has_port == true) {
382+
// jk: behavior change point1
383+
// bool in_net_has_port = db_network_->hasPort(in_net);
384+
// if (in_net_has_port == false && out_net_has_port == true) {
385+
if (out_net_has_port == true) {
383386
// output net has port, so it should survive
384387
survivor = out_net;
385388
removed = in_net;

0 commit comments

Comments
 (0)