Embedded Target for Motorola MPC555    

Using the Pass-Through Option in Simulation

Device driver blocks in the Embedded Target for Motorola MPC555 library have a unique pass-through option. This option lets you provide a signal from a device driver block for use in simulation.

Open the MIOS Digital Out block from the TargetSystem subsystem. Make sure that the Enable pass through (show simulation input) option is selected, as shown in this picture.

When this option is enabled, an outport appears on the block. The block input is passed through to the output during simulation. This option affects simulation only.

To see the effect of pass-through in simulation:

  1. Open the Scope block in the root model.
  2. Start the simulation; observe the output signals from the TargetSystem subsystem.
  3. Stop the simulation manually (the simulation time is set to inf).

  The Example Model Generating Code