JP4156626B2 - Field programmable gate array rewriting system - Google Patents
Field programmable gate array rewriting system Download PDFInfo
- Publication number
- JP4156626B2 JP4156626B2 JP2005509315A JP2005509315A JP4156626B2 JP 4156626 B2 JP4156626 B2 JP 4156626B2 JP 2005509315 A JP2005509315 A JP 2005509315A JP 2005509315 A JP2005509315 A JP 2005509315A JP 4156626 B2 JP4156626 B2 JP 4156626B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- address
- circuit determination
- information
- determination information
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/02—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components
- H03K19/173—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using elementary logic circuits as components
- H03K19/177—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using elementary logic circuits as components arranged in matrix form
- H03K19/17748—Structural details of configuration resources
Landscapes
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Logic Circuits (AREA)
- Stored Programmes (AREA)
Description
本発明は、フィールドプログラマブルゲートアレイの書き換えシステム、アドレス管理装置及びフィールドプログラマブルゲートアレイの書き換え方法に関する。 The present invention relates to a field programmable gate array rewriting system, an address management device, and a field programmable gate array rewriting method.
フィールドプログラマブルゲートアレイ(以下、単にFPGAともいう。)において、動作継続状態で回路決定用RAMの未使用の領域(未使用回路部分)に対して回路追加(機能追加)等の書き換えを行う技術として以下の方式の技術が考えられる。
まず、回路決定用RAMにアドレスデコーダを追加する。
そして、FPGAの動作継続状態においてFPGA内へ回路決定用アドレスと回路決定用データを入力させる。
そして、アドレスデコーダが回路決定用アドレスにしたがって、回路決定用データを回路決定用RAMに格納させる。
First, an address decoder is added to the circuit determination RAM.
Then, the circuit determination address and the circuit determination data are input into the FPGA in the operation continuation state of the FPGA.
Then, the address decoder stores the circuit determination data in the circuit determination RAM according to the circuit determination address.
上記技術では、例えば動作継続状態においてFPGA内の回路を書き換えるために、例えば本発明の説明に用いる図10の書き込み順序1〜9の通りに、ユーザが、手動あるいは手動と同等の方法で個々の回路決定用データ毎に回路決定用アドレスを決定する。
そして、ユーザは、個々の回路決定用データ毎に、回路決定用アドレスと共に回路決定用データをFPGA内の回路決定用RAMへ送信する。
つまり、上記技術では、ユーザが回路決定用アドレスを手動あるいは手動と同等の方法で管理することによりFPGAの回路の書き換えを行うのみであった。
このように、上記技術では、動作継続状態で書き換え可能なFPGAに対して機能追加や不具合修正等のための回路の書き換えを行うにあたって、そのFPGAへの回路決定用データの回路決定用RAMへの書き込みを、ユーザが個々の回路決定用データ毎に回路決定用アドレスを決定して行っていた。
そのため、上記技術のFPGAは、使いづらいものであった。
本発明は、フィールドプログラマブルゲートアレイの回路を書き換える場合に、ユーザから回路決定用情報格納手段の未使用領域の回路決定用アドレスが与えられなくても、回路決定用情報を回路決定用情報格納手段の未使用領域に格納することが可能なフィールドプログラマブルゲートアレイの書き換えシステム、アドレス管理装置及びフィールドプログラマブルゲートアレイの書き換え方法を提供することを目的とする。In the above technique, for example, in order to rewrite the circuit in the FPGA in the operation continuation state, the user can manually or individually perform the same as the
Then, the user transmits the circuit determination data together with the circuit determination address to the circuit determination RAM in the FPGA for each circuit determination data.
That is, in the above technique, the user only rewrites the circuit of the FPGA by managing the circuit determination address manually or by a method equivalent to manual.
As described above, in the above technique, when rewriting a circuit for adding a function, correcting a defect, or the like for an FPGA that is rewritable in an operation continuation state, circuit determination data to the circuit determination RAM is transferred to the FPGA. Writing is performed by the user determining a circuit determination address for each circuit determination data.
Therefore, the FPGA of the above technique is difficult to use.
According to the present invention, when a circuit of a field programmable gate array is rewritten, the circuit determination information is stored in the circuit determination information storage means even if the circuit determination address in the unused area of the circuit determination information storage means is not given by the user. An object of the present invention is to provide a field programmable gate array rewrite system, an address management device, and a field programmable gate array rewrite method that can be stored in an unused area.
本発明のフィールドプログラマブルゲートアレイの書き換えシステムは、
生成する回路の情報である回路決定用情報を格納する回路決定用情報格納手段における、前記回路決定用情報の格納領域を示す回路決定用アドレスにしたがって、前記回路決定用情報を前記回路決定用情報格納手段に格納するための格納先決定手段を備えたフィールドプログラマブルゲートアレイと、
前記回路決定用情報を格納する格納手段と、
前記回路決定用情報格納手段において使用されていないアドレスの情報を格納するアドレス格納手段と、
前記アドレス格納手段に格納されている前記使用されていないアドレスの情報を前記格納手段に格納されている回路決定用情報に前記回路決定用アドレスとして付加して、該回路決定用情報及び前記回路決定用アドレスを出力する付加手段とを有するアドレス管理手段とを備える。
また、本発明のフィールドプログラマブルゲートアレイの書き換えシステムは、
前記アドレス管理手段が、
前記回路決定用情報及び前記回路決定用アドレスが前記付加手段から出力されるタイミングを制御する制御手段を備える。
また、本発明のフィールドプログラマブルゲートアレイの書き換えシステムは、
前記フィールドプログラマブルゲートアレイの動作が継続している状態において前記回路決定用情報格納手段に前記回路決定用情報が格納される。
また、本発明のフィールドプログラマブルゲートアレイの書き換えシステムは、
前記回路決定用情報は、
前記フィールドプログラマブルゲートアレイの不具合を救済するための切り換え回路及び修正回路を追加するための情報を含む。
また、本発明のフィールドプログラマブルゲートアレイの書き換えシステムは、
前記アドレス管理手段が、
前記付加手段から出力された回路決定用情報と回路決定用アドレスとを入力し、
該回路決定用情報と回路決定用アドレスとをパラレルで前記フィールドプログラマブルゲートアレイに出力する書き込み手段を備える。
また、本発明のフィールドプログラマブルゲートアレイの書き換えシステムは、
前記アドレス管理手段が、
前記付加手段から出力された回路決定用情報と回路決定用アドレスとを入力し、
該回路決定用情報と回路決定用アドレスとをマルチプレクスしてシリアルで前記フィールドプログラマブルゲートアレイに出力する書き込み手段を備える。
また、本発明のフィールドプログラマブルゲートアレイの書き換えシステムは、
前記アドレス格納手段が、
前記付加手段により回路決定用情報に付加された回路決定用アドレスの情報を、使用されているアドレスの情報として格納する。
また、本発明のアドレス管理装置は、
生成する回路の情報である回路決定用情報を格納する回路決定用情報格納手段における、前記回路決定用情報の格納領域を示す回路決定用アドレスにしたがって、前記回路決定用情報を前記回路決定用情報格納手段に格納するための格納先決定手段を備えたフィールドプログラマブルゲートアレイに接続されるアドレス管理装置であって、
前記回路決定用情報を格納する格納手段と、
前記回路決定用情報格納手段において使用されていないアドレスの情報を格納するアドレス格納手段と、
前記アドレス格納手段に格納されている前記使用されていないアドレスの情報を前記格納手段に格納されている回路決定用情報に前記回路決定用アドレスとして付加して、該回路決定用情報及び前記回路決定用アドレスを出力する付加手段とを備える。
また、本発明のアドレス管理装置は、
前記回路決定用情報及び前記回路決定用アドレスが前記付加手段から出力されるタイミングを制御する制御手段を備える。
また、本発明のアドレス管理装置は、
前記回路決定用情報は、
前記フィールドプログラマブルゲートアレイの不具合を救済するための切り換え回路及び修正回路を追加するための情報を含む。
また、本発明のアドレス管理装置は、
前記付加手段から出力された回路決定用情報と回路決定用アドレスとを入力し、
該回路決定用情報と回路決定用アドレスとをパラレルで前記フィールドプログラマブルゲートアレイに出力する書き込み手段を備える。
また、本発明のアドレス管理装置は、
前記付加手段から出力された回路決定用情報と回路決定用アドレスとを入力し、
該回路決定用情報と回路決定用アドレスとをマルチプレクスしてシリアルで前記フィールドプログラマブルゲートアレイに出力する書き込み手段を備える。
また、本発明のアドレス管理装置は、
前記アドレス格納手段が、
前記付加手段により回路決定用情報に付加された回路決定用アドレスの情報を、使用されているアドレスの情報として格納する。
また、本発明のフィールドプログラマブルゲートアレイの書き換え方法は、
フィールドプログラマブルゲートアレイに生成される回路を決定する回路決定用情報を格納手段に格納する格納ステップと、
前記フィールドプログラマブルゲートアレイの回路決定用情報格納手段において使用されていないアドレスの情報をアドレス格納手段に格納するアドレス格納ステップと、
前記アドレス格納手段に格納されている前記使用されていないアドレスの情報を前記格納手段に格納されている回路決定用情報に前記回路決定用アドレスとして付加して、該回路決定用情報及び前記回路決定用アドレスを出力する付加ステップと、
前記回路決定用情報の格納領域を示す回路決定用アドレスにしたがって、前記回路決定用情報を前記回路決定用情報格納手段に格納する回路決定用情報格納ステップとを備える。
また、本発明のフィールドプログラマブルゲートアレイの書き換え方法は、
前記回路決定用情報及び前記回路決定用アドレスが前記付加ステップから出力されるタイミングを制御する制御ステップを備える。
また、本発明のフィールドプログラマブルゲートアレイの書き換え方法は、
前記フィールドプログラマブルゲートアレイの動作が継続している状態において前記回路決定用情報格納手段に前記回路決定用情報が格納される。
また、本発明のフィールドプログラマブルゲートアレイの書き換え方法は、
前記回路決定用情報は、
前記フィールドプログラマブルゲートアレイの不具合を救済するための切り換え回路及び修正回路を追加するための情報を含む。
また、本発明のフィールドプログラマブルゲートアレイの書き換え方法は、
前記付加ステップにおいて出力された回路決定用情報と回路決定用アドレスとをパラレルにして前記フィールドプログラマブルゲートアレイに出力する書き込みステップを備える。
また、本発明のフィールドプログラマブルゲートアレイの書き換え方法は、
前記付加ステップにおいて出力された回路決定用情報と回路決定用アドレスとをマルチプレクスしてシリアルで前記フィールドプログラマブルゲートアレイに出力する書き込みステップを備える。
また、本発明のフィールドプログラマブルゲートアレイの書き換え方法は、
前記付加ステップにおいて回路決定用情報に付加された回路決定用アドレスの情報を、使用されているアドレスの情報として前記アドレス格納手段に格納する使用アドレス格納ステップを備える。
本発明は、例えば動作継続状態で書き換え可能なFPGAに対して回路決定用データ等の回路決定用情報に回路決定用アドレスを付加して出力するアドレス管理手段を有する。
ここで、回路決定用情報とは、FPGAに生成される回路を決定するための情報である。この回路決定用情報は、ユーザにより作成されてアドレス管理手段に入力される。この回路決定用情報は、例えばFPGAに生成される回路の論理式を示す情報である。
FPGAの回路生成部は、例えばS−RAMとフリップフロップ(以下、単にFFともいう。)とを有し、S−RAMとフリップフロップとにより、回路決定用情報に対応した回路が形成される。
すなわち、S−RAMにより所定の入力に対応した出力を示すルックアップテーブルを作成し、さらにFFで所定の遅延を与えることにより回路決定用情報に対応した回路を形成する。
また、回路決定用アドレスとは、回路決定用情報格納手段において回路決定用情報を格納する領域を示すアドレスである。
そして、本発明は、アドレス管理手段が備えるアドレス格納手段が、FPGA内の回路決定用RAM等の回路決定用情報格納手段における未使用領域のアドレスの情報を格納する。
そして、付加手段が、回路決定用情報格納手段に書き込む回路決定用情報に回路決定用アドレスを付加してFPGAに出力する。
そのため、本発明では、ユーザが、FPGAに対して新規回路の追加や新規回路の修正等の回路の書き換えを行う場合、ユーザは回路決定用情報毎に回路決定用アドレスを決定する必要がなくなる。
すなわち、本発明では、FPGAの回路の書き換えにおいて、ユーザが回路決定用情報格納手段の未使用領域のアドレスを決定することなく、回路決定用情報格納手段の未使用領域に回路決定用情報を格納することができる。
つまり、ユーザは、FPGAに対する新規回路の追加や新規回路の修正等の回路の書き換えを行う場合、FPGAの回路変更のための回路決定用情報毎に回路決定用情報格納手段の未使用領域のアドレスを決定する必要がない。
また、本発明は、FPGAの回路の書き換えための複数の回路決定用情報をまとめてアドレス管理手段に入力することが可能である。
そのため、本発明は、ユーザがFPGAの回路変更のための回路決定用情報をアドレス管理手段へ入力した後は、ユーザが関与することなく、FPGAの回路の書き換えを、一連の動作として自動化して行えるようになる。
また、本発明では、アドレス管理手段が回路決定用情報格納手段の未使用のアドレスを管理するため、FPGAの動作継続状態において回路決定用情報格納手段の未使用領域に追加回路を生成し、回路の書き換えを行うことが可能となる。
したがって、本発明では、FPGAの回路を書き換える場合、FPGAが動作を継続していたとしてもその動作のために使用している回路を上書きして書き換えないため、FPGAの動作継続状態を維持しつつ回路の書き換えを行うことができるようになる。
例えば、本発明では、FPGAの動作継続状態において、不具合回路に対する置き換え回路と切り換え回路とを生成し不具合回路を救済することが可能となる。
このように、本発明では、例えばシステムダウンが認められない交換装置等において運用を継続したまま機能追加、不具合修正等のFPGAの回路の書き換えを行うことが可能となる。
さらに、従来の技術では、動作継続状態で書き換え可能なFPGAに対して回路決定用アドレスと回路決定用情報との回路決定用情報格納手段への与え方、すなわち回路決定用アドレスと回路決定用情報との回路決定用情報格納手段への書き込み方が未定義であった。
すなわち、従来の技術は、回路決定用アドレス及び回路決定用情報と回路決定用情報格納手段との間のインタフェース仕様が未定義であった。
一方、本発明のように、アドレス管理手段が、回路決定用アドレスを回路決定用情報に付加して出力する場合、回路決定用アドレスと回路決定用情報との回路決定用情報格納手段への書き込み方を定義することができるようにFPGAの周辺環境を整えることが必要とされる。
そして、本発明では、回路決定用アドレスと回路決定用情報の書き込み方法を定義しているため、アドレスデコーダなどの格納先決定手段が、どの回路決定用アドレスにどの回路決定用情報を格納すればよいかを決定することができる。
そのため、本発明では、ユーザが回路決定用アドレスと回路決定用情報をアドレス管理手段に入力した後は、ユーザが動作を管理しなくても、自動的に、アドレスデコーダ等の格納先決定手段を有するFPGAの回路の書き換えを行うことができる。
また、アドレス管理手段が、付加手段の回路決定用アドレス及び回路決定用情報の出力タイミングを制御する制御手段を備えることから、ユーザは、書き換える回路の回路決定用情報のアドレス管理手段への入力タイミングを決定する必要がなくなる。
なお、フィールドプログラマブルゲートアレイの回路を書き換えるとは、フィールドプログラマブルゲートアレイに新規回路を追加する場合、フィールドプログラマブルゲートアレイに既に形成されている回路を修正する場合、フィールドプログラマブルゲートアレイに既に形成されている回路を削除する場合、各回路を接続する配線を生成する場合のいずれか又はこれらの任意の組み合わせを含む。
また、フィールドプログラマブルゲートアレイの不具合には、フィールドプログラマブルゲートアレイの故障や動作遅延などの正常な動作以外の動作を含むことができる。
また、付加手段が、回路決定用情報に回路決定用アドレスを付加して出力するとは、回路決定用情報と、この回路決定用情報の回路決定用アドレスとを対応づけて出力することをいう。The field programmable gate array rewriting system according to the present invention includes:
The circuit determination information is stored in the circuit determination information storage means for storing circuit determination information, which is information on the circuit to be generated, in accordance with a circuit determination address indicating a storage area of the circuit determination information. A field programmable gate array provided with storage destination determining means for storing in the storage means;
Storage means for storing the circuit determination information;
Address storage means for storing information of addresses not used in the circuit determination information storage means;
The information on the unused address stored in the address storage means is added to the circuit determination information stored in the storage means as the circuit determination address, and the circuit determination information and the circuit determination are added. And an address management means having an adding means for outputting a service address.
In addition, the field programmable gate array rewriting system of the present invention includes:
The address management means
Control means for controlling the timing at which the circuit determining information and the circuit determining address are output from the adding means.
In addition, the field programmable gate array rewriting system of the present invention includes:
The circuit determination information is stored in the circuit determination information storage means in a state where the operation of the field programmable gate array is continued.
In addition, the field programmable gate array rewriting system of the present invention includes:
The circuit determination information is
It includes information for adding a switching circuit and a correction circuit for remedying a defect of the field programmable gate array.
In addition, the field programmable gate array rewriting system of the present invention includes:
The address management means
Input circuit determination information and circuit determination address output from the adding means,
Writing means for outputting the circuit determination information and the circuit determination address to the field programmable gate array in parallel.
In addition, the field programmable gate array rewriting system of the present invention includes:
The address management means
Input circuit determination information and circuit determination address output from the adding means,
Write means for multiplexing the circuit determination information and the circuit determination address and serially outputting the information to the field programmable gate array.
In addition, the field programmable gate array rewriting system of the present invention includes:
The address storage means
The circuit determination address information added to the circuit determination information by the adding means is stored as the used address information.
The address management device of the present invention is
The circuit determination information is stored in the circuit determination information storage means for storing circuit determination information, which is information on the circuit to be generated, in accordance with a circuit determination address indicating a storage area of the circuit determination information. An address management device connected to a field programmable gate array provided with a storage destination determination means for storing in a storage means,
Storage means for storing the circuit determination information;
Address storage means for storing information of addresses not used in the circuit determination information storage means;
The information on the unused address stored in the address storage means is added to the circuit determination information stored in the storage means as the circuit determination address, and the circuit determination information and the circuit determination are added. And an adding means for outputting a business address.
The address management device of the present invention is
Control means for controlling the timing at which the circuit determining information and the circuit determining address are output from the adding means.
The address management device of the present invention is
The circuit determination information is
It includes information for adding a switching circuit and a correction circuit for remedying a defect of the field programmable gate array.
The address management device of the present invention is
Input circuit determination information and circuit determination address output from the adding means,
Writing means for outputting the circuit determination information and the circuit determination address to the field programmable gate array in parallel.
The address management device of the present invention is
Input circuit determination information and circuit determination address output from the adding means,
Write means for multiplexing the circuit determination information and the circuit determination address and serially outputting the information to the field programmable gate array.
The address management device of the present invention is
The address storage means
The circuit determination address information added to the circuit determination information by the adding means is stored as the used address information.
The rewrite method of the field programmable gate array of the present invention is as follows.
A storage step of storing circuit determination information for determining a circuit generated in the field programmable gate array in the storage means;
An address storage step of storing information on addresses not used in the circuit storage information storage means of the field programmable gate array in the address storage means;
The information on the unused address stored in the address storage means is added to the circuit determination information stored in the storage means as the circuit determination address, and the circuit determination information and the circuit determination are added. An additional step of outputting the address for
A circuit determination information storage step of storing the circuit determination information in the circuit determination information storage means in accordance with a circuit determination address indicating a storage area for the circuit determination information.
The rewrite method of the field programmable gate array of the present invention is as follows.
A control step for controlling a timing at which the circuit determination information and the circuit determination address are output from the addition step;
The rewrite method of the field programmable gate array of the present invention is as follows.
The circuit determination information is stored in the circuit determination information storage means in a state where the operation of the field programmable gate array is continued.
The rewrite method of the field programmable gate array of the present invention is as follows.
The circuit determination information is
It includes information for adding a switching circuit and a correction circuit for remedying a defect of the field programmable gate array.
The rewrite method of the field programmable gate array of the present invention is as follows.
A writing step of outputting the circuit determination information and the circuit determination address output in the addition step to the field programmable gate array in parallel;
The rewrite method of the field programmable gate array of the present invention is as follows.
There is a writing step of multiplexing the circuit determination information and the circuit determination address output in the addition step and serially outputting the information to the field programmable gate array.
The rewrite method of the field programmable gate array of the present invention is as follows.
A use address storing step of storing, in the address storing means, the information of the circuit determination address added to the circuit determination information in the adding step as information of a used address;
The present invention includes address management means for adding a circuit determination address to circuit determination information such as circuit determination data and outputting the same for, for example, an FPGA that can be rewritten in an operation continuation state.
Here, the circuit determination information is information for determining a circuit generated in the FPGA. This circuit determination information is created by the user and input to the address management means. This circuit determination information is information indicating a logical expression of a circuit generated in the FPGA, for example.
The circuit generation unit of the FPGA includes, for example, an S-RAM and a flip-flop (hereinafter also simply referred to as FF), and a circuit corresponding to the circuit determination information is formed by the S-RAM and the flip-flop.
That is, a look-up table showing an output corresponding to a predetermined input is created by the S-RAM, and a circuit corresponding to the circuit determination information is formed by giving a predetermined delay by the FF.
The circuit determination address is an address indicating an area for storing circuit determination information in the circuit determination information storage means.
In the present invention, the address storage means included in the address management means stores the information on the address of the unused area in the circuit determination information storage means such as the circuit determination RAM in the FPGA.
Then, the adding unit adds the circuit determination address to the circuit determination information to be written in the circuit determination information storage unit, and outputs the circuit determination address to the FPGA.
Therefore, in the present invention, when the user rewrites a circuit such as adding a new circuit or modifying a new circuit to the FPGA, the user does not need to determine a circuit determination address for each circuit determination information.
That is, according to the present invention, when rewriting an FPGA circuit, the user stores the circuit determination information in the unused area of the circuit determination information storage means without determining the address of the unused area of the circuit determination information storage means. can do.
That is, when the user rewrites a circuit such as adding a new circuit to the FPGA or modifying the new circuit, the address of the unused area of the circuit determination information storage means for each circuit determination information for changing the circuit of the FPGA. There is no need to decide.
Further, according to the present invention, a plurality of pieces of circuit determination information for rewriting the FPGA circuit can be collectively input to the address management means.
Therefore, the present invention automates the rewriting of the FPGA circuit as a series of operations without the user's involvement after the user inputs circuit decision information for changing the circuit of the FPGA to the address management means. You can do it.
In the present invention, since the address management unit manages the unused address of the circuit determination information storage unit, an additional circuit is generated in the unused area of the circuit determination information storage unit in the operation continuation state of the FPGA. Can be rewritten.
Therefore, in the present invention, when the FPGA circuit is rewritten, even if the FPGA continues to operate, the circuit used for the operation is not overwritten and rewritten, so that the operation continued state of the FPGA is maintained. The circuit can be rewritten.
For example, according to the present invention, it is possible to relieve a defective circuit by generating a replacement circuit and a switching circuit for the defective circuit in the operation continuation state of the FPGA.
As described above, according to the present invention, for example, it is possible to rewrite the FPGA circuit such as adding a function or correcting a defect while continuing operation in an exchange device in which system down is not permitted.
Further, in the conventional technique, the circuit determination address and the circuit determination information are given to the circuit determination information storage means for the rewritable FPGA in the operation continuation state, that is, the circuit determination address and the circuit determination information. The method of writing to the circuit determination information storage means is undefined.
That is, in the conventional technique, the interface specification between the circuit determination address and the circuit determination information and the circuit determination information storage means is undefined.
On the other hand, when the address management means adds the circuit determination address to the circuit determination information and outputs it as in the present invention, the circuit determination address and the circuit determination information are written to the circuit determination information storage means. It is necessary to arrange the peripheral environment of the FPGA so that the method can be defined.
In the present invention, since the circuit determination address and the circuit determination information writing method are defined, if the storage destination determination means such as an address decoder stores which circuit determination information in which circuit determination address Can decide.
Therefore, in the present invention, after the user inputs the circuit determination address and the circuit determination information to the address management means, the storage destination determination means such as an address decoder is automatically set even if the user does not manage the operation. The FPGA circuit can be rewritten.
In addition, since the address management means includes control means for controlling the output timing of the circuit determination address and circuit determination information of the addition means, the user can input the circuit determination information of the circuit to be rewritten to the address management means. No need to decide.
Rewriting the circuit of the field programmable gate array means that when adding a new circuit to the field programmable gate array, when correcting a circuit already formed in the field programmable gate array, it is already formed in the field programmable gate array. In the case of deleting the existing circuit, any one of the cases of generating a wiring for connecting each circuit or any combination thereof is included.
The malfunction of the field programmable gate array can include operations other than normal operations such as failure of the field programmable gate array and operation delay.
In addition, the adding means adding and outputting the circuit determination address to the circuit determination information means outputting the circuit determination information in association with the circuit determination address of the circuit determination information.
図1は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態の全体概略図であり;
図2は、図1に示されるアドレス管理部の内部ブロック図であり;
図3は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態の書き込みタイミングの一例を示すタイミングチャートであり;
図4は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態における、不具合回路を修正回路に切り換える方法の概略図であり;
図5は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態における、不具合回路を修正回路に切り換える方法の概略図であり;
図6は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態における、不具合回路を修正回路に切り換える方法の概略図であり;
図7は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態における、不具合回路を修正回路に切り換える方法の概略図であり;
図8は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態における、不具合回路を修正回路に切り換える方法の概略図であり;
図9は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態における、不具合回路を修正回路に切り換える方法の概略図であり;
図10は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態における、不具合回路を修正回路に切り換える方法の順序を示す表であり;
図11は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第2の実施形態の全体概略図であり;
図12は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第2の実施形態の書き込みタイミングの一例を示すタイミングチャートである。FIG. 1 is an overall schematic diagram of a first embodiment of a field programmable gate array rewrite system of the present invention;
2 is an internal block diagram of the address management unit shown in FIG. 1;
FIG. 3 is a timing chart showing an example of the write timing of the first embodiment of the field programmable gate array rewrite system of the present invention;
FIG. 4 is a schematic diagram of a method for switching a defective circuit to a correction circuit in the first embodiment of the field programmable gate array rewriting system of the present invention;
FIG. 5 is a schematic diagram of a method for switching a defective circuit to a correction circuit in the first embodiment of the field programmable gate array rewriting system of the present invention;
FIG. 6 is a schematic diagram of a method for switching a defective circuit to a correction circuit in the first embodiment of the field programmable gate array rewriting system of the present invention;
FIG. 7 is a schematic diagram of a method for switching a defective circuit to a correction circuit in the first embodiment of the field programmable gate array rewriting system of the present invention;
FIG. 8 is a schematic diagram of a method for switching a defective circuit to a correction circuit in the first embodiment of the field programmable gate array rewriting system of the present invention;
FIG. 9 is a schematic diagram of a method for switching a defective circuit to a correction circuit in the first embodiment of the field programmable gate array rewriting system of the present invention;
FIG. 10 is a table showing an order of a method of switching a defective circuit to a correction circuit in the first embodiment of the field programmable gate array rewriting system of the present invention;
FIG. 11 is an overall schematic diagram of a second embodiment of the field programmable gate array rewrite system of the present invention;
FIG. 12 is a timing chart showing an example of the write timing of the second embodiment of the field programmable gate array rewrite system of the present invention.
(フィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態)
本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態について説明する。
まず、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態について図1を参照して説明する。図1は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態の全体概略図である。
図1に示されるように、本実施形態のフィールドプログラマブルゲートアレイの書き換えシステムは、アドレス管理部100と、フィールドプログラマブルゲートアレイ101とから構成される。
フィールドプログラマブルゲートアレイ101は、アドレスデコーダ102と、回路決定用RAM103と、接続ネット104と、回路生成部108,109,110,111,112,113,114,115とを備える。なお、本実施形態において、回路生成部の個数は図1に示される個数に限定されるものではなく、その他の個数であっても良い。
回路決定用RAM103は、回路を生成するための回路決定用データ105を格納する。この回路決定用RAM103に格納されている回路決定用データ105は、既に各回路生成部に生成されている回路のデータである。
また、回路決定用RAM103は使用領域106と未使用領域107とを有する。この使用領域106と未使用領域107とにおいて、回路決定用データを格納する領域はアドレスにより指定される。
また、接続ネット104は、図1に示される各回路生成部を接続する配線により形成される。
なお、図1に示される各回路生成部は、それぞれ回路決定用RAM103のアドレスと対応している。また、これら各回路生成部には、回路決定用RAM103に格納された回路決定用データ105に対応した回路が生成される。
例えば、FPGA101の各回路生成部は、論理回路生成用のS−RAMとフリップフロップ(FF)とを備える。また、FPGA101の各回路生成部は、回路生成部を他の回路生成部に切り換えるためのFFも有する。
各回路生成部に、回路決定用RAM103に格納された回路決定用データ105に対応した回路を生成する場合、S−RAMにより所定の入力に対応した出力を示すルックアップテーブルを作成し、さらにFFで所定の遅延を与えることにより回路決定用データに対応した回路を形成する。
S−RAMに形成されるルックアップテーブルは、回路決定用RAM103に格納された回路決定用データにより定まる。
回路生成部108は、例えば切り換え回路として機能させることができる。また、回路生成部109は、例えば修正回路として機能させることができる。切り換え回路とは、不具合が発生した回路がある場合、この不具合が発生した回路を修正回路に切り換えるための回路である。また、修正回路とは、不具合が発生した回路に代えて切り換えられる回路である。
一例として、回路生成部110にバグ(不具合)が発生し、回路生成部110が不具合回路となったとして以下説明する。
図1に示されるように、アドレス管理部100からは、回路決定用アドレス(FPGA ADDRESS)と回路決定用データ(FPGA DATA)とが出力される。
ここで、回路決定用データとは、FPGAの回路生成部に生成される回路を決定するための情報である。すなわち、回路決定用データとは、回路生成部のS−RAMのルックアップテーブルとFFとの組み合わせにより決定される論理回路を決定するための情報である。
この回路決定用データは回路決定用RAM103に格納される。そして、回路決定用RAM103に格納された回路決定用データ105に基づいて回路生成部に回路決定用データに対応した回路が生成される。
また、回路決定用アドレスとは、回路決定用RAM103において回路決定用データ105を格納する領域を示すためのアドレスである。
アドレス管理部100から出力された回路決定用アドレスはアドレスデコーダ102に入力する。
また、アドレス管理部100から出力された回路決定用データは回路決定用RAM103に入力する。
アドレスデコーダ102は、入力した回路決定用アドレスに基づいて、回路決定用データを回路決定用RAM103の回路決定用アドレスに示されるアドレスに格納する。
ここで、本実施形態では、回路決定用データは、FPGA101の動作継続中であるか否かに関わらず、回路決定用RAM103の回路決定用アドレスに示されるアドレスの領域に格納されることができる。
従来のFPGAでは、FPGAの動作継続中に回路決定用データが書き込まれると、FPGAを用いた装置の動作が一時中断する場合があったが、本実施形態では、回路決定用RAM103の未使用領城に回路決定用データを格納するため、FPGAを用いた装置の動作が中断することはない。
そして、回路決定用RAM103に格納された回路決定用データに対応した回路が回路生成部に生成される。
次に、図1に示されるアドレス管理部100について図2を参照してさらに詳細に説明する。図2は、図1に示されるアドレス管理部の内部ブロック図である。
図2に示されるように、アドレス管理部は、FPGAデータインタフェース201と、新規データ格納部202と、前回書き込みアドレス格納部203と、書き込み順序制御部204と、書き込みアドレス付加部205と、FPGA書き込みインタフェース206とを備える。
回路決定用データは、ユーザが行おうとしているFPGAの回路の書き換えの順序にしたがって、FPGAデータインタフェース201に入力される。
FPGAデータインタフェース201は、FPGAへ出力するための回路決定用データを受信し、新規データ格納部202に出力する。
新規データ格納部202は、FPGAデータインタフェース201から出力された回路決定用データを格納する。
書き込み順序制御部204は、書き込みアドレス付加部205に対して、回路決定用アドレスが付加された回路決定用データを出力するタイミングを通知する。
書き込み順序制御部204は、回路決定用アドレスが付加された回路決定用データがFPGAに書き込まれて回路が生成された後、次の回路決定用アドレスが付加された回路決定用データをFPGAに書き込んで回路を生成するタイミングを書き込みアドレス付加部205に通知する。
ここで、書き込み順序制御部204は、書き込みクロックのクロック数をカウントすることにより、書き込みアドレス付加部205に対して、回路決定用アドレスが付加された回路決定用データをFPGA書き込みインタフェース206に出力するタイミングを通知する。
このように、本実施形態では、書き込み順序制御部204が、FPGA101に回路決定用アドレスが付加された回路決定用データを書き込むタイミングを制御するため、ユーザは、回路決定用データをアドレス管理部100に入力するタイミングを決定する必要がなくなる。
前回書き込みアドレス格納部203では、前回の書き換えまでに使用されているFPGA内の回路決定用RAMの使用領域のアドレスの情報と、FPGA内の回路決定用RAMの未使用領域のアドレスの情報とを格納する。
書き込みアドレス付加部205では、前回書き込みアドレス格納部203より回路決定用RAMの未使用領域のアドレスを取得する。この書き込みアドレス付加部205が、前回書き込みアドレス格納部203から取得した回路決定用RAMの未使用領域のアドレスが回路決定用アドレスとなる。
そして、書き込みアドレス付加部205は、新規データ格納部202から取得した回路決定用データと、前回書き込みアドレス格納部203から取得した未使用領域の回路決定用アドレスとを、回路決定用データがFPGAデータインタフェース201に入力された順序、かつ、書き込み順序制御部204から通知されたタイミングにしたがい、FPGA書き込みインタフェース206に出力する。
すなわち、書き込みアドレス付加部205は、新規データ格納部202から取得した回路決定用データに、前回書き込みアドレス格納部203から取得した未使用領域の回路決定用アドレスを付加して出力する。
前回書き込みアドレス格納部203では、次回の書き込みのために、今回使用した回路決定用RAMのアドレスを、FPGA内の回路決定用RAMの使用領域のアドレスとして格納する。
FPGA書き込みインタフェース206では、書き込みアドレス付加部205から出力された順番通りに、回路決定用アドレスと回路決定用データとをFPGA内の回路決定用RAMに出力する。
(アドレス管理部とフィールドプログラマブルゲートアレイとの間のインタフェース)
次に、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態における、アドレス管理部とフィールドプログラマブルゲートアレイとの間のインタフェースについて図1、図2及び図3を参照して説明する。図3は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態の書き込みタイミングの一例を示すタイミングチャートである。
図1に示されるように、アドレス管理部100からは、回路決定用アドレスと回路決定用データとがマルチプレクスされてシリアルで出力される。
なお、回路決定用アドレスと回路決定用データとをマルチプレクスしてシリアルで出力する動作は、図2に示されるFPGA書き込みインタフェース206が行う。
動作継続状態で書き換え可能なFPGAでは、追加回路や修正回路等の回路決定用データを回路決定用RAMに書き込むために、アドレスデコーダが区別できるように、回路決定用アドレスと回路決定用データとをFPGAに与える必要がある。
そこで、本実施形態では、図2及び図3に示されるように、FPGA書き込みインタフェース206は、回路決定用アドレスと回路決定用データ303とを、シリアルでFPGA101に出力する。
FPGA書き込みインタフェース206は、回路決定用アドレスと回路決定用データ303とのFPGA101への書き込みを、全て書き込みクロック302に同期して行う。
また、FPGA書き込みインタフェース206は、FPGA101に対して書き込み開始イネーブル301を入力してから、回路決定用アドレスと回路決定用データ303のFPGAへの出力を行う。
回路決定用アドレスと回路決定用データ303がシリアル入力の場合は、FPGA書き込みインタフェース206は、クロックの立ち上がりで最初の回路決定用アドレスの1bitをFPGA101に出力する。
そして、FPGA書き込みインタフェース206は、最初の回路決定用アドレスの全てのbitのFPGA101への出力が完了していない場合は、次以降のクロックの立ち上がりで最初の回路決定用アドレスの残りのbitを、FPGA101に出力する。
そして、FPGA書き込みインタフェース206は、最初の回路決定用アドレスの全てのbitの出力が完了した後に、その最初の回路決定用アドレスの回路決定用データを同じようにクロックの立ち上がりごとにFPGA101に出力する。
そしてFPGA書き込みインタフェース206は、最終の回路決定用アドレスと回路決定用データを出力し終えたら、書き込みクロック302を止めて、書き込みを終了する。
(修正回路の起動方法について)
次に、本実施形態のフィールドプログラマブルゲートアレイの書き換えシステムにおいて、フィールドプログラマブルゲートアレイに不具合回路が発生し、それを修正回路に置き換える場合の動作について以下、説明する。
動作継続状態で書き換え可能なFPGAの場合、修正回路を起動するためには、不具合回路の動作と修正回路の動作とが一致しているタイミングで、不具合回路を修正回路へと切り換える必要がある。
しかし、不具合回路の動作はその不具合の為、修正回路の動作と一致していないタイミングも存在する。
不具合回路の動作と修正回路の動作とが一致しているタイミングを見つけて切り換える方法について以下、図4から図10を参照して説明する。図4から図9は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態における、不具合回路を修正回路に切り換える方法の概略図であり、図10は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態における、不具合回路を修正回路に切り換える方法の順序を示す表である。
なお、図10において、書き込みAdressの回路生成XXとは、図4から図9における、回路決定用RAM Add XX 領域のことを意味する。
また、図4から図9に示される回路決定用RAM Add XX 領域とは、図1に示される回路決定用RAM103のアドレスXXに対応した回路生成部のことである。
また、以下、図4から図9における、回路決定用RAM Add XX 領域及び図10に示される書き込みAdressの回路生成XXのことを単にアドレスXXともいう。
また、図4から図9に示されるように、各回路決定用RAM Add XX 領域の間には接続ネットが形成されている。
図4及び図5に示されるように、フィールドプログラマブルゲートアレイに不具合継続状態が発生した場合、その不具合の原因となる不具合回路401の最終出力に元々存在するセレクタ402とその制御ゲート403に対し、制御ゲート403の他方入力に対し非活性化したラッチFF501を挿入する。(図10、書き込み順序0,1)。
このラッチFF501は、S−RAMによるルックアップテーブル及び論理回路を形成するFFとは別に、回路の切り換えのために初めから不具合回路401に備えられているFFである。
図10に示されるように、書き込み順序0では、修正前の不具合継続状態となっている。
また、図10に示されるように、書き込み順序1では、追加情報を現状データに上書きして、アドレス2Bに、非活性化したラッチFF501を追加する。
その結果、図6に示されるように、非活性化したラッチFF501が回路決定用RAM103のアドレス2Bに対応した領域内において、制御ゲート403と接続される。
その後、図6に示されるように、FPGAは、入力した回路決定用データに基づいて、修正回路601と、非活性化したラッチFF501の入力に接続する切り換え回路602と、切り換えポイント情報回路603とを生成する。
したがって、この場合、FPGAに入力する回路決定用データには、修正回路601と、非活性化したラッチFF501の入力に接続する切り換え回路602と、切り換えポイント情報回路603とを生成するための情報が含まれる。
すなわち、図10に示されるように、まず、アドレス1Aに切り換えポイント情報回路603を生成する(書き込み順序2)。
この切り換えポイント情報回路603が生成されるアドレス1Aの領域は、未使用であった回路生成部の領域である。
次に、アドレス2Aに、切り換え回路602を生成する(書き込み順序3)。この切り換え回路602が生成されるアドレス2Aの領域は、未使用であった領域である。
次に、アドレス1Aとアドレス2Aとを接続する(書き込み順序4)。このアドレス1Aとアドレス2Aとは、例えば図6に示される接続ネットの未配線領域に配線を形成することにより接続される。
次に、アドレス2Cに、修正回路601を生成する(書き込み順序5)。この修正回路601が生成されるアドレス2Cの領域は、回路生成部の未使用であった領域である。
次に、アドレス1Bとアドレス2Cとを接続する(書き込み順序6)。このアドレス1Bとアドレス2Cとは、例えば図6に示される接続ネットの未配線領域に形成された配線により接続される。
次に、アドレス2Cとアドレス2Bとを接続する(書き込み順序7)。このアドレス2Cとアドレス2Bとは、例えば図6に示される接続ネットの未配線領域に形成された配線により接続される。
そして、図7に示されるように、切り換え回路602は、切り換えポイント情報回路603から切り換えポイント情報を入力する。
この切り換えポイント情報は、FPGAの動作を監視しているユーザにより入力される。
この切り換えポイント情報は、例えばそれぞれ周期的に動作している不具合回路401と修正回路601との動作が一致しているタイミングを示す。
例えば、切り換えポイント情報の一例として、切り換え回路602が一定周期でカウントを行っている場合、そのカウントのいずれの値で不具合回路401と修正回路601との動作が一致するのかを示す情報を挙げることができる。
そして、切り換え回路602は、切り換えポイント情報に示されたタイミングにおいて、一致信号を非活性化したラッチFF501に出力する。
切り換え回路602が、この一致信号を非活性化したラッチFF501に出力することで、不具合回路401と修正回路601との動作が一致しているタイミングにおいて、不具合回路401から修正回路601に動作が切り換わる。
つまり、図10に示されるように、アドレス2Aとアドレス2Bとを接続する(書き込み順序8)。このアドレス2Aとアドレス2Bとは、未配線領域に配線を形成することにより接続される。
そして、図8及び図9に示されるように、制御ゲート403を開放し、図10に示されるように、アドレス2Bにおいて、セレクタ用ANDである制御ゲート403のPullUpを行い(書き込み順序9)、さらにその後、非活性化しているラッチFF501を活性化する。この制御ゲート403のPullUpは、再びデータをアドレス2Bに上書きして行う。
そして、図9に示されるように、切り換え条件が成立した時点で不具合回路401から修正回路601へ動作が切り換わるように、切り換え回路602が一致信号をラッチFF501に出力する(図10,回路修正用書き込み終了)。すなわち、所定の切り換えタイミングにて切り換えが実行される。
これら一連の動作は、FPGA内の回路決定用RAMへ出力される回路決定用データをアドレス順に書き込むことで行わなければ正しく動作が切り換わらない。
そして、アドレス順に回路決定用データを回路決定用RAMに書き込むためには一連の動作を行うツール等の装置又は方法が必要である。
本実施形態では、アドレス管理部100が、修正回路601及び切り換え回路602等の回路を生成するための回路決定用データの回路決定用アドレスを決定する。
そして、本実施形態では、アドレス管理部100が、決定された回路決定用アドレスと共に、修正回路601及び切り換え回路602等の回路を生成するための回路決定用データを、一連の順序に則ったアドレス付きデータとしてFPGA内の回路決定用RAM103に出力する。
このため、本実施形態では、ユーザが、回路決定用RAM103における未使用領域のアドレスを管理しなくても良い。
また、本実施形態では、回路決定用RAM103の未使用領域に追加回路や修正回路等を生成するため、回路の追加又は修正の場合でもFPGAの動作を継続した状態を維持することができる。
そのため、本実施形態は、システム停止が認められない交換装置等において運用を継続したまま機能追加、不具合修正を行う場合に適用して有効である。
また、本実施形態によれば、回路決定用アドレスと回路決定用データとをシリアルで入力させるため、パラレルの場合と比べて、アドレス管理部100とFPGA101との間の信号線を減らすことができ、コスト軽減を図ることができる。
(フィールドプログラマブルゲートアレイの書き換えシステムの第2の実施形態)
次に、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第2の実施形態について図11及び図12を参照して説明する。図11は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第2の実施形態の全体概略図であり、図12は、本発明のフィールドプログラマブルゲートアレイの書き換えシステムの第2の実施形態の書き込みタイミングの一例を示すタイミングチャートである。
本実施形態が前述のフィールドプログラマブルゲートアレイの書き換えシステムの第1の実施形態と異なる点は、アドレス管理部から回路決定用RAMへと出力される回路決定用アドレスと回路決定用データのインタフェースがパラレルツインである点である。本実施形態のその他の構造及び動作については前述の第1の実施形態と同様であるため、以下主として前述の第1の実施形態と異なる点について説明する。
図11に示されるように、本実施形態のフィールドプログラマブルゲートアレイの書き換えシステムは、アドレス管理部1100と、フィールドプログラマブルゲートアレイ1101とから構成される。
フィールドプログラマブルゲートアレイ1101は、アドレスデコーダ1102と、回路決定用RAM1103と、接続ネット1104と、回路生成部1108,1109,1110,1111,1112,1113,1114,1115とを備える。なお、本実施形態において、回路生成部の個数は図11に示される個数に限定されるものではなく、その他の個数であっても良い。
回路決定用RAM1103は、回路決定用データ1105を格納する。
また、回路決定用RAM1103は使用領域1106と未使用領域1107とを有する。
この回路決定用RAM1103の使用領域1106と未使用領域1107とにおいて、回路決定用データを格納する領域はアドレスにより指定される。
また、接続ネット1104は、各回路生成部を互いに接続する配線により形成される。
また、接続ネット1104には、使用領域として、回路生成部1110,1111,1112,1113,1114及び1115が形成されている。
図11に示されるように、アドレス管理部1100からは、回路決定用アドレス(FPGA ADDRESS)と回路決定用データ(FPGA DATA)とがパラレルツインで出力される。
アドレス管理部1100から出力された回路決定用アドレスはアドレスデコーダ1102に入力する。
また、アドレス管理部1100から出力された回路決定用データは回路決定用RAM1103に入力する。
アドレスデコーダ1102は、回路決定用データを、入力した回路決定用アドレスに基づいて回路決定用RAM1103に格納させる。
動作継続状態で書き換え可能なFPGAでは、アドレスデコーダ1102が追加回路や修正回路等を回路決定用RAM1103に書き込むために、回路決定用アドレスと回路決定用データとを区別可能にFPGA1101に与えて書き込んでいく必要がある。
本実施形態は、回路決定用アドレスと回路決定用データとをパラレルツインでフィールドプログラマブルゲートアレイ1101に出力する実施形態である。
ここで、パラレルツインとは、アドレス管理部1100とFPGA1101との間において、回路決定用アドレスの信号線と回路決定用データの信号線の2本の信号線が存在することを意味する。
しかし、本発明はこのような場合に限定するものではなく、必要に応じて、回路決定用アドレスの信号線と回路決定用データの信号線の一方又はそれぞれを2本以上の任意の数にしても良い。すなわち、本発明では、回路決定用アドレスと回路決定用データとをパラレルでフィールドプログラマブルゲートアレイ1101に出力すれば良い。
また、回路決定用アドレスと回路決定用データとをパラレルツインでフィールドプログラマブルゲートアレイに出力するのは、図2に示されるFPGA書き込みインタフェース206により行われる。
図12に示されるように、本実施形態では、FPGA書き込みインタフェース206は、回路決定用アドレス1203と回路決定用データ1204とをFPGA1101に書き込む場合、全て書き込みクロック1202に同期して行う。
FPGA書き込みインタフェース206は、FPGA1100に対して書き込み開始イネーブル1201を入力してから、FPGA1100への回路決定用アドレス1203と回路決定用データ1204との出力を行う。
本実施形態のように、回路決定用アドレスと回路決定用データとがパラレルでFPGA1101に入力する場合は、FPGA書き込みインタフェース206は、最初の書き込みクロック1202の立ち上がりで回路決定用アドレス1203と回路決定用データ1204との1bitをFPGA1101に出力する。
また、FPGA書き込みインタフェース206は、最初の書き込みクロック1202の立ち上がりで回路決定用アドレス1203と回路決定用データ1204との全てのbitをFPGA1101に出力できなかった場合は、次以降のクロックの立ち上がりで、残りの最初の回路決定用アドレス1203と回路決定用データ1204のbitをFPGA1101に出力する。
そして、FPGA書き込みインタフェース206は、最終の回路決定用アドレス1203と回路決定用データ1204をFPGA1101に出力し終えたら、書き込みクロック1201を止めて書き込みを終了する。
なお、例えば本実施形態において、FPGAの不具合回路を修正回路に書き換える動作は、前述の第1の実施形態において図4から図10を参照して説明した場合と同様である。
このように、フィールドプログラマブルゲートアレイの書き換えシステムの第2の実施形態においても、前述の第1の実施形態と同様の効果を得ることができる。
さらに、本実施形態では、アドレス管理部1100から回路決定用RAM1103へと出力される回路決定用アドレスと回路決定用データのインタフェースがパラレルであるため、シリアルである場合と比べて、パラレルのほうがシリアルよりも一度のクロックの立ち上がりで入力できるbit数が多いため書き換えの完了時間が早くなる。(First Embodiment of Field Programmable Gate Array Rewriting System)
A field programmable gate array rewriting system according to a first embodiment of the present invention will be described.
First, a first embodiment of a field programmable gate array rewriting system of the present invention will be described with reference to FIG. FIG. 1 is an overall schematic diagram of a first embodiment of a field programmable gate array rewriting system according to the present invention.
As shown in FIG. 1, the field programmable gate array rewriting system according to the present embodiment includes an
The field
The
The
Further, the
Each circuit generation unit shown in FIG. 1 corresponds to the address of the
For example, each circuit generation unit of the
When a circuit corresponding to the
The look-up table formed in the S-RAM is determined by circuit determination data stored in the
The
As an example, it will be described below that a bug (problem) occurs in the
As shown in FIG. 1, the
Here, the circuit determination data is information for determining a circuit generated in the circuit generation unit of the FPGA. That is, the circuit determination data is information for determining a logic circuit determined by a combination of the S-RAM lookup table of the circuit generation unit and the FF.
This circuit determination data is stored in the
The circuit determination address is an address for indicating an area for storing the
The circuit determination address output from the
Further, the circuit determination data output from the
The
Here, in this embodiment, the circuit determination data can be stored in the address area indicated by the circuit determination address of the
In the conventional FPGA, when circuit determination data is written while the FPGA operation is continued, the operation of the device using the FPGA may be temporarily interrupted. However, in this embodiment, the
Then, a circuit corresponding to the circuit determination data stored in the
Next, the
As shown in FIG. 2, the address management unit includes an
The circuit determination data is input to the FPGA data interface 201 in accordance with the FPGA circuit rewrite order that the user is going to perform.
The
The new
The write
The writing
Here, the write
As described above, in this embodiment, since the write
In the previous write
The write
Then, the write
That is, the write
The previous write
The
(Interface between address manager and field programmable gate array)
Next, an interface between the address management unit and the field programmable gate array in the first embodiment of the field programmable gate array rewriting system of the present invention will be described with reference to FIGS. FIG. 3 is a timing chart showing an example of the write timing of the first embodiment of the field programmable gate array rewrite system of the present invention.
As shown in FIG. 1, from the
Note that the
In an FPGA that can be rewritten in an operation continuation state, in order to write circuit determination data such as an additional circuit and a correction circuit to the circuit determination RAM, the circuit determination address and the circuit determination data are set so that the address decoder can distinguish them. It needs to be given to the FPGA.
Therefore, in this embodiment, as shown in FIGS. 2 and 3, the
The
The
When the circuit determination address and the circuit determination data 303 are serial inputs, the
Then, if the output of all bits of the first circuit determination address to the
Then, after the output of all bits of the first circuit determination address is completed, the
When the
(Regarding how to start the correction circuit)
Next, in the field programmable gate array rewriting system of the present embodiment, an operation when a defective circuit occurs in the field programmable gate array and is replaced with a correction circuit will be described below.
In the case of an FPGA that is rewritable in an operation continuation state, in order to start the correction circuit, it is necessary to switch the defective circuit to the correction circuit at a timing when the operation of the defective circuit matches the operation of the correction circuit.
However, because the operation of the defective circuit is a failure, there is a timing that does not coincide with the operation of the correction circuit.
A method for finding and switching the timing at which the operation of the defective circuit and the operation of the correction circuit coincide will be described below with reference to FIGS. 4 to 9 are schematic diagrams of a method for switching a defective circuit to a correction circuit in the first embodiment of the field programmable gate array rewriting system of the present invention, and FIG. 10 is a diagram of the field programmable gate array of the present invention. 6 is a table showing an order of a method of switching a defective circuit to a correction circuit in the first embodiment of the rewriting system of FIG.
In FIG. 10, the circuit generation XX of the write address means the circuit determination RAM Add XX region in FIGS. 4 to 9.
Further, the circuit determination RAM Add XX region shown in FIGS. 4 to 9 is a circuit generation unit corresponding to the address XX of the
Hereinafter, the circuit determination RAM Add XX area in FIGS. 4 to 9 and the circuit generation XX of the write address shown in FIG. 10 are also simply referred to as an address XX.
Further, as shown in FIGS. 4 to 9, connection nets are formed between the circuit determination RAM Add XX regions.
As shown in FIGS. 4 and 5, when a failure continuation state occurs in the field programmable gate array, the
The
As shown in FIG. 10, in the
Further, as shown in FIG. 10, in the
As a result, as shown in FIG. 6, the deactivated
Thereafter, as shown in FIG. 6, the FPGA, based on the input circuit determination data, the
Therefore, in this case, the circuit determination data input to the FPGA includes information for generating the
That is, as shown in FIG. 10, first, the switching
The area of the address 1A where the switching
Next, the
Next, address 1A and address 2A are connected (write order 4). The address 1A and the address 2A are connected by forming a wiring in an unwired region of the connection net shown in FIG. 6, for example.
Next, the
Next, address 1B and address 2C are connected (write order 6). The address 1B and the address 2C are connected by, for example, wiring formed in the unwired area of the connection net shown in FIG.
Next, address 2C and address 2B are connected (write order 7). The address 2C and the address 2B are connected by wiring formed in an unwired area of the connection net shown in FIG. 6, for example.
Then, as shown in FIG. 7, the
This switching point information is input by a user who is monitoring the operation of the FPGA.
This switching point information indicates, for example, the timing at which the operations of the
For example, as an example of the switching point information, when the
Then, the
The
That is, as shown in FIG. 10, the address 2A and the address 2B are connected (write order 8). The address 2A and the address 2B are connected by forming a wiring in an unwired area.
Then, as shown in FIGS. 8 and 9, the
Then, as shown in FIG. 9, the
These series of operations cannot be switched correctly unless the circuit determination data output to the circuit determination RAM in the FPGA is written in the order of addresses.
In order to write the circuit determination data in the circuit determination RAM in the order of addresses, an apparatus or method such as a tool that performs a series of operations is required.
In the present embodiment, the
In the present embodiment, the
For this reason, in this embodiment, the user does not have to manage addresses of unused areas in the
Further, in this embodiment, an additional circuit, a correction circuit, and the like are generated in an unused area of the
Therefore, the present embodiment is effective when applied to a case where a function is added or a defect is corrected while the operation is continued in an exchange device or the like where a system stop is not permitted.
In addition, according to the present embodiment, since the circuit determination address and the circuit determination data are input serially, the signal lines between the
(Second Embodiment of Field Programmable Gate Array Rewriting System)
Next, a second embodiment of the field programmable gate array rewriting system of the present invention will be described with reference to FIGS. FIG. 11 is an overall schematic diagram of the second embodiment of the field programmable gate array rewrite system of the present invention, and FIG. 12 shows the write timing of the field programmable gate array rewrite system of the second embodiment of the present invention. It is a timing chart which shows an example.
This embodiment is different from the first embodiment of the field programmable gate array rewriting system described above in that the interface for circuit determination data and the circuit determination data output from the address management unit to the circuit determination RAM is parallel. It is a point that is twin. Since the other structure and operation of the present embodiment are the same as those of the first embodiment, differences from the first embodiment will be mainly described below.
As shown in FIG. 11, the field programmable gate array rewriting system of this embodiment includes an
The field
The
The
Of the used
The
In the
As shown in FIG. 11, the
The circuit determination address output from the
The circuit determination data output from the
The
In the rewritable FPGA in the operation continuation state, the
In this embodiment, the circuit determination address and the circuit determination data are output to the field
Here, the parallel twin means that there are two signal lines between the
However, the present invention is not limited to such a case, and if necessary, one or each of the signal lines for circuit determination addresses and the signal lines for circuit determination data is set to an arbitrary number of two or more. Also good. That is, in the present invention, the circuit determination address and the circuit determination data may be output to the field
Output of the circuit determination address and the circuit determination data to the field programmable gate array in parallel twin is performed by the
As shown in FIG. 12, in this embodiment, the
The
When the circuit determination address and the circuit determination data are input to the
In addition, when the
When the
For example, in this embodiment, the operation of rewriting the defective circuit of the FPGA with the correction circuit is the same as that described with reference to FIGS. 4 to 10 in the first embodiment.
As described above, also in the second embodiment of the field programmable gate array rewriting system, the same effect as in the first embodiment can be obtained.
Further, in the present embodiment, the interface of the circuit determination address and the circuit determination data output from the
本発明は、システム停止が認められない交換装置等において運用を継続したままFPGAに対して機能追加、不具合修正等の回路の書き換えを行う場合に有効である。 The present invention is effective when rewriting a circuit such as adding a function or correcting a defect to an FPGA while continuing operation in an exchange device in which a system stoppage is not permitted.
Claims (5)
前記回路決定用情報を格納する格納手段と、
前記回路決定用情報格納手段において使用されていないアドレスの情報を格納するアドレス格納手段と、
前記アドレス格納手段に格納されている前記使用されていないアドレスの情報を前記格納手段に格納されている回路決定用情報に前記回路決定用アドレスとして付加して、該回路決定用情報及び前記回路決定用アドレスを出力する付加手段とを有するアドレス管理手段とを備え、
前記回路決定用情報は、前記フィールドプログラマブルゲートアレイの不具合を救済するための切り換え回路及び修正回路を追加するための情報を含むフィールドプログラマブルゲートアレイの書き換えシステム。The circuit determination information is stored in the circuit determination information storage means for storing circuit determination information, which is information on the circuit to be generated, in accordance with a circuit determination address indicating a storage area of the circuit determination information. A field programmable gate array provided with storage destination determining means for storing in the storage means;
Storage means for storing the circuit determination information;
Address storage means for storing information of addresses not used in the circuit determination information storage means;
The information on the unused address stored in the address storage means is added to the circuit determination information stored in the storage means as the circuit determination address, and the circuit determination information and the circuit determination are added. And an address management means having an additional means for outputting a business address ,
The circuit determining gate array rewriting system, wherein the circuit determination information includes information for adding a switching circuit and a correction circuit for repairing a defect of the field programmable gate array.
前記回路決定用情報及び前記回路決定用アドレスが前記付加手段から出力されるタイミングを制御する制御手段を備える請求項1記載のフィールドプログラマブルゲートアレイの書き換えシステム。The address management means
2. The field programmable gate array rewriting system according to claim 1, further comprising a control unit that controls a timing at which the circuit determination information and the circuit determination address are output from the adding unit.
前記回路決定用情報を格納する格納手段と、
前記回路決定用情報格納手段において使用されていないアドレスの情報を格納するアドレス格納手段と、
前記アドレス格納手段に格納されている前記使用されていないアドレスの情報を前記格納手段に格納されている回路決定用情報に前記回路決定用アドレスとして付加して、該回路決定用情報及び前記回路決定用アドレスを出力する付加手段とを備え、
前記回路決定用情報は、前記フィールドプログラマブルゲートアレイの不具合を救済するための切り換え回路及び修正回路を追加するための情報を含むアドレス管理装置。The circuit determination information is stored in the circuit determination information storage means for storing circuit determination information, which is information on the circuit to be generated, in accordance with a circuit determination address indicating a storage area of the circuit determination information. An address management device connected to a field programmable gate array provided with a storage destination determination means for storing in a storage means,
Storage means for storing the circuit determination information;
Address storage means for storing information of addresses not used in the circuit determination information storage means;
The information on the unused address stored in the address storage means is added to the circuit determination information stored in the storage means as the circuit determination address, and the circuit determination information and the circuit determination are added. And an additional means for outputting a business address ,
The address management device, wherein the circuit determination information includes information for adding a switching circuit and a correction circuit for repairing a defect of the field programmable gate array .
前記フィールドプログラマブルゲートアレイの回路決定用情報格納手段において使用されていないアドレスの情報をアドレス格納手段に格納するアドレス格納ステップと、
前記アドレス格納手段に格納されている前記使用されていないアドレスの情報を前記格納手段に格納されている回路決定用情報に前記回路決定用アドレスとして付加して、該回路決定用情報及び前記回路決定用アドレスを出力する付加ステップと、
前記回路決定用情報の格納領域を示す回路決定用アドレスにしたがって、前記回路決定用情報を前記回路決定用情報格納手段に格納する回路決定用情報格納ステップとを備え、
前記回路決定用情報は、前記フィールドプログラマブルゲートアレイの不具合を救済するための切り換え回路及び修正回路を追加するための情報を含むフィールドプログラマブルゲートアレイの書き換え方法。A storage step of storing circuit determination information for determining a circuit generated in the field programmable gate array in the storage means;
An address storage step of storing information on addresses not used in the circuit storage information storage means of the field programmable gate array in the address storage means;
The information on the unused address stored in the address storage means is added to the circuit determination information stored in the storage means as the circuit determination address, and the circuit determination information and the circuit determination are added. An additional step of outputting the address for
A circuit determination information storage step of storing the circuit determination information in the circuit determination information storage means according to a circuit determination address indicating a storage area of the circuit determination information ;
The method for rewriting a field programmable gate array, wherein the circuit determination information includes information for adding a switching circuit and a correction circuit for remedying a defect of the field programmable gate array.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2003/012725 WO2005034353A1 (en) | 2003-10-03 | 2003-10-03 | Field programmable gate array rewrite system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2005034353A1 JPWO2005034353A1 (en) | 2006-12-14 |
JP4156626B2 true JP4156626B2 (en) | 2008-09-24 |
Family
ID=34401456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005509315A Expired - Fee Related JP4156626B2 (en) | 2003-10-03 | 2003-10-03 | Field programmable gate array rewriting system |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP4156626B2 (en) |
WO (1) | WO2005034353A1 (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6436120A (en) * | 1987-07-30 | 1989-02-07 | Nec Corp | Redundant constitution gate array |
JPH10233677A (en) * | 1996-12-20 | 1998-09-02 | Hitachi Ltd | Semiconductor integrated circuit |
JP3550986B2 (en) * | 1997-12-03 | 2004-08-04 | 日本電信電話株式会社 | Dynamic configuration method of logic circuit |
JP3832557B2 (en) * | 2000-05-02 | 2006-10-11 | 富士ゼロックス株式会社 | Circuit reconfiguration method and information processing system for programmable logic circuit |
JP3707360B2 (en) * | 2000-06-27 | 2005-10-19 | 富士ゼロックス株式会社 | Circuit function reconfiguration method and programmable logic circuit device |
JP3553519B2 (en) * | 2001-04-16 | 2004-08-11 | 三菱電機株式会社 | Programmable logic circuit device |
-
2003
- 2003-10-03 WO PCT/JP2003/012725 patent/WO2005034353A1/en active Application Filing
- 2003-10-03 JP JP2005509315A patent/JP4156626B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
WO2005034353A1 (en) | 2005-04-14 |
JPWO2005034353A1 (en) | 2006-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3892851B2 (en) | Memory card and semiconductor device | |
JP2006048893A (en) | Flash memory device with defective block managing function and defective block managing method of the same | |
JP2014038593A (en) | On-chip nand type flash memory and defective block management method therefor | |
JPH04233825A (en) | Programmable logic device, circuit block used in this device, method for determining whether input to aforesaid device is used in logic function and method for making input buffer of aforesaid device unusable | |
JP2000181805A (en) | Storage device | |
KR950033824A (en) | Method and apparatus for automatically scrubbing ECC errors in memory by hardware | |
JP2009521044A (en) | Memory with linked chain of pointers to find blocks with block erasable memory locations and pointer information | |
JP2000105694A (en) | Flash memory, microcomputer equipped with flash memory, and method for storing program in flash memory | |
JP2008225983A (en) | Parity error restoration circuit | |
TWI501249B (en) | On-chip bad block management for nand flash memory | |
JP2006195565A (en) | Control method for semiconductor storage device, memory card, and host apparatus | |
JP2010092107A (en) | Failure information monitoring device and failure information monitoring method | |
US7680980B2 (en) | Image forming apparatus | |
JP4156626B2 (en) | Field programmable gate array rewriting system | |
JP2006011533A (en) | Memory card, semiconductor device, and control method of semiconductor memory | |
JP2014006772A (en) | Failure monitoring type communication apparatus, failure monitoring recording method for communication apparatus, and program therefor | |
US6671645B2 (en) | Method for in-service RAM testing | |
JPH1144741A (en) | Programmable logic device, its testing method, and test data preparing method | |
KR20110001914A (en) | Method and apparatus for dealing with write errors when writing information data into flash memory devices | |
US20060156297A1 (en) | Method and device for modifying software in a control unit and corresponding control unit | |
JP2008158908A (en) | Memory controller, flash memory system, and control method of flash memory | |
JP2004274141A (en) | Data rewritable logic device during continuing operation | |
JPH10161942A (en) | Method, device for storing information, and information processor | |
US7996598B2 (en) | Memory management module | |
JP3583639B2 (en) | Method of updating data in memory device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080325 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080526 |
|
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: 20080701 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080709 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110718 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110718 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120718 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120718 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130718 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |