sdram/core/lasmicon: automatically insert bandwidth module when with_memtest is True
This commit is contained in:
parent
ba8b24df57
commit
ff11cb97a9
|
@ -17,7 +17,10 @@ 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
|
||||||
self.with_bandwidth = with_bandwidth
|
if with_memtest:
|
||||||
|
self.with_bandwidth = True
|
||||||
|
else:
|
||||||
|
self.with_bandwidth = with_bandwidth
|
||||||
self.with_memtest = with_memtest
|
self.with_memtest = with_memtest
|
||||||
|
|
||||||
class LASMIcon(Module):
|
class LASMIcon(Module):
|
||||||
|
|
Loading…
Reference in New Issue