From 0b942c1f475c053060b773eb908a186bfea1922b Mon Sep 17 00:00:00 2001 From: Staf Verhaegen Date: Thu, 1 Apr 2021 13:48:17 +0200 Subject: [PATCH] svfcocotb: Fix results access for SDR and SIR. --- c4m/cocotb/jtag/c4m_jtag_svfcocotb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c4m/cocotb/jtag/c4m_jtag_svfcocotb.py b/c4m/cocotb/jtag/c4m_jtag_svfcocotb.py index 1560359..ff51077 100755 --- a/c4m/cocotb/jtag/c4m_jtag_svfcocotb.py +++ b/c4m/cocotb/jtag/c4m_jtag_svfcocotb.py @@ -108,7 +108,7 @@ class SVF_Executor(object): if tdo is not None: if self._d_mask is not None: raise(JTAGException("MASK not supported for SDR")) - assert(self.result == tdo) + assert(self.master.result == tdo) @cocotb.coroutine def _execute_SIR(self, node): @@ -139,7 +139,7 @@ class SVF_Executor(object): if tdo is not None: if self._i_mask is not None: raise(JTAGException("MASK not supported for SIR")) - assert(self.result == tdo) + assert(self.master.result == tdo) @cocotb.coroutine -- 2.30.2