Exclude new precharge in graph build

This commit is contained in:
Matt Guthaus 2019-07-03 14:46:20 -07:00
parent 8b0b2e2817
commit 0cb86b8ba2
2 changed files with 7 additions and 4 deletions

View File

@ -1014,9 +1014,9 @@ class bank(design.design):
def graph_exclude_precharge(self):
"""Precharge adds a loop between bitlines, can be excluded to reduce complexity"""
for inst in self.precharge_array_inst:
if inst != None:
self.graph_inst_exclude.add(inst)
for port in self.read_ports:
if self.port_data[port]:
self.port_data[port].graph_exclude_precharge()
def get_cell_name(self, inst_name, row, col):
"""Gets the spice name of the target bitcell."""

View File

@ -494,4 +494,7 @@ class port_data(design.design):
self.add_path("metal2",[bottom_br, vector(bottom_br.x,yoffset),
vector(top_br.x,yoffset), top_br])
def graph_exclude_precharge(self):
"""Precharge adds a loop between bitlines, can be excluded to reduce complexity"""
if self.precharge_array_inst:
self.graph_inst_exclude.add(self.precharge_array_inst)