From cb00f021981cefe3d0a58fe2020fcf5dcabb3e85 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 4 Aug 2024 20:58:18 -0400 Subject: soc: Add peripheral memory map Signed-off-by: Ian Moffett --- sv/soc/irq/irqchip.md | 2 +- sv/soc/irq/pimc.sv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sv/soc/irq') diff --git a/sv/soc/irq/irqchip.md b/sv/soc/irq/irqchip.md index d011e15..7f3ce1a 100644 --- a/sv/soc/irq/irqchip.md +++ b/sv/soc/irq/irqchip.md @@ -47,7 +47,7 @@ is pulled high and LINENO[7:0] is cleared to zero. ## MMIO Interface Some registers within the PIMC chip are memory mapped and can be accessed through the MMIO interface. For example, -the IRQ table is accessed through physical address 0x1000 + OFFSET. +the IRQ table is accessed through physical address 0x1000000 + OFFSET. ### MMIO Interface Semantics diff --git a/sv/soc/irq/pimc.sv b/sv/soc/irq/pimc.sv index 8bed807..15b82c9 100644 --- a/sv/soc/irq/pimc.sv +++ b/sv/soc/irq/pimc.sv @@ -35,7 +35,7 @@ module pimc #( parameter IRQ_PIN_COUNT = 16, parameter IRQTAB_ENTSIZE = 32, - parameter IRQTAB_MMIOBASE = 48'h1000 + parameter IRQTAB_MMIOBASE = 48'h1000000 ) ( input wire clk, /* 50 MHz */ input logic [IRQ_PIN_COUNT-1:0] irq_in, -- cgit v1.2.3