EP1807761A1 - Method and device for distributing data from at least one data source in a multiprocessor system - Google Patents

Method and device for distributing data from at least one data source in a multiprocessor system

Info

Publication number
EP1807761A1
EP1807761A1 EP05801268A EP05801268A EP1807761A1 EP 1807761 A1 EP1807761 A1 EP 1807761A1 EP 05801268 A EP05801268 A EP 05801268A EP 05801268 A EP05801268 A EP 05801268A EP 1807761 A1 EP1807761 A1 EP 1807761A1
Authority
EP
European Patent Office
Prior art keywords
data
unit
mode
arithmetic units
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
EP05801268A
Other languages
German (de)
French (fr)
Inventor
Thomas Kottke
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from DE200410051937 external-priority patent/DE102004051937A1/en
Priority claimed from DE200410051964 external-priority patent/DE102004051964A1/en
Priority claimed from DE200410051992 external-priority patent/DE102004051992A1/en
Priority claimed from DE200410051952 external-priority patent/DE102004051952A1/en
Priority claimed from DE200410051950 external-priority patent/DE102004051950A1/en
Application filed by Robert Bosch GmbH filed Critical Robert Bosch GmbH
Publication of EP1807761A1 publication Critical patent/EP1807761A1/en
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30181Instruction operation extension or modification
    • G06F9/30189Instruction operation extension or modification according to execution mode, e.g. mode flag
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1629Error detection by comparing the output of redundant processing systems
    • G06F11/1641Error detection by comparing the output of redundant processing systems where the comparison is not performed by the redundant processing components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1695Error detection or correction of the data by redundancy in hardware which are operating with time diversity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/16Protection against loss of memory contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3836Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution
    • G06F9/3851Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution from multiple instruction streams, e.g. multistreaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3885Concurrent instruction execution, e.g. pipeline or look ahead using a plurality of independent parallel functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/845Systems in which the redundancy can be transformed in increased performance

Definitions

  • Computer systems for safety-critical applications in particular in the vehicle such as for anti-lock braking systems, the electronic stability program (ESP), X-by-wire systems such as drive-by-wire or steer-by-wire and break-by-wire, etc. or in other networked systems.
  • ESP electronic stability program
  • X-by-wire systems such as drive-by-wire or steer-by-wire and break-by-wire, etc. or in other networked systems.
  • powerful error detection mechanisms and error handling mechanisms are required, in particular to counteract transient errors that arise, for example, in miniaturization of the semiconductor structures of the computer systems. It is relatively difficult to protect the core itself, so the processor.
  • One solution to this is, as mentioned, the use of a dual-computer system or dual core system for fault detection.
  • processors will be discussed below, which also includes cores or computing units conceptually. Description of the embodiments and advantages of the invention
  • the erf ⁇ ndungswashe unit or the inventive method allows the implementation of the two modes in a two-processor system.
  • the two processors operate in error detection mode (F mode)
  • the two processors receive the same data / instructions and operate in performance mode (P mode), so each processor can access the memory. Then, this unit manages the accesses to the just-existing memory or
  • the switching is triggered and / or displayed by a control signal, in particular a mode signal, which is related to the operating mode of at least one arithmetic unit, wherein the control signal is generated in particular externally relative to the arithmetic units.
  • the data to be distributed are forwarded to at least one further component, in particular a computing unit, wherein the data to be distributed are extended before forwarding by an error detection code.
  • the input data can be forwarded to at least one further component, in particular an arithmetic unit, wherein the input data is extended before forwarding by an error detection code.
  • the output data may be forwarded to at least one other component, with the output data being extended by an error detection code before being forwarded.
  • an error signal is advantageously output upon detection of an error due to the error detection code.
  • an error signal is output only in the secure mode (F-mode).
  • a delay component may be contained which, depending on a clock offset of the two arithmetic units in the respective operating mode, delays the leading data by precisely this clock offset.
  • a system is provided with such a device according to the invention, further provided with an external monitoring unit to the unit, which detects errors if an intended switching of the operating modes does not occur. If the two-processor system is operated with a clock offset in F mode and not in P mode, the DVE unit delays the data for the slave accordingly or stores the output data of the master until it is compared with the output data of the slave for error detection can be.
  • FIG. 1 shows a dual-computer system with a first computer 100, in particular one
  • Data terminal DOl Data Out 1
  • DO2 Data Out 2
  • the data bus line 116C which is connected to computer 100 or computer 101 via a data connection Dil (Data In 1) and a data connection DI2 (Data In 2), respectively is.
  • a component 104 is interposed, for example a data memory, in particular a secure data memory o. ⁇ . This component 104 is also supplied with the clock CLK in this example.
  • the components 103 and 104 are representative of any components which are connected via a data bus and / or command bus to the computers of the dual-computer system and corresponding to the accesses via data and / or commands of the dual-processor system with respect to write operations and / or read operations erroneous data and / or commands receive or give away.
  • error prevention are indeed
  • Error detection generators 105, 106 and 107 are provided which generate an error detection such as a parity bit or other error code such as an error correction code, so ECC, o. ⁇ .. are also provided the corresponding Starbuckskennungsprüf healthyen or check Means 108 and 109 for checking the respective misrecognition, for example, the
  • Parity bit or other error code such as ECC.
  • Clock offset a computer here in particular computer 100 erroneous data and / or commands in components, in particular external components such. B. here in particular the memory 103 or 104, but also with respect to other participants or actuators or sensors write or read. Thus, it may also erroneously perform a write access instead of a designated read access by this clock offset.
  • these scenarios lead to errors in the entire system, in particular without clear display possibility which data and / or commands have just been changed incorrectly, which also causes the recovery problem.
  • a delay unit 102 is now connected as shown in the lines of the data bus and / or in the command bus. For reasons of clarity, only the activation in the data bus is shown.
  • Delay the write and read operations delay only the write operations, or, although not preferred, delay the read operations. It can be converted by a change signal, in particular the error signal, a delayed write operation in a read operation to prevent erroneous writing.
  • IllOpDetect Switching between the two modes is detected by the "Switch-Detect" units located between the cache and the processor on the instruction bus and looking to load the IUOp command into the processor.
  • the Switch-Detect unit is unique to each processor, and the Switch-Detect unit does not need to be fault-tolerant because it is duplicated and redundant. On the other hand, it is conceivable to perform this unit fault-tolerant and thus singular, but preferred is the redundant design.
  • ModeSwitch Switching between the two modes is triggered by the "Switch-Detect" unit.If switching from Lock to Split mode, both "Switch-Detect” units will detect switching as both processors are the same Execute program code in Lock mode. The "" switch Detect '"unit of processor 1 detects this 1.5 clocks before the" Switch-Detect "unit of processor 2.
  • The""Modeswitch'" unit halts processor 2 by 2 clocks with the help of the wait signal 2 is also stopped 1.5 clocks later, but only half a clock to synchronize to the system clock, then the status signal is split for the other components, and the two processors continue to work To run tasks, they must diverge in program code, which is done by having read access to the processor ID immediately after switching to split mode This read processor ID is different for each of the two processors, and now becomes a target processor ID, you can then use a Conditional Jump command to move the corresponding processor to a different program location, or switch from split mode to Lo ck mode, this will notice a processor, or one of the two first. This processor will execute program code containing the switchover command. This is now registered by the "Switch-Detect" unit and shares the mode switch
  • both "Switch-Detect" units must notify the Modeswitch unit that they want to switch to split mode, and if the changeover request is only from one unit, the error is detected by the comparison units These continue to receive data from one of the two processors and they do not match the stopped processors.
  • the two processors are in split mode and one does not switch back to lock mode, this can be detected by an external watchdog.
  • the watchdog Upon a trigger signal for each processor, the watchdog notices that the waiting processor is no longer reporting. If there is only one watchdog signal for the processor system, then the triggering of the watchdog must only take place in lock mode. Thus, the Watchdog detect that the mode switch was not made.
  • the mode signal is available as a dual-rail signal. Where "UO" is the lock mode and " ⁇ 01" is the split mode. Errors have occurred with "W and" ⁇ 11 "'.
  • the reloading of the two caches of the processors are controlled by 2 state machines.
  • processor 1 has the higher priority. After a access to the main memory by processor 1 gets now - if both processors want to access the main memory again ⁇ processor2 assigned the memory access permission. These two state machines are implemented for each processor. In lock mode, the output signals of the machines are compared to detect any errors.
  • the data for updating the cache 2 in lock mode are delayed by 1.5 cycles in the IRAM control unit.
  • Control a flag table built. This indicates whether a cache line was written in lock or split mode. In lock mode, the cache line entry value is set to 0 on a cache line reload, and in split mode, even if the cache line is cached from a single cache, to 1. If the processor now executes a memory access in lock mode, then checks if this cache line has been updated in lock mode, ie is the same in both caches. in the
  • Processor 1 coordinates the memory accesses.
  • the DVE consists of the detection of the switching request (IllOPDetect) of the ModeSwitch unit and the Iram and DramControl.
  • the core of the invention is the general mode of operation of the data distribution unit DVE (different data allocation depending on the mode and thus also selection of the operating mode).
  • the illustrated special implementation of the DVE solves the task mentioned at the beginning.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Multimedia (AREA)
  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

A unit and method for distributing data from at least one data source in a system provided with at least two computer units, containing switching means which are used to switch between at least two operating modes of the system, wherein data distribution and/or selection of a data source is dependent upon the operating mode.

Description

