blob: c417ac78d6a74a21d493d6480c2e10db351b3d0a (
plain)
1
2
3
4
5
6
7
8
9
10
|
with open("delay_vs_fanout.csv", "w") as f:
print("fanout,delay", file=f)
for net_name, net in ctx.nets:
if net.driver.cell is None:
continue
if net.driver.cell.type == "DCCA":
continue # ignore global clocks
for user in net.users:
print(f"{len(net.users)},{ctx.getNetinfoRouteDelay(net, user)}", file=f)
|