Value Memory - Real
Full Name
Lib.Mervis.v1_0.SimpleLatch
Required Project References
- Lib.Mervis
Description
A helper block used to store a snapshot of a value.
Usage in ST
program test var latch: lib.mervis.v1_0.SimpleLatch; end_var latch(); end_program
Inputs
Name | Data Type | Retain | Mandatory Connection | Meaning | |
Input | real | No | Yes | Input value | |
Clk | bool | No | Yes | Signal to store value |
Outputs
Name | Data Type | Meaning |
Output | real | Output |
Detailed Function Description
The block stores the current value of the Input on the rising edge of the Clk input. This value is then provided on the Output.