This section of the library includes components for working with arrays.


For a walkthrough of how to use arrays when modeling and simulating real-world systems, see the Blocks and Arrays Tutorial.

For a description of CertSAFE’s array features, see the the Blocks and Arrays article.

For information on using array-typed variables in simulations, see the article on working with blocks in simulations.

Shift Register


The Shift Register component outputs an array of the last N input values. The name Shift Register is inspired by the similar concept in hardware. The length of the output array N is determined polymorphically by the inferred type of the output variable, so you may need to add a type annotation in the diagram where you use this component in order to get the desired behavior. The IC pin of the Shift Register component determines the values initially present in the output array before the first input values are shifted in.