X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=c4m%2Fcocotb%2Fjtag%2Fc4m_jtag.py;fp=c4m%2Fcocotb%2Fjtag%2Fc4m_jtag.py;h=c4bb5af7ea7ccce9c3a437e66b6222453aa5e24f;hb=fe7f74ad4ece0471a90bd4181f15ff678a844b07;hp=7fc5ca77fd2491b8b329c1cb8b46ac9892ceb1ac;hpb=4941742ce117f8d2a24e00eb6d76255ea8c99118;p=c4m-jtag.git 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