> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ramp

The flow varies linearly from 0 to 1 for a duration and then remains at 1.

The figure shows the output flow for a ramp with the following inputs:

* duration: 1
* ts (timesample): 0.1
* amplitude: 1
* offset: 0

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/scade-one/scade-one-standard-libraries/2025-r1/libraries/images/t__ramp_00.svg?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=903fbdcd708716ea57b0b9f11d060d2d)

## Interface

| Name | Kind | Type | Comment |
| - | :-: | - | - |
| duration | I | float | Duration of the ramp Range: >0 |
| ts | I | float | Time sample during the ramp Range: >0 |
| amplitude | I | float | Gain to be applied to the output flow (default 1) |
| offset | I | float | Offset to be added to the output flow (default 0) |
| flow | O | float | Output flow |

**Constraint**: The ratio duration / ts must be greater than 2.

**Parent topic:**[Sources::T](https://developer.synopsys.com/docs/scade-one/scade-one-standard-libraries/2025-r1/libraries/sources/sources_t)
