Contents

Signal Loop

Run child components for each signal contained in current system, model, or block

Description

The Signal Loop component runs its child components for each signal contained in the current system, model, or block. The parent component determines the behavior of this component.

  • Model Loop: Loops on all signals in the current model.

  • System Loop: Loops on all signals in the current system. Choose not to report on the following types of signals by clearing the corresponding option in the Section options area:

    • System input signals

    • System output signals

    • System internal signals

  • Signal Loop: Loops on the current signal.

  • Block Loop : Loops on all signals connected to the current block. Choose not to report on the following types of signals by clearing the corresponding option in the Section options area:

    • Block input signals

    • Block output signals

  • If the Signal Loop does not have a looping component as its parent, it loops on all signals in all models. Choose not to report on the following types of signals by clearing the corresponding option in the Section options area:

    • Block input signals

    • Block output signals

    • System input signals

    • System output signals

    • System internal signals

For conditional processing of signals, you can use the RptgenSL.getReportedSignal function. For more information, see Loop Context Functions.

Select Signals

  • Include block input signals: Loops on signals that feed into blocks. This option is valid only when the parent component of this component is aBlock Loop.

  • Include block output signals: Loops on signals that leave the block. This option is valid only when the parent component of this component is aBlock Loop.

  • Include system input signals: Loops on signals coming from inports. This option is valid only when the parent component of this component is aSystem Loop.

  • Include system internal signals: Loops on system internal signals. This option is valid only when the parent component of this component is aSystem Loop.

  • Include system output signals: Loops on signals going to outports. This option is valid only when the parent component of this component is aSystem Loop.

  • Sort signals: Specifies how to sort signals:

    • Alphabetically by signal name: Sorts signals alphabetically by name.

    • Alphabetically by signal name (exclude empty): Sorts signals alphabetically by name.

    • Alphabetically by system name: Sorts alphabetically by parent system names. Lists signals in each system, but in no particular order.

    • By signal depth: Sorts signals by their depth in the model.

Section Options

  • Create section for each object in loop: Inserts a section in the generated report for each object found in the loop.

  • Display the object type in the section title: Automatically inserts the object type into the section title in the generated report.

  • Create link anchor for each object in loop: Creates a hyperlink to the object in the generated report.

Insert Anything into Report?

Yes, inserts a section if you select the Create section for each object in loop option.

Class

rptgen_sl.csl_sig_loop

Was this topic helpful?