Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel LiteX
migen
Commits
d3d5b481
Commit
d3d5b481
authored
12 years ago
by
Sebastien Bourdeauducq
Browse files
Options
Download
Email Patches
Plain Diff
Include fragment pads in pre-naming dictionary
parent
039c6d8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
migen/fhdl/verilog.py
migen/fhdl/verilog.py
+2
-1
No files found.
migen/fhdl/verilog.py
View file @
d3d5b481
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment