InitOp#

class InitOp(expression)#

Bases: CallExpression

Provides for the initialization of flows.

The format is <init>, ..., <init> -> <flow>, ..., <flow>.

See the init_op example.

Parameters:
expression

Call expression to wrap.

Notes

The design differs slightly from the meta-model. Because the inputs must be groups of flows, the InitOp class does not inherit from the FlowOp class. It exposes directly the lists of flows and initial values instead of having flows that are instances of the ListExpression class.

Overview#

flows

Flows after the first cycle.

inits

Initial values of the flows.

Import detail#

from ansys.scade.apitools.expr.access import InitOp

Property detail#

property flows: list[Expression]#

Flows after the first cycle.

property inits: list[Expression]#

Initial values of the flows.