VERFAHREN UND VORRICHTUNG ZUR DATENVERTEILUNG AUS WENIGSTENS EINER DATENQUELLE IN EINEM MΞHRPROZESSORSYSTEMMETHOD AND DEVICE FOR DISTRIBUTING DATA FROM AT LEAST ONE DATA SOURCE IN A PROCESSOR SYSTEM
Stand der TechnikState of the art
In technischen Anwendungen, wie insbesondere im Kraftfahrzeug oder imIn technical applications, such as in particular in the motor vehicle or in
Industriegüterbereich also z.B. Maschinenbereich und in der Automatisierung werden ständig mehr und mehr mikroprozessor- oder rechnerbasierte Steuerungs- und Regelungssysteme für sicherheitskritische Anwendungen eingesetzt. Dabei sind Zweirechnersysteme oder Zweiprozessorsysteme (Dual Cores) heutzutage gängigeIndustrial goods sector, e.g. In the field of machines and in automation, more and more microprocessor-based or computer-based control and regulation systems are increasingly being used for safety-critical applications. Two-computer systems or dual-processor systems (dual cores) are now commonplace
Rechnersysteme für sicherheitskritische Anwendungen, insbesondere im Fahrzeug wie beispielsweise für Antiblockiersysteme, das Elektronische Stabilitätsprogramm (ESP), X- by-Wire-Systeme wie Drive-by-Wire oder Steer-by-Wire sowie Break-by-Wire, usw. oder auch bei sonstigen vernetzten Systemen. Um diese hohen Sicherheitsansprüche in zukünftigen Anwendungen zu befriedigen, sind mächtige Fehlererkennungsmechanismen und Fehlerbehandlungsmechanismen erforderlich, insbesondere um transienten Fehler, die beispielsweise bei Verkleinerung der Halbleiterstrukturen der Rechnersysteme entstehen, zu begegnen. Dabei ist es relativ schwierig den Core selbst, also den Prozessor zu schützen. Eine Lösung hierfür ist wie erwähnt die Verwendung eines Zweirechnersystems oder Dual Core-Systems zur Fehlerdetektion.Computer systems for safety-critical applications, in particular in the vehicle such as for anti-lock braking systems, the electronic stability program (ESP), X-by-wire systems such as drive-by-wire or steer-by-wire and break-by-wire, etc. or in other networked systems. In order to meet these high security requirements in future applications, powerful error detection mechanisms and error handling mechanisms are required, in particular to counteract transient errors that arise, for example, in miniaturization of the semiconductor structures of the computer systems. It is relatively difficult to protect the core itself, so the processor. One solution to this is, as mentioned, the use of a dual-computer system or dual core system for fault detection.
Solche Prozessoreinheiten mit wenigstens zwei integrierten Ausführungseinheiten sind somit als Dual-Core- oder Multi-Core- Architekturen bekannt. Solche Dual-Core- oder Multi-Core- Architekturen werden nach heutigem Stand der Technik hauptsächlich aus zwei Gründen vorgeschlagen: Zum Einen kann damit eine Leistungssteigerung, also eine Performance-Steigerung erreicht werden, indem die beiden Ausführungseinheiten oder Cores als zwei Recheneinheiten auf einem Halbleiterbaustein betrachtet und behandelt werden. In dieser Konfiguration bearbeiten die zwei Ausführungseinheiten oder Cores unterschiedlicheSuch processor units with at least two integrated execution units are thus known as dual-core or multi-core architectures. Such dual-core or multi-core architectures are proposed according to the current state of the art mainly for two reasons: On the one hand, an increase in performance, ie a performance increase, can be achieved by considering and treating the two execution units or cores as two arithmetic units on a semiconductor component. In this configuration, the two execution units or cores process different
Programme respektive Tasks. Dadurch lässt sich eine Leistungssteigerung erzielen, weshalb diese Konfiguration als Leistungsmodus oder Performance-Mode bezeichnet wird.Programs respectively tasks. As a result, an increase in performance can be achieved, which is why this configuration is referred to as a power mode or performance mode.
Der zweite Grund, eine Dual-Core- oder Multi-Core- Architektur zu realisieren, ist eineThe second reason to realize a dual-core or multi-core architecture is one
Sicherheitssteigerung, indem die beiden Ausführungseinheiten redundant das gleiche Programm abarbeiten. Die Ergebnisse der beiden Ausführungseinheiten oder CPUs, also Cores werden verglichen und ein Fehler kann bei dem Vergleich auf Übereinstimmung erkannt werden. Im Folgenden wird diese Konfiguration als Sicherheitsmodus oder Safety-Mode oder auch Fehlererkennungsmodus bezeichnet.Increased security by the redundant execution of the same program by the two execution units. The results of the two execution units or CPUs, ie cores, are compared and an error can be recognized in the comparison for consistency. In the following, this configuration is referred to as safety mode or safety mode or error detection mode.
Heutzutage gibt es somit einerseits Zwei- oder Mehrprozessorsysteme die zur Erkennung von Hardware-Fehlern redundant arbeiten (siehe Dual-Core oder Master-Checker- Systeme) und anderseits Zwei- oder Mehrprozessorsysteme, die auf ihren Prozessoren unterschiedliche Daten abarbeiten. Kombiniert man nun diese beiden Betriebsarten in einem Zwei- oder Mehrprozessorsystem (der Einfachheit halber wird nun nur noch von einem Zweiprozessorsystem gesprochen, die nachfolgende Erfindung ist aber genauso auf Mehrprozessorsystemen anwendbar), so müssen die beiden Prozessoren im Performance- Modus unterschiedliche Daten erhalten und im Fehlererkennungsmodus die gleichen Daten.Nowadays, there are on the one hand two- or multi-processor systems that work redundantly to detect hardware errors (see dual-core or master-checker systems) and, on the other hand, two- or multi-processor systems that process different data on their processors. Combining these two modes in a two- or multi-processor system (the sake of simplicity is now only spoken by a two-processor system, the following invention is just as applicable to multiprocessor systems), so the two processors in the performance mode have received different data and in Error detection mode the same data.
Die Aufgabe der Erfindung ist nun eine Einheit und eine Verfahren vorzustellen, die den wenigstens beiden Prozessoren abhängig vom Modus die Instruktionen/ Daten redundant oder unterschiedlich liefert und insbesondere im Performance-Modus die Speicherzugriffsrechte aufteilt.The object of the invention is now to present a unit and a method which delivers the instructions / data redundantly or differently to the at least two processors depending on the mode and in particular divides the memory access rights in the performance mode.
Solch eine Einheit ist bis jetzt noch nicht bekannt. Sie ermöglicht den effektiven Betrieb eines Zweiprozessorsystems, so dass in den beiden Modi Sicherheit und Performance im Betrieb umgeschaltet werden kann. Dabei wird im weiteren von Prozessoren gesprochen, was aber ebenso Cores bzw. Recheneinheiten begrifflich einschließt. Beschreibung der Ausführungsbeispiele und Vorteile der ErfindungSuch a unit is not yet known. It enables the effective operation of a two-processor system so that the two modes of safety and performance can be switched during operation. In this case, processors will be discussed below, which also includes cores or computing units conceptually. Description of the embodiments and advantages of the invention
Somit geht die Erfindung vorteilhafter Weise von einer Einheit zur Datenverteilung aus wenigstens einer Datenquelle in einem System mit wenigstens zwei Recheneinheiten aus, wobei Umschaltmittel (ModeSwitch) enthalten sind durch welche zwischen wenigstens zwei Betriebsmodi des Systems umgeschalten werden kann, wobei die Einheit derart ausgestaltet ist, dass die Datenverteilung und/oder die Datenquelle abhängig von dem Betriebsmodus ist. Gleichermaßen ist ein System mit einer solchen Einheit gezeigt.Thus, the invention advantageously proceeds from a data distribution unit comprising at least one data source in a system having at least two arithmetic units, wherein switching means (ModeSwitch) are included by which it is possible to switch between at least two operating modes of the system, the unit being designed such that the data distribution and / or the data source is dependent on the operating mode. Likewise, a system with such a unit is shown.
Ebenso zeigt die Erfindung ein entsprechendes Verfahren zur Datenverteilung aus wenigstens einer Datenquelle in einem System mit wenigstens zwei Recheneinheiten, wobei Umschaltmittel enthalten sind durch welche zwischen wenigstens zwei Betriebsmodi des Systems umgeschalten werden kann, wobei die Datenverteilung und/oder eine Auswahl einer Datenquelle (insbesondere Instr.Speicher, Datenspeicher, Cache) abhängig von dem Betriebsmodus ist.Likewise, the invention shows a corresponding method for data distribution from at least one data source in a system having at least two arithmetic units, wherein switching means are included by which at least two operating modes of the system can be switched, the data distribution and / or a selection of a data source (in particular Instr Memory, data memory, cache) is dependent on the operating mode.
Dabei entspricht der erste Betriebsmodus einem Sicherheitsmodus, bei dem die zwei Recheneinheiten gleiche Programme und/oder Daten abarbeiten und Vergleichsmittel vorgesehen sind, welche die bei der Abarbeitung der gleichen Programme entstehenden Zustände auf Übereinstimmung vergleichenIn this case, the first operating mode corresponds to a safety mode in which the two arithmetic units execute the same programs and / or data and comparison means are provided which compare the states that arise during the execution of the same programs to match
Die erfϊndungsgemäße Einheit bzw. das erfindungsgemäße Verfahren ermöglicht die Implementierung der beiden Modi in einem Zweiprozessorsystem.The erfϊndungsgemäße unit or the inventive method allows the implementation of the two modes in a two-processor system.
Arbeiten die beiden Prozessoren im Fehlererkennungsmodus (F-Modus), so erhalten die beiden Prozessoren die gleichen Daten/Instruktionen und arbeiten sie im Performancemodus (P-Modus), so kann jeder Prozessor auf den Speicher zugreifen. Dann verwaltet diese Einheit die Zugriffe auf den nur einfach vorhandenen Speicher oderIf the two processors operate in error detection mode (F mode), the two processors receive the same data / instructions and operate in performance mode (P mode), so each processor can access the memory. Then, this unit manages the accesses to the just-existing memory or
Peripherie.Periphery.
Im F-Modus übernimmt die Einheit die Daten/Adressen eines Prozessors (hier Master genannt) und leitet diese an die Komponenten wie Speicher, Bus, usw. weiter. Der zweite Prozessor (hier Slave) möchte den gleichen Zugriff machen. Die Datenverteilungseinheit - A -In F mode, the unit takes over the data / addresses of a processor (called master here) and forwards them to the components such as memory, bus, etc. The second processor (here slave) wants to make the same access. The data distribution unit - A -
nimmt dies an einem zweiten Port entgegen, aber leitet die Anfrage nicht an die weiteren Komponenten weiter. Die Datenverteilungseinheit übergibt dem Slave die gleichen Daten wie dem Master und vergleicht die Daten der beiden Prozessoren. Sind diese unterschiedlich, so zeigt dies die Datenverteilungseinheit (hier DVE) durch ein Fehlersignal an. Es arbeitet somit nur der Master auf den Bus/Speicher und der Slave bekommt die selben Daten (Funktionsweise wie bei einem Dual-Core System).takes this on a second port, but does not forward the request to the other components. The data distribution unit gives the slave the same data as the master and compares the data of the two processors. If these are different, this indicates the data distribution unit (here DVE) by an error signal. Thus, only the master works on the bus / memory and the slave gets the same data (functioning as with a dual-core system).
Im P-Modus arbeiten die beiden Prozessoren unterschiedliche Programmteile ab. Die Speicherzugriffe sind somit auch unterschiedlich. Die DVE nimmt somit die Anforderung der Prozessoren entgegen und gibt die Ergebnisse/angeforderte Daten an den Prozessor zurück, der sie angefordert hat. Möchten nun beide Prozessoren gleichzeitig auf eine Komponenten zugreifen, so wird ein Prozessor in einen Wartezustand versetzt, bis der andere bedient wurde.In P mode, the two processors work on different parts of the program. The memory accesses are thus also different. The DVE thus accepts the request from the processors and returns the results / requested data to the processor that requested them. If both processors now want to access a component at the same time, one processor is put in a wait state until the other one has been operated.
Die Umschaltung zwischen den beiden Modi und somit der unterschiedlichenSwitching between the two modes and thus the different ones
Arbeitsweise der Datenverteilungseinheit erfolgt durch ein Steuersignal. Dies kann entweder von einem der beiden Prozessoren generiert werden oder extern.Operation of the data distribution unit is performed by a control signal. This can either be generated by one of the two processors or externally.
Vorteilhafter Weise wird die Umschaltung durch ein Steuersignal, insbesondere ein Modussignal, das auf den Betriebsmodus wenigstens einer Recheneinheit bezogen ist, ausgelöst und/oder angezeigt, wobei das Steuersignal insbesondere extern bezogen auf die Recheneinheiten generiert wird.Advantageously, the switching is triggered and / or displayed by a control signal, in particular a mode signal, which is related to the operating mode of at least one arithmetic unit, wherein the control signal is generated in particular externally relative to the arithmetic units.
Weiterhin ist zweckmäßig, dass die Umschaltung durch einen Befehl, insbesondere einen Befehl, der eine unzulässige Aktion beschreibt (illOp) ausgelöst und/oder angezeigt wird, wobei der Befehl von dem Umschaltmittel, insbesondere der Mode-Switch Einheit, generiert wird.Furthermore, it is expedient that the switching by a command, in particular a command that describes an illegal action (illOp) is triggered and / or displayed, the command of the switching means, in particular the mode switch unit, is generated.
Vorteilhafter Weise werden Eingangsdaten der beiden Recheneinheiten in einem Betriebsmodus, der einem Sicherheitsmodus entspricht (F-Modus) gegeneinannder aufAdvantageously, input data of the two arithmetic units in an operation mode corresponding to a safety mode (F mode) counteract each other
Übereinstimmung verglichen und/oder auch Ausgangsdaten der beiden Recheneinheiten in einem Betriebsmodus, der einem Sicherheitsmodus entspricht (F-Modus) gegeneinannder auf Übereinstimmung verglichen. Zweckmäßiger Weise werden die zu verteilenden Daten an wenigstens eine weitere Komponente, insbesondere eine Recheneinheit, weitergeleitet, wobei die zu verteilenden Daten vor Weiterleitung um einen Fehlerentdeckungscode erweitert werden. Ebenso können die die Eingangsdaten an wenigstens eine weitere Komponente, insbesondere eine Recheneinheit, weitergeleitet werden, wobei die Eingangsdaten vor Weiterleitung um einen Fehlerentdeckungscode erweitert werden. Gleichermaßen können die Ausgangsdaten an wenigstens eine weitere Komponente weitergeleitet werden, wobei die Ausgangsdaten vor Weiterleitung um einen Fehlerentdeckungscode erweitert werden. Für all diese Fälle wird vorteilhafter Weise bei Entdeckung eines Fehlers auf Grund des Fehlerentdeckungscodes ein Fehlersignal ausgegeben. Wobei in einer Ausführungsform ein Fehlersignal nur im Sicherheitsmodus (F-Modus) ausgegeben wird.Match compared and / or output data of the two arithmetic units in an operating mode corresponding to a safety mode (F-mode) compared to match compared. Expediently, the data to be distributed are forwarded to at least one further component, in particular a computing unit, wherein the data to be distributed are extended before forwarding by an error detection code. Likewise, the input data can be forwarded to at least one further component, in particular an arithmetic unit, wherein the input data is extended before forwarding by an error detection code. Likewise, the output data may be forwarded to at least one other component, with the output data being extended by an error detection code before being forwarded. For all these cases, an error signal is advantageously output upon detection of an error due to the error detection code. In one embodiment, an error signal is output only in the secure mode (F-mode).
Grundsätzlich kann vorteilhaft zwischen einem Performanzmodus und einem Sicherheitsmodus unterschieden werden und im Performanzmodus eine Priorisierung der Daten der beiden Recheneinheiten vorgenommen werden und diese Daten können sequentiell in Abhängigkeit von der Priorisierung entgegengenommen und/oder weitergegeben werden.In principle, a distinction can advantageously be made between a performance mode and a security mode, and a prioritization of the data of the two arithmetic units can be carried out in the performance mode, and these data can be received and / or forwarded sequentially as a function of the prioritization.
Erfindungsgemäß kann eine Verzögerungskomponente enthalten sein, die abhängig von einem Taktversatz der beiden Recheneinheiten in dem jeweiligen Betriebsmodus die voreilenden Daten um eben diesen Taktversatz verzögert.According to the invention, a delay component may be contained which, depending on a clock offset of the two arithmetic units in the respective operating mode, delays the leading data by precisely this clock offset.
Vorteilhafter Weise werden die zu verteilenden Daten aus einem Speicher gelesen und dann an die Recheneinheiten verteilt.Advantageously, the data to be distributed are read from a memory and then distributed to the computing units.
Die Datenverteilung wird dabei zweckmäßiger Weise durch Zustandsautomaten gesteuert, wobei für jede Recheneinheit zwei Zustandsautomaten vorgesehen sind. Diese sind vorteilhaft als ein synchroner Zustandsautomat und ein asynchroner Zustandsautomat ausgestaltet.The data distribution is expediently controlled by state machines, two state machines being provided for each arithmetic unit. These are advantageously designed as a synchronous state machine and an asynchronous state machine.
Erfindungsgemäß ist ein System mit einer solchen Erfindungsgemäßen Einheit vorgesehen wobei weiterhin eine zu der Einheit externe Überwachungschaltung vorgesehen ist, welche auf Fehler erkennt wenn eine beabsichtigte Umschaltung der Betriebsmodi nicht erfolgt. Wird das Zweiprozessorsystem im F-Modus mit einem Taktversatz betrieben und im P- Modus nicht, so verzögert die DVE — Einheit die Daten für den Slave entsprechend, bzw. speichert die Ausgangsdaten des Master solange, bis sie mit den Ausgangsdaten des Slave zur Fehlererkennung verglichen werden können.According to the invention, a system is provided with such a device according to the invention, further provided with an external monitoring unit to the unit, which detects errors if an intended switching of the operating modes does not occur. If the two-processor system is operated with a clock offset in F mode and not in P mode, the DVE unit delays the data for the slave accordingly or stores the output data of the master until it is compared with the output data of the slave for error detection can be.
Der Taktversatz wird anhand der Figur 1 näher erläutert:The clock offset will be explained in more detail with reference to FIG. 1:
Figur 1 zeigt ein Zweirechnersystem mit einem ersten Rechner 100, insbesondere einemFIG. 1 shows a dual-computer system with a first computer 100, in particular one
Masterrechner und einem zweiten Rechner 101, insbesondere einem Slave-Rechner. Das gesamte System wird dabei mit einem vorgebbaren Takt bzw. in vorgebbaren Taktzyklen (clock cycle) CLK betrieben. Über den Takteingang CLKl des Rechners 100 sowie über den Takteingang CLK2 des Rechners 101 wird diesem der Takt zugeführt. Bei diesem Zweirechnersystem ist darüber hinaus beispielhaft ein spezielles Merkmal zurMaster computer and a second computer 101, in particular a slave computer. The entire system is operated with a predeterminable clock or in predeterminable clock cycles (clock cycle) CLK. About the clock input CLKL of the computer 100 and the clock input CLK2 of the computer 101, the clock is supplied to this. In this dual-computer system is also an example of a special feature of
Fehlererkennung enthalten, in dem nämlich der erste Rechner 100 sowie der zweite Rechner 101 mit einem Zeitversatz, insbesondere einem vorgebbaren Zeitversatz bzw. einem vorgebbaren Taktversatz arbeiten. Dabei ist jede beliebige Zeit für einen Zeitversatz vorgebbar und auch jeder beliebige Takt bezüglich eines Versatzes der Taktzyklen. Dies kann ein ganzzahliger Versatz des Taktzyklus (clock cycle) sein, aber eben auch wie in diesem Beispiel dargestellt, beispielsweise ein Versatz von 1,5 Taktzyklen, wobei hier der erste Rechner 100 eben 1,5 Taktzyklen vor dem zweiten Rechner 101 arbeitet respektive betrieben wird. Durch diesen Versatz kann vermieden werden, dass Gleichtaktfehler, sogenannte common mode failures, die Rechner oder Prozessoren, also die Cores des Dual Cores Systems, gleichartig stören und damit unerkannt bleiben. D.h. solche Gleichtaktfehler betreffen durch den Versatz die Rechner zu unterschiedlichen Zeitpunkten im Programmablauf und bewirken demnach unterschiedliche Effekte bezüglich der beiden Rechner wodurch Fehler erkennbar werden. Gleichartige Fehlerwirkungen ohne Taktversatz wären u.U. in einem Vergleich nicht erkennbar, dies wird dadurch vermieden. Um diesen Versatz bezüglich der Zeit oder des Taktes, hier insbesondere 1,5 Taktzyklen im Zweirechnersystem zum implementieren sind die Versatzbausteine 112 bis 115 implementiert. Um die genannten Gleichtaktfehler zu erkennen ist dieses System eben beispielsweise dazu ausgelegt in einem vorgegebenen Zeitversatz oder Taktzyklenversatz zu arbeiten, insbesondere hier 1,5 Taktzyklen, d.h. während der eine Rechner, z. B. Rechner 100 direkt die Komponenten, insbesondere die externen Komponenten 103 und 104 anspricht, arbeitet der zweite Rechner 101 mit einer Verzögerung von genau 1,5 Taktzyklen dazu.Error detection include, in which namely the first computer 100 and the second computer 101 with a time offset, in particular a predetermined time offset or a predetermined clock offset work. In this case, any time can be predetermined for a time offset and also any desired clock with respect to an offset of the clock cycles. This may be an integer offset of the clock cycle, but just as shown in this example, for example, an offset of 1.5 clock cycles, in which case the first computer 100 just works 1.5 clock cycles before the second computer 101 respectively operated becomes. By this offset can be avoided that common mode failures, the computers or processors, so the cores of the dual-core system, disturbing similar and thus remain unrecognized. That is to say, such common-mode errors relate to the computers at different times in the program sequence due to the offset, and thus cause different effects with respect to the two computers, as a result of which errors become recognizable. Similar error effects without clock skew could not be detected in a comparison, this is avoided. In order to implement this offset with respect to time or clock, in particular 1.5 clock cycles in the dual-computer system, the offset modules 112 to 115 are implemented. In order to detect the said common mode errors, this system is just designed, for example, to operate in a predetermined time offset or clock cycle offset, in particular here 1.5 clock cycles, ie during the one computer, z. B. computer 100 directly the components, in particular the external components 103 and 104 responds, the second computer 101 operates with a delay of exactly 1.5 clock cycles to do so.
Um in diesem Fall die gewünschte Eineinhalbzyklusverzögerung, also von 1,5 Taktzyklen zu erzeugen wird Rechner 101 mit der invertierten Clock, also dem invertierten Takt am Takteingang CLK2 gespeist. Dadurch müssen aber auch die vorgenannten Anschlüsse des Rechners also seine Daten bzw. Befehle über die Busse um die genannten Taktzyklen, also hier insbesondere 1,5 Taktzyklen verzögert werden, wozu eben wie gesagt die Versatz- oder Verzögerungsbausteine 112 bis 115 vorgesehen sind. Neben den beiden Rechnern oder Prozessoren 100 und 101 sind Komponenten 103 und 104 vorgesehen, die über Busse 116, bestehend aus den Busleitungen 116A und 116B und 116C sowie 117, bestehend aus den Busleitungen 117A und 117B mit den beiden Rechnern 100 und 101 in Verbindung stehen. 117 ist dabei ein Befehlsbus, bei welchem mit 117A ein Befehlsadressbus und mit 117B der Teil-Befehls(daten)bus bezeichnet ist. Der Adressbus 117A ist über einen Befehlsadressanschluss IAl (Instruction Adress 1) mit Rechner 100 und über einen Befehlsadressanschluss IA2 (Instruction Adress 2) mit Rechner 101 verbunden. Die Befehle selbst werden über den Teil-Befehlsbus 117B übertragen, der über einen Befehlsanschluss Il (Instruction 1) mit Rechner 100 und über einen Befehlsanschluss 12 (Instruction 2) mit Rechner 101 verbunden ist. In diesem Befehlsbus 117 bestehend aus 117A und 117B ist eine Komponente 103 z. B. ein Befehlsspeicher, insbesondere ein sicherer Befehlsspeicher oder dergleichen zwischengeschaltet. Auch diese Komponente, insbesondere als Befehlsspeicher wird in diesem Beispiel mit dem Takt CLK betrieben. Daneben ist mit 116 ein Datenbus dargestellt, welcher einen Datenadressbus oder eine Datenadressleitung 116A und einen Datenbus oder eine Datenleitung 116B enthält. Dabei ist 116A, also die Datenadressleitung, über einen Datenadressanschluss DAl (Data Adress 1) mit dem Rechner 100 und über einen Datenadressanschluss DA2 (Data Adress 2) mit Rechner 101 verbunden. Ebenso ist der Datenbus oder die Datenleitung 116B über einenIn order to produce in this case the desired one and a half cycle delay, ie of 1.5 clock cycles, computer 101 is fed with the inverted clock, that is to say the inverted clock at the clock input CLK2. As a result, but also the aforementioned connections of the computer so its data or commands on the buses to the clock cycles mentioned, so here in particular 1.5 clock cycles are delayed, including just as said the offset or delay blocks 112 to 115 are provided. In addition to the two computers or processors 100 and 101, components 103 and 104 are provided which are connected via buses 116, consisting of the bus lines 116A and 116B and 116C and 117, consisting of the bus lines 117A and 117B to the two computers 100 and 101 , 117 is a command bus in which 117A is a command address bus and 117B is the partial command (data) bus. Address bus 117A is connected to computer 100 via a command address connection IA1 (instruction address 1) and to computer 101 via an instruction address connection IA2 (instruction address 2). The instructions themselves are transmitted via the sub-command bus 117B, which is connected to computer 100 via a command terminal II (Instruction 1) and to computer 101 via a command terminal 12 (Instruction 2). In this command bus 117 consisting of 117A and 117B is a component 103 z. B. an instruction memory, in particular a secure instruction memory or the like interposed. This component, in particular as a command memory is operated in this example with the clock CLK. In addition, at 116, a data bus is shown which includes a data address bus or a data address line 116A and a data bus or a data line 116B. In this case, 116A, that is to say the data address line, is connected to the computer 100 via a data address connection DA1 (data address 1) and to the computer 101 via a data address connection DA2 (data address 2). Likewise, the data bus or data line 116B is via a
Datenanschluss DOl (Data Out 1) und einen Datenanschluss DO2 (Data Out 2) mit Rechner 100 bzw. Rechner 101 verbunden. Weiterhin zu Datenbus 116 gehört die Datenbusleitung 116C, welche über einen Datenanschluss Dil (Data In 1) und einen Datenanschluss DI2 (Data In 2) jeweils mit Rechner 100 bzw. Rechner 101 verbunden ist. In diesem Datenbus 116 bestehend aus den Leitungen 116A, 116B und 116C ist eine Komponente 104 zwischengeschaltet, beispielsweise ein Datenspeicher, insbesondere ein sicherer Datenspeicher o. ä . Auch diese Komponente 104 wird in diesem Beispiel mit dem Takt CLK versorgt.Data terminal DOl (Data Out 1) and a data terminal DO2 (Data Out 2) connected to computer 100 or computer 101. In addition to data bus 116, the data bus line 116C, which is connected to computer 100 or computer 101 via a data connection Dil (Data In 1) and a data connection DI2 (Data In 2), respectively is. In this data bus 116 consisting of the lines 116A, 116B and 116C, a component 104 is interposed, for example a data memory, in particular a secure data memory o. Ä. This component 104 is also supplied with the clock CLK in this example.
Dabei stehen die Komponenten 103 und 104 stellvertretend für beliebige Komponenten die über einen Datenbus und/oder Befehlsbus mit den Rechnern des Zweirechnersystems verbunden sind und entsprechend der Zugriffe über Daten und/oder Befehle des Zweirechnersystems bezüglich Schreiboperationen und/oder Leseoperationen fehlerhafte Daten und/oder Befehle erhalten oder abgeben können. Zur Fehlervermeidung sind zwarThe components 103 and 104 are representative of any components which are connected via a data bus and / or command bus to the computers of the dual-computer system and corresponding to the accesses via data and / or commands of the dual-processor system with respect to write operations and / or read operations erroneous data and / or commands receive or give away. For error prevention are indeed
Fehlerkennungsgeneratoren 105, 106 und 107 vorgesehen welche eine Fehlerkennung erzeugen wie beispielsweise ein Parity-Bit oder auch einen anderen Fehlercode wie beispielsweise einen Error- Correction-Code, also ECC, o. ä.. Dazu vorgesehen sind dann auch die entsprechenden Fehlerkennungsprüfeinrichtungen oder Check-Einrichtungen 108 und 109 zur Überprüfung der jeweiligen Fehlerkennung also beispielsweise desError detection generators 105, 106 and 107 are provided which generate an error detection such as a parity bit or other error code such as an error correction code, so ECC, o. Ä .. are also provided the corresponding Fehlerkennungsprüfeinrichtungen or check Means 108 and 109 for checking the respective misrecognition, for example, the
Parity-Bit oder eines anderen Fehlercodes wie ECC.Parity bit or other error code such as ECC.
Der Vergleich der Daten und/oder Befehle bezüglich der redundanten Ausführung im Zweirechnersystem erfolgt in den Vergleichern oder Komparatoren 110 und 111 wie in Figur 1 dargestellt. Existiert nun aber ein Zeitversatz, insbesondere ein Takt- oderThe comparison of the data and / or commands with respect to the redundant embodiment in the dual-computer system takes place in the comparators or comparators 110 and 111 as shown in FIG. But now exists a time offset, especially a clock or
Taktzyklusversatz zwischen den Rechnern 100 und 101, entweder hervorgerufen durch ein nichtsynchrones Zweiprozessorsystem oder bei einem synchronen Zweiprozessorsystem durch Fehler in der Synchronisierung oder auch wie in diesem speziellen Beispiel durch einen zur Fehlererkennung gewünschten Zeit- bzw. Taktzyklusversatz, insbesondere hier von 1,5 Taktzyklen, so kann in diesem Zeit- oderClock cycle offset between the computers 100 and 101, either caused by a non-synchronous Zweiprozessorsystem or in a synchronous Zweiprozessorsystem by errors in the synchronization or as in this particular example by a desired error detection time or clock cycle offset, in particular here of 1.5 clock cycles, so may in this time or
Taktversatz ein Rechner hier insbesondere Rechner 100 fehlerhafte Daten und/oder Befehle in Komponenten, insbesondere externe Komponenten wie z. B. hier insbesondere die Speicher 103 oder 104, aber auch bezüglich anderen Teilnehmern oder Aktuatoren oder Sensoren schreiben oder lesen. So kann er auch in fehlerhafter Weise einen Schreibzugriff anstatt eines vorgesehenen Lesezugriffs durch diesen Taktversatz durchführen. Diese Szenarien führen selbstverständlich zu Fehlern im gesamten System, insbesondere ohne klare Anzeigemöglichkeit welche Daten und/oder Befehle gerade fehlerhaft geändert wurden, wodurch auch die Recovery-Problematik entsteht. Um diese Problematik zu lösen wird nun eine Verzögerungseinheit 102 wie dargestellt in die Leitungen des Datenbusses und/oder in den Befehlsbus geschaltet. Aus Gründen der Übersichtlichkeit ist nur die Einschaltung in den Datenbus dargestellt. Bezüglich des Befehlsbusses ist dies natürlich genauso möglich und denkbar. Diese Verzögerungseinheit 102 oder die Delay Unit verzögert die Zugriffe, hier insbesondere die Speicherzugriffe so, dass ein möglicher Zeit- oder Taktversatz kompensiert wird, insbesondere bei einer Fehlererkennung beispielsweise über die Komparatoren 110 und 111 z.B. mindestens solange, bis das Fehlersignal im Zweirechnersystem erzeugt ist, also die Fehlererkennung im Zweirechnersystem durchgeführt ist. Dabei können verschiedene Varianten implementiert sein:Clock offset a computer here in particular computer 100 erroneous data and / or commands in components, in particular external components such. B. here in particular the memory 103 or 104, but also with respect to other participants or actuators or sensors write or read. Thus, it may also erroneously perform a write access instead of a designated read access by this clock offset. Of course, these scenarios lead to errors in the entire system, in particular without clear display possibility which data and / or commands have just been changed incorrectly, which also causes the recovery problem. In order to solve this problem, a delay unit 102 is now connected as shown in the lines of the data bus and / or in the command bus. For reasons of clarity, only the activation in the data bus is shown. Of course, this is just as possible and imaginable with regard to the command bus. This delay unit 102 or the delay unit delays the accesses, here in particular the memory accesses, in such a way that a possible time or clock offset is compensated, in particular for an error detection, for example via the comparators 110 and 111, for example at least until the error signal is generated in the dual-computer system. So the error detection is performed in the dual-computer system. Different variants can be implemented:
Verzögerung der Schreib- und Leseoperationen, Verzögerung nur der Schreiboperationen oder auch, wenn auch nicht bevorzugt, eine Verzögerung der Leseoperationen. Dabei kann durch ein Änderungssignal, insbesondere das Fehlersignal, eine verzögerte Schreiboperation in eine Leseoperation gewandelt werden um fehlerhaftes Schreiben zu unterbinden.Delay the write and read operations, delay only the write operations, or, although not preferred, delay the read operations. It can be converted by a change signal, in particular the error signal, a delayed write operation in a read operation to prevent erroneous writing.
Nachfolgend anhand Figur 2 nun eine beispielhafte Implementierung bezüglich der Datenverteilungseinheit (DVE), die sich vorzugsweise aus einer Vorrichtung zur Detektierung des Umschaltwunsches durch IllOPDetect, da der IllOP-Befehl (IHOP = Illegal Operation) in diesem Beispiel zur Umschaltung verwendet wird, der Mode-2, an exemplary implementation concerning the data distribution unit (DVE), which is preferably made of a device for detecting the switching request by IllOPDetect, since the IllOP command (IHOP = Illegal Operation) is used for switching in this example, the mode
Switch-Einheit sowie dem Iram- und Dram-Control-Baustein zusammensetzt:Switch unit and the Iram and Dram Control module:
IllOpDetect: Die Umschaltung zwischen den beiden Modi wird durch die Einheiten ""Switch-Detect"' erkannt. Diese Einheit liegt zwischen dem Cache und dem Prozessor auf dem Instruktionsbus und schaut ob der Befehl IUOp in den Prozessor geladen wird.IllOpDetect: Switching between the two modes is detected by the "Switch-Detect" units located between the cache and the processor on the instruction bus and looking to load the IUOp command into the processor.
Wird der Befehl detektiert, so wird dieses Ereignis der Modeswitch Einheit mitgeteilt. Die ""Switch-Detect"' Einheit ist für jeden Prozessor einzeln vorhanden. Die Einheit ""Switch-Detect"' muss nicht fehlertolerant ausgeführt sein, da sie doppelt und somit redundant vorhanden ist. Andererseits ist es denkbar diese Einheit fehlertolerant und damit singulär auszuführen, bevorzugt ist aber die redundante Ausführung.If the command is detected, this event is communicated to the Modeswitch unit. The Switch-Detect unit is unique to each processor, and the Switch-Detect unit does not need to be fault-tolerant because it is duplicated and redundant. On the other hand, it is conceivable to perform this unit fault-tolerant and thus singular, but preferred is the redundant design.
ModeSwitch: Die Umschaltung zwischen den beiden Modi wird durch die ""Switch- Detect'" Einheit getriggert. Soll eine Umschaltung vom Lock in den Split Modus erfolgen, detektieren beide ""Switch-Detect"' Einheiten die Umschaltung, da beide Prozessoren den gleichen Programmcode im Lock Modus abarbeiten. Die ""Switch- Detect'" Einheit des Prozessor 1 erkennt dies 1,5 Takte vor der ""Switch-Detect"' Einheit des Prozessors 2. Die ""Modeswitch'" Einheit hält mit Hilfe des Wait Signals den Prozessor 1 um 2 Takte an. Der Prozessor 2 wird 1,5 Takte später ebenfalls angehalten, aber nur um einen halben Takt, damit er zum Systemtakt synchronisiert wird. Anschließend wird das Status-Signal auf Split geschaltet für die weiteren Komponenten und die beiden Prozessoren arbeiten weiter. Damit die beiden Prozessoren nun unterschiedliche Tasks ausführen, müssen sie im Programmcode auseinanderlaufen. Dies erfolgt, indem direkt nach Umschalten in den Split-Modus ein Lesezugriff auf die Prozessor-ID erfolgt. Diese ausgelesene Prozessor-ID ist für jeden der beiden Prozessoren unterschiedlich. Wird nun auf eine Soll-Prozessor-ID verglichen, kann anschließend mit einem Conditional Jump Befehl der entsprechende Prozessor an eine andere Programmstelle gebracht werden. Bei einer Umschaltung vom Split-Modus in den Lock-Modus wird dies ein Prozessor bemerken, bzw. einer der beiden zuerst. Dieser Prozessor wird Programmcode ausführen, in dem der Umschaltbefehl enthalten ist. Dies wird nun durch die ""Switch-Detect"' Einheit registriert und teilt dies der ModeswitchModeSwitch: Switching between the two modes is triggered by the "Switch-Detect" unit.If switching from Lock to Split mode, both "Switch-Detect" units will detect switching as both processors are the same Execute program code in Lock mode. The "" switch Detect '"unit of processor 1 detects this 1.5 clocks before the" Switch-Detect "unit of processor 2. The""Modeswitch'" unit halts processor 2 by 2 clocks with the help of the wait signal 2 is also stopped 1.5 clocks later, but only half a clock to synchronize to the system clock, then the status signal is split for the other components, and the two processors continue to work To run tasks, they must diverge in program code, which is done by having read access to the processor ID immediately after switching to split mode This read processor ID is different for each of the two processors, and now becomes a target processor ID, you can then use a Conditional Jump command to move the corresponding processor to a different program location, or switch from split mode to Lo ck mode, this will notice a processor, or one of the two first. This processor will execute program code containing the switchover command. This is now registered by the "Switch-Detect" unit and shares the mode switch
Einheit mit. Diese hält den entsprechenden Prozessor an und teilt dem zweiten den Wunsch der Synchronisation durch einen Interrupt mit. Der zweite Prozessor erhält einen Interrupt und kann nun eine Softwareroutine zur Beendigung seines Tasks ausführen. Nun springt er ebenfalls an die Programmstelle, in der sich der Befehl zur Umschaltung befindet. Seine ""Switch-Detect"' Einheit signalisiert nun ebenfalls den Wunsch zumUnit with. This stops the corresponding processor and informs the second of the desire for synchronization by an interrupt. The second processor receives an interrupt and can now execute a software routine to complete its task. Now he also jumps to the program location where the changeover command is located. His "Switch-Detect" unit now also signals the desire for
Moduswechsel an die Modeswitch Einheit. Zur nächsten steigenden Systemtaktflanke wird nun das Wait Signal für den Prozessor 1 deaktiviert und 1,5 Takte später für den Prozessor 2. Nun arbeiten beide wieder mit einem Taktversatz von 1,5 Takten synchron.Mode change to the Modeswitch unit. For the next rising system clock edge, the wait signal for the processor 1 is now deactivated and 1.5 clocks later for the processor 2. Now both work synchronously again with a clock offset of 1.5 clocks.
Befindet sich das System im Lock Modus, so müssen beide ""Switch-Detect"' Einheiten der Modeswitch Einheit mitteilen, dass sie in den Split Modus wollen. Erfolgt der Umschaltwunsch nur von einer Einheit, so wird der Fehler von den Vergleichseinheiten erkannt, da diese von einem der beiden Prozessoren weiterhin Daten geliefert bekommen und diese nicht mit dem angehaltenen Prozessoren übereinstimmen.If the system is in Lock mode, both "Switch-Detect" units must notify the Modeswitch unit that they want to switch to split mode, and if the changeover request is only from one unit, the error is detected by the comparison units These continue to receive data from one of the two processors and they do not match the stopped processors.
Sind die beiden Prozessoren im Split Modus und einer schaltet nicht zurück in den Lock- Modus, so kann dies durch einen externen Watchdog erkannt werden. Bei einem Triggersignal für jeden Prozessor bemerkt der Watchdog dass der wartende Prozessor sich nicht mehr meldet. Ist nur ein Watchdogsignal für das Prozessorsystem vorhanden, so darf die Triggerung des Watchdogs nur im Lock-Modus erfolgen. Somit würde der Watchdog erkennen, dass die Modusumschaltung nicht erfolgte. Das Modussignal liegt als Dual-Rail Signal vor. Dabei steht "UO"' für den Lock-Modus und "Λ01"' für den Split- Modus. Bei "W und "Λ 11"' sind Fehler aufgetreten.If the two processors are in split mode and one does not switch back to lock mode, this can be detected by an external watchdog. Upon a trigger signal for each processor, the watchdog notices that the waiting processor is no longer reporting. If there is only one watchdog signal for the processor system, then the triggering of the watchdog must only take place in lock mode. Thus, the Watchdog detect that the mode switch was not made. The mode signal is available as a dual-rail signal. Where "UO" is the lock mode and " Λ 01" is the split mode. Errors have occurred with "W and" Λ 11 "'.
IramControl: Der Zugriff auf den Befehlsspeicher der beiden Prozessoren wird über die IRAM Control gesteuert. Diese muss sicher ausgelegt sein, da sie ein Single Point of Failure ist. Sie besteht aus zwei Zustandsautomaten für jeden Prozessor, einen taktsynchronen iramlclkreset und einen asynchronen readiraml. Im sicherheitskritischen Modus überwachen sich die Zustandsautomaten der beiden Prozessoren gegenseitig und im Performancemodus arbeiten sie getrennt.IramControl: Access to the instruction memory of the two processors is controlled via the IRAM Control. This must be designed securely because it is a single point of failure. It consists of two state machines for each processor, an isochronous iramlclkreset and an asynchronous readiraml. In safety-critical mode, the state machines of the two processors monitor each other and in performance mode, they work separately.
Das Nachladen der beiden Caches der Prozessoren werden durch 2 Zustandsautomaten gesteuert. Einem synchronen Zustandsautomaten iramclkreset und einem asynchronen readiram. Durch diese beiden Zustandsautomaten werden auch die Speicherzugriffe imThe reloading of the two caches of the processors are controlled by 2 state machines. A synchronous state machine iramclkreset and an asynchronous readiram. These two state machines also make the memory accesses in the
Split-Modus verteilt. Hierbei hat Prozessor 1 die höhere Priorität. Nach einem Zugrif auf den Hauptspeicher durch Prozessor 1 bekommt nun — wenn beide Prozessoren wieder auf den Hauptspeicher zugreifen wollen ~ Prozessor2 die Speicherzugriffserlaubnis zugeteilt. Diese beiden Zustandsautomaten sind für jeden Prozessor implementiert. Im Lock-Modus werden die Ausgangssignale der Automaten verglichen um auftretende Fehler erkennen zu können.Distributed split mode. Here processor 1 has the higher priority. After a access to the main memory by processor 1 gets now - if both processors want to access the main memory again ~ processor2 assigned the memory access permission. These two state machines are implemented for each processor. In lock mode, the output signals of the machines are compared to detect any errors.
Die Daten zum Aktualisieren des Cache 2 im Lock-Modus werden in der IRAM-Control Einheit um 1,5 Takte verzögert.The data for updating the cache 2 in lock mode are delayed by 1.5 cycles in the IRAM control unit.
In Bit 5 im Register 0 der SysControl wird codiert um welchen Core es sich handelt. Core 1 ist das Bit 0 und bei Core 2 ist es High. Dieses Register ist in den Speicherbereich mit der Adresse 65528 gespiegelt.In bit 5 in register 0 of the SysControl is encoded which core is concerned. Core 1 is bit 0 and Core 2 is high. This register is mirrored in the memory area with the address 65528.
Bei einem Speicherzugriff von Core 2 wird erst überprüft in welchem Modus sich derIn a memory access of Core 2 is first checked in which mode is the
Rechner befindet. Ist er im Lock-Modus so wird sein Speicherzugriff unterdrückt. Dieses Signal liegt als Common-Rail Signal vor, da es sicherheitskritisch ist.Computer is located. If it is in lock mode, its memory access is suppressed. This signal is available as a common-rail signal because it is safety-critical.
Der Programmcounter des Prozessors 1 wird um 1,5 Takte verzögert um im Lock-Modus mit dem Programmcounter des Prozessors 2 verglichen werden zu können. Im Split Modus können die Caches der beiden Prozessoren unterschiedlich nachgeladen werden. Wenn nun in den Lock-Modus umgeschaltet wird, sind die beiden Caches nicht kohärent zueinander. Dadurch können die beiden Prozessoren auseinanderlaufen und die Vergleicher signalisieren folglich einen Fehler. Um dies zu vermeiden, ist in der IRAMThe program counter of the processor 1 is delayed by 1.5 clocks to be compared in lock mode with the program counter of the processor 2 can. In split mode, the caches of the two processors can be reloaded differently. When switching to lock mode, the two caches are not coherent. As a result, the two processors can diverge and the comparators thus signal an error. To avoid this is in the IRAM
Control eine Flag Tabelle aufgebaut. In dieser wird vermerkt, ob eine Cachezeile im Lock- oder im Split-Modus geschrieben wurde. Im Lock-Modus wird der für die Cachezeile entsprechende Eintrag bei einer Cachezeilennachladung auf 0 gesetzt und im Split-Modus — auch bei einer Cacheaktualisierung der Cachezeile von nur einem Cache — auf 1. Führt der Prozessor nun im Lock-Modus einen Speicherzugriff aus, so wird überprüft, ob diese Cachezeile im Lock-Modus aktualisiert wurde, d.h. in beiden Caches gleich ist. ImControl a flag table built. This indicates whether a cache line was written in lock or split mode. In lock mode, the cache line entry value is set to 0 on a cache line reload, and in split mode, even if the cache line is cached from a single cache, to 1. If the processor now executes a memory access in lock mode, then checks if this cache line has been updated in lock mode, ie is the same in both caches. in the
Split-Modus kann der Prozessor immer auf die Cachezeile zugreifen, unabhängig wie der Flag Vector ist. Diese Tabelle muss nur einmal vorhanden sein, da bei einem Fehler die beiden Prozessoren auseinanderlaufen und somit an den Vergleichern dieser Fehler sicher erkannt wird. Da die Zugriffszeiten auf der zentralen Tabelle relativ hoch sind, kann diese Tabelle auch zu jedem Cache kopiert werden.Split mode allows the processor to always access the cache line regardless of the Vector flag. This table only has to be present once, since in the case of an error the two processors diverge and thus the errors are reliably detected at the comparators. Since the access times on the central table are relatively high, this table can also be copied to every cache.
DramControl: In dieser Komponente werden für die Adress-, Daten- und Speichersteuersignale von jedem Prozessor das Parity gebildet.DramControl: In this component, the parity is formed for each of the address, data, and memory control signals from each processor.
Es gibt einen Prozess für beide Prozessor zum Sperren des Speichers. Dieser Prozess muss nicht sicher implementiert sein, da im Lock-Modus fehlerhafte Speicherzugriffe durch die Vergleicher erkannt werden und im Split-Modus keine sicherheitsrelevanten Anwendungen ausgeführt werden. Hierin wird überprüft, ob der Prozessor den Speicher für den anderen Prozessor sperren möchte. Dieses Sperren des Datenspeichers erfolgt durch einen Zugriff auf die Speicheradresse $FBFF$=64511. Dieses Signal soll genau ein Takt lang anliegen, auch wenn am Prozessor zum Zeitpunkt des Aufrufens ein wait- command anliegt. Der Zustandsautomat zur Verwaltung der Datenspeicherzugriffe besteht aus 2 Hauptzuständen:There is a process for both processors to lock the memory. This process does not have to be implemented safely because in Lock mode faulty memory accesses are detected by the comparators and no safety-relevant applications are executed in split mode. Here it is checked if the processor wants to lock the memory for the other processor. This data memory is locked by accessing the memory address $ FBFF $ = 64511. This signal should be present for exactly one cycle, even if a wait command is present at the processor at the time of the call. The state machine for managing the data storage access consists of 2 main states:
- Prozessorstatus Lock: Die beiden Prozessoren arbeiten im Lock-Modus. D.h. die Funktionalität des Datenspeicheriocking ist nicht notwendig. Prozessor 1 koordiniert die Speicherzugriffe.- Processor Status Lock: The two processors are in lock mode. That the functionality of the data storage icing is not necessary. Processor 1 coordinates the memory accesses.
- Prozessorstatus Split: Nun ist eine Zugriffskonfliktauflösung auf den Datenspeicher nötig und ein Speichersperren muss erfolgen können. Der Zustand im Split-Modus ist wiederum in 7 Zustände untergliedert, die die Zugriffskonflikte auflösen und den- Processor status Split: An access conflict resolution to the data storage is now necessary and a storage lock must be possible. The state in split mode is again divided into 7 states, which resolve the access conflicts and the
Datenspeicher für jeweils den anderen Prozessor sperren können. Bei gleichzeitigem Wunsch der beiden Prozessoren bei einem Zugriff, stellt die aufgeführte Reihenfolge gleichzeitig die Priorisierung dar.Lock data storage for each other processor. At the same time request of the two processors in an access, the listed order is also the prioritization.
- Corel \_Lock: Prozessor 1 hat den Datenspeicher gesperrt. Möchte in diesem Zustand Prozessor 2 auf den Speicher zugreifen, so wird er durch ein Wartesignal angehalten, bis Prozessor 1 den Datenspeicher wieder freigibt. \- Corel \ _Lock: Processor 1 has locked the data store. If processor 2 wants to access the memory in this state, it is stopped by a wait signal until processor 1 releases the data memory again. \
- Core2\_Lock: Ist der gleiche Zustand wie der vorige nur dass nun Prozessor 2 den Datenspeicher gesperrt hat und Prozessor 1 bei Datenspeicheroperationen angehalten wird.- Core2 \ _Lock: Is the same state as the previous one except that now processor 2 has locked the data memory and processor 1 is stopped during data storage operations.
- lockl\_wait: Der Datenspeicher war durch den Prozessor 2 gesperrt als Prozessor 1 ihn ebenfalls für sich reservieren wollte. Prozessor 1 ist somit für die nächste- Lockl \ _wait: The data storage was locked by the processor 2 as processor 1 wanted him to reserve for himself. Processor 1 is thus for the next one
Speichersperrung vorgemerkt.Memory lock marked.
- nex: Das gleiche für Prozessor 2. Der Datenspeicher war während des Sperrversuchs durch Prozessor 1 gesperrt. Prozessor 2 bekommt den Speicher vorreserviert. Bei normalen Speicherzugriff ohne Sperren kann hier Prozessor 2 vor Prozessor 1 zugreifen wenn davor Prozessor 1 dran war.- nex: The same for processor 2. The data store was locked during the attempted lock by processor 1. Processor 2 gets the memory pre-reserved. In the case of normal memory access without locks, processor 2 can access processor 1 before processor 1 if processor 1 was in front of it.
- Speicherzugriff von Prozessor 1: Der Speicher ist in diesem Fall nicht gesperrt. Prozessor 1 darf auf den Datenspeicher zugreifen. Falls er ihn sperren möchte, kann er dies in diesem Zustand vornehmen.Memory access of processor 1: The memory is not locked in this case. Processor 1 is allowed to access the data store. If he wants to lock him, he can do so in this condition.
- Speicherzugriff durch Prozessor 2. Im selben Takt wollte Prozessor 1 nicht auf den Speicher zugreifen somit ist der Speicher frei für den Prozessor 2.Memory access by processor 2. In the same clock processor 1 did not want to access the memory thus the memory is free for the processor 2.
- kein Prozessor möchte auf den Datenspeicher zugreifen- no processor wants to access the data store
Die DVE setzt sich wie erwähnt zusammen aus dem Detektierung des Umschaltwunsches (IllOPDetect) der ModeSwitch-Einheit und der Iram- und DramControl.As mentioned, the DVE consists of the detection of the switching request (IllOPDetect) of the ModeSwitch unit and the Iram and DramControl.
Der Kern der Erfindung ist wie oben ausgeführt die generelle Funktionsweise der Datenverteilungseinheit DVE (je nach Modus unterschiedliche Datenzuteilung und somit auch Auswahl des Betriebsmodus). Daneben löst aber auch die dargestellte spezielle Implementierung der DVE die Eingangs genannte Aufgabe. As stated above, the core of the invention is the general mode of operation of the data distribution unit DVE (different data allocation depending on the mode and thus also selection of the operating mode). In addition, however, the illustrated special implementation of the DVE solves the task mentioned at the beginning.

