From: Giacomo Travaglini Date: Wed, 18 Nov 2020 15:19:22 +0000 (+0000) Subject: fastmodel: Replace xrange with range to be python3 compliant X-Git-Tag: develop-gem5-snapshot~446 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c35a237b1297dd6b002f91b37b9c1a57d07e5e0e;p=gem5.git fastmodel: Replace xrange with range to be python3 compliant Change-Id: I69ef5d744e2642af95383fbda920464178380757 Signed-off-by: Giacomo Travaglini Reviewed-by: Nikos Nikoleris Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37716 Reviewed-by: Gabe Black Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/src/arch/arm/fastmodel/GIC/FastModelGIC.py b/src/arch/arm/fastmodel/GIC/FastModelGIC.py index 3298be944..ac81de594 100644 --- a/src/arch/arm/fastmodel/GIC/FastModelGIC.py +++ b/src/arch/arm/fastmodel/GIC/FastModelGIC.py @@ -509,7 +509,7 @@ class FastModelGIC(BaseGic): ] ranges += [ AddrRange(its_bases[i], size=2 * gic_frame_size) - for i in xrange(sc_gic.its_count) + for i in range(sc_gic.its_count) ] return ranges