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
d2cbc701
Commit
d2cbc701
authored
11 years ago
by
Sebastien Bourdeauducq
Browse files
Options
Download
Email Patches
Plain Diff
bank/description: memprefix
parent
a81781f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
migen/bank/description.py
migen/bank/description.py
+5
-0
No files found.
migen/bank/description.py
View file @
d2cbc701
...
@@ -5,6 +5,11 @@ def regprefix(prefix, registers):
...
@@ -5,6 +5,11 @@ def regprefix(prefix, registers):
register
.
name
=
prefix
+
register
.
name
register
.
name
=
prefix
+
register
.
name
return
registers
return
registers
def
memprefix
(
prefix
,
memories
):
for
memory
in
memories
:
memory
.
name_override
=
prefix
+
memory
.
name_override
return
memories
class
RegisterRaw
:
class
RegisterRaw
:
def
__init__
(
self
,
name
,
size
=
1
):
def
__init__
(
self
,
name
,
size
=
1
):
self
.
name
=
name
self
.
name
=
name
...
...
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