1 //
2 // Copyright (c) 2010-2023 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 using Antmicro.Renode.Core;
10 
11 using Range = Antmicro.Renode.Core.Range;
12 
13 namespace Antmicro.Renode.Tests.UnitTests.Mocks
14 {
15     public class MockPeripheralWithRangeAttribute : IBytePeripheral
16     {
MockPeripheralWithRangeAttribute(Range mockRange)17         public MockPeripheralWithRangeAttribute(Range mockRange)
18         {
19             MockRange = mockRange;
20         }
21 
Reset()22         public void Reset()
23         {
24         }
25 
ReadByte(long offset)26         public byte ReadByte(long offset)
27         {
28             throw new NotImplementedException();
29         }
30 
WriteByte(long offset, byte value)31         public void WriteByte(long offset, byte value)
32         {
33             throw new NotImplementedException();
34         }
35 
36         public Range MockRange { get; set; }
37 
38     }
39 }
40