1461084483-f85291a9-dbc7-490b-80c7-b5ee60bc5890

1. An apparatus, comprising:
a first logic circuit for determining a value of a first function based on input data for a first clock cycle, wherein the first logic circuit comprises a plurality of pipeline stages that perform subsets of calculations of the value of the first function in one clock cycle;
a second logic circuit for determining a value of a second function for the first clock cycle based on a value of a third function for a second clock cycle prior to the first clock cycle; and
a third logic circuit for determining a value of the third function for the first clock cycle by combining the values of the first and second functions for the first clock cycle.
2. The apparatus of claim 1, wherein the first logic circuit comprises a first pipeline stage comprising a plurality of lookup tables for computing output values using an exclusive-OR of subsets of the input data and at least one second pipeline stage comprising at least one lookup table for computing at least one output value using exclusive-OR of output values computed by a previous first or second pipeline stage.
3. The apparatus of claim 2, wherein the first pipeline stage and said at least one second pipeline stage comprise registers for storing the output values of the corresponding pipeline stage.
4. The apparatus of claim 3, wherein the lookup tables and registers in the first or second pipeline stages are configurable to compute and store the output values in one clock cycle.
5. The apparatus of claim 1, wherein the second logic circuit comprises at least one lookup table for computing an exclusive-OR using the value of the third function for the second clock cycle prior to the first clock cycle.
6. The apparatus of claim 1, wherein the third logic circuit is configurable to combine the values of the first and second functions for the first clock cycle using an associative or commutative function.
7. The apparatus of claim 6, wherein the third logic circuit comprises at least one look up table for computing an exclusive-OR using the values of the first and second functions for the first clock cycle.
8. The apparatus of claim 1, comprising at least one fourth logic circuit for determining at least one value of the second function for the first clock cycle based on a value of the first function for input data for at least one third clock cycle, wherein the second clock cycle is prior to said at least one third clock cycle and said at least one third clock cycle is prior to the first clock cycle.
9. The apparatus of claim 8, wherein the third logic circuit is configurable to determine a value of the third function for the first clock cycle by combining the values of the first function, the second function, and said at least one fourth function for the first clock cycle.
10. The apparatus of claim 1, wherein the value of the third function represents a cyclic redundancy check value for the input data.
11. An interface circuit, comprising:
a plurality of ports for receiving parallel input data;
a first logic circuit for determining a value of a first function based on the parallel input data for a first clock cycle, wherein the first logic circuit comprises a plurality of pipeline stages that perform subsets of calculations of the value of the first function in one clock cycle;
a second logic circuit for determining a value of a second function for the first clock cycle based on a value of a third function for a second clock cycle prior to the first clock cycle;
a third logic circuit for determining a value of the third function for the first clock cycle by combining the values of the first and second functions for the first clock cycle;
at least one register for storing the value of the third function.
12. The interface circuit of claim 11, wherein the first logic circuit comprises a first pipeline stage comprising a plurality of lookup tables for computing output values using an exclusive-OR of subsets of the input data and at least one second pipeline stage comprising at least one lookup table for computing at least one output value using exclusive-OR of output values computed by a previous first or second pipeline stage.
13. The interface circuit of claim 11, wherein the second logic circuit comprises at least one lookup table for computing an exclusive-OR using the value of the third function for the second clock cycle prior to the first clock cycle.
14. The interface circuit of claim 11, wherein the third logic circuit comprises at least one look up table for computing an exclusive-OR using the values of the first and second functions for the first clock cycle.
15. The interface circuit of claim 11, wherein the value of the third function represents a cyclic redundancy check value for the parallel input data.
16. A method, comprising:
determining a value of a first function based on input data for a first clock cycle, wherein the value of the first function is determined using a plurality of pipeline stages that perform subsets of calculations of the value of the first function in one clock cycle;
determining a value of a second function for the first clock cycle based on a value of a third function for a second clock cycle prior to the first clock cycle; and
determining a value of the third function for the first clock cycle by combining the values of the first and second functions for the first clock cycle.
17. The method of claim 16, wherein determining the value of the first function comprises determining output values of a first pipeline stage using an exclusive-OR of subsets of the input data and determining at least one output value of at least one second pipeline stage using exclusive-OR of output values computed by a previous first or second pipeline stage.
18. The method of claim 17, comprising storing the output values of the first pipeline stage or said at least one second pipeline stage.
19. The method of claim 18, wherein determining output values for the first or second pipeline stages and storing the corresponding output values is performed in one clock cycle.
20. The method of claim 16, wherein determining the value of the third function comprises determining a cyclic redundancy check value for the input data.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

What is claimed is:

