JPH07105715B2 - Programmable logic system and programmable logic element therefor - Google Patents

Programmable logic system and programmable logic element therefor

Info

Publication number
JPH07105715B2
JPH07105715B2 JP2328270A JP32827090A JPH07105715B2 JP H07105715 B2 JPH07105715 B2 JP H07105715B2 JP 2328270 A JP2328270 A JP 2328270A JP 32827090 A JP32827090 A JP 32827090A JP H07105715 B2 JPH07105715 B2 JP H07105715B2
Authority
JP
Japan
Prior art keywords
definition
programmable logic
data
logic element
input
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
Application number
JP2328270A
Other languages
Japanese (ja)
Other versions
JPH03224317A (en
Inventor
正人 米田
Original Assignee
川崎製鉄株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 川崎製鉄株式会社 filed Critical 川崎製鉄株式会社
Priority to JP2328270A priority Critical patent/JPH07105715B2/en
Publication of JPH03224317A publication Critical patent/JPH03224317A/en
Publication of JPH07105715B2 publication Critical patent/JPH07105715B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Logic Circuits (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【産業上の利用分野】[Industrial applications]

本発明は、マスター用のプログラマブル論理素子と、そ
の下流側に配設され、データ線を介して前記マスター用
プログラマブル論理素子又は上流側のスレーブ用プログ
ラマブル論理素子より入力される定義用データにより論
理機能が決定されるスレーブ用のプログラマブル論理素
子とを備えたプログラマブル論理システム、及び、これ
に用いられるプログラマブル論理素子(以下、単に論理
素子とも称する)に係り、特に、外部のメモリから、マ
スターモードとされたプログラマ論理素子を介して、ス
レーブモードとされたプログラマブル論理素子に論理機
能定義用のデータを転送供給する際に、マスターモード
の論理素子からスレーブモードの論理素子に供給される
同期用クロックを計数して、データ転送終了時に該同期
用クロックを停止するためのパルスカウンタを設ける必
要がないプログラマブル論理システム、及び、そのため
のプログラマブル論理素子に関するものである。
The present invention relates to a programmable logic element for a master and a logical function based on definition data which is arranged on the downstream side of the master programmable logic element or a slave programmable logic element on the upstream side via a data line. A programmable logic system including a programmable logic element for a slave, and a programmable logic element (hereinafter, simply referred to as a logic element) used for the programmable logic system, in particular, a master mode is set from an external memory. Counts the synchronization clock supplied from the master mode logic element to the slave mode logic element when the logic function definition data is transferred and supplied to the slave mode programmable logic element via the programmer logic element. Stop the synchronization clock at the end of data transfer Because the programmable logic system is not necessary to provide a pulse counter, and to a programmable logic device therefor.

【従来の技術】[Prior art]

例えば外部のROMやEPROM等のメモリから入力される定義
用データにより論理機能が決定されるプログラマブル論
理素子、例えばプログラマブルゲートアレイにおいて
は、使用前に各プログラマブル論理素子に論理機能定義
用データを供給して論理機能を定義する必要がある。 そこで、従来は、例えば第10図に示す如く、複数(図で
はn+1個)のプログラマブル論理素子を直列に接続
し、その最上流側のプログラマブル論理素子をマスター
(MASTER)モードのプログラマブル論理素子(以下、マ
スター用論理素子と称する)10aとして、各プログラマ
ブル論理素子の論理機能定義用データを納めたリードオ
ンリーメモリ(ROM)20を、このマスター用論理素子10a
に接続している。一方、このマスター用論理素子10aに
従属する、該マスター用論理素子10aと同一ハード構成
の、例えばn個のスレーブ(slave)モードのプログラ
マブル論理素子(以下、スレーブ用論理素子と称する)
10bは、前記マスター用論理素子10aと直列に接続されて
いる。 論理機能定義用データをロードする際には、前記マスタ
ー用論理素子10aのアドレスカウンタ11からROM20にアド
レスを出力し、このアドレスに対応して、例えば8ビッ
トの定義用データがROM20から出力される。この定義用
データにより、まずマスター用論理素子10aの回路定義
メモリ12にマスター用データが格納され、次いで、スレ
ーブ用データが、マスター用論理素子10aの出力端子Dou
tから出力されて、下流側のスレーブ用論理素子10bの入
力端子Dinに入力され、スレーブNo.1、・・・No.nの順
で順次転送され、格納される。即ち、マスター以外のス
レーブとなる論理素子10bは、前記マスター用論理素子1
0aを介して、前記ROM20から論理機能定義用データを受
取ることになる。なお、定義モード終了後は、使用モー
ドに入る。 従って、マスター用論理素子10aは、前記定義用データ
を各スレーブ用論理素子10bが正確に受取れるようにす
るため、データ取込みタイミングを決定するための同期
用のクロックCCLKを各スレーブ用論理素子10bに供給
し、且つ、各論理素子の定義終了の同期をとるために、
全てのスレーブ用論理素子10bに論理機能定義用データ
が転送されるまでの全クロック数を計数し、該定義用デ
ータが全てのプログラマブル論理素子の回路定義メモリ
12に格納された後に、この同期用クロックCCLKを停止さ
せて定義モードを終わらせ、使用モードに入る必要があ
る。 そこで、複数のプログラマブル論理素子を有するシステ
ムにおいては、従来、各プログラマブル論理素子の内部
に、パルス発生器(PG)14の他にパルスカウンタ16を設
け、マスター用論理素子10aの定義用データの中に、シ
ステム全体にROM20から定義用データをロードするため
の、全データ数に対応する同期用クロックCCLKのパルス
発生数を書込むことにより、同期用クロックCCLKのパル
ス発生を制御していた。
For example, in a programmable logic element whose logic function is determined by definition data input from a memory such as an external ROM or EPROM, for example, in a programmable gate array, supply logic function definition data to each programmable logic element before use. It is necessary to define the logical function. Therefore, conventionally, for example, as shown in FIG. 10, a plurality of (n + 1 in the figure) programmable logic elements are connected in series, and the programmable logic element on the most upstream side is a programmable logic element in a master (MASTER) mode (hereinafter , A read-only memory (ROM) 20 storing logic function definition data of each programmable logic element as the master logic element 10a.
Connected to. On the other hand, for example, n slave mode programmable logic elements (hereinafter referred to as slave logic elements) having the same hardware configuration as the master logic element 10a and having the same hardware configuration as that of the master logic element 10a.
10b is connected in series with the master logic element 10a. When loading the logic function definition data, the address counter 11 of the master logic element 10a outputs an address to the ROM 20, and corresponding to this address, for example, 8-bit definition data is output from the ROM 20. . Based on this definition data, the master data is first stored in the circuit definition memory 12 of the master logic element 10a, and then the slave data is stored in the output terminal Dou of the master logic element 10a.
The data is output from t, input to the input terminal Din of the slave logic element 10b on the downstream side, and sequentially transferred and stored in the order of slave No. 1, ... No. n. That is, the logic element 10b, which is a slave other than the master, is the master logic element 1
The logical function definition data is received from the ROM 20 via 0a. After the definition mode ends, the use mode is entered. Therefore, the master logic element 10a uses the synchronization clock CCLK for determining the data acquisition timing so that each slave logic element 10b can accurately receive the definition data. And to synchronize the definition end of each logic element,
The total number of clocks until the logic function definition data is transferred to all slave logic elements 10b is counted, and the definition data is stored in the circuit definition memory of all programmable logic elements.
After being stored in 12, it is necessary to stop this synchronizing clock CCLK to end the define mode and enter the use mode. Therefore, in a system having a plurality of programmable logic elements, conventionally, a pulse counter 16 is provided inside each programmable logic element in addition to the pulse generator (PG) 14, and the definition data of the master logic element 10a In order to load the definition data from the ROM 20 into the entire system, the pulse generation number of the synchronization clock CCLK corresponding to the total number of data is written to control the pulse generation of the synchronization clock CCLK.

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

しかしながら、上記の方法では、各プログラマブル論理
素子内に必ずパルスカウンタ16を内蔵させる必要があ
り、スレーブ用論理素子10bにもマスター用論理素子10a
と同じパルスカウンタが必要であるため、面積が大とな
って集積化が妨げられる。又、このパルスカウンタ16の
サイズでシステムの全定義用データ数が決まるので、プ
ログラマブル論理素子を多数使用するような、ある程度
大きなシステムに対応する場合も考慮すると、このパル
スカウンタ16は、比較的大きな規模のカウンタにならざ
るを得ない。一方、プログラマブル論理素子を複数個用
いることのない小さなシステムの場合は、上記パルスカ
ウンタ16が全く無駄となり、集積回路全体として見た場
合に、チップコストの上昇あるいは歩留りの低下に繋が
る等の問題点を有していた。 本発明は、前記従来の問題点を解決するべくなされたも
ので、システム全体に回路機能定義用のデータを格納す
るための、全データ数に対応するパルスカウンタを設け
る必要がないプログラマブル論理システム、及び、その
ためのプログラマブル論理素子を提供することを目的と
する。
However, in the above method, it is necessary to incorporate the pulse counter 16 in each programmable logic element without fail, and the slave logic element 10b and the master logic element 10a.
Since the same pulse counter is required, the area is large and integration is hindered. Further, since the size of the pulse counter 16 determines the total number of definition data of the system, the pulse counter 16 has a relatively large size in consideration of the case of a relatively large system that uses a large number of programmable logic elements. There is no choice but to become a scale counter. On the other hand, in the case of a small system that does not use a plurality of programmable logic elements, the pulse counter 16 is completely useless, and when viewed as an integrated circuit as a whole, it leads to an increase in chip cost or a decrease in yield. Had. The present invention has been made to solve the above-mentioned conventional problems, and is a programmable logic system for storing data for circuit function definition in the entire system, which does not require a pulse counter corresponding to the total number of data, And a programmable logic element therefor.

【課題を解決するための手段】[Means for Solving the Problems]

本発明は、マスター用プログラマブル論理素子と、その
下流側に配設され、データ線を介して前記マスター用プ
ログラマブル論理素子又は上流側のスレーブ用プログラ
マブル論理素子より入力される定義用データにより論理
機能が決定されるスレーブ用プログラマブル論理素子と
を備えたプログラマブル論理システムにおいて、前記ス
レーブ用プログラマブル論理素子が、入力されたデータ
を一時的に保持する保持手段と、該保持手段が保持して
いるデータと同じデータを、下流側のデータ線に出力す
るための出力手段と、下流側のデータ線の状態と前記保
持手段に一時保持されたデータを比較して、下流側に隣
接したスレーブ用プログラマブル論理素子の定義終了を
検知する下流側定義終了検知手段と、該下流側定義終了
検知手段により、下流側に隣接したプログラマブル論理
素子の定義終了が検知される迄は、入力される定義用デ
ータを下流側に隣接したスレーブ用プログラマブル論理
素子に伝達し、下流側に隣接したスレーブ用プログラマ
ブル論理素子の定義終了が検知された時は、入力される
定義用データを、自分の論理機能を定義するために用い
るべく、自己に取り込むよう切り換えるデータ切換手段
と、自分の論理状態の定義終了を検知する自己定義終了
検知手段と、該自己定義終了検知手段により、自分の定
義終了を検知した時は、上流側のデータ線の状態を、少
なくとも一時的に、一定値に固定する自己定義終了告知
手段とを含み、前記マスター用プログラマブル論理素子
が、下流側のデータ線の状態を検出することで、下流側
に隣接したスレーブ用プログラマブル論理素子の定義終
了を検知し、これにより、全てのスレーブ用プログラマ
ブル論理素子の定義終了を検知する全定義終了検知手段
を含むことにより、前記目的を達成したものである。 又、前記マスター用プログラマブル論理素子が、更に、
自分から各スレーブ用プログラマブル論理素子にクロッ
クを供給する手段と、該クロックの周期を、全てのスレ
ーブ用プログラマブル論理素子の定義終了時に一時的に
変化させるクロック周期変化手段を含み、各スレーブ用
プログラマブル論理素子が、更に、前記クロック周期の
変化を検知するクロック変化検知手段を含むようにした
ものである。 又、最下流側のスレーブ用プログラマブル論理素子の前
記データ線の出力端子に、少くとも一時的に、その電位
を一定値に固定する出力端子固定手段を接続したもので
ある。 本発明は、又、プログラマブル論理素子において、1プ
ログラマブル論理素子の定義用データ毎に境界検出用コ
ードが付加された、一連の定義用データ群の少くとも一
部を、外部から入力されるクロックに同期して入力する
ための入力手段と、該入力手段により入力されたデータ
を一時的に保持する保持手段と、該保持手段が保持して
いるデータと同じデータを、前記クロックに同期して、
下流側のデータ線が接続される出力端子に出力するため
の出力手段と、前記入力手段により入力される定義用デ
ータ群を格納する回路定義メモリと、前記出力手段の出
力端子と前記保持手段に一時保持されたデータとの一致
又は不一致により、前記境界検出用コードを検出する一
致検出手段と、該一致検出手段により境界検出用コード
が検出され、下流側に隣接したプログラマブル論理素子
の定義終了が検知される迄は、入力される定義用データ
群を、そのまま出力端子に出力し、一方、前記境界検出
用コードが検出された時は、入力される定義用データを
前記出力手段から切離して、自分の論理機能を定義する
ために用いるべく、前記回路定義メモリに入力するデー
タ切換手段と、前記回路定義メモリへのデータ格納終了
により、自分の論理機能の定義終了を検知する自己定義
終了検知手段と、該自己定義終了検知手段により、自分
の定義終了を検知した時は、自己定義終了を上流側に隣
接したプログラマブル論理素子に告知するべく、前記入
力手段の入力端子の電位を少なくとも一時的に一定値に
固定する入力端子固定手段とを備えることにより、前記
目的を達成したものである。
The present invention provides a master programmable logic element and a logic function provided by a definition data which is arranged downstream of the master programmable logic element or a slave programmable logic element on the upstream side via a data line. In a programmable logic system including a slave programmable logic element that is determined, the slave programmable logic element has the same holding unit that temporarily holds input data, and the same data that the holding unit holds. Data, output means for outputting to the data line on the downstream side, the state of the data line on the downstream side and the data temporarily held in the holding means are compared, and the slave programmable logic element adjacent to the downstream side By the downstream definition end detecting means for detecting the end of definition and the downstream definition end detecting means, Until the end of definition of the programmable logic element adjacent to the flow side is detected, the input definition data is transmitted to the slave programmable logic element adjacent to the downstream side, and the slave programmable logic element adjacent to the downstream side is transmitted. When the definition end is detected, in order to use the input definition data to define its own logical function, the data switching means for switching to take in the self and the self detecting the end of definition of the own logical state. A definition end detection means and a self-definition end notification means for fixing the state of the upstream data line to a constant value at least temporarily when the self-definition end detection means detects the end of its definition. In addition, the programmable logic element for master detects the state of the data line on the downstream side, and the programmable logic device for slave adjacent to the downstream side is detected. Detecting the defined end of a logical element, thereby, by including all definitions end detection means for detecting a defined termination of all programmable logic devices for a slave is obtained by achieving the above object. Further, the master programmable logic element,
It includes a means for supplying a clock to each slave programmable logic element and a clock cycle changing means for temporarily changing the cycle of the clock at the end of the definition of all slave programmable logic elements. The element further includes a clock change detection means for detecting a change in the clock cycle. Further, an output terminal fixing means for fixing the potential to a constant value is connected to the output terminal of the data line of the slave programmable logic element on the most downstream side at least temporarily. According to the present invention, in a programmable logic device, at least a part of a series of definition data groups to which a boundary detection code is added for each definition data of one programmable logic device is used as a clock input from the outside. An input unit for inputting in synchronization, a holding unit for temporarily holding the data input by the input unit, and the same data as the data held by the holding unit are synchronized with the clock,
Output means for outputting to an output terminal connected to the downstream data line, a circuit definition memory for storing a definition data group input by the input means, an output terminal of the output means and the holding means. A match detection unit that detects the boundary detection code by a match or a mismatch with the temporarily held data, and the boundary detection code is detected by the match detection unit, and the definition end of the programmable logic element adjacent to the downstream side is completed. Until it is detected, the input definition data group is output to the output terminal as it is. On the other hand, when the boundary detection code is detected, the input definition data is disconnected from the output means. The data switching means for inputting to the circuit definition memory and the end of data storage in the circuit definition memory to be used for defining the logic function of the user Self-definition end detection means for detecting the end of the definition of the function, and when the self-definition end detection means detects the end of the definition of itself, the self-definition end is notified to the programmable logic element adjacent on the upstream side. The above object is achieved by including input terminal fixing means for fixing the potential of the input terminal of the input means at least temporarily to a constant value.

【作用】[Action]

本発明に係るプログラマブル論理システムにおいては、
スレーブ用プログラマブル論理素子が、入力されたデー
タを一時的に保持する保持手段と、該保持手段が保持し
ているデータと同じデータを、下流側のデータ線に出力
するための出力手段と、下流側のデータ線の状態と前記
保持手段に一時的に保持されたデータを比較して、下流
側に隣接したスレーブ用プログラマブル論理素子の定義
終了を検知する下流側定義終了検知手段と、該下流側定
義終了検知手段により、下流側に隣接したプログラマブ
ル論理素子の定義終了が検知される迄は、入力される定
義用データを下流側に隣接したスレーブ用プログラマブ
ル論理素子に伝達し、下流側に隣接したスレーブ用プロ
グラマブル論理素子の定義終了が検知された時は、入力
される定義用データを、自分の論理機能を定義するため
に用いるべく、自己に取り込むように切り換えるデータ
切換手段と、自分の論理機能の定義終了を検知する自己
定義終了検知手段と、該自己定義終了検知手段により、
自分の定義終了を検知した時は、上流側のデータ線の状
態を、少なくとも一時的に、一定値に固定する自己定義
終了告知手段とを含み、前記マスター用プログラマブル
論理素子が、下流側のデータ線の状態を検出すること
で、下流側に隣接したスレーブ用プログラマブル論理素
子の定義終了を検知し、これにより、全てのスレーブ用
プログラマブル論理素子の定義終了を検知する全定義終
了検知手段を含むことにより、スレーブ側に供給される
データ線を介して、各スレーブ用論理素子の定義終了を
順次上流側のスレーブ用論理素子に知らせ、最終的にマ
スター用論理素子に全てのスレーブ用論理素子の定義終
了を知らせるようにしている。従って、マスター用論理
素子の基本クロックの発生の制御を、パルスカウンタ等
の大規模な回路を用いることなく制御することが可能と
なり、パルスカウンタのサイズによるスレーブ用論理素
子の数の制限もなくなる。よって、より集積化されたプ
ログロマブル論理システムを実現することが可能とな
り、歩留りの向上及び生産性の改善という極めて大きな
工業的価値を生ずる。 前記マスター用プログラマブル論理素子が、更に、自分
から各スレーブ用プログラマブル論理素子にクロックを
供給する手段と、該クロックの周期を、全てのスレーブ
用プログラマブル論理素子の定義終了時に一時的に変化
させるクロック周期変化手段を含み、各スレーブ用プロ
グラマブル論理素子が、更に、前記クロック周期の変化
を検知するクロック変化検知手段を含むことにより、前
記マスター用論理素子から各スレーブ用論理素子に供給
されているクロックの周期を、全てのスレーブ用論理素
子の定義終了時に一時的に変化させ、これにより各スレ
ーブ用論理素子に全てのスレーブ用論理素子の定義終了
を知らせるようにした場合には、全ての論理素子の同期
をとって定義モードを終わらせて、I/O等の使用モード
に変化させることができる。 又、本発明に係るプログラマブル論理素子においては、
1プログラマブル論理素子分の定義用データ毎に境界検
出用コードが付加された、一連の定義用データ群の少く
とも一部を、外部から入力されるクロックに同期して入
力するための入力手段と、該入力手段により入力された
データを一時的に保持する保持手段と、該保持手段が保
持しているデータと同じデータを、前記クロックに同期
して、下流側のデータ線が接続される出力端子に出力す
るための出力手段と、前記入力手段により入力される定
義用データ群を格納する回路定義メモリと、前記出力手
段の出力端子と前記保持手段に一時保持されたデータと
の一致又は不一致により、前記境界検出用コードを検出
する一致検出手段と、該一致検出手段により境界検出用
コードが検出され、下流側に隣接したプログラマブル論
理素子の定義終了が検知される迄は、入力される定義用
データ群を、そのまま出力端子に出力し、一方、前記境
界検出用コードが検出された時は、入力される定義用デ
ータを前記出力手段から切離して、自分の論理機能を定
義するために用いるべく、前記回路定義メモリに入力す
るデータ切換手段と、前記回路定義メモリへのデータ格
納終了により、自分の論理機能の定義終了を検知する自
己定義終了検知手段と、該自己定義終了検知手段によ
り、自分の定義終了を検知した時は、自己定義終了を上
流側に隣接したプログラマブル論理素子に告知するべ
く、前記入力手段の入力端子の電位を少なくとも一時的
に一定値に固定する入力端子固定手段とを備えることに
より、一連の論理機能定義用データの1論理素子分毎の
境界を識別可能とし、自らのプログラマブル論理ブロッ
クの論理機能を定義する定義用データの格納終了によ
り、一連の定義用データ群が入力される入力手段の入力
端子を一時的に固定し、該入力端子に接続される上流側
のプログラマブル論理素子の出力端子と、前記入力手段
により入力されたデータを一時的に保持する保持手段に
一時保持されたデータとの一致又は不一致により、前記
境界検出用コードを検出して、該一致検出により、前記
定義用データを出力手段から切離して、前記回路定義用
メモリに入力するようにしている。従って、当該(上流
側のプログラマブル論理素子から見ると下流側)論理素
子のデータ格納終了を検出して、当該プログラマブル論
理素子のデータ格納終了を上流側論理素子に伝えること
ができるので、前記プログラマブル論理システムを容易
に構成できる。
In the programmable logic system according to the present invention,
A slave programmable logic element, holding means for temporarily holding input data, output means for outputting the same data as the data held by the holding means to a data line on the downstream side; Side definition end detection means for detecting the definition end of the slave programmable logic element adjacent to the downstream side by comparing the state of the data line on the side with the data temporarily held in the holding means, and the downstream side Until the definition completion detecting means detects the definition completion of the programmable logic element adjacent to the downstream side, the input definition data is transmitted to the slave programmable logic element adjacent to the downstream side, and the definition data is adjacent to the downstream side. When the end of definition of the slave programmable logic element is detected, the input definition data is used to define its own logic function. A data switching means for switching so as to take in a self-defined end detection means for detecting a defined termination of their logic functions, by the self-defined end detection means,
When the self-definition end is detected, including the self-definition end notification means for fixing the state of the data line on the upstream side to a constant value at least temporarily, the programmable logic element for master is configured to detect the data on the downstream side. Detecting the end of definition of the slave programmable logic elements adjacent to the downstream side by detecting the state of the line, thereby including all definition end detecting means for detecting the end of definition of all slave programmable logic elements By this, the completion of definition of each slave logic element is sequentially notified to the slave logic element on the upstream side via the data line supplied to the slave side, and finally the master logic element defines all slave logic elements. I am trying to notify the end. Therefore, the control of the generation of the basic clock of the master logic element can be controlled without using a large-scale circuit such as a pulse counter, and the number of slave logic elements is not limited by the size of the pulse counter. Therefore, it becomes possible to realize a more integrated programmable logic system, which results in extremely high industrial value such as improvement in yield and improvement in productivity. The master programmable logic element further supplies means for supplying a clock to each slave programmable logic element from itself, and a clock cycle for temporarily changing the cycle of the clock at the end of the definition of all slave programmable logic elements. Each slave programmable logic element including a changing means further includes a clock change detecting means for detecting a change in the clock cycle so that the clock supplied from the master logic element to each slave logic element is changed. If the cycle is temporarily changed at the end of the definition of all slave logic elements, and each slave logic element is notified of the end of the definition of all slave logic elements, It is possible to end the definition mode synchronously and change to the usage mode such as I / O. Kill. In the programmable logic device according to the present invention,
Input means for inputting at least a part of a series of definition data groups to which a boundary detection code is added for each definition data for one programmable logic element in synchronization with an externally input clock. A holding means for temporarily holding the data inputted by the input means, and an output to which the same data as the data held by the holding means is connected to a downstream data line in synchronization with the clock Output means for outputting to the terminal, circuit definition memory for storing the definition data group inputted by the input means, and output terminal of the output means and data held temporarily in the holding means are matched or mismatched. By the coincidence detection means for detecting the boundary detection code, and the coincidence detection means detects the boundary detection code, and the definition of the programmable logic element adjacent to the downstream side is completed. Until it is detected, the input definition data group is output to the output terminal as it is. On the other hand, when the boundary detection code is detected, the input definition data is disconnected from the output means. Data switching means for inputting to the circuit definition memory for use to define its own logical function, and self-definition completion detecting means for detecting completion of definition of its own logical function by completion of data storage in the circuit definition memory. When the self-definition end detecting means detects the self-definition end, the potential of the input terminal of the input means is at least temporarily to notify the programmable logic element adjacent to the upstream side of the self-definition end. By providing an input terminal fixing means for fixing a fixed value, it becomes possible to identify the boundary of each logic element of a series of logic function definition data, and the programmer himself When the storage of the definition data defining the logical function of the logic block is completed, the input terminal of the input means to which a series of definition data groups is input is temporarily fixed, and the upstream programmable connected to the input terminal is connected. The boundary detection code is detected by matching or non-matching between the output terminal of the logic element and the data temporarily held in the holding means for temporarily holding the data input by the input means, and by the match detection. The definition data is separated from the output means and input to the circuit definition memory. Therefore, it is possible to detect the end of data storage of the logic element (downstream when viewed from the programmable logic element on the upstream side) and notify the end of data storage of the programmable logic element to the upstream logic element. The system can be easily configured.

【実施例】【Example】

以下、図面を参照して、本発明の実施例を詳細に説明す
る。 第1図は、本発明に係るプログラマブル論理素子の第1
実施例を用いて構成されたマスター用論理素子30aと、
n個のスレーブ用論理素子30bを含むプログラマブル論
理システムの一部を示したものである。 本実施例で用いられる一連の定義用データ群は、第2図
に例示する如く、1論理素子分の定義用データ毎に境界
検出用コード、第2図の場合は、先頭から複数個、例え
ば3ビットの「1」及びこれに続いて、定義開始を知ら
せるための1ビットの「0」からなる境界検出用コード
が付加されている。 ここで、境界検出用コードの最初の3ビットが「1」と
されているのは、下流側データ格納終了時に、該下流側
論理素子の入力端子Din、即ち、当該論理素子の出力端
子Doutがプルダウンされるためであり、逆に、下流側論
理素子のデータ格納終了時に、その入力端子Dinをプル
アップするようにした場合には、該境界検出用コード
を、先頭から順に、例えば「0001」とすることができ
る。 前記各プログラマブル論理素子には、前記第10図に示し
た従来例と異なり、パルスカウンタが存在しない。即
ち、従来と同様に、マスター用論理素子30aから同期用
クロックCCLKがスレーブ用論理素子30bに供給される
が、この同期用クロックCCLKの供給を止める制御信号
は、従来のようにパルスカウンタからではなく、本実施
例では、下流側のスレーブ用論理素子から出力端子Dout
を介して入力される。これが本発明の基本的な思想であ
り、以下具体的に説明する。 各プログラマブル論理素子は、従来と同様に論理機能定
義用データの入力端子Dinと出力端子Doutを有する。 入力端子Dinから入力された、前出第2図に示したよう
な論理機能定義用データは、入力バッファ32を介してフ
リップフロップ(F.F.)34に入力され、切換スイッチ36
及び出力バッファ38を介して、出力端子Doutより下流側
のスレーブ用論理素子の入力端子Dinに入力される。こ
こで、前記フリップフロップ34は、第3図に例示する如
く、同期用クロックCCLK(φ)の反転信号をクロック
入力とし、出力バッファ38は、クロックφの一部からな
るクロックφ′(第3図又は第4図参照)に同期して出
力される。従って、定義用データは、クロックφ′の立
上がりで出力され、クロックφの立下がりで下流側のス
レーブ用論理素子に入力される。 又、前記入力バッファ32には、弱いラッチ用のインバー
タ40と、当該論理素子のデータ格納終了時に入力端子Di
nのノードをプルダウンして固定するための、例えばn
チャンネルMOSトランジスタからなる入力端子固定用ト
ランジスタ42が結合されている。 又、前記切換スイッチ36は、電源が投入された後の初期
状態では、前記フリップフロップ34の出力を出力バッフ
ァ38に接続するように構成されている。 なお、前記ラッチ用のインバータ40は、入力端子固定用
トランジスタ42がオフである場合にデータを保持するた
めのものであり、前段に容量性(寄生)素子があって、
保持手段となっている場合には省略することができる。 ここで重要なのは、前記切換スイッチ36を内部の回路定
義メモリ44方向に切換えて、当該論理素子の論理定義を
行うための回路構成である。本実施例では、下流側デー
タの格納終了を検出するために、前記出力バッファ38の
ノード(即ち出力端子Doutのノード)とフリップフロッ
プ34のノードの排他的論理和をとることによって、一連
の定義用データ群の前記境界検出用コードを検出する不
一致検出回路46が設けられている。即ち、出力端子Dout
が、下流側の論理素子の入力端子固定用トランジスタ42
又は抵抗R(最下流側の論理素子の場合)によってプル
ダウンされていると、境界検出用コードの「111」が入
った場合、第3図に示した如く、この不一致検出回路46
に出力が発生する。ここで、不一致検出回路46の作動用
信号φ″のオン時間が、対応するクロックφより短くさ
れているのは、入力端子固定用トランジスタ等によるプ
ルダウンと次のデータが重なって、不一致検出回路46が
誤動作するのを防止するためである。 前記不一致検出回路46の出力信号によりデータ検出回路
48が作動して前記切換スイッチ36を切換え、自らの回路
定義メモリ44に必要な定義データが導入される。更に、
自らの回路定義メモリ44への定義用データの格納が終了
したときは、該回路定義メモリ44から出力される定義終
了信号により、クロック▲▼のタイミングで前記入
力端子固定用トランジスタ42がオンとされて、当該論理
素子の入力端子Dinがプルダウンされる。 以上のようにして、当該論理素子は、自らの定義用デー
タの導入と格納を終了し、自らの入力端子Dinのノード
をクロック▲▼と同期して「0」に固定する。 このとき、入力端子Dinには、上流側の論理素子の出力
端子Doutから、定義用データの境界を示す複数個の
「1」の信号が入力されている。従って、上流側の論理
素子は、そのフリップフロップ34から出力した信号
「1」と、出力端子Doutのノードの信号「0」が不一致
であることを検出して、この定義用データの境界を示す
複数個(実施例では3個)の「1」の後に送られてくる
定義用の信号が、自らの回路定義メモリ44に格納される
べきデータであることを検出して、自らの切換スイッチ
36を回路定義メモリ44方向に切換える。 これら一連の動作が順次繰返されて、最終的には、マス
ター用論理素子30aの内部の出力端子Doutに設けられた
データ検出回路48(図示省略)からの出力と、自らの定
義終了信号により、そのパルス発生器50から外部のスレ
ーブ用論理素子30bに供給されていたクロックCCLK
(φ)の供給が停止される。 図において、52はアドレスカウンタである。 なお、前記のようにして最終的にマスター用論理素子30
aに全体の定義終了が知らされた時に、第5図に示す如
く、前記クロックCCLKの周期を一時的に変化させ、これ
により各スレーブ用論理素子30bにも全体の定義終了を
知らせて、同期をとってI/O等への使用モードに変化さ
せることもできる。 又、最下流側のスレーブ用論理素子30bの出力端子Dout
は、その下流側には論理素子が存在しないため、例え
ば、5〜10KΩ程度の抵抗Rを用いて、常時又は定義中
のみ出力端子を接地してプルダウン(固定)することに
より、その不一致検出回路46を作動させることができ
る。 なお、前記説明においては、スレーブ用論理素子とマス
ター用論理素子を分けて動作を説明していたが、実際の
回路構成は全て共通である。 又、出力端子Doutのノード信号とフリップフロップから
出力される信号との検出回路の他の例を第6図及び第7
図を用いて説明する。 この第6図は、第1図の回路を具体化したものであり、
タイミング設計が容易なように2個のフリップフロップ
F.F.1とF.F.2が使用されており、又F.F.3及び排他的論
理和素子96aは、第1図でいうところの不一致検出回路4
6と同一の機能を有するものである。 回路動作タイミングは、第7図に示されている。まず、
入力Dinにより入って来るデータは、クロックの立上
がりタイミングで、F.F.1にラッチされ、更に、クロッ
クφ′の立上りタイミングでF.F.2にラッチされる。こ
の時データは、排他的論理和素子98により、Doutに出力
されるか内部の回路定義メモリ44に入力されるかが決定
される。つまり、不一致検出回路96の出力がφ(即ち不
一致が検出されていない時)で且つMODE信号が「φ」の
時は、この排他的論理和素子98の出力は「φ」であり、
この信号が2つの論理和素子99a、99bに入力され、論理
和素子99aのみがアクティブ状態となり、データは回路
定義メモリ44に入力される。一方、MODE信号が「1」の
時は、逆に論理和素子99bのみがアクティブとなり、出
力バッファ38を介してDoutにデータが出力される。 ここでは、主に不一致検出回路96の機能を説明するため
に、出力バッファ38を介してデータがDout端子に出力さ
れている場合を考えることにする。Dout端子は、クロッ
クφ′でアクティブとなる出力バッファ38でデータがド
ライブされており、ドライブされていない半周期は、下
流側の素子のDin端子の動作状況によって異る。例え
ば、下流側の素子への定義データの書込みが完了してい
ない状態では、下流側のDin端子は、上流側Dout端子の
データを保持する(第7図参照)。一方、上流側の不一
致検出回路96は、常に、Dout端子ノードと、F.F.2のQ
出力をクロックφの立上りのタイミングで比較してお
り、不一致は検出されない。 ところが、最終のデータdlが下流側定義メモリに書込ま
れ、定義が終了すると、下流側素子は、クロック▲
▼のタイミング、つまり、上流側の素子のDout端子がド
ライブされていないタイミングでDin端子を強制的に引
下げる。又、この時、上流側素子のDout端子には、F.F.
2にラッチされた不一致検出用のビット「1」が出力さ
れており、この「1」のデータは、クロック▲▼の
タイミングで引下げられ「φ」となる。これがクロック
φの立上りで、F.F.2のQ出力「1」と比較され、不一
致信号「1」が発生し、排他的論理和素子98に入力さ
れ、この素子の出力が「1」から「0」に変化すること
により、次にデータが回路定義メモリ44に入力される訳
である(第7図参照)。 なお、前記第1実施例では、マスター用論理素子30aの
論理機能の定義は、最後に行われることになるが、各論
理素子の立上がり時間にはばらつきがあるので、各スレ
ーブ用論理素子の立上がりよりも、定義用データの送り
出しの方が早くなる可能性もある。従って、各スレーブ
用論理素子30bの動作安定を持つ上では、該マスター用
論理素子30aの定義を最初に行った方がよい場合があ
る。このような場合に好適な、本発明の第2実施例を詳
細に説明する。 この第2実施例に係るプログラマブル論理素子の要部
(入力端子Dinから出力端子Doutまで)は、第8図に示
す如く構成されており、データ検出回路48の出力による
切換スイッチ36の初期位置、及び、回路定義メモリ44か
らの定義終了信号による入力端子固定用トランジスタ42
のオンオフ状態が、マスターモードとスレーブモードで
変更可能とされている点が、前記第1実施例と異なる。 他の点は、第1実施例と同じであるので詳細な説明は省
略する。 この第2実施例において、マスターモードとされる論理
素子30aの切換スイッチ36は、第8図に示す如く、電源
投入後の初期状態においては、第9図に示すスレーブモ
ードの論理素子30bとは逆に、入力バッファ32及びフリ
ップフロップ34を介して入力された定義用データを、ま
ず自らの回路定義メモリ44に導入するようにされてい
る。又、その入力端子固定用トランジスタ42は、自らの
定義が終了しても、入力端子Dinのノードをプルダウン
することなく、後方に通過させるように、マスターとし
て使用されるときに0となり、スレーブとして使用され
るときに1となるモード信号MODEの状態も考慮して動作
するようにされている。 一方、この第2実施例において、スレーブモードのプロ
グラマブル論理素子30bは、第9図に示す如く、前記第
1実施例と同様に、電源投入時に切換スイッチ36が、定
義用データを出力バッファ38へ通過させる方向に切換え
られていると共に、入力端子固定用トランジスタ42が、
自らの定義完了後に直ちにプルダウンするようにされて
いる。 この第2実施例における各クロック波形は、前出第4図
に示した第1実施例と同じである。 なお、前記実施例は、本発明に係るプログラマブル論理
素子の回路構成の例を示すものであり、本発明に係るプ
ログラマブル論理素子の回路構成はこれに限定されるも
のではない。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a first diagram of a programmable logic device according to the present invention.
A master logic element 30a configured using the embodiment,
It shows a part of a programmable logic system including n slave logic elements 30b. A series of definition data groups used in the present embodiment is, as illustrated in FIG. 2, a boundary detection code for each definition data of one logical element, and in the case of FIG. A boundary detection code consisting of 3 bits of "1" and 1 bit of "0" for notifying the start of definition is added. Here, the first 3 bits of the boundary detection code are set to "1" because the input terminal Din of the downstream logic element, that is, the output terminal Dout of the logic element at the end of storage of the downstream data. This is because the pull-down is performed, and conversely, when the input terminal Din is pulled up at the end of the data storage of the downstream side logic element, the boundary detection code is, for example, “0001” in order from the beginning. Can be Unlike the conventional example shown in FIG. 10, each programmable logic element has no pulse counter. That is, as in the conventional case, the synchronization clock CCLK is supplied from the master logic element 30a to the slave logic element 30b, but the control signal for stopping the supply of the synchronization clock CCLK is not from the pulse counter as in the conventional case. However, in this embodiment, the output terminal Dout is output from the slave logic element on the downstream side.
Be entered via. This is the basic idea of the present invention, which will be specifically described below. Each programmable logic element has an input terminal Din and an output terminal Dout for logic function definition data as in the conventional case. The logic function definition data as shown in FIG. 2 input from the input terminal Din is input to the flip-flop (FF) 34 via the input buffer 32 and the changeover switch 36.
And via the output buffer 38, it is input to the input terminal Din of the slave logic element on the downstream side of the output terminal Dout. Here, as shown in FIG. 3, the flip-flop 34 receives an inverted signal of the synchronizing clock CCLK (φ) as a clock input, and the output buffer 38 outputs a clock φ ′ (third part) of the clock φ. (See FIG. 4 or FIG. 4). Therefore, the definition data is output at the rising edge of the clock φ'and input to the slave logic element on the downstream side at the falling edge of the clock φ. In addition, the input buffer 32 includes a weak latching inverter 40 and an input terminal Di at the end of data storage of the logic element.
For pulling down and fixing n nodes, for example, n
An input terminal fixing transistor 42, which is a channel MOS transistor, is coupled. Further, the changeover switch 36 is configured to connect the output of the flip-flop 34 to the output buffer 38 in the initial state after the power is turned on. The latching inverter 40 is for holding data when the input terminal fixing transistor 42 is off, and has a capacitive (parasitic) element in the preceding stage,
It can be omitted if it is a holding means. What is important here is a circuit configuration for switching the changeover switch 36 toward the internal circuit definition memory 44 to define the logic of the logic element. In the present embodiment, in order to detect the end of storage of downstream data, a series of definitions is obtained by taking the exclusive OR of the node of the output buffer 38 (that is, the node of the output terminal Dout) and the node of the flip-flop 34. An inconsistency detection circuit 46 is provided for detecting the boundary detection code of the data group. That is, the output terminal Dout
Is a transistor 42 for fixing the input terminal of the logic element on the downstream side.
Alternatively, when the boundary detection code "111" is entered when the resistor R (in the case of the logic element on the most downstream side) is pulled down, as shown in FIG.
Output occurs. Here, the ON time of the operation signal φ ″ of the mismatch detection circuit 46 is shorter than the corresponding clock φ because the pull-down by the input terminal fixing transistor and the like and the next data overlap each other. This is to prevent malfunction of the data detection circuit by the output signal of the mismatch detection circuit 46.
48 operates to switch the change-over switch 36, and the necessary definition data is introduced into the circuit definition memory 44 of its own. Furthermore,
When the storage of the definition data in its own circuit definition memory 44 is completed, the definition terminal signal output from the circuit definition memory 44 turns on the input terminal fixing transistor 42 at the timing of the clock ▲ ▼. As a result, the input terminal Din of the logic element is pulled down. As described above, the logic element finishes the introduction and storage of its own definition data and fixes the node of its own input terminal Din to “0” in synchronization with the clock ▲ ▼. At this time, a plurality of "1" signals indicating the boundaries of the definition data are input to the input terminal Din from the output terminal Dout of the upstream logic element. Therefore, the upstream logic element detects that the signal "1" output from the flip-flop 34 and the signal "0" at the node of the output terminal Dout do not match, and indicates the boundary of this definition data. A plurality of (three in the embodiment) "1" signals for definition sent after being detected as data to be stored in its own circuit definition memory 44, and its own changeover switch.
36 is switched to the circuit definition memory 44 direction. These series of operations are sequentially repeated, and finally, by the output from the data detection circuit 48 (not shown) provided at the output terminal Dout inside the master logic element 30a and the definition end signal of itself, Clock CCLK supplied from the pulse generator 50 to the external slave logic element 30b
The supply of (φ) is stopped. In the figure, 52 is an address counter. In addition, as described above, finally the master logic element 30
When the end of the entire definition is notified to a, as shown in FIG. 5, the cycle of the clock CCLK is temporarily changed, thereby notifying the slave logic elements 30b of the end of the entire definition and synchronizing. It is also possible to change the usage mode for I / O, etc. Also, the output terminal Dout of the slave logic element 30b on the most downstream side
Since there is no logic element on the downstream side, for example, by using a resistor R of about 5 to 10 KΩ, the output terminal is grounded and pulled down (fixed) at all times or only during definition, so that the mismatch detection circuit. 46 can be activated. In the above description, the slave logic element and the master logic element are separately described for the operation, but the actual circuit configurations are all common. Further, another example of the detection circuit for detecting the node signal of the output terminal Dout and the signal output from the flip-flop is shown in FIGS.
It will be described with reference to the drawings. This FIG. 6 embodies the circuit of FIG.
Two flip-flops for easy timing design
FF1 and FF2 are used, and FF3 and the exclusive OR element 96a are the mismatch detection circuit 4 in FIG.
It has the same function as 6. The circuit operation timing is shown in FIG. First,
The data input by the input Din is latched in FF1 at the rising timing of the clock and further latched in FF2 at the rising timing of the clock φ '. At this time, the exclusive OR element 98 determines whether the data is output to Dout or the internal circuit definition memory 44. That is, when the output of the mismatch detection circuit 96 is φ (that is, when no mismatch is detected) and the MODE signal is “φ”, the output of the exclusive OR element 98 is “φ”,
This signal is input to the two OR elements 99a and 99b, only the OR element 99a becomes active, and the data is input to the circuit definition memory 44. On the other hand, when the MODE signal is "1", on the contrary, only the logical sum element 99b becomes active, and the data is output to Dout via the output buffer 38. Here, in order to mainly explain the function of the mismatch detection circuit 96, a case where data is output to the Dout terminal via the output buffer 38 will be considered. Data is driven to the Dout terminal by the output buffer 38 which becomes active at the clock φ ', and the half cycle which is not driven varies depending on the operating condition of the Din terminal of the downstream element. For example, in the state where the writing of the definition data to the downstream element has not been completed, the downstream Din terminal holds the data of the upstream Dout terminal (see FIG. 7). On the other hand, the mismatch detection circuit 96 on the upstream side always operates the Dout terminal node and the Q of FF2.
The outputs are compared at the rising timing of the clock φ, and no mismatch is detected. However, when the final data dl is written in the downstream definition memory and the definition is completed, the downstream element
The Din terminal is forcibly pulled down at the timing of ▼, that is, at the timing when the Dout terminal of the upstream element is not driven. At this time, FF is connected to the Dout terminal of the upstream element.
The mismatch detection bit "1" latched in 2 is output, and this "1" data is pulled down to "φ" at the timing of the clock ▲ ▼. This is compared with the Q output “1” of FF2 at the rising edge of the clock φ, a non-coincidence signal “1” is generated and input to the exclusive OR element 98, and the output of this element changes from “1” to “0”. The change causes the data to be input next to the circuit definition memory 44 (see FIG. 7). In the first embodiment, the logical function of the master logic element 30a is defined last, but the rise time of each logic element varies, so that the rise of each slave logic element is different. The definition data may be sent out faster than the above. Therefore, in order to stabilize the operation of each slave logic element 30b, it may be better to define the master logic element 30a first. The second embodiment of the present invention, which is suitable for such a case, will be described in detail. The main part (from the input terminal Din to the output terminal Dout) of the programmable logic element according to the second embodiment is configured as shown in FIG. 8, and the initial position of the changeover switch 36 by the output of the data detection circuit 48, And the input terminal fixing transistor 42 by the definition end signal from the circuit definition memory 44.
The on / off state of is different from the first embodiment in that it can be changed between the master mode and the slave mode. Since the other points are the same as those of the first embodiment, detailed description will be omitted. In the second embodiment, the changeover switch 36 of the logic element 30a in the master mode is different from the slave mode logic element 30b shown in FIG. 9 in the initial state after power-on as shown in FIG. On the contrary, the definition data input via the input buffer 32 and the flip-flop 34 is first introduced into its own circuit definition memory 44. Also, the input terminal fixing transistor 42 becomes 0 when it is used as a master so as to pass the node of the input terminal Din backward without pulling down the node of the input terminal Din even after its definition is completed, and becomes a slave. It is designed to operate in consideration of the state of the mode signal MODE which becomes 1 when used. On the other hand, in this second embodiment, as shown in FIG. 9, in the programmable logic element 30b in the slave mode, the changeover switch 36 sends the definition data to the output buffer 38 when the power is turned on, as in the first embodiment. While being switched to the passing direction, the input terminal fixing transistor 42 is
It is designed to pull down immediately after its definition is completed. Each clock waveform in the second embodiment is the same as that in the first embodiment shown in FIG. In addition, the said Example shows an example of the circuit structure of the programmable logic element which concerns on this invention, and the circuit structure of the programmable logic element which concerns on this invention is not limited to this.

【効果】【effect】

以上説明したとおり、本発明によれば、プログラマブル
論理システム全体に、回路機能定義用のデータを格納す
るための、全データ数に対応するパルスカウンタを設け
る必要がなくなる。更に、パルスカウンタのサイズによ
るスレーブ用論理素子の数の制限もなくなる。従って、
より集積化されたプログラマブル論理システムを、高い
歩留り及び生産性で実現できるようになる。
As described above, according to the present invention, it is not necessary to provide a pulse counter corresponding to the total number of data for storing circuit function definition data in the entire programmable logic system. Further, there is no limitation on the number of slave logic elements depending on the size of the pulse counter. Therefore,
A more integrated programmable logic system can be realized with high yield and productivity.

【図面の簡単な説明】[Brief description of drawings]

第1図は、本発明に係るプログラマブル論理素子の第1
実施例を複数個含むプログラマブル論理システムの一例
を示すブロック線図、 第2図は、第1実施例で用いられている一連の定義用デ
ータ群の例を示す線図、 第3図は、第1実施例におけるデータ検出回路の動作タ
イミングの例を示す線図、 第4図は、第1及び第2実施例のデータ検出回路のクロ
ックタイミングの例を示す線図、 第5図は、第1実施例の変形例における全体の定義終了
時のクロック波形の例を示す線図、 第6図は、第1実施例における他の構成例を示す回路
図、 第7図は、第6図の回路動作タイミングを示す線図、 第8図は、本発明の第2実施例の構成、及び、マスター
モードに設定された状態を示す回路図、 第9図は、同じく、スレーブモードに設定されたプログ
ラマブル論理素子の状態を示す回路図、 第10図は、従来のプログラマブル論理素子が複数個用い
られたプログラマブル論理システムの一例を示すブロッ
ク線図である。 30a……マスター用プログラマブル論理素子、 30b……スレーブ用プログラマブル論理素子、 Din……入力端子、 Dout……出力端子、 CCLK……同期用クロック、 32……入力バッファ、 34……フリップフロップ、 36……切換スイッチ、 38……出力バッファ、 42……入力端子固定用トランジスタ、 44……回路定義メモリ、 46……不一致検出回路、 48……データ検出回路。
FIG. 1 is a first diagram of a programmable logic device according to the present invention.
FIG. 2 is a block diagram showing an example of a programmable logic system including a plurality of embodiments, FIG. 2 is a diagram showing an example of a series of definition data groups used in the first embodiment, and FIG. FIG. 4 is a diagram showing an example of the operation timing of the data detection circuit in the first embodiment, FIG. 4 is a diagram showing an example of the clock timing of the data detection circuit of the first and second embodiments, and FIG. FIG. 6 is a diagram showing an example of a clock waveform at the end of the entire definition in a modification of the embodiment, FIG. 6 is a circuit diagram showing another configuration example in the first embodiment, and FIG. 7 is a circuit shown in FIG. FIG. 8 is a diagram showing the operation timing, FIG. 8 is a circuit diagram showing the configuration of the second embodiment of the present invention, and a state in which the master mode is set, and FIG. 9 is a programmable mode also set in the slave mode. Circuit diagram showing the state of the logic element, Fig. 10 The programmable logic device come is a block diagram showing an example of a plurality used was a programmable logic systems. 30a …… Master programmable logic element, 30b …… Slave programmable logic element, Din …… input terminal, Dout …… output terminal, CCLK …… synchronization clock, 32 …… input buffer, 34 …… flip-flop, 36 ...... Changeover switch, 38 …… Output buffer, 42 …… Input terminal fixing transistor, 44 …… Circuit definition memory, 46 …… Mismatch detection circuit, 48 …… Data detection circuit.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】マスター用プログラマブル論理素子と、そ
の下流側に配設され、データ線を介して前記マスター用
プログラマブル論理素子又は上流側のスレーブ用プログ
ラマブル論理素子より入力される定義用データにより論
理機能が決定されるスレーブ用プログラマブル論理素子
とを備えたプログラマブル論理システムにおいて、 前記スレーブ用プログラマブル論理素子が、 入力されたデータを一時的に保持する保持手段と、 該保持手段が保持しているデータと同じデータを、下流
側のデータ線に出力するための出力手段と、 下流側のデータ線の状態と前記保持手段に一時的に保持
されたデータを比較して、下流側に隣接したスレーブ用
プログラマブル論理素子の定義終了を検知する下流側定
義終了検知手段と、 該下流側定義終了検知手段により、下流側に隣接したプ
ログラマブル論理素子の定義終了が検知される迄は、入
力される定義用データを下流側に隣接したスレーブ用プ
ログラマブル論理素子に伝達し、下流側に隣接したスレ
ーブ用プログラマブル論理素子の定義終了が検知された
時は、入力される定義用データを、自分の論理機能を定
義するために用いるべく、自己に取り込むよう切り換え
るデータ切換手段と、 自分の論理機能の定義終了を検知する自己定義終了検知
手段と、 該自己定義終了検知手段により、自分の定義終了を検知
した時は、上流側のデータ線の状態を、少なくとも一時
的に、一定値に固定する自己定義終了告知手段とを含
み、 前記マスター用プログラマブル論理素子が、 下流側のデータ線の状態を検出することで、下流側に隣
接したスレーブ用プログラマブル論理素子の定義終了を
検知し、これにより、全てのスレーブ用プログラマブル
論理素子の定義終了を検知する全定義終了検知手段を含
むことを特徴とするプログラマブル論理システム。
1. A master programmable logic element and a logic function based on definition data which is arranged downstream of the master programmable logic element and which is input from the master programmable logic element or an upstream slave programmable logic element via a data line. In a programmable logic system including a slave programmable logic element for which the slave programmable programmable logic element is determined, the slave programmable logic element temporarily holds input data, and data held by the holding means. Output means for outputting the same data to the data line on the downstream side and the state of the data line on the downstream side and the data temporarily held in the holding means are compared, and programmable for slaves adjacent to the downstream side Downstream definition end detecting means for detecting the end of definition of the logic element, and the downstream definition end detecting means. Until the definition end of the programmable logic element adjacent to the downstream side is detected, the input definition data is transmitted to the slave programmable logic element adjacent to the downstream side, and the slave programmable logic element adjacent to the downstream side is transmitted. When the definition end of the element is detected, the definition data to be input is switched so that it is used to define its own logic function, and the end of definition of its own logic function is detected. Self-definition end detection means, and self-definition end notification means for fixing the state of the upstream data line to a constant value at least temporarily when the self-definition end detection means detects the self-definition end And the programmable logic element for master detects the state of the data line on the downstream side, It detects the definition end of Roguramaburu logic elements, thereby, a programmable logic system, which comprises a total definition end detection means for detecting definition end of all the slave for a programmable logic device.
【請求項2】請求項1において、前記マスター用プログ
ラマブル論理素子が、更に、自分から各スレーブ用プロ
グラマブル論理素子にクロックを供給する手段と、該ク
ロックの周期を、全てのスレーブ用プログラマブル論理
素子の定義終了時に一時的に変化させるクロック周期変
化手段を含み、 各スレーブ用プログラマブル論理素子が、更に、前記ク
ロック周期の変化を検知するクロック変化検知手段を含
むことを特徴とするプログラマブル論理システム。
2. The programmable logic element for master according to claim 1, further comprising means for supplying a clock from the programmable logic element for itself to each programmable logic element for slaves, and a cycle of the clock of all programmable logic elements for slaves. A programmable logic system comprising: clock cycle changing means for temporarily changing at the end of definition, wherein each slave programmable logic element further includes clock change detecting means for detecting a change in the clock cycle.
【請求項3】請求項1又は2において、最下流側のスレ
ーブ用プログラマブル論理素子の前記データ線の出力端
子に、少くとも一時的に、その電位を一定値に固定する
出力端子固定手段が接続されていることを特徴とするプ
ログラマブル論理システム。
3. The output terminal fixing means for fixing the potential to a constant value at least temporarily to the output terminal of the data line of the slave programmable logic element on the most downstream side according to claim 1 or 2. A programmable logic system characterized by being implemented.
【請求項4】1プログラマブル論理素子分の定義用デー
タ毎に境界検出用コードが付加された、一連の定義用デ
ータ群の少くとも一部を、外部から入力されるクロック
に同期して入力するための入力手段と、 該入力手段により入力されたデータを一時的に保持する
保持手段と、 該保持手段が保持しているデータと同じデータを、前記
クロックに同期して、下流側のデータ線が接続される出
力端子に出力するための出力手段と、 前記入力手段により入力される定義用データ群を格納す
る回路定義メモリと、 前記出力手段の出力端子と前記保持手段に一時保持され
たデータとの一致又は不一致により、前記境界検出用コ
ードを検出する一致検出手段と、 該一致検出手段により境界検出用コードが検出され、下
流側に隣接したプログラマブル論理素子の定義終了が検
知される迄は、入力される定義用データ群を、そのまま
出力端子に出力し、一方、前記境界検出用コードが検出
された時は、入力される定義用データを前記出力手段か
ら切離して、自分の論理機能を定義するために用いるべ
く、前記回路定義メモリに入力するデータ切換手段と、 前記回路定義メモリへのデータ格納終了により、自分の
論理機能の定義終了を検知する自己定義終了検知手段
と、 該自己定義終了検知手段により、自分の定義終了を検知
した時は、自己定義終了を上流側に隣接したプログラマ
ブル論理素子に告知するべく、前記入力手段の入力端子
の電位を少なくとも一時的に一定値に固定する入力端子
固定手段と、 を備えたことを特徴とするプログラマブル論理素子。
4. At least a part of a series of definition data groups to which a boundary detection code is added for each definition data for one programmable logic element is input in synchronization with a clock input from the outside. Input means, a holding means for temporarily holding the data input by the input means, and the same data as the data held by the holding means, in synchronization with the clock, on the downstream side data line. Output means for outputting to an output terminal to which is connected, a circuit definition memory for storing a definition data group input by the input means, an output terminal of the output means and data temporarily held in the holding means. Match detection means for detecting the boundary detection code, and the boundary detection code is detected by the match detection means, and the programmable logic adjacent to the downstream side is detected. Until the end of the element definition is detected, the input definition data group is output to the output terminal as it is. On the other hand, when the boundary detection code is detected, the input definition data is output. The data switching means for inputting to the circuit definition memory so as to be used to define its own logical function by disconnecting it from the means, and the end of data storage in the circuit definition memory detect the end of definition of its own logical function. Self-definition end detection means, and when the self-definition end detection means detects the self-definition end, in order to notify the programmable logic element adjacent to the upstream side of the self-definition end, the potential of the input terminal of the input means A programmable logic element, comprising: input terminal fixing means for fixing at least temporarily to a constant value.
JP2328270A 1989-12-27 1990-11-28 Programmable logic system and programmable logic element therefor Expired - Fee Related JPH07105715B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2328270A JPH07105715B2 (en) 1989-12-27 1990-11-28 Programmable logic system and programmable logic element therefor

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP33979489 1989-12-27
JP1-339794 1989-12-27
JP2328270A JPH07105715B2 (en) 1989-12-27 1990-11-28 Programmable logic system and programmable logic element therefor

Publications (2)

Publication Number Publication Date
JPH03224317A JPH03224317A (en) 1991-10-03
JPH07105715B2 true JPH07105715B2 (en) 1995-11-13

Family

ID=26572808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2328270A Expired - Fee Related JPH07105715B2 (en) 1989-12-27 1990-11-28 Programmable logic system and programmable logic element therefor

Country Status (1)

Country Link
JP (1) JPH07105715B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7478261B2 (en) * 2005-09-13 2009-01-13 M2000 Reconfigurable circuit with redundant reconfigurable cluster(s)

Also Published As

Publication number Publication date
JPH03224317A (en) 1991-10-03

Similar Documents

Publication Publication Date Title
US4503490A (en) Distributed timing system
KR880000337B1 (en) Information processing apparatus
EP1122734B1 (en) Burst interleaved memory with burst mode access in synchronous read phases wherein the two sub-arrays are independently readable with random access during asynchronous read phases
US4847867A (en) Serial bus interface system for data communication using two-wire line as clock bus and data bus
JP4859330B2 (en) Method and apparatus for asynchronously controlling state information in a circuit
US5084636A (en) Master-slave programmable logic devices
US5138189A (en) Asynchronous state machine synchronization circuit and method
EP0358955B1 (en) Microprocessor in a redundant configuration with a monitoring mode of operation
US5233638A (en) Timer input control circuit and counter control circuit
JPS63182729A (en) Input circuit
JPH0283891A (en) Semiconductor memory
JPH07105715B2 (en) Programmable logic system and programmable logic element therefor
US6353574B1 (en) Semiconductor memory device having pipe register operating at high speed
KR20020072184A (en) Semiconductor device
US6130558A (en) Data transfer circuit and method for a semiconductor memory
EP0283230A2 (en) A register circuit
US6202185B1 (en) Methods and apparatus for facilitating scan testing of circuitry
CN101071625B (en) Method and system for preventing noise disturbance in high speed, low power memory
JPH096462A (en) Data processing system and semiconductor integrated circuit
JP2008054323A (en) Semiconductor integrated circuit
KR20020074993A (en) Synchronous sram device with late write function
JP2723765B2 (en) Programmable logic array and microcomputer using the same
JPS6214868B2 (en)
KR100207481B1 (en) Detecting time adjustment equipment to detect data during desire period
SU1068050A3 (en) Device for synchronizing main and stand-by computers

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees