doc: fix regression with new irq manager
authorSean Cross <sean@xobs.io>
Thu, 13 Feb 2020 00:32:44 +0000 (08:32 +0800)
committerSean Cross <sean@xobs.io>
Thu, 13 Feb 2020 00:32:44 +0000 (08:32 +0800)
commitbaa29f1b03fc726dd4333443e6a24a6f3f71f9b6
treee838baa758971273b853a2c513311da3cc1b9a46
parent1620f9c5b01e3e34efb52ff9b483f81a0ee9a4d4
doc: fix regression with new irq manager

Previously, we were accessing the `soc.soc_interrupt_map` property in
order to be able to enumerate the interrupts.  This has been subsumed
into a more general `irq` object that manages the interrupts.

Use `soc.irq.locs` instead of `soc.soc_interrupt_map` as the authority
on interrupts for both doc and export.

This fixes #385.

Signed-off-by: Sean Cross <sean@xobs.io>
litex/soc/doc/__init__.py
litex/soc/integration/export.py