> ## 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.

# Sawtooth

The flow varies linearly (by default, from 0 to 1) for every number of cycles.

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

* cycles: 10
* amplitude: 1
* offset: 0

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

## Interface

| Name | Kind | Type | Comment |
| - | :-: | - | - |
| cycles | I | unsigned | Number of cycles for a period Range: > 1 |
| 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 |

**Parent topic:**[Sources::N](https://developer.synopsys.com/docs/scade-one/scade-one-standard-libraries/libraries/sources/sources_n)
