Searched refs:testValue (Results 1 – 2 of 2) sorted by relevance
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/ |
| D | SystemBusTests.cs | 276 var testValue = 0xdeadc0de12345678; in ShouldTestEnableAllTranslations() 280 testAllTranslatedAccesses((ulong)i * 16, testValue, implementedWidth); in ShouldTestEnableAllTranslations() 281 testAllTranslatedAccesses((ulong)i * 16 + 8, testValue, implementedWidth); in ShouldTestEnableAllTranslations() 409 private void testAllTranslatedAccesses(ulong address, ulong testValue, int implementedWidth) in testAllTranslatedAccesses() argument 442 var value = type(BitHelper.GetValue(testValue, offset, width)); in testAllTranslatedAccesses()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | BitHelper.cs | 324 public static void ClearBitsIfSet(ref uint reg, uint testValue, params byte[] bits) in ClearBitsIfSet() argument 329 if(IsBitSet(testValue, bit)) in ClearBitsIfSet() 337 public static void ClearBitsIfSet(ref byte reg, byte testValue, params byte[] bits) in ClearBitsIfSet() argument 342 if(IsBitSet(testValue, bit)) in ClearBitsIfSet()
|