sdram/core/lasmicon: automatically insert bandwidth module when with_memtest is True

This commit is contained in:
Florent Kermarrec 2015-03-25 17:22:26 +01:00
parent ba8b24df57
commit ff11cb97a9
1 changed files with 4 additions and 1 deletions

View File

@ -17,6 +17,9 @@ class LASMIconSettings:
self.write_time = write_time self.write_time = write_time
self.with_l2 = with_l2 self.with_l2 = with_l2
self.l2_size = l2_size self.l2_size = l2_size
if with_memtest:
self.with_bandwidth = True
else:
self.with_bandwidth = with_bandwidth self.with_bandwidth = with_bandwidth
self.with_memtest = with_memtest self.with_memtest = with_memtest