Claims

Ansprüche claims
1. Verfahren zur Datenverteilung aus wenigstens einer Datenquelle in einem System mit wenigstens zwei Recheneinheiten, wobei Umschaltmittel enthalten sind durch welche zwischen wenigstens zwei Betriebsmodi des Systems umgeschaltet werden kann, wobei die Datenverteilung und/oder eine Auswahl einer Datenquelle abhängig von dem Betriebsmodus ist.A method for distributing data from at least one data source in a system having at least two arithmetic units, wherein switching means are provided by which can be switched between at least two operating modes of the system, wherein the data distribution and / or a selection of a data source is dependent on the operating mode.
2. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die Umschaltung durch ein Steuersignal, insbesondere ein Modussignal, das auf den Betriebsmodus wenigstens einer Recheneinheit bezogen ist, ausgelöst und/oder angezeigt wird.2. The method according to claim 1, characterized in that the switching by a control signal, in particular a mode signal, which is based on the operating mode of at least one arithmetic unit, triggered and / or displayed.
3. Verfahren nach Anspruch 2, dadurch gekennzeichnet, dass das Steuersignal extern bezogen auf die Recheneinheiten generiert wird.3. The method according to claim 2, characterized in that the control signal is generated externally based on the arithmetic units.
4. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die Umschaltung durch einen Befehl, insbesondere einen Befehl, der eine unzulässige Aktion beschreibt (illOp) ausgelöst und/oder angezeigt wird.4. The method according to claim 1, characterized in that the switching by a command, in particular a command which describes an illegal action (illOp) is triggered and / or displayed.
5. Verfahren nach Anspruch 4, dadurch gekennzeichnet, dass der Befehl von dem5. The method according to claim 4, characterized in that the command of the
Umschaltmittel, insbesondere der Mode-Switch Einheit, generiert wird.Switching means, in particular the mode switch unit, is generated.
6. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass Eingangsdaten der beiden Recheneinheiten in einem Betriebsmodus, der einem Sicherheitsmodus entspricht (F-Modus) gegeneinannder auf Übereinstimmung verglichen werden.6. The method according to claim 1, characterized in that input data of the two arithmetic units in an operating mode which corresponds to a safety mode (F-mode) are compared against coincidence.
7. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass Ausgangsdaten der beiden Recheneinheiten in einem Betriebsmodus, der einem Sicherheitsmodus entspricht (F-Modus) gegeneinannder auf Übereinstimmung verglichen werden. 7. The method according to claim 1, characterized in that output data of the two arithmetic units in an operating mode, which corresponds to a safety mode (F-mode) are compared against coincidence.
8. Verfahren nach Anspruch 1, dadurch gekennzeichent, dass die zu verteilenden Daten an wenigstens eine weitere Komponente, insbesondere eine Recheneinheit, weitergeleitet werden, wobei die zu verteilenden Daten vor Weiterleitung um einen Fehlerentdeckungscode erweitert werden.8. The method according to claim 1, characterized in that the data to be distributed to at least one further component, in particular a computing unit, forwarded, wherein the data to be distributed are extended before forwarding to a fault detection code.
9. Verfahren nach Anspruch 6, dadurch gekennzeichent, dass die Eingangsdaten an wenigstens eine weitere Komponente, insbesondere eine Recheneinheit, weitergeleitet werden, wobei die Eingangsdaten vor Weiterleitung um einen Fehlerentdeckungscode erweitert werden.9. The method according to claim 6, characterized in that the input data to at least one further component, in particular a computing unit, are forwarded, wherein the input data are extended before forwarding to an error detection code.
10. Verfahren nach Anspruch 7, dadurch gekennzeichent, dass die Ausgangsdaten an wenigstens eine weitere Komponente weitergeleitet werden, wobei die Ausgangsdaten vor Weiterleitung um einen Fehlerentdeckungscode erweitert werden.10. The method according to claim 7, characterized in that the output data are forwarded to at least one further component, wherein the output data are extended before forwarding to an error detection code.
11. Verfahren nach Anspruch 6 oder 7, dadurch gekennzeichnet, dass bei fehlender11. The method according to claim 6 or 7, characterized in that when missing
Übereinstimmung ein Fehlersignal ausgegeben wird.Match an error signal is output.
12. Verfahren nach einem der Ansprüche 8 bis 10, dadurch gekennzeichnet, dass bei Entdeckung eines Fehlers auf Grund des Fehlerentdeckungscodes ein Fehlersignal ausgegeben wird.12. The method according to any one of claims 8 to 10, characterized in that upon detection of an error due to the error detection code, an error signal is output.
13. Verfahren nach Anspruch 11 oder 12, dadurch gekennzeichnet, dass ein Fehlersignal nur im Sicherheitsmodus (F-Modus) ausgegeben wird.13. The method according to claim 11 or 12, characterized in that an error signal is output only in the safety mode (F-mode).
14. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass zwischen einem14. The method according to claim 1, characterized in that between a
Performanzmodus und einem Sicherheitsmodus unterschieden wird und im Performanzmodus eine Priorisierung der Daten der beiden Recheneinheiten vorgenommen wird und diese Daten sequentiell in abhängigkeit von der Priorisierung entgegengenommen und/oder weitergegeben werden.Performance mode and a security mode is distinguished and in the performance mode, a prioritization of the data of the two arithmetic units is made and these data are received and / or forwarded sequentially in dependence on the prioritization.
15. Einheit zur Datenverteilung aus wenigstens einer Datenquelle in einem System mit wenigstens zwei Recheneinheiten, wobei Umschaltmittel enthalten sind durch welche zwischen wenigstens zwei Betriebsmodi des Systems umgeschaltet werden kann, wobei die Einheit derart ausgestaltet ist, dass die Datenverteilung und/oder die Datenquelle abhängig von dem Betriebsmodus ist15. Unit for data distribution from at least one data source in a system having at least two arithmetic units, wherein switching means are provided by which can be switched between at least two operating modes of the system, wherein the unit is configured such that the data distribution and / or the data source depends on the operating mode
16. Einheit zur Datenverteilung nach Anspruch 15, dadurch gekennzeichnet, dass der erste Betriebsmodus einem Sicherheitsmodus entspricht, bei dem die zwei Recheneinheiten gleiche Programme abarbeiten und Vergleichsmittel vorgesehen sind, welche die bei der Abarbeitung der gleichen Programme entstehenden Zustände auf Übereinstimmung vergleichen.16. Data distribution unit according to claim 15, characterized in that the first operating mode corresponds to a security mode in which the two arithmetic units execute identical programs and comparison means are provided which compare the states resulting from the execution of the same programs for agreement.
17. Einheit zur Datenverteilung nach Anspruch 15, dadurch gekennzeichnet, dass die Einheit derart ausgestaltet ist, dass Eingangsdaten der beiden Recheneinheiten in einem Betriebsmodus, der einem Sicherheitsmodus entspricht (F-Modus) gegeneinannder auf Übereinstimmung verglichen werden.The data distribution unit according to claim 15, characterized in that the unit is configured to compare input data of the two arithmetic units in an operation mode corresponding to a safety mode (F mode) against coincidence.
18. Einheit zur Datenverteilung nach Anspruch 15, dadurch gekennzeichnet, dass die Einheit derart ausgestaltet ist, dass Ausgangsdaten der beiden Recheneinheiten in einem Betriebsmodus, der einem Sicherheitsmodus entspricht (F-Modus) gegeneinannder auf Übereinstimmung verglichen werden.The data distribution unit according to claim 15, characterized in that the unit is configured to compare output data of the two arithmetic units in an operation mode corresponding to a safety mode (F mode) against coincidence.
19. Einheit zur Datenverteilung nach Anspruch 15 oder 17 oder 18, dadurch gekennzeichent, dass die Einheit derart ausgestaltet ist, dass die zu verteilenden Daten an wenigstens eine weitere Komponente, insbesondere eine Recheneinheit, weitergeleitet werden, wobei die zu verteilenden Daten vor Weiterleitung um einen Fehlerentdeckungscode erweitert werden.19. Unit for data distribution according to claim 15 or 17 or 18, characterized in that the unit is designed such that the data to be distributed to at least one further component, in particular a computing unit, forwarded, wherein the data to be distributed before forwarding by a Error detection code to be extended.
20. Einheit zur Datenverteilung nach Anspruch 15, dadurch gekennzeichnet, dass die Einheit derart ausgestaltet ist, dass diese im Performanzmodus eine Priorisierung der Daten der beiden Recheneinheiten vornimmt und diese Daten sequentiell abhängig von der Priorisierung entgegennimmt und/oder weitergibt.20. Unit for data distribution according to claim 15, characterized in that the unit is designed in such a way that, in the performance mode, it prioritizes the data of the two arithmetic units and receives and / or forwards these data sequentially as a function of the prioritization.
21. Einheit zur Datenverteilung nach Anspruch 15, dadruch gekennzeichnet, dass eine Verzögerungskomponente enthalten ist, die abhängig von einem Taktversatz der beiden Recheneinheiten in dem jeweiligen Betriebsmodus die voreilenden Daten um eben diesen Taktversatz verzögert. 21 unit for data distribution according to claim 15, dadruch in that a delay component is included, which delays the leading data by just this clock offset depending on a clock offset of the two arithmetic units in the respective operating mode.
22. Einheit zur Datenverteilung nach Anspruch 15, dadurch gekennuzeichnet, dass die Einheit derart ausgestaltet ist, dass diese die zu verteilenden Daten aus einem Speicher liest und diese dann an die Recheneinheiten verteilt.22 unit for data distribution according to claim 15, characterized gekennuzeichnet that the unit is designed such that it reads the data to be distributed from a memory and then distributed to the arithmetic units.
23. Einheit zur Datenverteilung nach Anspruch 15, dadurch gekennzeichnet, dass die Einheit derart ausgestaltet ist, dass die Verteilung der Daten durch Zustandsautomaten gesteuert wird.23. Data distribution unit according to claim 15, characterized in that the unit is designed such that the distribution of the data is controlled by state machines.
24. Einheit zur Datenverteilung nach Anspruch 23, dadurch gekennuzeichnet, dass die Einheit derart ausgestaltet ist, dass für jede Recheneinheit zwei Zustandsautomaten vorgesehen sind.24. Unit for data distribution according to claim 23, characterized gekennuzeichnet that the unit is designed such that two state machines are provided for each arithmetic unit.
25. Einheit zur Datenverteilung nach Anspruch 23, dadurch gekennzeichnet, dass die Einheit derart ausgestaltet ist, dass ein synchroner Zustandsautomat und ein asynchroner Zustandsautomat.The data distribution unit according to claim 23, characterized in that the unit is configured such that a synchronous state machine and an asynchronous state machine.
26. System mit einer Einheit zur Datenverteilung nach einem der Ansprüche 15 bis 25.26. A data distribution unit system according to any one of claims 15 to 25.
27. System nach Anspruch 26, dadurch gekennzeichnet, das eine zu der Einheit externe Überwachungschaltung vorgesehen ist, welche auf Fehler erkennt wenn eine beabsichtigte Umschaltung der Betriebsmodi nicht erfolgt. 27. The system according to claim 26, characterized in that an external monitoring unit is provided to the unit, which detects errors if an intended switching of the operating modes does not occur.
EP05801268A 2004-10-25 2005-10-25 Method and device for distributing data from at least one data source in a multiprocessor system Ceased EP1807761A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
DE200410051937 DE102004051937A1 (en) 2004-10-25 2004-10-25 Data distributing method for multiprocessor system, involves switching between operating modes e.g. safety and performance modes, of computer units, where data distribution and/or selection of data source is dependent upon one mode
DE200410051964 DE102004051964A1 (en) 2004-10-25 2004-10-25 Memory unit monitoring device for use in multiprocessor system, has switching unit, though which system is switched between two operating modes such that device is arranged in such a manner that contents of unit are simultaneously logged
DE200410051992 DE102004051992A1 (en) 2004-10-25 2004-10-25 Access delay method for multiprocessor system involves clocking processors differently to enable both processors to access memory at different times
DE200410051952 DE102004051952A1 (en) 2004-10-25 2004-10-25 Data allocation method for multiprocessor system involves performing data allocation according to operating mode to which mode switch is shifted
DE200410051950 DE102004051950A1 (en) 2004-10-25 2004-10-25 Clock switching unit for microprocessor system, has switching unit by which switching can be done between two operating modes, where unit is formed so that clock switching takes place with one processor during switching of modes
PCT/EP2005/055532 WO2006045798A1 (en) 2004-10-25 2005-10-25 Method and device for distributing data from at least one data source in a multiprocessor system

