Commit d3d5b481 authored by Sebastien Bourdeauducq's avatar Sebastien Bourdeauducq
Browse files

Include fragment pads in pre-naming dictionary

parent 039c6d8e
...@@ -213,9 +213,10 @@ def convert(f, ios=set(), name="top", clk_signal=None, rst_signal=None, return_n ...@@ -213,9 +213,10 @@ def convert(f, ios=set(), name="top", clk_signal=None, rst_signal=None, return_n
if rst_signal is None: if rst_signal is None:
rst_signal = Signal(name_override="sys_rst") rst_signal = Signal(name_override="sys_rst")
ios.add(rst_signal) ios.add(rst_signal)
ios |= f.pads
ns = build_namespace(list_signals(f) | list_inst_ios(f, True, True) | ios) ns = build_namespace(list_signals(f) | list_inst_ios(f, True, True) | ios)
ios |= f.pads
r = "/* Machine-generated using Migen */\n" r = "/* Machine-generated using Migen */\n"
r += _printheader(f, ios, name, ns) r += _printheader(f, ios, name, ns)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment