soc/interconnect/wishbone: Make burst cycles support in SRAM optional
This commit is contained in:
parent
8ef51a00ee
commit
54f897f446
|
@ -793,7 +793,7 @@ class AXILite2CSR(Module):
|
||||||
# AXILite SRAM -------------------------------------------------------------------------------------
|
# AXILite SRAM -------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class AXILiteSRAM(Module):
|
class AXILiteSRAM(Module):
|
||||||
def __init__(self, mem_or_size, read_only=None, init=None, bus=None):
|
def __init__(self, mem_or_size, read_only=None, init=None, bus=None, burst=False):
|
||||||
if bus is None:
|
if bus is None:
|
||||||
bus = AXILiteInterface()
|
bus = AXILiteInterface()
|
||||||
self.bus = bus
|
self.bus = bus
|
||||||
|
|
|
@ -330,7 +330,7 @@ class Converter(Module):
|
||||||
# Wishbone SRAM ------------------------------------------------------------------------------------
|
# Wishbone SRAM ------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class SRAM(Module):
|
class SRAM(Module):
|
||||||
def __init__(self, mem_or_size, read_only=None, init=None, bus=None, burst=True):
|
def __init__(self, mem_or_size, read_only=None, init=None, bus=None, burst=False):
|
||||||
if bus is None:
|
if bus is None:
|
||||||
bus = Interface()
|
bus = Interface()
|
||||||
self.bus = bus
|
self.bus = bus
|
||||||
|
|
Loading…
Reference in New Issue