Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
litex
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jonathan Currier
litex
Commits
db890736
Commit
db890736
authored
Jun 02, 2019
by
Ilia Sergachev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix csr_name in add_csr()
parent
40cbe3a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
litex/soc/integration/soc_core.py
litex/soc/integration/soc_core.py
+1
-1
No files found.
litex/soc/integration/soc_core.py
View file @
db890736
...
...
@@ -397,7 +397,7 @@ class SoCCore(Module):
if
n
not
in
self
.
soc_csr_map
.
values
():
self
.
soc_csr_map
.
update
({
csr_name
:
n
})
return
raise
ValueError
(
"No more space to allocate {} csr"
.
format
(
name
))
raise
ValueError
(
"No more space to allocate {} csr"
.
format
(
csr_
name
))
# csr_id provided: check that csr_id is not already used and add csr
else
:
for
_name
,
_id
in
self
.
soc_csr_map
.
items
():
...
...
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