Research Article
Comparative Power Analysis of an Adaptive Bus Encoding Method on the MBUS Structure
Algorithm 1
Algorithm for the encoding MBUS address.
Input: PreBase = sustain the previous value of the base address; | Input: PreOffset = sustain the previous value of the offset address; | Input: CurBase = update the current value as the base address; | Input: CurOffset = update the current value as the offset address; | Output: EncAddr = encoding address; | = FrameNum; | repeat | if Mode#0: Consecutive transactions in the Same Base; then | EncAddr = ; break; | end | if Mode#1: Consecutive transactions in different bases; then | EncAddr = ; break; | end | if Mode#2: Interleaving transactions in the same base; then | EncAddr = ; break; | end | if Mode#3: Interleaving transactions in different bases; then | EncAddr = ; break; | end | ; | until index = 0; |
|