Digital output sensor FIFO buffer with single port memory
First Claim
Patent Images
1. A digital output sensor comprising:
- a sensor module for providing digital data representative of a sensed parameter;
an output port for transmitting the digital data;
a First-In-First-Out (FIFO) memory buffer having a single port memory, wherein the digital data from the sensor module is pushed into the FIFO memory buffer via a single memory port, and wherein the digital data is popped out of the FIFO memory buffer via the single memory port for receipt by the output port;
an output holding register operatively coupled between the sensor module and the single port memory, the output holding register for temporarily storing the digital data from the sensor module prior to being pushed into the FIFO memory buffer via the single memory port;
an output staging register operatively coupled between the single port memory and the output port, the output staging register for temporarily storing the digital data popped from the FIFO memory buffer via the single memory port; and
a controller which controls the FIFO memory buffer, the controller configured to;
determine when new digital data is ready at the output holding register;
when new digital data is ready at the output holding, push new digital data from the output holding register into the FIFO memory buffer via the single memory port;
when there is no new digital data ready at the output holding register, determine whether to pop the digital data from the FIFO memory buffer to the output staging register via the single memory port, and if so, pop the digital data from the FIFO memory buffer to the output staging register via the single memory port; and
when the output staging register is empty and the FIFO memory is empty, determine whether to bypass the FIFO memory buffer and transfer new digital data directly from the output holding register to the output staging register.
1 Assignment
0 Petitions
Accused Products
Abstract
A digital output sensor includes a sensor module for providing digital data representative of a sensed parameter, a First-In-First-Out (FIFO) memory having a single port memory, and an output port for transmitting the digital data. The digital data from the sensor module is pushed into the FIFO memory buffer via the single memory port, and the digital data is popped out of the FIFO memory buffer via the single memory port for receipt by the output port.
-
Citations
14 Claims
-
1. A digital output sensor comprising:
-
a sensor module for providing digital data representative of a sensed parameter; an output port for transmitting the digital data; a First-In-First-Out (FIFO) memory buffer having a single port memory, wherein the digital data from the sensor module is pushed into the FIFO memory buffer via a single memory port, and wherein the digital data is popped out of the FIFO memory buffer via the single memory port for receipt by the output port; an output holding register operatively coupled between the sensor module and the single port memory, the output holding register for temporarily storing the digital data from the sensor module prior to being pushed into the FIFO memory buffer via the single memory port; an output staging register operatively coupled between the single port memory and the output port, the output staging register for temporarily storing the digital data popped from the FIFO memory buffer via the single memory port; and a controller which controls the FIFO memory buffer, the controller configured to; determine when new digital data is ready at the output holding register; when new digital data is ready at the output holding, push new digital data from the output holding register into the FIFO memory buffer via the single memory port; when there is no new digital data ready at the output holding register, determine whether to pop the digital data from the FIFO memory buffer to the output staging register via the single memory port, and if so, pop the digital data from the FIFO memory buffer to the output staging register via the single memory port; and when the output staging register is empty and the FIFO memory is empty, determine whether to bypass the FIFO memory buffer and transfer new digital data directly from the output holding register to the output staging register. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of providing sensor data within a digital output sensor, the method comprising:
-
providing digital data representative of a sensed parameter to an output holding register; sending the digital data to a First-In-First-Out (FIFO) memory buffer having a single port memory, wherein the digital data is received from the output holding register and pushed into the FIFO memory buffer via the single memory port; popping the digital data out of the FIFO memory buffer into an output staging register via the single memory port; and sending the digital data from the output staging register to an output port, wherein the method includes controlling the FIFO memory buffer, the controlling including; determining when new digital data is ready at the output holding register; when new digital data is ready at the output holding register, push new digital data from the output holding register into the FIFO memory buffer via the single memory port; when there is no new digital data ready at the output holding register, determine whether to pop the digital data from the FIFO memory buffer to the output staging register via the single memory port, and if so, pop the digital data from the FIFO memory buffer to the output staging register via the single memory port; and when the output staging register is empty and the FIFO memory is empty, determine whether to bypass the FIFO memory buffer and transfer new digital data directly from the output holding register to the output staging register. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer program product for use on a computer system for controlling a digital output sensor having a sensor module for providing digital data representative of a sensed parameter, the digital output sensor further including an output port for transmitting the digital data, a First-In-First-Out (FIFO) memory buffer having a single port memory, an output holding register operatively coupled between the sensor module and the single port memory, the output holding register for temporarily storing the digital data from the sensor module prior to being pushed into the FIFO memory buffer via a single memory port, and an output staging register operatively coupled between the single port memory and the output port, the output staging register for temporarily storing popped digital data from the FIFO memory buffer via the single memory port, the computer program product comprising a computer usable medium having computer readable program code thereon, the computer readable program code including program code for:
-
program code for providing the digital data representative of the sensed parameter to the output holding register; program code for sending the digital data to the First-In-First-Out (FIFO) memory buffer having the single port memory, wherein the digital data is received from the output holding register and pushed into the FIFO memory buffer via the single memory port; program code for popping the digital data out of the FIFO memory buffer into the output staging register via the single memory port; program code for sending the digital data from the output staging register to an output port; program code for determining when new digital data is ready at the output holding register; program code for, when new digital data is ready at the output holding register, pushing new digital data from the output holding register into the FIFO memory buffer via the single memory port; and program code for, when there is no new digital data ready at the output holding register, determining whether to pop digital data from the FIFO memory buffer to the output staging register via the single memory port, and if so, pop the digital data from the FIFO memory buffer to the output staging register via the single memory port; and program code for, when the output staging register is empty and the FIFO memory buffer is empty, determining whether to bypass the FIFO memory buffer and transfer new digital data directly from the output holding register to the output staging register.
-
Specification