Skip to content

Commit 0a71a95

Browse files
authored
Update inputoutput.py
Fix comment.
1 parent f950078 commit 0a71a95

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
@@ -143,9 +143,9 @@ def extract_outputs(model):
143143
# we need to create an intermediate wire, which will be used in twire()
144144
# whenever the original wire is referenced. For example, given 2-bit Output 'a',
145145
# every access to 'a[1]' will really be a reference to 'a[1]_i', a normal
146-
# WireVector connected to 'a[1]. An key property is that the name by
147-
# which all other parts of the code refers to this wire doesn't change;
148-
# the only thing that changes is what underlying wire
146+
# WireVector connected to 'a[1]'. A key property is that the name by
147+
# which all other parts of the code refer to this wire doesn't change;
148+
# the only thing that changes is what underlying wire is used.
149149
if bitwidth == 1:
150150
bit_internal = WireVector(bitwidth=1, name=output_name + '[0]', block=block)
151151
bit_out = Output(bitwidth=1, name=output_name, block=block)

0 commit comments

Comments
 (0)