Permalink
Browse files

Include fragment pads in pre-naming dictionary

  • Loading branch information...
1 parent 039c6d8 commit d3d5b481fe5fe9b2bc4227b60235cb58f4e4108f @sbourdeauducq sbourdeauducq committed Jan 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 migen/fhdl/verilog.py
@@ -213,9 +213,10 @@ def convert(f, ios=set(), name="top", clk_signal=None, rst_signal=None, return_n
if rst_signal is None:
rst_signal = Signal(name_override="sys_rst")
ios.add(rst_signal)
+ ios |= f.pads
+
ns = build_namespace(list_signals(f) | list_inst_ios(f, True, True) | ios)
- ios |= f.pads
r = "/* Machine-generated using Migen */\n"
r += _printheader(f, ios, name, ns)

0 comments on commit d3d5b48

Please sign in to comment.