mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-20 23:56:42 +08:00
targets: configure L2 line size (#2647)
This commit is contained in:
parent
8ce6048c96
commit
2b48822fe3
@ -36,6 +36,7 @@ class Satellite(BaseSoC, AMPSoC):
|
|||||||
cpu_bus_width=64,
|
cpu_bus_width=64,
|
||||||
sdram_controller_type="minicon",
|
sdram_controller_type="minicon",
|
||||||
l2_size=128*1024,
|
l2_size=128*1024,
|
||||||
|
l2_line_size=64,
|
||||||
clk_freq=125e6,
|
clk_freq=125e6,
|
||||||
**kwargs)
|
**kwargs)
|
||||||
AMPSoC.__init__(self)
|
AMPSoC.__init__(self)
|
||||||
|
@ -68,6 +68,7 @@ class StandaloneBase(MiniSoC, AMPSoC):
|
|||||||
cpu_bus_width=cpu_bus_width,
|
cpu_bus_width=cpu_bus_width,
|
||||||
sdram_controller_type="minicon",
|
sdram_controller_type="minicon",
|
||||||
l2_size=128*1024,
|
l2_size=128*1024,
|
||||||
|
l2_line_size=64,
|
||||||
integrated_sram_size=8192,
|
integrated_sram_size=8192,
|
||||||
ethmac_nrxslots=4,
|
ethmac_nrxslots=4,
|
||||||
ethmac_ntxslots=4,
|
ethmac_ntxslots=4,
|
||||||
@ -176,6 +177,7 @@ class MasterBase(MiniSoC, AMPSoC):
|
|||||||
cpu_bus_width=cpu_bus_width,
|
cpu_bus_width=cpu_bus_width,
|
||||||
sdram_controller_type="minicon",
|
sdram_controller_type="minicon",
|
||||||
l2_size=128*1024,
|
l2_size=128*1024,
|
||||||
|
l2_line_size=64,
|
||||||
integrated_sram_size=8192,
|
integrated_sram_size=8192,
|
||||||
ethmac_nrxslots=4,
|
ethmac_nrxslots=4,
|
||||||
ethmac_ntxslots=4,
|
ethmac_ntxslots=4,
|
||||||
@ -427,6 +429,7 @@ class SatelliteBase(BaseSoC, AMPSoC):
|
|||||||
cpu_bus_width=cpu_bus_width,
|
cpu_bus_width=cpu_bus_width,
|
||||||
sdram_controller_type="minicon",
|
sdram_controller_type="minicon",
|
||||||
l2_size=128*1024,
|
l2_size=128*1024,
|
||||||
|
l2_line_size=64,
|
||||||
clk_freq=rtio_clk_freq,
|
clk_freq=rtio_clk_freq,
|
||||||
rtio_sys_merge=True,
|
rtio_sys_merge=True,
|
||||||
**kwargs)
|
**kwargs)
|
||||||
|
@ -90,6 +90,7 @@ class _StandaloneBase(MiniSoC, AMPSoC):
|
|||||||
cpu_bus_width=64,
|
cpu_bus_width=64,
|
||||||
sdram_controller_type="minicon",
|
sdram_controller_type="minicon",
|
||||||
l2_size=128*1024,
|
l2_size=128*1024,
|
||||||
|
l2_line_size=64,
|
||||||
integrated_sram_size=8192,
|
integrated_sram_size=8192,
|
||||||
ethmac_nrxslots=4,
|
ethmac_nrxslots=4,
|
||||||
ethmac_ntxslots=4,
|
ethmac_ntxslots=4,
|
||||||
@ -187,6 +188,7 @@ class _MasterBase(MiniSoC, AMPSoC):
|
|||||||
cpu_bus_width=64,
|
cpu_bus_width=64,
|
||||||
sdram_controller_type="minicon",
|
sdram_controller_type="minicon",
|
||||||
l2_size=128*1024,
|
l2_size=128*1024,
|
||||||
|
l2_line_size=64,
|
||||||
integrated_sram_size=8192,
|
integrated_sram_size=8192,
|
||||||
ethmac_nrxslots=4,
|
ethmac_nrxslots=4,
|
||||||
ethmac_ntxslots=4,
|
ethmac_ntxslots=4,
|
||||||
@ -335,6 +337,7 @@ class _SatelliteBase(BaseSoC, AMPSoC):
|
|||||||
cpu_bus_width=64,
|
cpu_bus_width=64,
|
||||||
sdram_controller_type="minicon",
|
sdram_controller_type="minicon",
|
||||||
l2_size=128*1024,
|
l2_size=128*1024,
|
||||||
|
l2_line_size=64,
|
||||||
integrated_sram_size=8192,
|
integrated_sram_size=8192,
|
||||||
clk_freq=clk_freq,
|
clk_freq=clk_freq,
|
||||||
rtio_sys_merge=True,
|
rtio_sys_merge=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user