projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3739166
)
Ensure we have at least one master
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Wed, 24 Jun 2020 08:34:39 +0000
(10:34 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Wed, 24 Jun 2020 08:34:39 +0000
(10:34 +0200)
gram/core/crossbar.py
patch
|
blob
|
history
diff --git
a/gram/core/crossbar.py
b/gram/core/crossbar.py
index 70d2afbad36d955f80139f2e4df08acb20e14b84..66301a36d8abd32140455b8acdadb1739d90cfc7 100644
(file)
--- a/
gram/core/crossbar.py
+++ b/
gram/core/crossbar.py
@@
-133,6
+133,7
@@
class gramCrossbar(Elaboratable):
controller = self.controller
nmasters = len(self.masters)
+ assert nmasters > 0
# Address mapping --------------------------------------------------------------------------
cba_shifts = {