summaryrefslogtreecommitdiff
path: root/src/dev/arm/Gic.py
diff options
context:
space:
mode:
authorJairo Balart <jairo.balart@metempsy.com>2018-10-11 16:05:12 +0200
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2019-01-10 16:29:30 +0000
commit93c7fa573116aade8e8d6b0646e85874e6003567 (patch)
tree6e49e8be33c3514553017e055fc32a627cb68698 /src/dev/arm/Gic.py
parent7d5696d1a9f0776f51ec20e81a413fcdcc748c4e (diff)
downloadgem5-93c7fa573116aade8e8d6b0646e85874e6003567.tar.xz
dev-arm: Add a GICv3 model
Change-Id: Ib0067fc743f84ff7be9f12d2fc33ddf63736bdd1 Reviewed-on: https://gem5-review.googlesource.com/c/13436 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Diffstat (limited to 'src/dev/arm/Gic.py')
-rw-r--r--src/dev/arm/Gic.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dev/arm/Gic.py b/src/dev/arm/Gic.py
index dddb7dfac..947036a80 100644
--- a/src/dev/arm/Gic.py
+++ b/src/dev/arm/Gic.py
@@ -160,3 +160,15 @@ class VGic(PioDevice):
node.appendPhandle(gic)
yield node
+
+class Gicv3(BaseGic):
+ type = 'Gicv3'
+ cxx_header = "dev/arm/gic_v3.hh"
+
+ dist_addr = Param.Addr(0x2c000000, "Address for distributor")
+ dist_pio_delay = Param.Latency('10ns', "Delay for PIO r/w to distributor")
+ redist_addr = Param.Addr(0x2c010000, "Address for redistributors")
+ redist_pio_delay = Param.Latency('10ns',
+ "Delay for PIO r/w to redistributors")
+ it_lines = Param.UInt32(1020,
+ "Number of interrupt lines supported (max = 1020)")