Lib.Mervis.v1_0.SimpleLatch
A helper block used to store a snapshot of a value.
program test var latch: lib.mervis.v1_0.SimpleLatch; end_var latch(); end_program
Name | Data Type | Retain | Mandatory Connection | Meaning | |
Input | real | No | Yes | Input value | |
Clk | bool | No | Yes | Signal to store value |
Name | Data Type | Meaning |
Output | real | Output |
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.