uCosminexus Service Platform, Basic Development Guide
This section defines the Shift operation function (shift).
Following table describes definition items:
Table 6-39 TableShiftObjectsDefinition item
Item name | Definition contents | Value that you can define | Additional description |
---|---|---|---|
Name | Function name | Value of NCName type | This is mandatory item. You cannot define the Name in Objects, in duplication. |
Input | Input | See "6.12.2 Setting up the mapping definition" | - |
ShiftAmount | Shift volume (bit) | Numeric value in the range of 0~64 | This is mandatory item. |
OutputSize | Output size (bit) | Numeric value in the range of 1~64 | This is mandatory item. |
ShiftDirection | Shift direction | "left" or "right" | This is mandatory item. |
ShiftType | Shift type | "arithmetic" or "logical" | This is mandatory item when ShiftDirection is "right". In other cases, setting value is not incorporated. "arithmetic" is the arithmetic shift. "logical" is the logical shift. |
Following figure shows the definition example:
Figure 6-78 FigureShiftObjectsDefinition example
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.