From 27d37fa95d201e90b130825aeaebcecc607806fe Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 6 Dec 2017 22:22:05 +0100 Subject: [PATCH] targets/sim: fix --- litex/boards/targets/sim.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/litex/boards/targets/sim.py b/litex/boards/targets/sim.py index 04371fd9f..a10479d2f 100755 --- a/litex/boards/targets/sim.py +++ b/litex/boards/targets/sim.py @@ -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,