Skip to content

Commit

Permalink
futher simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
nanocoh committed Nov 15, 2024
1 parent 3721a96 commit 7603b7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion designs/arm_core/gen_fanout_list_with_py_netlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ def edit():

# Collect and dump all driver fanouts
fanout_file = open('fanoutNaja.list','w')

for entry in primitives:
# Iterate over instance's terms
for term in entry.getOutputInstTerms():
fanout_file.write(term.getString() + " " + str(len(term.getEuiqpotential().getAllLeafReaders())))
fanout_file.write(term.getString() + " " + str(term.getFlatFanout()))
fanout_file.write("\n")

edit()

0 comments on commit 7603b7d

Please sign in to comment.