Port Termination (portterm_csts)

Source or sink termination for an external port of a OpenCPI HDL assembly.

Design

This component can be used to terminate unused external ports of a HDL assembly:

  • For a source termination, the output data is set to 0xFACEBEEF.

  • For a sink termination, the input data is stored in inBuffer property.

Interface

<ComponentSpec>
  <property name='SRC_TERM_p' type='bool' parameter='true' default='true' description='Termination Type: ``true`` = Source, ``false`` = Sink'/>
  <property name='inBuffer' type='ulong' volatile='true' description='Input Data for a Sink Termination'/>
</ComponentSpec>

Properties

  • SRC_TERM_p: Termination Type: true = Source, false = Sink.

    • Type: bool

    • Access:

      • Parameter: True

      • Writable: False

      • Initial: False

      • Volatile: False

    • Default value: true

  • inBuffer: Input Data for a Sink Termination.

    • Type: ulong

    • Access:

      • Parameter: False

      • Writable: False

      • Initial: False

      • Volatile: True

    • Default value: None

Ports

Inputs:

  • in

    • Protocol: complex_short_timed_sample-prot.xml

    • Optional: True

Outputs:

  • out

    • Protocol: complex_short_timed_sample-prot.xml

    • Optional: True

Implementations

Dependencies

The dependencies to other elements in OpenCPI are:

  • NONE

There is also a dependency on:

  • ieee.std_logic_1164

  • ieee.numeric_std

Limitations

Limitations of portterm_csts are:

  • NONE