From: Staf Verhaegen Date: Thu, 1 Apr 2021 11:48:17 +0000 (+0200) Subject: svfcocotb: Fix results access for SDR and SIR. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b942c1f475c053060b773eb908a186bfea1922b;p=c4m-jtag.git svfcocotb: Fix results access for SDR and SIR. --- 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