bank/description: define reset value of read signal
This commit is contained in:
parent
34ce934809
commit
273d9d285b
|
@ -27,7 +27,7 @@ class Field:
|
||||||
self.w = Signal(self.size)
|
self.w = Signal(self.size)
|
||||||
else:
|
else:
|
||||||
if self.access_dev == READ_ONLY or self.access_dev == READ_WRITE:
|
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:
|
if self.access_dev == WRITE_ONLY or self.access_dev == READ_WRITE:
|
||||||
self.w = Signal(self.size)
|
self.w = Signal(self.size)
|
||||||
self.we = Signal()
|
self.we = Signal()
|
||||||
|
|
Loading…
Reference in New Issue