diff --git a/emulation/peripherals/LiteX_Timer_32.cs b/emulation/peripherals/LiteX_Timer_32.cs index f9d05d495..b0f6e7dc7 100644 --- a/emulation/peripherals/LiteX_Timer_32.cs +++ b/emulation/peripherals/LiteX_Timer_32.cs @@ -51,7 +51,7 @@ namespace Antmicro.Renode.Peripherals.Timers public GPIO IRQ { get; - set; + private set; } public long Size { get { return 0x20; }} @@ -65,8 +65,6 @@ namespace Antmicro.Renode.Peripherals.Timers }); ; - // RELOAD0 contains most significant 8 bits - // RELOAD3 contains least significant 8 bits Registers.Reload.Define32(this) .WithValueField(0, 32, name: "RELOAD", writeCallback: (_, val) => { @@ -139,8 +137,6 @@ namespace Antmicro.Renode.Peripherals.Timers private readonly LimitTimer innerTimer; - private const int SubregistersCount = 1; - private enum Registers { Load = 0x00,