From: Sebastien Bourdeauducq Date: Wed, 5 Dec 2012 15:40:44 +0000 (+0100) Subject: bank/description: define reset value of read signal X-Git-Tag: 24jan2021_ls180~2099^2~725 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=273d9d285b98a6a690dd74621dc7f6acdb533c25;p=litex.git bank/description: define reset value of read signal --- diff --git a/migen/bank/description.py b/migen/bank/description.py index 969e30c1..bfe4c3fb 100644 --- a/migen/bank/description.py +++ b/migen/bank/description.py @@ -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()