Scalable virtual timer architecture for efficiently...

Electrical computers and digital processing systems: support – Clock – pulse – or timing signal generation or analysis – Counting – scheduling – or event timing

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Reexamination Certificate

active

06550015

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to hardware timers for processor-oriented systems, and more particularly to a scalable virtual timer architecture for efficiently implementing multiple hardware timers with minimal silicon overhead.
2. Description of the Related Art
As embedded applications become more complex, micrcontrollers have experienced a superintegration of memory and peripheral blocks, rendering chip resources even more valuable. The embedded applications industry has responded to superintegration with an effort to provide just enough silicon to microcontrollers to achieve the contemplated functionality. Implementation strategies for minimizing total silicon real estate while maintaining acceptable levels of performance are thus needed.
In large or protocol intensive applications for processor-oriented systems, numerous timers are used to provide reset functionality, interrupt generation functionality, event triggering functionality, and other timing functions. During the execution of these applications, a processor frequently checks the states of numerous timers. This polling of numerous timers has significantly contributed to software overhead in processor-oriented systems.
A basic hardware timer has included a counter, a set of registers, a comparator, and other circuitry (e.g., frequency scaling logic or control logic). A timer typically serves as a device for counting or timing events. A timer accomplishes such a purpose by accumulating (incrementing or decrementing) a count value until a programmed count value is reached. This counting operation is performed by a counter every certain number of clock transitions of a clock signal provided as an input to the timer. A counter, which is the core of a timer, has itself been referred to as a timer or counter/timer. When the timer reaches the programmed count value, the timer expires. Expiration of a timer is commonly termed a “time out.” Following a time out, a timer generates a terminal count and performs or triggers a timer action which is typically providing an interrupt to a processor. A timer next may be cleared and reloaded with a new or same programmed count value.
A variety of registers may be used for controlling or supporting a timer. Examples of such registers include timer mode and control registers, timer count registers, load registers, and capture or hold registers. A timer mode and control register typically provides bits for enabling a timer, reflecting the state of a timer, arming a timer, controlling frequency prescaling of a timer, setting the type of timer action performed by a timer, setting a particular operating mode for a timer, and/or selecting a clock source for a timer. A timer count register contains a current count value of a timer. A load register is used to load a counter with a programmed count value. A capture or hold register is used to perform a capture or record operation whereby count data of interest such as the current count value is read by a device such as a processor.
A comparator of a timer is used in determining if the timer has reached its programmed count value. One implementation of such a comparator has been a timer max count compare register. A count compare register contains a programmed count value. For this implementation, the timer is configured to compare the timer max count compare register and a timer count register to determine if the timer has reached the programmed count value.
For processor-oriented systems supporting multiple hardware timers, a hardware timer frequently must provide counting and timing functions independent of any other hardware timer. A conventional approach to providing an additional hardware timer within a processor-oriented system has been to supply another counter, set of registers, comparator, and other circuitry.
The Am186™ ED microcontroller is an example of a processor-oriented system supporting multiple hardware timers. The Am186™ ED microcontroller supports three hardware timers, timer
0
, timer
1
, and timer
2
. The timers are controlled by eleven 16-bit registers in the peripheral control block of the microcontroller. Timer
0
and timer
1
are each associated with a set of four 16-bit registers. The set includes a timer mode/control register, two timer max count compare registers, and a timer count register. The timer
2
is associated with a timer mode/control register, a timer max count compare, register, and a timer count register. Each supported timer of the microcontroller thus has its own set of registers.
SUMMARY OF THE INVENTION
Briefly, in accordance with the present invention, a scalable virtual timer system or subsystem and technique for efficiently implementing multiple hardware timers with minimal silicon overhead is provided.
One embodiment of the scalable virtual timer system includes a content addressable memory for storing an “initial state” or count value of a free running counter and desired count durations for a plurality of virtual timers. When a sum of an “initial state” of the free running counter and a desired count duration for a virtual timer of the plurality of virtual timers matches a state of the free running counter, the content addressable memory generates a terminal count for the virtual timer.
In an alternative embodiment of the scalable virtual timer system, a period register of a set of period registers stores a sum of a desired count duration for a virtual timer of the plurality of virtual timers and the “initial state” of the free running counter. A comparator of a plurality of comparators generates a terminal count for a virtual timer when a state of the free running counter matches a sum of an “initial state” of the free running counter and the desired count duration for the particular virtual timer.
In accordance with the present invention, a technique for efficiently implementing multiple hardware timers with minimum silicon overhead utilizes the scalable virtual timer system. The state of the free running counter of the scalable virtual timer system is read. If the state of the free running counter matches a sum of an “initial state” of the free running counter and a desired count duration stored in a storing means, then the particular match is detected. An operation for detecting such a match may involve adding the desired count duration and the “initial state” of the free running counter. In response to detection of a match between the stored sum for a virtual timer and the state of the free running counter, the scalable virtual timer system generates a terminal count for the particular virtual timer.


REFERENCES:
patent: 3881156 (1975-04-01), Deutsch
patent: 4287562 (1981-09-01), Darden et al.
patent: 4879733 (1989-11-01), Burch et al.
patent: 4912734 (1990-03-01), Frauenglass
patent: 4926319 (1990-05-01), Wilkie et al.
patent: 4942522 (1990-07-01), Wilkie et al.
patent: 4952367 (1990-08-01), Porter et al.
patent: 5042005 (1991-08-01), Miller et al.
patent: 5089955 (1992-02-01), Morinaga et al.
patent: 5220661 (1993-06-01), Hu et al.
patent: 5233573 (1993-08-01), Bettelheim et al.
patent: 5325341 (1994-06-01), Viot et al.
patent: 5363499 (1994-11-01), Glass
patent: 5491815 (1996-02-01), Basso et al.
patent: 5664167 (1997-09-01), Pickett et al.
patent: 5724399 (1998-03-01), Imakura
patent: 5740451 (1998-04-01), Muraki et al.
patent: 5975739 (1999-11-01), Katayama et al.
Am186™ER and Am188™ER Microcontrollers User's Manual, Advanced Micro Devices, Inc., ©1998, Chapter 10, pp. 1-8.
PCI board packs 8 counter/timers, Electronic Engineering Times, Jun. 29, 1998, p. 74.
Am9513A/Am9513 System Timing Controller Technical Manual, Advanced Micro Devices, Inc., ©1990, Chapter 1, pp. 1-28.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Scalable virtual timer architecture for efficiently... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Scalable virtual timer architecture for efficiently..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Scalable virtual timer architecture for efficiently... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3044425

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.