mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Include fragment pads in pre-naming dictionary
This commit is contained in:
parent
039c6d8eb4
commit
d3d5b481fe
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue