Claims
- 1. A system for developing the logic to be implemented in a built-in microcomputer that is used while being incorporated in an electric control unit, comprising:
a center block including at least a first central processing unit that deals with the logic, a first memory in which data including a program in which the logic is implemented is stored, a first interface via which said center block communicates with the outside, and a first internal bus over which said first central processing unit, said first memory, and said first interface are interconnected; a peripheral block including at least quasi microcomputer peripheral devices that simulate, by software, the peripheral devices of a microcomputer, a second interface via which said peripheral block communicates with the outside, and a second internal bus over which said quasi microcomputer peripheral devices and said second interface are interconnected; and an internal bus over which said center block and peripheral block are interconnected, wherein:
said center block, said peripheral block, and said interface bus are substituted for said built-in microcomputer in order to implement the logic.
- 2. A microcomputer logic development system according to claim 1, wherein said peripheral block further includes a second central processing unit whose throughput is lower than that of said first central processing unit and which performs communication over said interface bus, and a second memory in which at least data to be communicated is stored.
- 3. A microcomputer logic development system according to claim 1 or 2, further comprising an interface circuit block including input/output circuits, wherein:
said microcomputer logic development system can be substituted for said electronic control unit with said interface circuit block connected to said peripheral block.
- 4. A microcomputer logic development system according to any of claims 1 to 3, wherein said center block includes a first timer.
- 5. A microcomputer logic development system according to any of claims 1 to 4, wherein said second memory includes a common memory connected on said interface bus, and an internal memory connected on said second internal bus.
- 6. A microcomputer logic development system according to any of claims 1 to 5, wherein another quasi microcomputer peripheral device can be added to said quasi microcomputer peripheral devices included in said peripheral block.
- 7. A microcomputer logic development system according to any of claims 1 to 6, wherein said peripheral block includes a second timer used to manage time.
- 8. A microcomputer logic development system according to claim 1, wherein:
a control application composed of a temporal interrupt handling application that is run at regular intervals and a non-temporal interrupt handling application that is run irrespective of time with every occurrence of a predetermined event is stored in said first memory; said first central processing unit has a virtual interrupt controller facility that performs at least temporal interrupt handling and non-temporal interrupt handling; communication software that transmits or receives at least data and interrupt event information over said interface bus is installed in said first interface; said second central processing unit communicates with said first interface using said second memory and said second interface so as to transfer an interrupt event and data over said interface bus; and said quasi microcomputer peripheral devices include input facilities and output facilities.
- 9. A microcomputer logic development system according to claim 8, wherein said input facilities include an input port, a latch port, an A/D converter, and a capture area, and said output facilities include an output port, a pulse transmitter, a comparator, and a serial interface.
- 10. A microcomputer logic development system according to claim 8, wherein:
said second memory includes a common memory connected on said interface bus; and said quasi microcomputer peripheral devices transmit or receive data to or from said temporal interrupt handling application and said non-temporal interrupt handling application, which are stored in said first memory, by way of said common memory and said interface bus.
- 11. A microcomputer logic development system according to claim 10, wherein: said common memory includes a communication synchronization counter; and transmission and reception of data between said quasi microcomputer peripheral devices and said non-temporal interrupt handling application are synchronized based on said communication synchronization counter.
- 12. A microcomputer logic development system according to claim 10 or 11, wherein: the timing of activating said quasi microcomputer peripheral devices is not fixed based on a predetermined sampling cycle but is determined arbitrarily; and the next timing of activating said quasi microcomputer peripheral devices is set to the terminating said non-temporal interrupt handling application.
- 13. A microcomputer logic development system according to claim 12, wherein: if the time having elapsed since the timing of activating said quasi microcomputer peripheral devices to the termination of said non-temporal interrupt handling application installed in said center block exceeds a predetermined verification time, said quasi microcomputer peripheral devices are forcibly activated.
- 14. A microcomputer logic development system according to claim 12 or 13, wherein: an interrupt event occurring in said quasi microcomputer peripheral devices is transmitted to said center block over said interface bus in order to run said non-temporal interrupt handling application; and the next timing of activating said quasi microcomputer peripheral devices is set to the termination of said non-temporal interrupt handling application.
- 15. A microcomputer logic development system according to any of claims 12 to 14, wherein said non-temporal interrupt handling application determines the priorities of interrupt events that may occur in said quasi microcomputer peripheral devices, and handles the interrupt events, which are transmitted to said first block over said interface bus, according to the priorities.
- 16. A microcomputer logic development system according to any of claims 12 to 15 wherein, when no interrupt event occurs in said quasi microcomputer peripheral devices, transmission of information to said center block over said interface bus is omitted.
- 17. A microcomputer logic development system according to any of claims 12 to 16 wherein, when timer value acquisition is requested during said non-temporal interrupt handling, a timer value acquired over said interface bus is corrected with a timer value provided by a first timer included in said center block.
- 18. A microcomputer logic development system according to claim 9, wherein: said control application issues a pulse transmission request using said comparator facility included in said output facilities in response to an interrupt request issued from said peripheral block; and at this time, the pulse transmission request is transmitted in at least one of immediate output mode in which a general output port facility included in the output terminal of said comparator facility is selected in order to immediately transmit the pulse transmission request, and timed output mode in which a comparative transmission facility included in the output terminal of said comparator facility is selected, and a transmission time instant and a transmission level are determined in order to set transmission.
- 19. A microcomputer logic development system according to claim 18, wherein said quasi microcomputer peripheral devices included in said peripheral block can deal with any combination of pulse transmission requests transmitted from said control application in said immediate output mode or said timed output mode.
- 20. A microcomputer logic development system according to claim 19, wherein a delay time elapsing from the issuance of the pulse transmission request from said control application in said immediate output mode or said timed output mode to the actual transmission thereof to said peripheral block over said interface bus is corrected, and the delay time is derived from the transmission over said interface bus.
- 21. A microcomputer logic development system according to claim 20, wherein: it is verified based on the kind of signal whether the delay time elapsing from the issuance of the transmission request to the actual transmission thereof should be corrected; and the correction is performed only on the kind of signal for which the delay time should be corrected.
- 22. A microcomputer logic development system according to any of claims 1 to 21, wherein said first to third blocks are formed with general-purpose circuit boards.
- 23. A microcomputer logic development system according to any of claims 1 to 22, wherein said microcomputer is used to control an internal combustion engine.
- 24. A system for developing the logic to be implemented in a built-in microcomputer that is used while being incorporated in an electronic control unit, said system comprising: a center block that includes a fast computing facility, a memory, and a communication facility; a peripheral block that includes quasi microcomputer peripheral devices, which simulate by software the peripheral devices of a microcomputer, a computing facility, and a communication facility, and that is connected to said center block over a PCI bus; and an interface circuit block that includes circuits equivalent to the hardware of an electronic control unit and that is connected to said peripheral block, wherein:
when said center block runs an application, at the start or end of the run unit of the application corresponding to the processing that is nested within the application and that contains both arithmetic/logic operations and input/output operations relative to said memory, input/output information treated during input/output operations is gathered and communicated at one time to said peripheral block over said PCI bus.
- 25. A microcomputer logic development system according to claim 24, wherein said center block includes a first block assigned the processing that is nested with the application and that contains both arithmetic/logic operations and input/output operations relative to said memory, and a second block assigned the processing that is nested within the application and that contains arithmetic/logic operations alone.
- 26. A microcomputer logic development system according to claim 25, wherein said center block gives priority to the processing nested within the application and assigned to said first block over the processing nested within the application and assigned to said second block.
- 27. A microcomputer logic development system according to claim 25 or 26, wherein said center block transmits or receives information, which is treated during the input/output operations included in the processing nested within the application and assigned to said first block, synchronously with said peripheral block.
- 28. A microcomputer logic development system according to any of claims 25 to 27, wherein the processing assigned to said first block is divided into two portions, that is, time-synchronous interrupt handling that does not depend on an external state and that contains input/output operations, and non-time-synchronous interrupt handling that is performed synchronously with an event whose information is detected from an external state.
- 29. A microcomputer logic development system according to claim 28, wherein: the event information is contained in interrupt flag information included in an interrupt signal to be transferred from said peripheral block to said center block; and when said first block activates the input/output operations and arithmetic/logic operations in response to the trigger of the interrupt signal, said first block handles each interrupt according to the interrupt flag information.
- 30. A microcomputer logic development system according to any of claims 25 to 29, wherein said second block performs arithmetic/logic operations at regular intervals irrespective of the action of said peripheral block.
- 31. A microcomputer logic development system according to claim 26, wherein said center block allows said second block to execute the processing nested within the application in an input/output completion wait state while said peripheral block is performing inputting/outputting.
- 32. A microcomputer logic development system according to claim 25, wherein said first block is activated with an interrupt signal sent from said peripheral block, and said second block is activated by the internal system of said center block.
- 33. A microcomputer logic development system according to claim 25, wherein: when certain processing included in the processing nested within the application and assigned to said second block of said center block is completed, said center block measures a processing time having elapsed since the previous termination of the processing nested within the application and assigned to said first block; and if the processing time exceeds a predetermined time, transfer of data representing the result of the certain processing is inhibited.
- 34. A microcomputer logic development system according to any of claims 24 to 33, wherein: said peripheral block includes a PCI memory in which input information to be sent to said center block is stored and output information received from said center block is also stored; and said PCI memory is divided into a storage area in which the input information is stored, and a storage area in which the output information is stored.
- 35. A microcomputer logic development system according to claim 34 wherein, after the output information received from said center block is fully written in said PCI memory included in said peripheral block, said peripheral block reads information from said PCI memory.
- 36. A microcomputer logic development system according to claim 34, wherein when said center block and said peripheral block communicate with each other over said PCI bus, only data values that have changed are sampled and transmitted.
- 37. A microcomputer logic development system according to claim 28 or 29 wherein, in addition to said PCI bus, an interrupt signal line over which an interrupt signal is sent from said peripheral block to said center block, and a sync signal line over which a sync signal is sent from said center block to said peripheral block are laid down between said center block and said peripheral block.
- 38. A microcomputer logic development system according to claim 37, wherein: said peripheral block transmits the interrupt flag information over said interrupt signal line; a time-synchronous timing signal produced by said peripheral block is appended to the interrupt flag information; and if a plurality of flags is detected at the same sampling timing, said center block arbitrates handling of interrupts according to the priorities assigned to the interrupts and indicated by the flags.
- 39. A microcomputer logic development system according to claim 38 wherein, after said peripheral block transmits the interrupt flag information to said center block, said peripheral block clears the interrupt flag information unconditionally.
- 40. A microcomputer logic development system according to claim 39 wherein, when the interrupt flag information is not found, said peripheral block stops transmission to said center block.
- 41. A microcomputer logic development system according to any of claims 24 to 40, wherein a plurality of peripheral blocks is included.
- 42. A microcomputer logic development system according to claim 41, wherein said plurality of peripheral blocks achieves parallel processing with inputting/outputting relative to said center block distributed among them.
- 43. A microcomputer logic development system according to claim 42, wherein said plurality of peripheral blocks achieves parallel processing by transmitting or receiving a sync signal to or from one another.
- 44. A microcomputer logic development system according to claim 25, wherein when the run unit of the application corresponding to the processing assigned to said first block is large, said first block divides the run unit to perform the processing.
- 45. A microcomputer logic development system according to claim 44, wherein the run unit of the application is divided into a run unit assigned a high priority and a run unit assigned a low priority.
- 46. A microcomputer logic development system according to claim 44, wherein the run unit of the application is divided into two run units corresponding to time-synchronous interrupt handling that does not depend on an external state and that contains the input/output operations and non-time-synchronous interrupt handling that is executed synchronously with an event whose information is detected from the external state.
- 47. A microcomputer logic development system according to claim 46, wherein each of the time-synchronous interrupt handling and non-time-synchronous interrupt handling is subdivided into a run unit assigned a high priority and a run unit assigned a low priority.
Priority Claims (2)
Number |
Date |
Country |
Kind |
2001-367496 |
Nov 2001 |
JP |
|
2002-167711 |
Jun 2002 |
JP |
|
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a continuation application of PCT/JP02/12563, filed on Nov. 29, 2002, the contents being incorporated herein by reference.
Continuations (1)
|
Number |
Date |
Country |
Parent |
PCT/JP02/12563 |
Nov 2002 |
US |
Child |
10631620 |
Jul 2003 |
US |