mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
pytholite: fix bit width of selection signal
This commit is contained in:
parent
cfb23c442f
commit
adb1565d7a
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class ImplRegister:
|
||||||
def finalize(self):
|
def finalize(self):
|
||||||
if self.finalized:
|
if self.finalized:
|
||||||
raise FinalizeError
|
raise FinalizeError
|
||||||
self.sel = Signal(max=len(self.source_encoding)+2, name="pl_regsel_"+self.name)
|
self.sel = Signal(max=len(self.source_encoding)+1, name="pl_regsel_"+self.name)
|
||||||
self.finalized = True
|
self.finalized = True
|
||||||
|
|
||||||
def get_fragment(self):
|
def get_fragment(self):
|
||||||
|
|
Loading…
Reference in a new issue