JP2020149467A - Control device, control system, control method, and program - Google Patents
Control device, control system, control method, and program Download PDFInfo
- Publication number
- JP2020149467A JP2020149467A JP2019047415A JP2019047415A JP2020149467A JP 2020149467 A JP2020149467 A JP 2020149467A JP 2019047415 A JP2019047415 A JP 2019047415A JP 2019047415 A JP2019047415 A JP 2019047415A JP 2020149467 A JP2020149467 A JP 2020149467A
- Authority
- JP
- Japan
- Prior art keywords
- trace data
- unit
- terminal
- fpga
- soft error
- 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.)
- Granted
Links
Images
Landscapes
- Retry When Errors Occur (AREA)
- Debugging And Monitoring (AREA)
- Programmable Controllers (AREA)
- Logic Circuits (AREA)
Abstract
Description
本発明は、制御装置、制御システム、制御方法及びプログラムに関する。 The present invention relates to control devices, control systems, control methods and programs.
中性子などの放射線(宇宙線を含む)は、デジタル回路を構成する半導体集積回路においてソフトエラーを生じさせることが知られている。
特許文献1には、関連する技術として、ソフトエラー発生時に、FPGA(Field Programmable Gate Array)のリコンフィギュレーションを行った後、IO(Input/Output)ポートのリセットを行い、通信を再開する技術が開示されている。
特許文献2には、関連する技術として、ソフトエラー発生直前のフリップフロップの値を保存し、ソフトエラー発生後にその値を書き込み、通信を継続する技術が開示されている。
Radiation such as neutrons (including cosmic rays) is known to cause soft errors in semiconductor integrated circuits that make up digital circuits.
Patent Document 1 describes, as a related technique, a technique of reconfiguring an FPGA (Field Programmable Gate Array) when a soft error occurs, resetting an IO (Output / Output) port, and restarting communication. It is disclosed.
Patent Document 2 discloses, as a related technique, a technique of storing a flip-flop value immediately before a soft error occurs, writing the value after a soft error occurs, and continuing communication.
ところで、FPGAにおいてソフトエラーが発生したときに、特許文献1に記載の技術を用いた場合、FPGA内部のレジスタの値がソフトエラーの発生する直前とは異なる可能性がある。そのため、FPGAが正常に動作しない可能性がある。
また、FPGAにおいてソフトエラーが発生したときに、特許文献2に記載の技術を用いた場合、すなわち、FPGA内部の全てのフリップフロップの値を保存する場合、復旧のためにはCRAM(Configuration Random Access Memory)として大容量のメモリが必要になる。
By the way, when the technique described in Patent Document 1 is used when a soft error occurs in the FPGA, the value of the register inside the FPGA may be different from that immediately before the soft error occurs. Therefore, the FPGA may not operate normally.
In addition, when a soft error occurs in the FPGA, when the technique described in Patent Document 2 is used, that is, when all the flip-flop values inside the FPGA are stored, CRAM (Configuration Random Access) is used for recovery. A large amount of memory is required as a memory).
本発明の各態様は、上記の課題を解決することのできる制御装置、制御システム、制御方法及びプログラムを提供することを目的としている。 Each aspect of the present invention is intended to provide a control device, a control system, a control method and a program capable of solving the above problems.
上記目的を達成するために、本発明の一態様によれば、制御装置は、FPGAへ入力するトレースデータを保存するトレースデータ保存部と、前記FPGAが再コンフィギュレーションした後に、前記トレースデータのうち、前記FPGAにソフトエラーが発生する直前の1トランザクション分のトレースデータを取得し、取得した前記1トランザクション分のトレースデータを前記FPGAに出力するトレースデータ送信部と、を備える。 In order to achieve the above object, according to one aspect of the present invention, the control device includes a trace data storage unit that stores trace data input to the FPGA, and the trace data after the FPGA is reconfigured. The FPGA includes a trace data transmission unit that acquires trace data for one transaction immediately before a soft error occurs in the FPGA and outputs the acquired trace data for one transaction to the FPGA.
上記目的を達成するために、本発明の別の態様によれば、制御システムは、上記の制御装置と、FPGAと、を備える。 In order to achieve the above object, according to another aspect of the present invention, the control system includes the above control device and an FPGA.
上記目的を達成するために、本発明の別の態様によれば、制御方法は、FPGAへ入力するトレースデータを保存することと、前記FPGAが再コンフィギュレーションした後に、前記トレースデータのうち、前記FPGAにソフトエラーが発生する直前の1トランザクション分のトレースデータを取得することと、取得した前記1トランザクション分のトレースデータを前記FPGAに出力することと、を含む。 In order to achieve the above object, according to another aspect of the present invention, the control method is to store the trace data to be input to the FPGA, and after the FPGA is reconfigured, the said trace data. This includes acquiring trace data for one transaction immediately before a soft error occurs in the FPGA, and outputting the acquired trace data for one transaction to the FPGA.
上記目的を達成するために、本発明の別の態様によれば、プログラムは、コンピュータに、FPGAへ入力するトレースデータを保存することと、前記FPGAが再コンフィギュレーションした後に、前記トレースデータのうち、前記FPGAにソフトエラーが発生する直前の1トランザクション分のトレースデータを取得することと、取得した前記1トランザクション分のトレースデータを前記FPGAに出力することと、を実行させる。 In order to achieve the above object, according to another aspect of the present invention, the program stores the trace data to be input to the FPGA in the computer, and after the FPGA is reconfigured, the trace data of the trace data. , Acquire the trace data for one transaction immediately before the soft error occurs in the FPGA, and output the acquired trace data for one transaction to the FPGA.
本発明の各態様によれば、FPGAにおけるメモリ容量を増大させずにFPGAのソフトエラーを解消することができる。 According to each aspect of the present invention, the soft error of the FPGA can be eliminated without increasing the memory capacity of the FPGA.
以下、図面を参照しながら実施形態について詳しく説明する。
<実施形態>
本発明の一実施形態による通信システム1は、ソフトエラー発生直前のトランザクションの入力データをトレースし、その後、FPGA(Field Programmable Gate Array)内部に備えられたCRAM(Configuration Random Access Memory)内の回路データについて再コンフィギュレーションを実行することで復旧し、トレースした入力データをFPGAに入力することでソフトエラーが発生する直前の状態まで修正するシステムである。
通信システム1は、図1に示すように、第1装置間通信制御カード2(制御システムの一例)、第2装置間通信制御カード3(制御システムの一例)を備える。
なお、図1では、同一ノードの配線に符号(L1〜L16)を付与している。
Hereinafter, embodiments will be described in detail with reference to the drawings.
<Embodiment>
The communication system 1 according to the embodiment of the present invention traces the input data of the transaction immediately before the occurrence of the soft error, and then the circuit data in the CRAM (Configuration Random Access Memory) provided inside the FPGA (Field Programmable Gate Array). It is a system that recovers by executing reconfiguration and corrects to the state immediately before the soft error occurs by inputting the traced input data to FPGA.
As shown in FIG. 1, the communication system 1 includes a first inter-device communication control card 2 (an example of a control system) and a second inter-device communication control card 3 (an example of a control system).
In FIG. 1, reference numerals (L1 to L16) are given to the wirings of the same node.
第1装置間通信制御カード2は、通信制御用のカードである。第1装置間通信制御カード2は、FPGA10a、リトライ制御部20a(制御装置の一例、制御部の一例)、CPROM(Configuration Programable Read Only Memory)30a(制御装置の一例)、トレースデータ制御部40a(制御装置の一例)、データ転送部50aを備える。
第1装置間通信制御カード2は、第1端子、第2端子、第3端子、第4端子、第5端子、第6端子、第7端子を備える。
第1装置間通信制御カード2の第1端子は、通信システム1の外部へデータを出力する端子である。
第1装置間通信制御カード2の第2端子は、通信システム1の外部からデータを受ける端子である。
第1装置間通信制御カード2の第3端子、第4端子、第6端子のそれぞれは、第2装置間通信制御カード3へデータを出力する端子である。
第1装置間通信制御カード2の第5端子、第7端子のそれぞれは、第2装置間通信制御カード3からデータを受ける端子である。
The first device-to-device communication control card 2 is a card for communication control. The first device-to-device communication control card 2 includes an
The first device-to-device communication control card 2 includes a first terminal, a second terminal, a third terminal, a fourth terminal, a fifth terminal, a sixth terminal, and a seventh terminal.
The first terminal of the first inter-device communication control card 2 is a terminal that outputs data to the outside of the communication system 1.
The second terminal of the first inter-device communication control card 2 is a terminal that receives data from the outside of the communication system 1.
Each of the third terminal, the fourth terminal, and the sixth terminal of the first inter-device communication control card 2 is a terminal for outputting data to the second inter-device communication control card 3.
Each of the fifth terminal and the seventh terminal of the first inter-device communication control card 2 is a terminal for receiving data from the second inter-device communication control card 3.
FPGA10aは、コンフィギュレーションプログラムによって回路構成が決定されるプログラマブルロジックデバイスである。
FPGA10aは、第1端子、第2端子、第3端子、第4端子、第5端子、第6端子、第7端子、第8端子、第9端子を備える。
The
The FPGA 10a includes a first terminal, a second terminal, a third terminal, a fourth terminal, a fifth terminal, a sixth terminal, a seventh terminal, an eighth terminal, and a ninth terminal.
リトライ制御部20aは、FPGA10aの再コンフィギュレーションを制御する制御部である。
リトライ制御部20aは、第1端子、第2端子、第3端子、第4端子、第5端子、第6端子、第7端子、第8端子を備える。
The
The
CPROM30aは、FPGA10aの回路データを保存している記憶装置であり、再コンフィギュレーションを実行するときに、その回路データをCRAMに書き込むために使用される。
CPROM30aは、第1端子、第2端子を備える。
The
The CPROM 30a includes a first terminal and a second terminal.
トレースデータ制御部40aは、トレースデータについての通信を制御する制御部である。
トレースデータ制御部40aは、第1端子、第2端子、第3端子、第4端子を備える。
The trace
The trace
データ転送部50aは、入力される複数のデータのいずれか1つを出力する。具体的には、通常時は配線L11から入力されるデータを出力し、ソフトエラー発生後の修復の際のみ配線L10から入力される1トランザクション分のデータを出力する。
データ転送部50aは、第1端子、第2端子、第3端子を備える。
The
The
FPGA10aの第1端子は、第1装置間通信制御カード2の第1端子に接続される。
FPGA10aの第2端子は、データ転送部50aの第3端子に接続される。
FPGA10aの第3端子は、リトライ制御部20aの第3端子に接続される。
FPGA10aの第4端子は、リトライ制御部20aの第4端子に接続される。
FPGA10aの第5端子は、リトライ制御部20aの第5端子に接続される。
FPGA10aの第6端子は、CPROM30aの第1端子に接続される。
FPGA10aの第7端子は、CPROM30aの第2端子に接続される。
FPGA10aの第8端子は、第1装置間通信制御カード2の第6端子に接続される。
FPGA10aの第9端子は、第1装置間通信制御カード2の第7端子に接続される。
The first terminal of the
The second terminal of the
The third terminal of the
The fourth terminal of the
The fifth terminal of the
The sixth terminal of the
The seventh terminal of the
The eighth terminal of the
The ninth terminal of the
リトライ制御部20aの第1端子は、トレースデータ制御部40aの第2端子に接続される。
リトライ制御部20aの第2端子は、トレースデータ制御部40aの第3端子に接続される。
リトライ制御部20aの第6端子は、第1装置間通信制御カード2の第5端子に接続される。
リトライ制御部20aの第7端子は、第1装置間通信制御カード2の第4端子に接続される。
リトライ制御部20aの第8端子は、第1装置間通信制御カード2の第3端子に接続される。
The first terminal of the
The second terminal of the
The sixth terminal of the
The seventh terminal of the
The eighth terminal of the retry
トレースデータ制御部40aの第1端子は、データ転送部50aの第2端子、第1装置間通信制御カード2の第2端子のそれぞれに接続される。
トレースデータ制御部40aの第4端子は、データ転送部50aの第1端子に接続される。
The first terminal of the trace
The fourth terminal of the trace
FPGA10aは、図2に示すように、CRAM101、ソフトエラー検知部102、コンフィギュレーション制御部103を備える。
なお、図2に示す配線の符号は、図1に示した配線の符号と対応している。
As shown in FIG. 2, the
The wiring code shown in FIG. 2 corresponds to the wiring code shown in FIG.
CRAM101は、ユーザロジック1011を含むメモリIC(Integrated Circuit)である。
ユーザロジック1011は、ユーザが設計可能な回路データである。ユーザロジック1011は、ソフトエラー通知部10111を実現する回路データを含む。
ソフトエラー通知部10111は、CRAM101内でソフトエラーが発生した場合に、その発生をリトライ制御部20aに通知する。
CRAM101は、第1端子、第2端子、第3端子、第4端子、第5端子、第6端子、第7端子を備える。
The
The
When a soft error occurs in the
The
ソフトエラー検知部102は、CRAM101内でソフトエラーが発生したことを検知する。ソフトエラー検知部102は、ソフトエラーが発生したことを検知すると、その発生を示すソフトエラー検知信号をソフトエラー通知部10111に出力する。
ソフトエラー検知部102は、第1端子を備える。
The soft
The soft
コンフィギュレーション制御部103は、リトライ制御部20aから再コンフィギュレーション開始指示信号を受けると、CPROM30aの回路データを用いてCRAM101に対して再コンフィギュレーションを実行する。再コンフィギュレーションとは、コンフィギュレーションを再度実行することである。また、再コンフィギュレーション開始指示信号とは、再コンフィギュレーションを実行することをコンフィギュレーション制御部103に指示する信号である。
コンフィギュレーション制御部103は、再コンフィギュレーションが完了すると、
再コンフィギュレーションが完了したことを示す再コンフィギュレーション完了通知をリトライ制御部20aに出力する。再コンフィギュレーション完了通知とは、再コンフィギュレーションが完了したことを知らせる通知である。
コンフィギュレーション制御部103は、第1端子、第2端子、第3端子、第4端子、第5端子を備える。
When the
When the
A reconfiguration completion notification indicating that the reconfiguration is completed is output to the retry
The
CRAM101の第1端子は、コンフィギュレーション制御部103の第5端子に接続される。
CRAM101の第2端子は、FPGA10aの第2端子に接続される。
CRAM101の第3端子は、ソフトエラー検知部102の第1端子に接続される。
CRAM101の第4端子は、FPGA10aの第1端子に接続される。
CRAM101の第5端子は、FPGA10aの第9端子に接続される。
CRAM101の第6端子は、FPGA10aの第8端子に接続される。
CRAM101の第7端子は、FPGA10aの第5端子に接続される。
The first terminal of the
The second terminal of the
The third terminal of the
The fourth terminal of the
The fifth terminal of the
The sixth terminal of the
The seventh terminal of the
コンフィギュレーション制御部103の第1端子は、FPGA10aの第3端子に接続される。
コンフィギュレーション制御部103の第2端子は、FPGA10aの第4端子に接続される。
コンフィギュレーション制御部103の第3端子は、FPGA10aの第6端子に接続される。
コンフィギュレーション制御部103の第4端子は、FPGA10aの第7端子に接続される。
The first terminal of the
The second terminal of the
The third terminal of the
The fourth terminal of the
リトライ制御部20aは、図3に示すように、ソフトエラー発生通知受信部201、通信中断指示部202、通信再開指示部203、ソフトエラー修復部204、再コンフィギュレーション指示部205、再コンフィギュレーション完了通知受信部206、トレースデータ送信完了通知受信部207、トレースデータ送信開始指示部208を備える。
なお、図3に示す配線の符号は、図1に示した配線の符号と対応している。
As shown in FIG. 3, the retry
The wiring code shown in FIG. 3 corresponds to the wiring code shown in FIG.
ソフトエラー発生通知受信部201は、第2装置間通信制御カード3及びFPGA10aからソフトエラー発生通知信号を受けると、ソフトエラー修復部204にソフトエラー発生通知受信信号を出力する。ソフトエラー発生通知信号とは、ソフトエラーが発生したことを通知する信号である。また、ソフトエラー発生通知受信信号とは、ソフトエラー発生通知信号を受けたことを示す信号である。
ソフトエラー発生通知受信部201は、第1端子、第2端子、第3端子を備える。
When the soft error occurrence
The soft error occurrence
通信中断指示部202は、ソフトエラー修復部204から通信中断信号を受けると、第2装置間通信制御カード3に通信中断指示信号を出力する。通信中断信号とは、通信を中断することを示す信号である。また、通信中断指示信号とは、通信を中断することを第2装置間通信制御カード3に指示する信号である。
通信中断指示部202は、第1端子、第2端子を備える。
When the communication
The communication
通信再開指示部203は、ソフトエラー修復部204から通信再開信号を受けると、第2装置間通信制御カード3に通信再開指示信号を出力する。通信再開信号とは、通信を再開することを示す信号である。また、通信再開指示信号とは、通信を再開することを第2装置間通信制御カード3に指示する信号である。
通信再開指示部203は、第1端子、第2端子を備える。
Upon receiving the communication restart signal from the soft
The communication
ソフトエラー修復部204は、ソフトエラー発生通知受信部201からソフトエラー発生通知受信信号を受けると、通信中断指示部202に通信中断信号を出力する。また、ソフトエラー修復部204は、ソフトエラー発生通知受信部201からソフトエラー発生通知受信信号を受けると、再コンフィギュレーション指示部205に再コンフィギュレーション指示信号を出力する。再コンフィギュレーション指示信号とは、コンフィギュレーションを再度実行することを指示する信号である。
ソフトエラー修復部204は、FPGA10aにおいてソフトエラーが発生すると、再コンフィギュレーションを実行することをFPGA10aに指示する。また、ソフトエラー修復部204は、FPGA10aへの入力トレースデータを再度入力することを、トレースデータ制御部40aに指示する。
また、ソフトエラー修復部204は、再コンフィギュレーションが完了すると、通信再開指示部203に通信再開信号を出力する。
ソフトエラー修復部204は、第1端子、第2端子、第3端子、第4端子、第5端子、第6端子、第7端子を備える。
When the soft
The soft
Further, when the reconfiguration is completed, the soft
The soft
再コンフィギュレーション指示部205は、ソフトエラー修復部204から再コンフィギュレーション指示信号を受けると、FPGA10aに再コンフィギュレーション開始信号を出力する。再コンフィギュレーション開始信号とは、コンフィギュレーションを再度実行することをFPGA10aに指示する信号である。
再コンフィギュレーション指示部205は、第1端子、第2端子を備える。
Upon receiving the reconfiguration instruction signal from the soft
The
再コンフィギュレーション完了通知受信部206は、FPGA10aから再コンフィギュレーション完了通知を受けると、ソフトエラー修復部204に再コンフィギュレーション完了通知受信信号を出力する。再コンフィギュレーション完了通知受信信号とは、再コンフィギュレーション完了通知を受けたことを示す信号である。
再コンフィギュレーション完了通知受信部206は、第1端子、第2端子を備える。
Upon receiving the reconfiguration completion notification from the
The reconfiguration completion
トレースデータ送信完了通知受信部207は、トレースデータ制御部40aからトレースデータ送信完了通知を受けると、ソフトエラー修復部204にトレースデータ送信完了通知受信信号を出力する。トレースデータ送信完了通知とは、トレースデータの送信が完了したことを知らせる通知である。また、トレースデータ送信完了通知受信信号とは、トレースデータ送信完了通知を受けたことを示す信号である。
トレースデータ送信完了通知受信部207は、第1端子、第2端子を備える。
When the trace data transmission completion
The trace data transmission completion
トレースデータ送信開始指示部208は、ソフトエラー修復部204からトレースデータ送信開始信号を受けると、トレースデータ制御部40aにトレースデータ送信開始通知を出力する。トレースデータ送信開始信号とは、トレースデータの送信を開始することを指示する信号である。また、トレースデータ送信開始通知とは、トレースデータの送信を開始したことを知らせる通知である。
トレースデータ送信開始指示部208は、第1端子、第2端子を備える。
When the trace data transmission
The trace data transmission
ソフトエラー発生通知受信部201の第1端子は、ソフトエラー修復部204の第5端子に接続される。
ソフトエラー発生通知受信部201の第2端子は、リトライ制御部20aの第5端子に接続される。
ソフトエラー発生通知受信部201の第3端子は、リトライ制御部20aの第6端子に接続される。
The first terminal of the soft error occurrence
The second terminal of the soft error occurrence
The third terminal of the soft error occurrence
通信中断指示部202の第1端子は、ソフトエラー修復部204の第6端子に接続される。
通信中断指示部202の第2端子は、リトライ制御部20aの第7端子に接続される。
The first terminal of the communication
The second terminal of the communication
通信再開指示部203の第1端子は、ソフトエラー修復部204の第7端子に接続される。
通信再開指示部203の第2端子は、リトライ制御部20aの第8端子に接続される。
The first terminal of the communication
The second terminal of the communication
ソフトエラー修復部204の第1端子は、トレースデータ送信開始指示部208の第2端子に接続される。
ソフトエラー修復部204の第2端子は、トレースデータ送信完了通知受信部207の第2端子に接続される。
ソフトエラー修復部204の第3端子は、再コンフィギュレーション完了通知受信部206の第2端子に接続される。
ソフトエラー修復部204の第4端子は、再コンフィギュレーション指示部205の第2端子に接続される。
The first terminal of the soft
The second terminal of the soft
The third terminal of the soft
The fourth terminal of the soft
再コンフィギュレーション指示部205の第1端子は、リトライ制御部20aの第4端子に接続される。
再コンフィギュレーション完了通知受信部206の第1端子は、リトライ制御部20aの第3端子に接続される。
トレースデータ送信完了通知受信部207の第1端子は、リトライ制御部20aの第2端子に接続される。
トレースデータ送信開始指示部208の第1端子は、リトライ制御部20aの第1端子に接続される。
The first terminal of the
The first terminal of the reconfiguration completion
The first terminal of the trace data transmission completion
The first terminal of the trace data transmission
CPROM30aは、FPGA10aに再コンフィギュレーションを実行させるための回路データを保存している。
The
トレースデータ制御部40aは、図4に示すように、トレースデータラッチ部401、トレースデータ保存部402、トレースデータ送信開始通知受信部403、トレースデータ送信部404、トレースデータ送信完了通知部405を備える。
なお、図4に示す配線の符号は、図1に示した配線の符号と対応している。
As shown in FIG. 4, the trace
The wiring code shown in FIG. 4 corresponds to the wiring code shown in FIG.
トレースデータラッチ部401は、FPGA10aへ入力する入力データをラッチする。
トレースデータラッチ部401は、第1端子、第2端子を備える。
The trace data latch
The trace data latch
トレースデータ保存部402は、トレースデータラッチ部401がラッチした入力データ(トレースデータ)を1トランザクション分保存する。
トレースデータ保存部402は、第1端子、第2端子を備える。
The trace
The trace
トレースデータ送信開始通知受信部403は、リトライ制御部20aからトレースデータ送信開始通知を受けると、トレースデータ送信部404にトレースデータ送信開始指示を出力する。
トレースデータ送信開始通知受信部403は、第1端子、第2端子を備える。
Upon receiving the trace data transmission start notification from the retry
The trace data transmission start
トレースデータ送信部404は、トレースデータ送信開始通知受信部403からトレースデータ送信開始指示を受けると、トレースデータ保存部402からトレースデータを取得する。その後、トレースデータ送信部404は、FPGA10aにトレースデータを出力する。トレースデータ送信部404は、出力が完了すると、トレースデータ送信完了通知部405に完了通知を出力する。
トレースデータ送信部404は、第1端子、第2端子、第3端子、第4端子を備える。
When the trace
The trace
トレースデータ送信完了通知部405は、トレースデータ送信部404から完了通知を受信すると、リトライ制御部20aにトレースデータ送信完了通知を出力する。
トレースデータ送信完了通知部405は、第1端子、第2端子を備える。
When the trace data transmission
The trace data transmission
トレースデータラッチ部401の第1端子は、トレースデータ制御部40aの第1端子に接続される。
トレースデータラッチ部401の第2端子は、トレースデータ保存部402の第1端子に接続される。
トレースデータ保存部402の第2端子は、トレースデータ送信部404の第1端子に接続される。
The first terminal of the trace data latch
The second terminal of the trace data latch
The second terminal of the trace
トレースデータ送信開始通知受信部403の第1端子は、トレースデータ制御部40aの第2端子に接続される。
トレースデータ送信開始通知受信部403の第2端子は、トレースデータ送信部404の第2端子に接続される。
The first terminal of the trace data transmission start
The second terminal of the trace data transmission start
トレースデータ送信部404の第3端子は、トレースデータ送信完了通知部405の第1端子に接続される。
トレースデータ送信部404の第4端子は、トレースデータ制御部40aの第4端子に接続される。
トレースデータ送信完了通知部405の第2端子は、トレースデータ制御部40aの第3端子に接続される。
The third terminal of the trace
The fourth terminal of the trace
The second terminal of the trace data transmission
第2装置間通信制御カード3は、図1に示すように、FPGA10b、リトライ制御部20b(制御装置の一例、制御部の一例)、CPROM30b(制御装置の一例)、トレースデータ制御部40b(制御装置の一例)、データ転送部50bを備える。
FPGA10bは、FPGA10aと同様である。リトライ制御部20bは、リトライ制御部20aと同様である。CPROM30bは、CPROM30aと同様である。トレースデータ制御部40bは、トレースデータ制御部40aと同様である。データ転送部50bは、データ転送部50aと同様である。第2装置間通信制御カード3は、第1装置間通信制御カード2と同様の通信制御カードである。
As shown in FIG. 1, the second device-to-device communication control card 3 includes an
FPGA10b is the same as FPGA10a. The retry
次に、通信システム1の動作について説明する。ここでは、FPGA10aの内部でソフトエラーが発生した場合の通信システム1の図5に示す処理フローについて説明する。
Next, the operation of the communication system 1 will be described. Here, the processing flow shown in FIG. 5 of the communication system 1 when a soft error occurs inside the
FPGA10aの内部でソフトエラーが発生する。ソフトエラー検知部102は、ソフトエラーが発生すると、ソフトエラーを検知する(ステップS1)。なお、ソフトエラー検知部102は、適切にソフトエラーを検知することができれば、どのような構成の回路であってもよい。
A soft error occurs inside the
ソフトエラー検知部102は、CRAM101にソフトエラー検知信号を出力する(ステップS2)。ソフトエラー検知信号とは、ソフトエラーを検知したことを示す信号である。
The soft
CRAM101は、ソフトエラー検知部102からソフトエラー検知信号を受ける。CRAM101がソフトエラー検知信号を受けると、ソフトエラー通知部10111は、リトライ制御部20aにソフトエラー発生通知信号を出力する(ステップS3)。
The
ソフトエラー発生通知受信部201は、CRAM101からソフトエラー発生通知信号を受ける。ソフトエラー発生通知受信部201は、ソフトエラー発生通知信号を受けると、ソフトエラー修復部204にソフトエラー発生通知受信信号を出力する(ステップS4)。
The soft error occurrence
ソフトエラー修復部204は、ソフトエラー発生通知受信部201からソフトエラー発生通知受信信号を受ける。ソフトエラー修復部204は、ソフトエラー発生通知受信信号を受けると、通信中断指示部202に通信中断信号を出力する(ステップS5)。
The soft
通信中断指示部202は、ソフトエラー修復部204から通信中断信号を受ける。通信中断指示部202は、通信中断信号を受けると、第2装置間通信制御カード3に通信中断指示信号を出力する(ステップS6)。
この通信中断指示信号に応じて、第2装置間通信制御カード3は、通信を中断する。
The communication
In response to this communication interruption instruction signal, the second device-to-device communication control card 3 interrupts communication.
また、ソフトエラー修復部204は、再コンフィギュレーション指示部205に再コンフィギュレーション指示信号を出力する(ステップS7)。
Further, the soft
再コンフィギュレーション指示部205は、ソフトエラー修復部204から再コンフィギュレーション指示信号を受ける。再コンフィギュレーション指示部205は、再コンフィギュレーション指示信号を受けると、FPGA10aに再コンフィギュレーション開始指示信号を出力する(ステップS8)。
The
コンフィギュレーション制御部103は、リトライ制御部20aから再コンフィギュレーション開始指示信号を受ける。コンフィギュレーション制御部103は、再コンフィギュレーション開始指示信号を受けると、CPROM30aに再コンフィギュレーション開始信号を出力する(ステップS9)。
The
CPROM30aは、FPGA10aから再コンフィギュレーション開始信号を受ける。CPROM30aは、再コンフィギュレーション開始信号を受けると、FPGA10aに回路データを出力する(ステップS10)。
The
コンフィギュレーション制御部103は、CPROM30aから回路データを受ける。コンフィギュレーション制御部103は、受けた回路データを用いて、CRAM101に対して再コンフィギュレーションを実行する(ステップS11)。
The
その後、再コンフィギュレーションが完了すると、コンフィギュレーション制御部103は、リトライ制御部20aに再コンフィギュレーション完了通知を出力する(ステップS12)。
After that, when the reconfiguration is completed, the
再コンフィギュレーション完了通知受信部206は、コンフィギュレーション制御部103から再コンフィギュレーション完了通知を受ける。再コンフィギュレーション完了通知受信部206は、再コンフィギュレーション完了通知を受けると、ソフトエラー修復部204に再コンフィギュレーション完了通知受信信号を出力する(ステップS13)。
The reconfiguration completion
ソフトエラー修復部204は、再コンフィギュレーション完了通知受信部206から再コンフィギュレーション完了通知受信信号を受ける。ソフトエラー修復部204は、再コンフィギュレーション完了通知受信信号を受けると、トレースデータ送信開始指示部208にトレースデータ送信開始信号を出力する(ステップS14)。
The soft
トレースデータ送信開始指示部208は、ソフトエラー修復部204からトレースデータ送信開始信号を受ける。トレースデータ送信開始指示部208は、トレースデータ送信開始信号を受けると、トレースデータ制御部40aにトレースデータ送信開始通知を出力する(ステップS15)。
The trace data transmission
トレースデータ送信開始通知受信部403は、リトライ制御部20aからトレースデータ送信開始通知を受ける。トレースデータ送信開始通知受信部403は、トレースデータ送信開始通知を受けると、トレースデータ送信部404にトレースデータ送信開始指示を出力する(ステップS16)。トレースデータ送信開始指示とは、ソフトエラー発生直前の1トランザクション分のトレースデータをFPGA10aに出力させる指示である。
The trace data transmission start
トレースデータ送信部404は、トレースデータ送信開始通知受信部403からトレースデータ送信開始指示を受ける。トレースデータ送信部404は、トレースデータ送信開始指示を受けると、トレースデータ保存部402からソフトエラー発生直前の1トランザクション分のトレースデータを取り出す(ステップS17)。トレースデータ送信部404は、取り出したトレースデータをFPGA10aに出力する(ステップS18)。
The trace
トレースデータ送信部404は、FPGA10aへのトレースデータの送信が完了すると、トレースデータ送信完了通知部405に送信完了通知を出力する(ステップS19)。に送信完了通知とは、FPGA10aへのトレースデータの送信が完了したことを知らせる通知である。
When the trace
トレースデータ送信完了通知部405は、トレースデータ送信部404から送信完了通知を受ける。トレースデータ送信完了通知部405は、送信完了通知を受けると、リトライ制御部20aにトレースデータ送信完了通知を出力する(ステップS20)。
The trace data transmission
トレースデータ送信完了通知受信部207は、トレースデータ制御部40aからトレースデータ送信完了通知を受ける。トレースデータ送信完了通知受信部207は、トレースデータ送信完了通知を受けると、ソフトエラー修復部204にトレースデータ送信完了通知受信信号を出力する(ステップS21)。
The trace data transmission completion
ソフトエラー修復部204は、トレースデータ送信完了通知受信部207からトレースデータ送信完了通知受信信号を受ける。ソフトエラー修復部204は、トレースデータ送信完了通知受信信号を受けると、通信再開指示部203に通信再開信号を出力する(ステップS22)。
The soft
通信再開指示部203は、ソフトエラー修復部204から通信再開信号を受ける。通信再開指示部203は、通信再開信号を受けると、第2装置間通信制御カード3に通信再開指示信号を出力する(ステップS23)。
通信システム1は、通信を再開する(ステップS24)。
The communication
Communication system 1 resumes communication (step S24).
以上、本発明の一実施形態による通信システム1について説明した。
通信システム1において、トレースデータ保存部402は、FPGA10aへ入力するトレースデータを保存する。トレースデータ送信部404は、FPGA10aが再コンフィギュレーションした後に、トレースデータのうち、FPGA10aにソフトエラーが発生する直前の1トランザクション分のトレースデータを取得する。トレースデータ送信部404は、取得した1トランザクション分のトレースデータをFPGA10aに出力する。
このように、通信システム1の第1装置間通信制御カード2を構成することで、FPGA10aは、トレースデータ送信部404から送信された、FPGA10aにソフトエラーが発生する直前の1トランザクション分のトレースデータを用いてソフトエラーを解消すればよくなる。
その結果、第1装置間通信制御カード2では、FPGA10aのCRAM101のメモリ容量を増大させずにFPGA10aのソフトエラーを解消することができる。
The communication system 1 according to the embodiment of the present invention has been described above.
In the communication system 1, the trace
By configuring the first device-to-device communication control card 2 of the communication system 1 in this way, the
As a result, in the first inter-device communication control card 2, the soft error of the
本発明の実施形態による最小構成の制御装置100について説明する。
本発明の実施形態による最小構成の制御装置100は、図6に示すように、トレースデータ保存部402、トレースデータ送信部404を備える。
トレースデータ保存部402は、FPGAへ入力するトレースデータを保存する。
トレースデータ送信部404は、FPGAが再コンフィギュレーションした後に、前記トレースデータのうち、前記FPGAにソフトエラーが発生する直前の1トランザクション分のトレースデータを取得する。トレースデータ送信部404は、取得した前記1トランザクション分のトレースデータを前記FPGAに出力する。
The
As shown in FIG. 6, the
The trace
After the FPGA is reconfigured, the trace
次に、本発明の実施形態による最小構成の制御装置100の動作について説明する。ここでは、図7に示す処理フローについて説明する。
トレースデータ保存部402は、FPGAへ入力するトレースデータを保存する(ステップS31)。
トレースデータ送信部404は、FPGAが再コンフィギュレーションした後に、トレースデータのうち、FPGAにソフトエラーが発生する直前の1トランザクション分のトレースデータを取得する(ステップS32)。トレースデータ送信部404は、取得した1トランザクション分のトレースデータをFPGAに出力する(ステップS33)。
Next, the operation of the
The trace
After the FPGA is reconfigured, the trace
以上、本発明の最小構成の制御装置100について説明した。
このように、制御装置100を構成することで、FPGAは、再コンフィギュレーションした後に、制御装置100から1トランザクション分のトレースデータを取得し、取得したトレースデータでソフトエラーを解消すればよい。その結果、FPGAのメモリ容量を増大させずにソフトエラーを解消することができる。
The
By configuring the
なお、本発明の実施形態における処理は、適切な処理が行われる範囲において、処理の順番が入れ替わってもよい。 In the processing according to the embodiment of the present invention, the order of the processing may be changed as long as the appropriate processing is performed.
本発明の実施形態におけるCPROM30a、30b、CRAM101、トレースデータラッチ部401、トレースデータ保存部402、その他の記憶装置(レジスタ、ラッチを含む)のそれぞれは、適切な情報の送受信が行われる範囲においてどこに備えられていてもよい。また、本発明の実施形態におけるCPROM30a、30b、CRAM101、トレースデータラッチ部401、トレースデータ保存部402、その他の記憶装置のそれぞれは、適切な情報の送受信が行われる範囲において複数存在しデータを分散して記憶していてもよい。
Where each of the
本発明の実施形態について説明したが、上述の通信システム1、FPGA10a、10b、リトライ制御部20a、20b、CPROM30a、30b、トレースデータ制御部40a、40b、その他の制御装置は内部に、コンピュータシステムを有していてもよい。そして、上述した処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。コンピュータの具体例を以下に示す。
Although the embodiment of the present invention has been described, the above-mentioned communication system 1,
図8は、少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。
コンピュータ5は、図8に示すように、CPU6、メインメモリ7、ストレージ8、インターフェース9を備える。
例えば、上述の通信システム1、FPGA10a、10b、リトライ制御部20a、20b、CPROM30a、30b、トレースデータ制御部40a、40b、その他の制御装置のそれぞれは、コンピュータ5に実装される。そして、上述した各処理部の動作は、プログラムの形式でストレージ8に記憶されている。CPU6は、プログラムをストレージ8から読み出してメインメモリ7に展開し、当該プログラムに従って上記処理を実行する。また、CPU6は、プログラムに従って、上述した各記憶部に対応する記憶領域をメインメモリ7に確保する。
FIG. 8 is a schematic block diagram showing a configuration of a computer according to at least one embodiment.
As shown in FIG. 8, the
For example, the communication system 1,
ストレージ8の例としては、HDD(Hard Disk Drive)、SSD(Solid State Drive)、磁気ディスク、光磁気ディスク、CD−ROM(Compact Disc Read Only Memory)、DVD−ROM(Digital Versatile Disc Read Only Memory)、半導体メモリ等が挙げられる。ストレージ8は、コンピュータ5のバスに直接接続された内部メディアであってもよいし、インターフェース9または通信回線を介してコンピュータ5に接続される外部メディアであってもよい。また、このプログラムが通信回線によってコンピュータ5に配信される場合、配信を受けたコンピュータ5が当該プログラムをメインメモリ7に展開し、上記処理を実行してもよい。少なくとも1つの実施形態において、ストレージ8は、一時的でない有形の記憶媒体である。
Examples of the
また、上記プログラムは、前述した機能の一部を実現してもよい。さらに、上記プログラムは、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるファイル、いわゆる差分ファイル(差分プログラム)であってもよい。 Further, the above program may realize a part of the above-mentioned functions. Further, the program may be a file that can realize the above-mentioned functions in combination with a program already recorded in the computer system, that is, a so-called difference file (difference program).
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例であり、発明の範囲を限定しない。これらの実施形態は、発明の要旨を逸脱しない範囲で、種々の追加、省略、置き換え、変更を行ってよい。 Although some embodiments of the present invention have been described, these embodiments are examples and do not limit the scope of the invention. Various additions, omissions, replacements, and changes may be made to these embodiments without departing from the gist of the invention.
1・・・通信システム
2・・・第1装置間通信制御カード
3・・・第2装置間通信制御カード
5・・・コンピュータ
6・・・CPU
7・・・メインメモリ
8・・・ストレージ
9・・・インターフェース
10a、10b・・・FPGA
20a、20b・・・リトライ制御部
30a、30b・・・CPROM
40a、40b・・・トレースデータ制御部
50a、50b・・・データ転送部
100・・・制御装置
101・・・CRAM
102・・・ソフトエラー検知部
103・・・コンフィギュレーション制御部
201・・・ソフトエラー発生通知受信部
202・・・通信中断指示部
203・・・通信再開指示部
204・・・ソフトエラー修復部
205・・・再コンフィギュレーション指示部
206・・・再コンフィギュレーション完了通知受信部
207・・・トレースデータ送信完了通知受信部
208・・・トレースデータ送信開始指示部
401・・・トレースデータラッチ部
402・・・トレースデータ保存部
403・・・トレースデータ送信開始通知受信部
404・・・トレースデータ送信部
405・・・トレースデータ送信完了通知部
1011・・・ユーザロジック
10111・・・ソフトエラー通知部
L1,L2、L3、L4、L5、L6、L7、L8、L9、L10、L11、L12、L13、L14、L15、L16・・・配線
1 ... Communication system 2 ... First device-to-device communication control card 3 ... Second device-to-device
7 ...
20a, 20b ... Retry
40a, 40b ... Trace
102 ... Soft
Claims (6)
前記FPGAが再コンフィギュレーションした後に、前記トレースデータのうち、前記FPGAにソフトエラーが発生する直前の1トランザクション分のトレースデータを取得し、取得した前記1トランザクション分のトレースデータを前記FPGAに出力するトレースデータ送信部と、
を備える制御装置。 A trace data storage unit that stores trace data to be input to the FPGA,
After the FPGA is reconfigured, among the trace data, the trace data for one transaction immediately before the soft error occurs in the FPGA is acquired, and the acquired trace data for one transaction is output to the FPGA. Trace data transmitter and
A control device comprising.
を備え、
前記トレースデータ送信部は、
前記ソフトエラー検知部がソフトエラーを検知した場合に、当該ソフトエラーが発生する直前の1トランザクション分のトレースデータを取得し、取得した前記1トランザクション分のトレースデータを前記FPGAに出力する、
請求項1に記載の制御装置。 A soft error detector that detects the soft error,
With
The trace data transmission unit
When the soft error detection unit detects a soft error, the trace data for one transaction immediately before the soft error occurs is acquired, and the acquired trace data for one transaction is output to the FPGA.
The control device according to claim 1.
を備える請求項1または請求項2に記載の制御装置。 The control unit that controls the FPGA and the trace data transmission unit, and outputs the trace data to the FPGA after causing the FPGA to perform reconfiguration using circuit data. Control unit,
The control device according to claim 1 or 2.
FPGAと、
を備える制御システム。 The control device according to any one of claims 1 to 3,
FPGA and
Control system with.
前記FPGAが再コンフィギュレーションした後に、前記トレースデータのうち、前記FPGAにソフトエラーが発生する直前の1トランザクション分のトレースデータを取得することと、
取得した前記1トランザクション分のトレースデータを前記FPGAに出力することと、
を含む制御方法。 Saving the trace data to be input to FPGA and
After the FPGA is reconfigured, among the trace data, the trace data for one transaction immediately before the soft error occurs in the FPGA is acquired.
To output the acquired trace data for one transaction to the FPGA,
Control method including.
FPGAへ入力するトレースデータを保存することと、
前記FPGAが再コンフィギュレーションした後に、前記トレースデータのうち、前記FPGAにソフトエラーが発生する直前の1トランザクション分のトレースデータを取得することと、
取得した前記1トランザクション分のトレースデータを前記FPGAに出力することと、
を実行させるプログラム。 On the computer
Saving the trace data to be input to FPGA and
After the FPGA is reconfigured, among the trace data, the trace data for one transaction immediately before the soft error occurs in the FPGA is acquired.
To output the acquired trace data for one transaction to the FPGA,
A program that executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019047415A JP6966092B2 (en) | 2019-03-14 | 2019-03-14 | Control devices, control systems, control methods and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019047415A JP6966092B2 (en) | 2019-03-14 | 2019-03-14 | Control devices, control systems, control methods and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020149467A true JP2020149467A (en) | 2020-09-17 |
JP6966092B2 JP6966092B2 (en) | 2021-11-10 |
Family
ID=72429705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019047415A Active JP6966092B2 (en) | 2019-03-14 | 2019-03-14 | Control devices, control systems, control methods and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6966092B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0981405A (en) * | 1995-09-11 | 1997-03-28 | Hitachi Ltd | Retry processor of computer system |
WO2016075800A1 (en) * | 2014-11-14 | 2016-05-19 | 株式会社日立製作所 | Programmable circuit |
-
2019
- 2019-03-14 JP JP2019047415A patent/JP6966092B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0981405A (en) * | 1995-09-11 | 1997-03-28 | Hitachi Ltd | Retry processor of computer system |
WO2016075800A1 (en) * | 2014-11-14 | 2016-05-19 | 株式会社日立製作所 | Programmable circuit |
Also Published As
Publication number | Publication date |
---|---|
JP6966092B2 (en) | 2021-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3206208B1 (en) | System and method for memory initialization of an integrated circuit | |
CN103279406B (en) | A kind of partition method of internal memory and device | |
JP6290934B2 (en) | Programmable device, error holding system, and electronic system apparatus | |
US3898443A (en) | Memory fault correction system | |
US9170911B1 (en) | Protocol error monitoring on an interface between hard logic and soft logic | |
US9037948B2 (en) | Error correction for memory systems | |
JP6966092B2 (en) | Control devices, control systems, control methods and programs | |
US9117047B2 (en) | Diagnosis device, control method of diagnosis device, and recording medium | |
JP2013257640A (en) | Configuration controller, configuration control method and configuration control program | |
JP2018022277A (en) | Programmable logic device, information processing device, soft error recording method, and soft error recording program | |
JP2013238926A (en) | Signal processing circuit and test apparatus using the same | |
JP6819306B2 (en) | Detour wiring check program, detour wiring check method, and information processing device | |
CN103984614A (en) | Monitoring method, monitoring device and electronic device | |
US20190295678A1 (en) | Semiconductor integrated circuit | |
JP2022142201A (en) | Information processing apparatus, information processing system, information processing method, and program | |
US9542266B2 (en) | Semiconductor integrated circuit and method of processing in semiconductor integrated circuit | |
JP6892163B1 (en) | Control devices, systems, control methods and programs | |
CN114780283B (en) | Fault processing method and device | |
JP7485877B2 (en) | Information processing system, processing method, and program | |
US11532374B2 (en) | Memory testing | |
US10706949B2 (en) | Multi-port register file device and method of operation in normal mode and test mode | |
JP2023134187A (en) | Information processing device, information processing system, information processing method, and program | |
JP2015201813A (en) | Field programmable gate array | |
JP5985121B1 (en) | Program execution device, program execution system, and program execution method | |
JP2013143733A (en) | Programmable apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200707 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210614 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210706 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210906 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210921 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211014 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6966092 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |