Saltar a contenido

Step Ramp

This elements supplies a stair-shaped ramp at its output Y. The step size can be specified and remains constant during simulation. On each positive going edge at the clock (Clk) input, the ramp is increased or decreased by one step. The ramp starts at a given value and grows towards the variable limit signal. By applying Reset the ramp is reset to the initial value. The ramp stops if it has reached the limit and the output Q is set. If the limit signal is changed, the output Q is cleared and the ramp again approaches the new value of the limit signal on every clock edge. By changing the limit signal the slope of the ramp can be changed at full speed.