From 98878a0a27fd026517df701fdfdf1df5dd2a8d2a Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Sat, 27 Jul 2019 12:14:00 -0700 Subject: [PATCH] Conditionally path exclude --- compiler/modules/control_logic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/modules/control_logic.py b/compiler/modules/control_logic.py index 44953b8e..2fbaf31c 100644 --- a/compiler/modules/control_logic.py +++ b/compiler/modules/control_logic.py @@ -964,4 +964,5 @@ class control_logic(design.design): """Exclude dffs from graph as they do not represent critical path""" self.graph_inst_exclude.add(self.ctrl_dff_inst) - self.graph_inst_exclude.add(self.w_en_gate_inst) + if self.port_type=="rw" or self.port_type=="w": + self.graph_inst_exclude.add(self.w_en_gate_inst)