X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=c4m%2Fcocotb%2Fjtag%2Fc4m_jtag_svfcocotb.py;h=9028961caeaaf73158ed5ef0db5332551683f1a2;hb=HEAD;hp=ff5107740a1364f0395a2e97654ec56e9aba2bbf;hpb=deb8ac0dfd781630036f97c8939794638492aab2;p=c4m-jtag.git diff --git a/c4m/cocotb/jtag/c4m_jtag_svfcocotb.py b/c4m/cocotb/jtag/c4m_jtag_svfcocotb.py index ff51077..9028961 100755 --- a/c4m/cocotb/jtag/c4m_jtag_svfcocotb.py +++ b/c4m/cocotb/jtag/c4m_jtag_svfcocotb.py @@ -5,6 +5,7 @@ from cocotb.binary import BinaryValue from .c4m_jtag_svfgrammar import * + def decodescanspec(node): length = int(str(node[2])) fstr = "{:0"+str(node[2])+"b}"