Home
last modified time | relevance | path

Searched refs:ComparingTimer (Results 1 – 23 of 23) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DComparingTimerTests.cs22 … var timer = new ComparingTimer(new BaseClockSource(), 10, null, String.Empty, 20, compare: 5); in ShouldThrowOnCompareHigherThanLimit()
31 …var timer = new ComparingTimer(clockSource, 1000000, null, String.Empty, 65535 + 1, enabled: true,… in ShouldHandleCompareValueChangeWhenEnabled()
84 …var timer = new ComparingTimer(clockSource, frequency: 1000000, owner: null, localName: String.Emp… in ShouldClearWhenValueSetToZero()
106 …var clockSource = new BaseClockSource(); var timer = new ComparingTimer(clockSource, frequency: 10… in ShouldGenerateCompareEventAtCompareAfterClear()
130 var timer = new ComparingTimer(clockSource, frequency: 1000000, owner: null, in ShouldNotGenerateAdditionalCompareEvent()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Timers/
DEFR32xG24_SYSRTC.cs24 … compare0Timer = new ComparingTimer(machine.ClockSource, frequency, this, "compare0Timer", in EFR32xG24_SYSRTC()
28 … compare1Timer = new ComparingTimer(machine.ClockSource, frequency, this, "compare1Timer", in EFR32xG24_SYSRTC()
32 … capture0Timer = new ComparingTimer(machine.ClockSource, frequency, this, "capture0Timer", in EFR32xG24_SYSRTC()
207 private readonly ComparingTimer compare0Timer;
208 private readonly ComparingTimer compare1Timer;
209 private readonly ComparingTimer capture0Timer;
DLiteX_CPUTimer.cs20 …innerTimer = new ComparingTimer(machine.ClockSource, frequency, this, "cpu timer", enabled: true, … in LiteX_CPUTimer()
89 private readonly ComparingTimer innerTimer;
DIMX_GPTimer.cs20 timers = new ComparingTimer[NumberOfCaptures]; in IMX_GPTimer()
26 …timers[j] = new ComparingTimer(machine.ClockSource, frequency, this, $"compare{j}", eventEnabled: … in IMX_GPTimer()
153 private readonly ComparingTimer[] timers;
DPULP_Timer.cs31 timers = new ComparingTimer[NumberOfTimers]; in PULP_Timer()
35 …timers[j] = new ComparingTimer(machine.ClockSource, frequency, this, $"Timer {j}", limit: uint.Max… in PULP_Timer()
141 private ComparingTimer[] timers;
DNEORV32_MachineSystemTimer.cs20 …mTimer = new ComparingTimer(machine.ClockSource, frequency, this, nameof(mTimer), direction: Time.… in NEORV32_MachineSystemTimer()
86 private readonly ComparingTimer mTimer;
DOpenTitan_AonTimer.cs29 …wkupTimer = new ComparingTimer(machine.ClockSource, frequency, this, "wkup_timer", workMode: Time.… in OpenTitan_AonTimer()
32 …wdogBarkInnerTimer = new ComparingTimer(machine.ClockSource, frequency, this, "wdog_bark_inner_tim… in OpenTitan_AonTimer()
34 …wdogBiteInnerTimer = new ComparingTimer(machine.ClockSource, frequency, this, "wdog_bite_inner_tim… in OpenTitan_AonTimer()
244 private readonly ComparingTimer wkupTimer, wdogBarkInnerTimer, wdogBiteInnerTimer;
DNXP_OsTimer.cs20 …innerTimer = new ComparingTimer(machine.ClockSource, frequency, this, nameof(innerTimer), workMode… in NXP_OsTimer()
112 private readonly ComparingTimer innerTimer;
DIMXRT_PWM.cs27 …halfCycleTimer = new ComparingTimer(machine.ClockSource, frequency, this, "halfCycleTimer", compar… in IMXRT_PWM()
28 …fullCycleTimer = new ComparingTimer(machine.ClockSource, frequency, this, "fullCycleTimer", compar… in IMXRT_PWM()
208 private ComparingTimer halfCycleTimer;
209 private ComparingTimer fullCycleTimer;
DS32K_LPTMR.cs21 …innerTimer = new ComparingTimer(machine.ClockSource, frequency, this, "lptmr", limit: 0xFFFF, dire… in S32K_LPTMR()
155 private readonly ComparingTimer innerTimer;
DNRF52840_Timer.cs29 innerTimers = new ComparingTimer[numberOfEvents]; in NRF52840_Timer()
33 …innerTimers[j] = new ComparingTimer(machine.ClockSource, InitialFrequency, this, $"compare{j}", ev… in NRF52840_Timer()
244 private readonly ComparingTimer[] innerTimers;
DOpenTitan_Timer.cs24 …underlyingTimer = new ComparingTimer(machine.ClockSource, frequency, this, "timer", workMode: Time… in OpenTitan_Timer()
153 private readonly ComparingTimer underlyingTimer;
DNRF52840_RTC.cs33 innerTimers = new ComparingTimer[numberOfEvents]; in NRF52840_RTC()
38 …innerTimers[i] = new ComparingTimer(machine.ClockSource, InitialFrequency, this, $"compare{i}", ev… in NRF52840_RTC()
272 private readonly ComparingTimer[] innerTimers;
DEFR32xG2_BURTC.cs26 …innerTimer = new ComparingTimer(machine.ClockSource, frequency, this, "burtc", limit: uint.MaxValu… in EFR32xG2_BURTC()
130 private readonly ComparingTimer innerTimer;
DCC2538SleepTimer.cs14 public sealed class CC2538SleepTimer : ComparingTimer, IDoubleWordPeripheral, IKnownSize
DAmbiqApollo4_Timer.cs357 …compare0Timer = new ComparingTimer(clockSource, 1, parent, $"timer{index}cmp0", limit: 0xFFFFFFFF,… in InternalTimer()
358 …compare1Timer = new ComparingTimer(clockSource, 1, parent, $"timer{index}cmp1", limit: 0xFFFFFFFF,… in InternalTimer()
466 private readonly ComparingTimer compare0Timer;
467 private readonly ComparingTimer compare1Timer;
DAmbiqApollo4_SystemTimer.cs363 …innerTimer = new ComparingTimer(owner.machine.ClockSource, owner.Frequency, owner, name, direction… in CompareRegister()
457 private readonly ComparingTimer innerTimer;
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Xtensa/
DXtensa.cs25 innerTimers = new ComparingTimer[InnerTimersCount]; in Xtensa()
29 …innerTimers[i] = new ComparingTimer(machine.ClockSource, frequency, this, "", enabled: true, event… in Xtensa()
160 private readonly ComparingTimer[] innerTimers;
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/
DCoreLevelInterruptor.cs34 …var timer = new ComparingTimer(machine.ClockSource, timerFrequency, this, hartId.ToString(), enabl… in CoreLevelInterruptor()
158 private readonly List<ComparingTimer> mTimers = new List<ComparingTimer>();
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Timers/
DComparingTimer.cs17 public class ComparingTimer : ITimer, IPeripheral class
19 …public ComparingTimer(IClockSource clockSource, long frequency, IPeripheral owner, string localNam… in ComparingTimer() method in Antmicro.Renode.Peripherals.Timers.ComparingTimer
54 …protected ComparingTimer(IClockSource clockSource, long frequency, ulong limit = ulong.MaxValue, D… in ComparingTimer() method in Antmicro.Renode.Peripherals.Timers.ComparingTimer
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/GPIOPort/
DHiFive_PWM.cs40 timers = new ComparingTimer[NumberOfComparers]; in HiFive_PWM()
44 …timers[i] = new ComparingTimer(machine.ClockSource, frequency, this, (i + 1).ToString(), CompareMa… in HiFive_PWM()
211 private readonly ComparingTimer[] timers;
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/Timers/
DARM_GlobalTimer.cs289 …innerTimer = new ComparingTimer(clockSource, coreTimer.Frequency, owner, $"compareTimer-{coreName}… in PrivateComparator()
415 private readonly ComparingTimer innerTimer;
DARM_GenericTimer.cs450 …timer = new ComparingTimer(clockSource, frequency, parent, name, limit: ulong.MaxValue, compare: u… in TimerUnit()
551 private readonly ComparingTimer timer;