dfii: set data mask
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 23 Feb 2012 21:00:51 +0000 (22:00 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 23 Feb 2012 21:00:51 +0000 (22:00 +0100)
milkymist/dfii/__init__.py

index d50bc9344afd6353255b8ede11d5ddbbd002e319..6bf47d0b30282a80f4219a8bf16048c07ce4696a 100644 (file)
@@ -42,7 +42,8 @@ class PhaseInjector:
                        ),
                        self.phase.address.eq(self._address.field.r),
                        self.phase.bank.eq(self._baddress.field.r),
-                       self.phase.wrdata.eq(self._wrdata.field.r)
+                       self.phase.wrdata.eq(self._wrdata.field.r),
+                       self.phase.wrdata_mask.eq(0)
                ]
                sync = [
                        self.phase.wrdata_en.eq(self._command.re & self._wren.r),