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)