fhdl/verilog: properly connect instance inouts

This commit is contained in:
Sebastien Bourdeauducq 2012-02-17 11:08:41 +01:00
parent ca7056b07f
commit a1ad30faab

View file

@ -198,7 +198,7 @@ def _printinstances(f, ns, clk, rst):
r += ns.get_name(x) r += ns.get_name(x)
if x.parameters: r += " " if x.parameters: r += " "
r += "(\n" r += "(\n"
ports = list(x.ins.items()) + list(x.outs.items()) ports = list(x.ins.items()) + list(x.outs.items()) + list(x.inouts.items())
if x.clkport: if x.clkport:
ports.append((x.clkport, clk)) ports.append((x.clkport, clk))
if x.rstport: if x.rstport: