From: Florent Kermarrec Date: Wed, 25 Mar 2015 16:22:26 +0000 (+0100) Subject: sdram/core/lasmicon: automatically insert bandwidth module when with_memtest is True X-Git-Tag: 24jan2021_ls180~2441 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff11cb97a91ac647ae7c109f2ac0e8c500af0e2a;p=litex.git sdram/core/lasmicon: automatically insert bandwidth module when with_memtest is True --- diff --git a/misoclib/mem/sdram/core/lasmicon/__init__.py b/misoclib/mem/sdram/core/lasmicon/__init__.py index 568b8741..278ede61 100644 --- a/misoclib/mem/sdram/core/lasmicon/__init__.py +++ b/misoclib/mem/sdram/core/lasmicon/__init__.py @@ -17,7 +17,10 @@ class LASMIconSettings: self.write_time = write_time self.with_l2 = with_l2 self.l2_size = l2_size - self.with_bandwidth = with_bandwidth + if with_memtest: + self.with_bandwidth = True + else: + self.with_bandwidth = with_bandwidth self.with_memtest = with_memtest class LASMIcon(Module):