copyCrossDev

copyCrossDev

Works with VSimBase license.

MultiField updater for Cross Devices that copies the data from any number of kind=regularCrossDev field to the same number of kind=regularCrossDev fields.

copyCrossDev Parameters

The copyCrossDev takes the following parameters:

copyFromFieldNames (required string vector)

The name of the kind=regularCrossDev fields to copy from

copyToFieldNames (required string vector)

The name of the kind=regularCrossDev fields to copy to

Example copyCrossDev block

This example copies E1 into D1 and E2 into D2

<Field E1>
  kind = regularCrossDev
  ...
</Field>

<Field D1>
  kind = regularCrossDev
  ...
</Field>

<Field E2>
  kind = regularCrossDev
  ...
</Field>

<Field D2>
  kind = regularCrossDev
  ...
</Field>

<FieldUpdater copyE1andE2>
  kind = copyCrossDev
  copyFromFieldNames = [E1 E2]
  copyToFieldNames = [D1 D2]
</FieldUpdater>

<UpdateStep copyStep>
  updaters = [copyE1andE2]
</UpdateStep>

Notes

Though this copies kind=regularCrossDev fields, the updater itself is a host updater, so needs to be put into a default updateStep step, not a kind=fldSlbUpdateStepCrossDev step, as shown above in the example.

History

copyCrossDev was introduced in VSim 12.