|
|
|
@ -631,8 +631,8 @@ class Circuit: |
|
|
|
queue.append(succ) |
|
|
|
queue.append(succ) |
|
|
|
yield n |
|
|
|
yield n |
|
|
|
|
|
|
|
|
|
|
|
def fanout_free_regions(self): |
|
|
|
def fanout_free_regions(self, tlib: 'TechLib'): # type: ignore |
|
|
|
for stem in self.reversed_topological_order(): |
|
|
|
for stem in self.reversed_topological_order(tlib): |
|
|
|
if len(stem.outs) == 1 and 'dff' not in stem.kind.lower(): continue |
|
|
|
if len(stem.outs) == 1 and 'dff' not in stem.kind.lower(): continue |
|
|
|
region = [] |
|
|
|
region = [] |
|
|
|
if 'dff' in stem.kind.lower(): |
|
|
|
if 'dff' in stem.kind.lower(): |
|
|
|
|