targets/sim: fix
This commit is contained in:
parent
284b16e2c1
commit
27d37fa95d
|
@ -23,6 +23,11 @@ from liteeth.core.mac import LiteEthMAC
|
||||||
from litex.build.sim.config import SimConfig
|
from litex.build.sim.config import SimConfig
|
||||||
|
|
||||||
class BaseSoC(SoCSDRAM):
|
class BaseSoC(SoCSDRAM):
|
||||||
|
interrupt_map = {
|
||||||
|
"uart": 2,
|
||||||
|
}
|
||||||
|
interrupt_map.update(SoCSDRAM.interrupt_map)
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
platform = sim.Platform()
|
platform = sim.Platform()
|
||||||
SoCSDRAM.__init__(self, platform,
|
SoCSDRAM.__init__(self, platform,
|
||||||
|
|
Loading…
Reference in New Issue