Tmp100 (tmp100)

Design

A block diagram representation of the implementation is given in Figure 178:

tmp100 block diagram.

Figure 178: tmp100 block diagram.

Interface

<!-- 
 TMP100 Device Worker OCS
-->
<ComponentSpec>
                                                                                    <!--Device Offset-->
  <Property name="temp_reg" type="ushort"/> 	                    <!-- 0x0-->
  <Property name="config_reg" type="uchar" writable="true"/> 	    <!-- 0x1-->
  <Property name="padBefore" type="uchar"/>	            <!-- 0x1-->
  <Property name="tlow_reg" type="ushort" writable="true"/> 	    <!-- 0x2-->
  <Property name="thigh_reg" type="ushort" writable="true"/> 	    <!-- 0x3-->
</ComponentSpec>

Properties

  • temp_reg

    • Type: ushort

    • Access:

      • Parameter: False

      • Writable: False

      • Initial: False

      • Volatile: False

    • Default value: None

  • config_reg

    • Type: uchar

    • Access:

      • Parameter: False

      • Writable: True

      • Initial: False

      • Volatile: False

    • Default value: None

  • padBefore

    • Type: uchar

    • Access:

      • Parameter: False

      • Writable: False

      • Initial: False

      • Volatile: False

    • Default value: None

  • tlow_reg

    • Type: ushort

    • Access:

      • Parameter: False

      • Writable: True

      • Initial: False

      • Volatile: False

    • Default value: None

  • thigh_reg

    • Type: ushort

    • Access:

      • Parameter: False

      • Writable: True

      • Initial: False

      • Volatile: False

    • Default value: None

Ports

Inputs:

None.

Outputs:

None.

Implementations

Dependencies

The dependencies to other elements in OpenCPI are:

  • assets/hdl/devices/tmp100.hdl/tmp100.vhd

Limitations

Limitations of tmp100 are:

  • None.

Testing

There is no unit test for this device worker. The test and verification of this worker is covered in the Matchstiq I2C device worker. See the component datasheet of this worker for more details.