diff --git a/designs/arm_core/gen_fanout_list_with_py_netlist.py b/designs/arm_core/gen_fanout_list_with_py_netlist.py index 5c1c2e6..bddef6b 100644 --- a/designs/arm_core/gen_fanout_list_with_py_netlist.py +++ b/designs/arm_core/gen_fanout_list_with_py_netlist.py @@ -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()