Skip to content

Commit 6fa3005

Browse files
author
Sebastien Bourdeauducq
committedMar 6, 2013
fhdl/verilog: tristate outputs are always wire
1 parent 9b4ca98 commit 6fa3005

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎migen/fhdl/verilog.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ def _list_comb_wires(f):
135135

136136
def _printheader(f, ios, name, ns):
137137
sigs = list_signals(f) | list_special_ios(f, True, True, True)
138-
it_mem_outs = list_special_ios(f, False, True, False)
138+
special_outs = list_special_ios(f, False, True, True)
139139
inouts = list_special_ios(f, False, False, True)
140-
targets = list_targets(f) | it_mem_outs
141-
wires = _list_comb_wires(f) | it_mem_outs
140+
targets = list_targets(f) | special_outs
141+
wires = _list_comb_wires(f) | special_outs
142142
r = "module " + name + "(\n"
143143
firstp = True
144144
for sig in sorted(ios, key=lambda x: x.huid):

0 commit comments

Comments
 (0)
Please sign in to comment.