Publications (1)

Publication Number Publication Date
EP1807761A1 true EP1807761A1 (en) 2007-07-18

Family

ID=35677569

Family Applications (5)

Application Number Title Priority Date Filing Date
EP05801543A Not-in-force EP1807763B1 (en) 2004-10-25 2005-10-25 Method and device for monitoring a memory unit in a multi-processor system
EP05811008A Ceased EP1812861A1 (en) 2004-10-25 2005-10-25 Method and device for delaying accesses to data and/or commands of a multiprocessor system
EP05801268A Ceased EP1807761A1 (en) 2004-10-25 2005-10-25 Method and device for distributing data from at least one data source in a multiprocessor system
EP05811107A Withdrawn EP1820102A2 (en) 2004-10-25 2005-10-25 Method and device for carrying out clock changeover in a multiprocessor system
EP05797084A Active EP1810145B1 (en) 2004-10-25 2005-10-25 Method and device for synchronising in a multi-processor system

Family Applications Before (2)

Application Number Title Priority Date Filing Date
EP05801543A Not-in-force EP1807763B1 (en) 2004-10-25 2005-10-25 Method and device for monitoring a memory unit in a multi-processor system
EP05811008A Ceased EP1812861A1 (en) 2004-10-25 2005-10-25 Method and device for delaying accesses to data and/or commands of a multiprocessor system

