Пример #1
0
def nftest_regread_expect(addr, val):
    if sim:
        nftest_regread(addr)
        simReg.regRead(addr, val)
        return 0
    else:
        return hwRegLib.regread_expect(addr, val)
Пример #2
0
def nftest_regread_expect(addr, val):
    if sim:
        nftest_regread(addr)
        simReg.regRead(addr, val)
        return 0
    else:
        return hwRegLib.regread_expect(addr, val)
Пример #3
0
def nftest_regread_expect(addr, val):
    if sim:
        simReg.regRead(addr, val)
        return 0
    else:
        return hwRegLib.regread_expect(iface_map['nf2c0'], addr, val)
Пример #4
0
def nftest_regread_expect(addr, val):
    if sim:
        simReg.regRead(addr, val)
        return 0
    else:
        return hwRegLib.regread_expect(map['nf2c0'], addr, val)