LogicalBlocks package
Requirements.Examples.Elementary.LogicalBlocks
ยท source
Library of examples using LogicalBlocks blocks
Extends Modelica.Icons.ExamplesPackage
Examples of the blocks of package LogicalBlocks: the conversions between Boolean, Integer and Property signals, threshold comparisons of a Real signal, a delayed rising edge, the logical or and and of Boolean vectors (AnyTrue, AllTrue), and the not, or and and of Property signals in the multi-valued logic of the library. PropertyTable4 asserts the complete four-valued truth tables of and, or and not, including the value Undefined, together with the algebraic laws that hold and those that fail.
Contents
| Name | Kind | Description | |
|---|---|---|---|
| Conversions | model | Examples for BooleanToProperty, IntegerToProperty, PropertyToBoolean, PropertyToInteger | |
| ThresholdComparisons | model | Examples for the threshold comparison blocks in package LogicalBlocks | |
| DelayedRising | model | Example for DelayedRising (output is true, after a duration of a rising input edge and false after a falling input edge) | |
| AnyTrue | model | Example for AnyTrue (output is true if at least one input is true) | |
| AllTrue | model | Example for AllTrue (output is true if all inputs are true) | |
| PropertyNot | model | Example for PropertyNot (4-valued logic 'not' of a Property input) | |
| PropertyOr | model | Example for PropertyOr (3-valued logic 'or' of Property input u) | |
| PropertyAnd | model | Example for PropertyAnd (3-valued logic 'and' of Property input u) | |
| PropertyTable4 | model | The four-valued (ETL) tables of and4, or4 and not4 asserted entry by entry, and the laws that fail |