mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
targets/sim: fix
This commit is contained in:
parent
284b16e2c1
commit
27d37fa95d
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ from liteeth.core.mac import LiteEthMAC
|
|||
from litex.build.sim.config import SimConfig
|
||||
|
||||
class BaseSoC(SoCSDRAM):
|
||||
interrupt_map = {
|
||||
"uart": 2,
|
||||
}
|
||||
interrupt_map.update(SoCSDRAM.interrupt_map)
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
platform = sim.Platform()
|
||||
SoCSDRAM.__init__(self, platform,
|
||||
|
|
Loading…
Reference in a new issue