def nftest_regread_expect(addr, val): if sim: nftest_regread(addr) simReg.regRead(addr, val) return 0 else: return hwRegLib.regread_expect(addr, val)
def nftest_regread_expect(addr, val): if sim: simReg.regRead(addr, val) return 0 else: return hwRegLib.regread_expect(iface_map['nf2c0'], addr, val)
def nftest_regread_expect(addr, val): if sim: simReg.regRead(addr, val) return 0 else: return hwRegLib.regread_expect(map['nf2c0'], addr, val)