Skip to content

Commit

Permalink
fannout output length was improperly counted/written
Browse files Browse the repository at this point in the history
  • Loading branch information
gonsie committed Sep 10, 2013
1 parent 82d722d commit 81c0a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def generateRoss(filename_prefix, gate_types, all_gates):
f.write(instr)
# fanout special case
if g.type.name == 'fanout':
f.write(" "+str(g.type.counts['output']))
f.write(" "+str(len(g.fan_out)))
f.write("\n")
f.close()

0 comments on commit 81c0a81

Please sign in to comment.