From fe7f74ad4ece0471a90bd4181f15ff678a844b07 Mon Sep 17 00:00:00 2001 From: Staf Verhaegen Date: Wed, 25 Dec 2019 15:21:35 +0100 Subject: [PATCH] BinaryValue API change. --- c4m/cocotb/jtag/c4m_jtag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c4m/cocotb/jtag/c4m_jtag.py b/c4m/cocotb/jtag/c4m_jtag.py index 7fc5ca7..c4bb5af 100644 --- a/c4m/cocotb/jtag/c4m_jtag.py +++ b/c4m/cocotb/jtag/c4m_jtag.py @@ -122,7 +122,7 @@ class JTAG_Master(object): cmd_copy = [int(c) for c in cmd.binstr] else: cmd_copy = list(cmd) - result = BinaryValue(bits=len(cmd_copy)) + result = BinaryValue(n_bits=len(cmd_copy)) l_result = list() yield self.change_to_run() @@ -149,7 +149,7 @@ class JTAG_Master(object): result will contain the 32 bit IDCODE of the device """ - result = BinaryValue(bits=32) + result = BinaryValue(n_bits=32) l_result = list() # Keep tdi 0 for the whole run -- 2.30.2