mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
bank/description: define reset value of read signal
This commit is contained in:
parent
34ce934809
commit
273d9d285b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Field:
|
|||
self.w = Signal(self.size)
|
||||
else:
|
||||
if self.access_dev == READ_ONLY or self.access_dev == READ_WRITE:
|
||||
self.r = Signal(self.size)
|
||||
self.r = Signal(self.size, reset=reset)
|
||||
if self.access_dev == WRITE_ONLY or self.access_dev == READ_WRITE:
|
||||
self.w = Signal(self.size)
|
||||
self.we = Signal()
|
||||
|
|
Loading…
Reference in a new issue