1. An electronic control unit for a vehicle which is made to carry out a count through the use of a timer in response to a direct power supply from a battery and to fall into a stand-by state and which is placed into an activation when a count value reaches a preset timer activation time or when an ignition key is turned on, said control unit comprising:
first oscillation means for supplying a main clock signal at the activation; and
second oscillation means for supplying a sub-clock signal to carry out the timer count,
with the accuracy of the timer count using said sub-clock signal being calibrated through the use of said main clock signal.
2. The unit according to claim 1, wherein an oscillation frequency of said second oscillation means is lower than an oscillation frequency of said first oscillation means.
3. The unit according to claim 1, wherein said first oscillation means comprises an oscillator using mechanical resonance while said second oscillation means comprises an oscillator using electrical resonance.
4. The unit according to claim 3, wherein said first oscillation means comprises one of a crystal oscillator and a ceramic oscillator while said second oscillation means comprises a CR oscillation circuit.
5. The unit according to claim 1, further comprising a microcomputer made to operate on the basis of said main clock signal fed from said first oscillation means, with said first and second oscillation means being incorporated into said microcomputer.
6. The unit according to claim 1, further comprising:
a microcomputer made to operate on the basis of said main clock signal fed from said first oscillation means; and
a timer circuit made to operate on the basis of said sub-clock signal fed from said second oscillation means,
with a clock waveform outputted from said timer circuit being externally inputted to said microcomputer.
7. The unit according to claim 1, wherein a count of said sub-clock signal is made with respect to a given count value of said main clock signal, and the accuracy of the timer count using said sub-clock signal is calibrated on the basis of a sub-clock count result.
8. The unit according to claim 7, further comprising storage means in which the sub-clock count result and a sub-clock count value corresponding to said timer activation time are stored in a state where they are associated with each other.
9. The unit according to claim 7, wherein a sub-clock count value corresponding to said timer activation time is calculated on the basis of the sub-clock count result.
10. The unit according to claim 1, wherein a count of said main clock signal is made with respect to a given count value of said sub-clock signal, and the accuracy of the timer count using said sub-clock signal is calibrated on the basis of a main clock count result.
11. The unit according to claim 10, further comprising storage means in which the main clock count result and a sub-clock count value corresponding to said timer activation time are stored in a state where they are associated with each other.
12. The unit according to claim 10, wherein a sub-clock count value corresponding to said timer activation time is calculated on the basis of the main clock count result.
13. The unit according to claim 1, wherein, whenever the activation is made periodically through the timer count using said sub-clock signal, the accuracy of the timer count using said sub-clock signal is calibrated through the use of said main clock signal.
14. A passenger detection apparatus for a vehicle made to detect a load on a vehicle seat through the use of a load sensor for making a decision on a state of a passenger on the basis of a load detection result and to implement a count through a timer upon receipt of direct power supply from a battery and take a stand-by condition and made to be activated when a count value reaches a preset timer activation time for carrying out a zero-point correction on said load sensor, said apparatus comprising:
first oscillation means for supplying a main clock signal at the activation; and
second oscillation means for supplying a sub-clock signal to implement the timer count,
with the accuracy of the timer count using said sub-clock signal being calibrated through the use of said main clock signal.
15. The apparatus according to claim 14, wherein an oscillation frequency of said second oscillation means is lower than an oscillation frequency of said first oscillation means.
16. The apparatus according to claim 14, wherein said first oscillation means comprises an oscillator using mechanical resonance while said second oscillation means comprises an oscillator using electrical resonance.
17. The apparatus according to claim 16, wherein said first oscillation means comprises one of a crystal oscillator and a ceramic oscillator while said second oscillation means comprises a CR oscillation circuit.
18. The apparatus according to claim 14, further comprising a microcomputer made to operate on the basis of said main clock signal fed from said first oscillation means, with said first and second oscillation means being incorporated into said microcomputer.
19. The apparatus according to claim 14, further comprising:
a microcomputer made to operate on the basis of said main clock signal fed from said first oscillation means; and
a timer circuit made to operate on the basis of said sub-clock signal fed from said second oscillation means,
with a clock waveform outputted from said timer circuit being externally inputted to said microcomputer.
20. The apparatus according to claim 14, wherein a count of said sub-clock signal is made with respect to a given count value of said main clock signal, and the accuracy of the timer count using said sub-clock signal is calibrated on the basis of a sub-clock count result.
21. The apparatus according to claim 14, further comprising storage means in which the sub-clock count result and a sub-clock count value corresponding to said timer activation time are stored in a state where they are associated with each other.
22. The apparatus according to claim 20, wherein a sub-clock count value corresponding to said timer activation time is calculated on the basis of the sub-clock count result.
23. The apparatus according to claim 14, wherein a count of said main clock signal is made with respect to a given count value of said sub-clock signal, and the accuracy of the timer count using said sub-clock signal is calibrated on the basis of a main clock count result.
24. The apparatus according to claim 23, further comprising storage means in which the main clock count result and a sub-clock count value corresponding to said timer activation time are stored in a state where they are associated with each other.
25. The apparatus according to claim 23, wherein a sub-clock count value corresponding to said timer activation time is calculated on the basis of the main clock count result.
26. The apparatus according to claim 14, wherein, whenever the activation is made periodically through the timer count using said sub-clock signal, the accuracy of the timer count using said sub-clock signal is calibrated through the use of said main clock signal.