Skip to content

Commit

Permalink
fhdl/verilog: tristate outputs are always wire
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Mar 6, 2013
1 parent 9b4ca98 commit 6fa3005
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions migen/fhdl/verilog.py
Expand Up @@ -135,10 +135,10 @@ def _list_comb_wires(f):

def _printheader(f, ios, name, ns):
sigs = list_signals(f) | list_special_ios(f, True, True, True)
it_mem_outs = list_special_ios(f, False, True, False)
special_outs = list_special_ios(f, False, True, True)
inouts = list_special_ios(f, False, False, True)
targets = list_targets(f) | it_mem_outs
wires = _list_comb_wires(f) | it_mem_outs
targets = list_targets(f) | special_outs
wires = _list_comb_wires(f) | special_outs
r = "module " + name + "(\n"
firstp = True
for sig in sorted(ios, key=lambda x: x.huid):
Expand Down

0 comments on commit 6fa3005

Please sign in to comment.