From 973842282f74fe801f406e6c8fc2ef03d0aecdba Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 18 Oct 2019 17:11:30 -0700 Subject: fastmodel: Create a TLB model which uses IRIS to do translations. Change-Id: I806dc8cdacce57e6ec31d2421b9e6b9733c7da02 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22119 Tested-by: kokoro Reviewed-by: Giacomo Travaglini Maintainer: Giacomo Travaglini --- src/arch/arm/fastmodel/iris/Iris.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/arch/arm/fastmodel/iris/Iris.py') diff --git a/src/arch/arm/fastmodel/iris/Iris.py b/src/arch/arm/fastmodel/iris/Iris.py index b6dbf8726..cfd872851 100644 --- a/src/arch/arm/fastmodel/iris/Iris.py +++ b/src/arch/arm/fastmodel/iris/Iris.py @@ -29,6 +29,12 @@ from m5.params import * from m5.proxy import * from m5.objects.BaseCPU import BaseCPU +from m5.objects.BaseTLB import BaseTLB + +class IrisTLB(BaseTLB): + type = 'IrisTLB' + cxx_class = 'Iris::TLB' + cxx_header = 'arch/arm/fastmodel/iris/tlb.hh' class IrisBaseCPU(BaseCPU): type = 'IrisBaseCPU' @@ -53,3 +59,6 @@ class IrisBaseCPU(BaseCPU): "Fast model exported virtual subsystem holding cores") thread_paths = VectorParam.String( "Sub-paths to elements in the EVS which support a thread context") + + dtb = IrisTLB() + itb = IrisTLB() -- cgit v1.2.3