1 //
2 // Copyright (c) 2010-2019 Antmicro
3 //
4 //  This file is licensed under the MIT License.
5 //  Full license text is available in 'licenses/MIT.txt'.
6 //
7 using System;
8 using Antmicro.Renode.Peripherals.Bus;
9 
10 namespace Antmicro.Renode.Tests.UnitTests.Mocks
11 {
12     public class MockPeripheralWithBoolAttribute : IBytePeripheral
13     {
MockPeripheralWithBoolAttribute(bool mockBool)14         public MockPeripheralWithBoolAttribute(bool mockBool)
15         {
16             MockBool = mockBool;
17         }
18 
Reset()19         public void Reset()
20         {
21         }
22 
ReadByte(long offset)23         public byte ReadByte(long offset)
24         {
25             throw new NotImplementedException();
26         }
27 
WriteByte(long offset, byte value)28         public void WriteByte(long offset, byte value)
29         {
30             throw new NotImplementedException();
31         }
32 
33         public bool MockBool { get; set; }
34 
35     }
36 }
37