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
4df34c7b
Commit
4df34c7b
authored
8 years ago
by
Sebastien Bourdeauducq
Browse files
Options
Download
Email Patches
Plain Diff
fhdl/verilog: simpler names for IOs. Closes #40
parent
9842da18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
migen/fhdl/verilog.py
migen/fhdl/verilog.py
+5
-0
No files found.
migen/fhdl/verilog.py
View file @
4df34c7b
...
...
@@ -298,6 +298,11 @@ def convert(f, ios=None, name="top",
fs
,
lowered_specials
=
lower_specials
(
special_overrides
,
f
.
specials
)
f
+=
lower_basics
(
fs
)
for
io
in
sorted
(
ios
,
key
=
lambda
x
:
x
.
duid
):
if
io
.
name_override
is
None
:
name
=
io
.
backtrace
[
-
1
][
0
]
if
name
:
io
.
name_override
=
name
ns
=
build_namespace
(
list_signals
(
f
)
\
|
list_special_ios
(
f
,
True
,
True
,
True
)
\
|
ios
,
_reserved_keywords
)
...
...
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