Browse Prior Art Database

DEFENSIVE PUBLICATION: COHERENT READ OF MULTI-WORD DATA FROM TPU CAMSHAFT DECODER FUNCTION

IP.com Disclosure Number: IPCOM000009092D
Original Publication Date: 1999-Jun-01
Included in the Prior Art Database: 2002-Aug-07
Document File: 2 page(s) / 124K

Publishing Venue

Motorola

Related People

Sharon Darley: AUTHOR [+2]

Abstract

The "Coherent Read of Multi-word data from TPU Camshaft Decoder Function" (hereafter referred to as the INVENTION) solves a problem in a system that uses dual ported RAM. In this partic- ular system, the dual ported RAM is on-chip and is used to exchange data between a CPU and the microengine of one of the on-chip peripherals, the Time Processor Unit (TPU). The dual ported RAM guarantees one long-word (two words) of uninter- rupted access. This means that the CPU can read two adjacent words of data and be ensured that the read is coherent, that is, the TPU cannot update one of the words in the middle of the read. The same is true for the TPU. However, in this particular sys- tem, there is no mechanism to handle coherent data reads when the data is longer than two words. This presents a problem in applications in which it is nec- essary to exchange data longer than two words in length. Because the RAM, CPU, and TPU all reside on the same microcontroller (MCU), no hardware mechanism can be implemented by the user to solve this problem; the hardware constraints are already defined. Thus, a software solution must be implemented.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 50% of the total text.

Page 1 of 2

F9

MOTOROLA Technical Developments

DEFENSIVE PUBLICATION: COHERENT READ OF MULTI-WORD DATA FROM TPU CAMSHAFT DECODER FUNCTION

by Sharon Darley and Richard Soja ~

PROBLEM ADDRESSED

  The "Coherent Read of Multi-word data from TPU Camshaft Decoder Function" (hereafter referred to as the INVENTION) solves a problem in a system that uses dual ported RAM. In this partic- ular system, the dual ported RAM is on-chip and is used to exchange data between a CPU and the microengine of one of the on-chip peripherals, the Time Processor Unit (TPU). The dual ported RAM guarantees one long-word (two words) of uninter- rupted access. This means that the CPU can read two adjacent words of data and be ensured that the read is coherent, that is, the TPU cannot update one of the words in the middle of the read. The same is true for the TPU. However, in this particular sys- tem, there is no mechanism to handle coherent data reads when the data is longer than two words. This presents a problem in applications in which it is nec- essary to exchange data longer than two words in length. Because the RAM, CPU, and TPU all reside on the same microcontroller (MCU), no hardware mechanism can be implemented by the user to solve this problem; the hardware constraints are already defined. Thus, a software solution must be implemented.

  Software communication between the CPU and TPU is limited to service requests from the CPU, mode selection bits, and data passed through dual- port RAM whose purpose is defined by the TPU function. Thus, the CPU software cannot imple- ment a data-holdoff mechanism to handle multi- word coherent reads/writes to the dual ported RAM shared ivith the TPU; any such implementation must be included in the TPU microcode. Up until the time of this INVENTION, no data-holdoff imple- mentation existed in any of the functions already written for the TPU. Other functions handled this problem by buffering data, that is, keeping two copies of the data in RAM - one static copy only updated at specific times, and one continually updat- ed as required by the system. However, because the

number of words in the dual ported RAM is fixed, approximately six words of data for each TPU func- tion, buffering multiple words of data is not feasible in most functions. Thus, another solution had to be devised.

SOLUTION

  This INVENTION addresses the problem of multi-word coherent data transfers with a software implementation of a data;holdoff mechanism in the TPU microcode. A feature was added to the TPU function to allow the CPU to issue a data-holdoff service request to the TPU. Upon receiving this request, the TPU finishes updating the data if it is currently processing an...