mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
kernel_cpu: enable perf counters
This commit is contained in:
parent
9501d37378
commit
c022b53578
@ -23,7 +23,11 @@ class KernelCPU(Module):
|
||||
self.cd_sys_kernel.rst.eq(self._reset.storage)
|
||||
]
|
||||
self.submodules.cpu = ClockDomainsRenamer("sys_kernel")(
|
||||
mor1kx.MOR1KX(platform, exec_address))
|
||||
mor1kx.MOR1KX(
|
||||
platform,
|
||||
OPTION_RESET_PC=exec_address,
|
||||
FEATURE_PERFCOUNTERS="ENABLED",
|
||||
OPTION_PERFCOUNTERS_NUM=7))
|
||||
|
||||
# DRAM access
|
||||
self.wb_sdram = wishbone.Interface()
|
||||
|
Loading…
Reference in New Issue
Block a user