Lines Matching refs:timer
23 timer = new Cadence_TTC(machine, TimerFrequency); in CreatePeripheral()
29 timer.Reset(); in PreparePeripheral()
36 timer.SetCounterValue(0, TicksPerSecond); in ShouldResetCounter()
39 Assert.False(timer.Connections[0].IsSet); in ShouldResetCounter()
43 Assert.False(timer.Connections[0].IsSet); in ShouldResetCounter()
81 timer.SetCounterValue(0, initValue); in ShouldOverflowInOneSecond()
84 Assert.False(timer.Connections[index].IsSet); in ShouldOverflowInOneSecond()
88 Assert.True(timer.Connections[index].IsSet); in ShouldOverflowInOneSecond()
91 Assert.False(timer.Connections[index].IsSet); in ShouldOverflowInOneSecond()
101 timer.WriteDoubleWord(index * RegisterSize + (long)register, value); in WriteTimerRegister()
106 return timer.ReadDoubleWord(index * RegisterSize + (long)register); in ReadTimerRegister()
109 private Cadence_TTC timer; field in Antmicro.Renode.UnitTests.Cadence_TTCTests