Family Applications After (2)

Application Number Title Priority Date Filing Date
EP05811107A Withdrawn EP1820102A2 (en) 2004-10-25 2005-10-25 Method and device for carrying out clock changeover in a multiprocessor system
EP05797084A Active EP1810145B1 (en) 2004-10-25 2005-10-25 Method and device for synchronising in a multi-processor system

Country Status (8)

Country Link
US (4) US20080163035A1 (en)
EP (5) EP1807763B1 (en)
JP (5) JP2008518311A (en)
KR (4) KR20070083771A (en)
AT (2) ATE409327T1 (en)
DE (2) DE502005005490D1 (en)
RU (1) RU2007119316A (en)
WO (5) WO2006045798A1 (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7882379B2 (en) * 2006-09-22 2011-02-01 Sony Computer Entertainment Inc. Power consumption reduction in a multiprocessor system
US20080244305A1 (en) * 2007-03-30 2008-10-02 Texas Instruments Deutschland, Gmbh Delayed lock-step cpu compare
DE102007063291A1 (en) * 2007-12-27 2009-07-02 Robert Bosch Gmbh safety control
JP4633134B2 (en) * 2008-03-27 2011-02-16 ルネサスエレクトロニクス株式会社 Microcontroller, control system, and design method of microcontroller
US7941698B1 (en) * 2008-04-30 2011-05-10 Hewlett-Packard Development Company, L.P. Selective availability in processor systems
JP2010198131A (en) * 2009-02-23 2010-09-09 Renesas Electronics Corp Processor system and operation mode switching method for processor system
US8275977B2 (en) * 2009-04-08 2012-09-25 Freescale Semiconductor, Inc. Debug signaling in a multiple processor data processing system
US8295287B2 (en) * 2010-01-27 2012-10-23 National Instruments Corporation Network traffic shaping for reducing bus jitter on a real time controller
US8954714B2 (en) * 2010-02-01 2015-02-10 Altera Corporation Processor with cycle offsets and delay lines to allow scheduling of instructions through time
EP2537091A4 (en) * 2010-02-16 2014-08-06 Freescale Semiconductor Inc Data processing method, data processor and apparatus including a data processor
KR101664108B1 (en) 2010-04-13 2016-10-11 삼성전자주식회사 Apparatus and method of hardware acceleration for processing synchronization of multi core
JP5718600B2 (en) * 2010-09-10 2015-05-13 日本電気通信システム株式会社 Information processing system and information processing method
US8683251B2 (en) 2010-10-15 2014-03-25 International Business Machines Corporation Determining redundancy of power feeds connecting a server to a power supply
JP5796311B2 (en) 2011-03-15 2015-10-21 オムロン株式会社 Control device and system program
JP5679047B2 (en) 2011-04-18 2015-03-04 富士通株式会社 Thread processing method and thread processing system
US9086977B2 (en) * 2011-04-19 2015-07-21 Freescale Semiconductor, Inc. Cache memory with dynamic lockstep support
US9842014B2 (en) 2012-11-22 2017-12-12 Nxp Usa, Inc. Data processing device, method of execution error detection and integrated circuit
US9429981B2 (en) * 2013-03-05 2016-08-30 St-Ericsson Sa CPU current ripple and OCV effect mitigation
US9823983B2 (en) 2014-09-25 2017-11-21 Nxp Usa, Inc. Electronic fault detection unit
WO2016087175A1 (en) * 2014-12-01 2016-06-09 Continental Teves Ag & Co. Ohg Processing system for a motor vehicle system
JP6516097B2 (en) * 2015-06-11 2019-05-22 大日本印刷株式会社 Arithmetic device, IC card, arithmetic method, and arithmetic processing program
JP2019061392A (en) 2017-09-26 2019-04-18 ルネサスエレクトロニクス株式会社 Microcontroller and control method of microcontroller
US10642826B1 (en) 2018-08-30 2020-05-05 Gravic, Inc. Mixed-mode method for combining active/active and validation architectures utilizing a check integrity module
US11269799B2 (en) * 2019-05-03 2022-03-08 Arm Limited Cluster of processing elements having split mode and lock mode
US11899547B2 (en) * 2021-11-30 2024-02-13 Mellanox Technologies, Ltd. Transaction based fault tolerant computing system

Family Cites Families (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE1269827B (en) * 1965-09-09 1968-06-06 Siemens Ag Method and additional device for the synchronization of data processing systems working in parallel
US3783250A (en) * 1972-02-25 1974-01-01 Nasa Adaptive voting computer system
US4823256A (en) * 1984-06-22 1989-04-18 American Telephone And Telegraph Company, At&T Bell Laboratories Reconfigurable dual processor system
AU616213B2 (en) * 1987-11-09 1991-10-24 Tandem Computers Incorporated Method and apparatus for synchronizing a plurality of processors
US6038584A (en) * 1989-11-17 2000-03-14 Texas Instruments Incorporated Synchronized MIMD multi-processing system and method of operation
US5226152A (en) * 1990-12-07 1993-07-06 Motorola, Inc. Functional lockstep arrangement for redundant processors
DE4104114C2 (en) * 1991-02-11 2000-06-08 Siemens Ag Redundant data processing system
JPH05128080A (en) * 1991-10-14 1993-05-25 Mitsubishi Electric Corp Information processor
US5751932A (en) * 1992-12-17 1998-05-12 Tandem Computers Incorporated Fail-fast, fail-functional, fault-tolerant multiprocessor system
JPH07121483A (en) * 1993-10-28 1995-05-12 Nec Eng Ltd Shared memory access control circuit
US5758132A (en) 1995-03-29 1998-05-26 Telefonaktiebolaget Lm Ericsson Clock control system and method using circuitry operating at lower clock frequency for selecting and synchronizing the switching of higher frequency clock signals
CA2178440A1 (en) * 1995-06-07 1996-12-08 Robert W. Horst Fail-fast, fail-functional, fault-tolerant multiprocessor system
JPH096733A (en) * 1995-06-14 1997-01-10 Toshiba Corp Parallel signal processor
JPH0973436A (en) * 1995-09-05 1997-03-18 Mitsubishi Electric Corp Operation mode switching system of multiplied computers
US5732209A (en) * 1995-11-29 1998-03-24 Exponential Technology, Inc. Self-testing multi-processor die with internal compare points
US5809522A (en) * 1995-12-18 1998-09-15 Advanced Micro Devices, Inc. Microprocessor system with process identification tag entries to reduce cache flushing after a context switch
FR2748136B1 (en) * 1996-04-30 1998-07-31 Sextant Avionique ELECTRONIC MODULE WITH REDUNDANT ARCHITECTURE FOR FUNCTIONALITY INTEGRITY CONTROL
GB2317032A (en) * 1996-09-07 1998-03-11 Motorola Gmbh Microprocessor fail-safe system
GB9704542D0 (en) * 1997-03-05 1997-04-23 Sgs Thomson Microelectronics A cache coherency mechanism
EP0978784A1 (en) * 1998-08-04 2000-02-09 Motorola, Inc. Method for coding computer programs and method for debugging coded computer programs
GB2340627B (en) * 1998-08-13 2000-10-04 Plessey Telecomm Data processing system
JP2000200255A (en) * 1999-01-07 2000-07-18 Hitachi Ltd Method and circuit for synchronization between processors
WO2000079405A1 (en) * 1999-06-21 2000-12-28 Hitachi, Ltd. Data processor
US6640313B1 (en) * 1999-12-21 2003-10-28 Intel Corporation Microprocessor with high-reliability operating mode
US6615366B1 (en) * 1999-12-21 2003-09-02 Intel Corporation Microprocessor with dual execution core operable in high reliability mode
US6772368B2 (en) * 2000-12-11 2004-08-03 International Business Machines Corporation Multiprocessor with pair-wise high reliability mode, and method therefore
DE10136335B4 (en) * 2001-07-26 2007-03-22 Infineon Technologies Ag Processor with several arithmetic units
US6947047B1 (en) * 2001-09-20 2005-09-20 Nvidia Corporation Method and system for programmable pipelined graphics processing with branching instructions
US20040076189A1 (en) * 2002-10-17 2004-04-22 International Business Machines Corporation Multiphase clocking method and apparatus
US7055060B2 (en) * 2002-12-19 2006-05-30 Intel Corporation On-die mechanism for high-reliability processor
JP2004234144A (en) * 2003-01-29 2004-08-19 Hitachi Ltd Operation comparison device and operation comparison method for processor
WO2005003962A2 (en) * 2003-06-24 2005-01-13 Robert Bosch Gmbh Method for switching between at least two operating modes of a processor unit and corresponding processor unit
US7134031B2 (en) * 2003-08-04 2006-11-07 Arm Limited Performance control within a multi-processor system
DE10349581A1 (en) * 2003-10-24 2005-05-25 Robert Bosch Gmbh Method and device for switching between at least two operating modes of a processor unit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO2006045798A1 *

Also Published As

Publication number Publication date
WO2006045801A3 (en) 2006-07-06
DE502005005284D1 (en) 2008-10-16
JP2008518309A (en) 2008-05-29
WO2006045801A2 (en) 2006-05-04
US20080126718A1 (en) 2008-05-29
EP1810145A1 (en) 2007-07-25
US20080209251A1 (en) 2008-08-28
KR20070067168A (en) 2007-06-27
ATE407398T1 (en) 2008-09-15
WO2006045800A1 (en) 2006-05-04
WO2006045802A2 (en) 2006-05-04
US20090164826A1 (en) 2009-06-25
JP2008518310A (en) 2008-05-29
JP2008518308A (en) 2008-05-29
KR20070083772A (en) 2007-08-24
EP1812861A1 (en) 2007-08-01
WO2006045802A3 (en) 2007-01-04
US7853819B2 (en) 2010-12-14
KR20070062579A (en) 2007-06-15
JP2008518311A (en) 2008-05-29
US20080163035A1 (en) 2008-07-03
EP1810145B1 (en) 2008-09-03
EP1807763B1 (en) 2008-09-24
WO2006045804A1 (en) 2006-05-04
EP1807763A2 (en) 2007-07-18
JP2008518312A (en) 2008-05-29
JP4532561B2 (en) 2010-08-25
KR20070083771A (en) 2007-08-24
EP1820102A2 (en) 2007-08-22
ATE409327T1 (en) 2008-10-15
RU2007119316A (en) 2008-12-10
DE502005005490D1 (en) 2008-11-06
WO2006045798A1 (en) 2006-05-04

Similar Documents

Publication Publication Date Title
EP1807763B1 (en) Method and device for monitoring a memory unit in a multi-processor system
EP1917592B1 (en) Computer system with at least two execution units and a comparison unit and method for controlling the same
WO2007057271A1 (en) Apparatus and method for eliminating errors in a system having at least two execution units with registers
EP1812858B1 (en) Method and device for generating a mode signal in a computer system comprising a plurality of components
EP1812856B1 (en) Method and device for evaluating a signal of a computer system comprising at least two execution units
DE102008004205A1 (en) Circuit arrangement for error treatment in real-time system e.g. controller, for motor vehicle, has processing units reporting result of inherent error diagnosis by monitoring unit that activates arithmetic units in dependence of result
WO2006015964A2 (en) Method for delaying access to data and/or commands of a dual computer system, and corresponding delaying unit
EP1955164A1 (en) Program-controlled unit and method for the operation thereof
EP1810146B1 (en) Method and device for separating the processing of program codes in a computer system comprising at least two execution units
EP1398700A1 (en) Method and circuit device for synchronizing redundant processing units
EP1398701A1 (en) Method for synchronizing events, in particular for fault-tolerant systems
EP1618476A2 (en) Program-controlled unit and method
EP1776636A2 (en) Method for registering errors and corresponding register
DE102004051952A1 (en) Data allocation method for multiprocessor system involves performing data allocation according to operating mode to which mode switch is shifted
EP2228723B1 (en) Method for error treatment of a computer system
DE102004051937A1 (en) Data distributing method for multiprocessor system, involves switching between operating modes e.g. safety and performance modes, of computer units, where data distribution and/or selection of data source is dependent upon one mode
DE102004051964A1 (en) Memory unit monitoring device for use in multiprocessor system, has switching unit, though which system is switched between two operating modes such that device is arranged in such a manner that contents of unit are simultaneously logged
DE102004051950A1 (en) Clock switching unit for microprocessor system, has switching unit by which switching can be done between two operating modes, where unit is formed so that clock switching takes place with one processor during switching of modes
DE102005037245A1 (en) Method and device for controlling a computer system with at least two execution units
DE102004051992A1 (en) Access delay method for multiprocessor system involves clocking processors differently to enable both processors to access memory at different times
DE102009001048A1 (en) Device for testing functioning of dual-core computer system for e.g. security-relevant control system of motor vehicle, has switching and comparison unit triggered-off by signal, where signal is led back to test unit
EP1915674B1 (en) Method and device for controlling a computer system comprising at least two execution units and at least two groups of internal states
DE102010031017A1 (en) Program flow monitoring method for e.g. microprocessor utilized in technical application, involves dividing program into atomic units and modifying signature using modification points utilized for hopping in program flow
DE102005037261A1 (en) Mode signal generation for use in computer system involves producing mode signal indicating current operating mode of computer system and changes in mode signal in one of components of computer system
DE102005037258A1 (en) Method and device for determining a start state in a computer system having at least two execution units by adopting the start state

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20070525

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC NL PL PT RO SE SI SK TR

17Q First examination report despatched

Effective date: 20071001

DAX Request for extension of the european patent (deleted)
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED

18R Application refused

Effective date: 20080801