Skip to content

Commit 705b808

Browse files
authored
Update inputoutput.py
Fix long lines
1 parent 6173e5a commit 705b808

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyrtl/inputoutput.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -755,11 +755,11 @@ def block_to_graphviz_string(block=None, namer=_graphviz_default_namer, split_st
755755
function that can subsequently be passed to 'output_to_graphviz' or
756756
'block_to_graphviz_string'. ::
757757
758-
node_fanout = {n: "Fanout: %d" % my_fanout_func(n) for n in pyrtl.working_block().logic}
759-
wire_delay = {w: "Delay: %.2f" % my_delay_func(w) for w in pyrtl.working_block().wirevector_set}
758+
node_fanout = {n: "Fanout: %d" % my_fanout_func(n) for n in working_block().logic}
759+
wire_delay = {w: "Delay: %.2f" % my_delay_func(w) for w in working_block().wirevector_set}
760760
761761
with open("out.gv", "w") as f:
762-
pyrtl.output_to_graphviz(f, namer=pyrtl.graphviz_detailed_namer(node_fanout, wire_delay))
762+
output_to_graphviz(f, namer=graphviz_detailed_namer(node_fanout, wire_delay))
763763
"""
764764
graph = net_graph(block, split_state)
765765
node_index_map = {} # map node -> index

0 commit comments

Comments
 (0)