From a4f67b540aaf07bc8459754555148a264af90218 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 17 Mar 2021 21:29:49 +0000 Subject: [PATCH] add SVP64 dststep incrementing in PowerDecoder2, Testissuer and ISACaller --- src/soc/decoder/isa/caller.py | 13 ++++++++-- src/soc/decoder/power_decoder2.py | 42 +++++++++++++++++-------------- src/soc/simple/issuer.py | 4 +++ 3 files changed, 38 insertions(+), 21 deletions(-) diff --git a/src/soc/decoder/isa/caller.py b/src/soc/decoder/isa/caller.py index dcdded95..0371f691 100644 --- a/src/soc/decoder/isa/caller.py +++ b/src/soc/decoder/isa/caller.py @@ -911,10 +911,11 @@ class ISACaller: if self.is_svp64_mode: vl = self.svstate.vl.asint(msb0=True) srcstep = self.svstate.srcstep.asint(msb0=True) + dststep = self.svstate.srcstep.asint(msb0=True) sv_a_nz = yield self.dec2.sv_a_nz in1 = yield self.dec2.e.read_reg1.data - print ("SVP64: VL, srcstep, sv_a_nz, in1", - vl, srcstep, sv_a_nz, in1) + print ("SVP64: VL, srcstep, dststep, sv_a_nz, in1", + vl, srcstep, dststep, sv_a_nz, in1) # get predicate mask srcmask = dstmask = 0xffff_ffff_ffff_ffff @@ -942,14 +943,18 @@ class ISACaller: while (((1<