From d3d5b481fe5fe9b2bc4227b60235cb58f4e4108f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 20 Jan 2012 22:59:40 +0100 Subject: [PATCH] Include fragment pads in pre-naming dictionary --- migen/fhdl/verilog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/migen/fhdl/verilog.py b/migen/fhdl/verilog.py index 5f343cfe..0d7f3d4e 100644 --- a/migen/fhdl/verilog.py +++ b/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) -- 2.30.2