forked from M-Labs/artiq
kernel: use vexriscv
This commit is contained in:
parent
9adab6c817
commit
fc42d053d9
|
@ -1,7 +1,7 @@
|
||||||
from migen import *
|
from migen import *
|
||||||
from misoc.interconnect.csr import *
|
from misoc.interconnect.csr import *
|
||||||
from misoc.interconnect import wishbone
|
from misoc.interconnect import wishbone
|
||||||
from misoc.cores import mor1kx
|
from misoc.cores import vexriscv
|
||||||
from misoc.integration.wb_slaves import WishboneSlaveManager
|
from misoc.integration.wb_slaves import WishboneSlaveManager
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,9 +23,9 @@ class KernelCPU(Module):
|
||||||
self.cd_sys_kernel.rst.eq(self._reset.storage)
|
self.cd_sys_kernel.rst.eq(self._reset.storage)
|
||||||
]
|
]
|
||||||
self.submodules.cpu = ClockDomainsRenamer("sys_kernel")(
|
self.submodules.cpu = ClockDomainsRenamer("sys_kernel")(
|
||||||
mor1kx.MOR1KX(
|
vexriscv.VexRiscv(
|
||||||
platform,
|
platform,
|
||||||
OPTION_RESET_PC=exec_address))
|
exec_address))
|
||||||
|
|
||||||
# DRAM access
|
# DRAM access
|
||||||
self.wb_sdram = wishbone.Interface()
|
self.wb_sdram = wishbone.Interface()
|
||||||
|
|
Loading…
Reference in New Issue