JPH0622360B2 - Asynchronous read state transition holding circuit - Google Patents
Asynchronous read state transition holding circuitInfo
- Publication number
- JPH0622360B2 JPH0622360B2 JP31684087A JP31684087A JPH0622360B2 JP H0622360 B2 JPH0622360 B2 JP H0622360B2 JP 31684087 A JP31684087 A JP 31684087A JP 31684087 A JP31684087 A JP 31684087A JP H0622360 B2 JPH0622360 B2 JP H0622360B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- read
- output
- signal
- state
- 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 - Lifetime
Links
Landscapes
- Time-Division Multiplex Systems (AREA)
Description
【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段 (i)第1発明 (ii)第2発明 作用 (i)第1発明 (ii)第2発明 実施例 I.実施例と第1図との対応関係 (i)第1発明 (ii)第2発明 II.第1実施例 (i)構成 (ii)動作 III.第2実施例 IV.発明の変形態様 発明の効果 〔概要〕 多数の検出データを保持し、これを非同期に読み出す非
同期読出し状態遷移保持回路に関し、 回路規模を小さくすることを目的とし、 N個の状態検出部で検出された状態検出データを多重化
部で多重化して送信する。受信した多重化データ内のN
ビットを分離部でLビットのブロック単位で分離する。
この分離と同期したアクセスサイクル毎のアドレス信号
を出力すると共に各アクセスサイクルの前半サイクルに
読出制御信号及び出力禁止信号を、又後半サイクルに書
込制御信号及び出力許容信号を制御信号発生回路から出
力する。アクセスサイクル毎の前半サイクルにおいて、
読出制御信号及びアドレス信号に応答してデュアルポー
トメモリからLビットのデータを読み出して保持回路に
保持する。保持されたLビットのデータと分離部で分離
されたLビットのデータとを対応するビット毎に論理和
回路で論理和を取ってアクセスサイクル毎の後半サイク
ルにおいて、書込制御信号及びアドレス信号に応答して
デュアルポートメモリに書き込むようにして構成され
る。DETAILED DESCRIPTION [Table of Contents] Outline Industrial field of use Conventional technology Problems to be solved by the invention Means for solving the problems (i) First invention (ii) Second invention Action (i) ) First Invention (ii) Second Invention Example I. Correspondence between Embodiment and FIG. 1 (i) First Invention (ii) Second Invention II. First Embodiment (i) Configuration (ii) Operation III. Second embodiment IV. Modified Embodiment of the Invention [Outline] An asynchronous read state transition holding circuit for holding a large number of detection data and reading the data asynchronously, for the purpose of reducing the circuit scale, is detected by N state detection units. The state detection data is multiplexed by the multiplexing unit and transmitted. N in the received multiplexed data
The separation unit separates the bits in units of L bits.
An address signal for each access cycle is output in synchronization with this separation, and a read control signal and an output inhibit signal are output in the first half cycle of each access cycle, and a write control signal and an output enable signal are output from the control signal generation circuit in the second half cycle. To do. In the first half cycle of each access cycle,
In response to the read control signal and the address signal, L-bit data is read from the dual port memory and held in the holding circuit. The retained L-bit data and the L-bit data separated by the separation unit are logically ORed by corresponding bits for each corresponding bit, and in the latter half cycle of each access cycle, a write control signal and an address signal are obtained. In response, it is configured to write to the dual port memory.
本発明は、非同期読出し状態遷移保持回路に関し、例え
ば多数の状態検出部の警報検出データを保持しておき、
これを非同期に読み出して警報表示を行なう場合等に使
用される非同期読出し状態遷移保持回路に関するもので
ある。The present invention relates to an asynchronous read state transition holding circuit, for example, holding alarm detection data of a large number of state detection units,
The present invention relates to an asynchronous read state transition holding circuit used when an alarm is read out by asynchronously reading this.
従来から、このような非同期読出し状態遷移保持回路と
しては、例えば1024個という多数の警報信号を検出
する状態検出部を有している。その状態検出部に基づく
警報を表示する場合であっても、状態検出部で検出した
警報信号は、それを読み取る前に正常に復帰したときで
あっても、見逃すわけにはいかない。そのため、警報信
号を検出すると、これを読み取る迄保持しておく必要が
ある。Conventionally, such an asynchronous read state transition holding circuit has a state detection unit that detects a large number of alarm signals, for example, 1024. Even when an alarm is displayed based on the state detecting unit, the alarm signal detected by the state detecting unit cannot be overlooked even when the alarm signal is restored to normal before reading the alarm signal. Therefore, when an alarm signal is detected, it must be held until it is read.
従って、状態検出部で検出した警報信号は、読み取り完
了まで状態遷移保持回路で保持し、これを非同期に読み
出して警報表示を行なう。Therefore, the alarm signal detected by the state detection unit is held by the state transition holding circuit until the reading is completed, and this is read asynchronously to display an alarm.
このような場合に使用され、状態検出部が多いときの非
同期読出し状態遷移保持回路としては、小規模の回路構
成が望ましい。A small-scale circuit configuration is desirable for the asynchronous read state transition holding circuit used in such a case and having many state detection units.
第5図に、従来の非同期読出し状態遷移保持回路を示
す。この非同期読出し状態遷移保持回路は、N個の状態
検出部511(状態検出部5111〜511N)が具わ
っており、これらの状態検出部511が設置されている
所と、状態を読み取る所とは通常離れている。そのた
め、N個の状態検出部5111〜511Nによって検出
されたNビットの状態検出データは、多重化部513に
よって多重化されて分離部515に送られ、Nビットの
データに分離される。このようにして分離されたNビッ
トのデータのそれぞれは、1ビット単位で状態を保持す
る8個の状態保持回路517のそれぞれにて保持され
る。しかる後、8個単位で3ステートバッファ519に
送られる。FIG. 5 shows a conventional asynchronous read state transition holding circuit. This asynchronous read state transition holding circuit includes N state detection units 511 (state detection units 511 1 to 511 N ), where the state detection units 511 are installed and where the state is read. Is usually away from. Therefore, the N-bit state detection data detected by the N state detection units 511 1 to 511 N are multiplexed by the multiplexing unit 513 and sent to the demultiplexing unit 515 to be demultiplexed into N-bit data. Each of the N-bit data thus separated is held by each of the eight state holding circuits 517 that hold the state in 1-bit units. Then, the data is sent to the 3-state buffer 519 in units of 8.
これらのデータを読み出すときには、3ステートバッフ
ァ519にそれぞれ読み出し制御信号を送って、8ビッ
ト単位で読み出す。その読み出し後は、それぞれ読み出
した状態保持回路517にクリア信号を送ってクリアす
る。When reading these data, a read control signal is sent to each of the 3-state buffers 519 to read them in 8-bit units. After the reading, the clear signal is sent to each read state holding circuit 517 to clear.
このようにして、非同期に状態遷移データを読み取るよ
うにしている。In this way, the state transition data is read asynchronously.
なお、8ビット単位で読み出すようにしているのは、コ
ンピュータを使用する場合には通常バスが8ビットであ
るので、それに合致させるためである。It should be noted that the reason why the data is read in units of 8 bits is that the bus is usually 8 bits when a computer is used, and this is matched with that.
ところで、上述した従来回路にあっては、例えば状態検
出部511が1024個あれば(N=1024)、状態
保持回路517および3ステートバッファ519もそれ
に応じて1024個が必要となる。そのため、状態検出
部511が多いときには回路規模が極めて大きくなると
いう問題点があった。By the way, in the above-described conventional circuit, for example, if the number of state detecting units 511 is 1024 (N = 1024), the number of state holding circuits 517 and the number of 3-state buffers 519 will be correspondingly 1024. Therefore, there is a problem that the circuit scale becomes extremely large when the number of state detection units 511 is large.
本発明は、このような点にかんがみて創作されたもので
あって、回路規模の小さい非同期読出し状態遷移保持回
路を提供することを目的としている。The present invention was created in view of the above point, and an object thereof is to provide an asynchronous read state transition holding circuit having a small circuit scale.
第1図(a),(b)は、本発明の非同期読出し状態遷
移保持回路の原理ブロック図である。FIGS. 1A and 1B are block diagrams of the principle of the asynchronous read state transition holding circuit of the present invention.
(i)第1発明 第1図(a)において、N個の状態検出部111は、そ
れぞれが状態検出を行ない、その検出状態に応じてビッ
トデータを出力する。(I) First Invention In FIG. 1 (a), each of the N state detecting units 111 detects a state and outputs bit data according to the detected state.
多重化部113は、前記N個の状態検出部111にて出
力されるNビットの状態検出データを多重化する。The multiplexing unit 113 multiplexes the N-bit state detection data output from the N state detection units 111.
分離部115は、前記多重化部113にて多重化された
Nビットのデータを受けてLビットのブロックに分離す
る。The demultiplexing unit 115 receives the N-bit data multiplexed by the multiplexing unit 113 and demultiplexes it into L-bit blocks.
制御信号発生回路127は、前記Lビットのブロックの
分離と同期したアクセスサイクル毎に順次のアドレス信
号117を出力すると共に、その各アクセスサイクルの
前半サイクルに読出制御信号119及び出力禁止信号を
出力し、後半サイクルに書込制御信号116及び出力許
容信号を出力する。The control signal generation circuit 127 outputs a sequential address signal 117 for each access cycle synchronized with the separation of the block of L bits, and outputs a read control signal 119 and an output prohibition signal in the first half cycle of each access cycle. , And outputs the write control signal 116 and the output permission signal in the latter half cycle.
デュアルポートメモリ121は、前記読出制御信号11
9及びアドレス信号117に応答して該アドレス信号1
17が指定する記憶域から書き込まれているデータを読
出端子から読み出し、書込制御信号116及びアドレス
信号117に応答して書込端子へ供給される書込データ
を前記アドレス信号117が指定される記憶域に書き込
む。The dual port memory 121 uses the read control signal 11
9 and the address signal 1 in response to the address signal 117.
Data written from the storage area designated by 17 is read from the read terminal, and the write signal supplied to the write terminal in response to the write control signal 116 and the address signal 117 is designated by the address signal 117. Write to storage.
保持回路123は、前記デュアルポートメモリ121か
ら読み出されたLビットのデータを保持する。The holding circuit 123 holds the L-bit data read from the dual port memory 121.
L個の論理和回路125は、前記保持回路123に保持
されているLビットのデータと前記分離部115から出
力される1ブロックのLビットのデータとをそれぞれ対
応するビットにおいて論理和を取り、その論理和を前記
出力禁止信号に応答して前記デュアルポートメモリ12
1からの読み出し中出力させず、前記デュアルポートメ
モリ121への書き込みに際して前記出力許容信号に応
答して前記論理和を該デュアルポートメモリ121の書
込端子へ出力する。The L OR circuits 125 logically OR the L-bit data held in the holding circuit 123 and the L-bit data of one block output from the separating unit 115 at corresponding bits, In response to the output prohibition signal, the logical sum is added to the dual port memory 12
No output is made during reading from 1, and the logical sum is output to the write terminal of the dual port memory 121 in response to the output permission signal when writing to the dual port memory 121.
これらの構成要件によって、各アクセスサイクルの前半
サイクルで前記デュアルポートメモリ121から読み出
され、保持回路123に保持されたLビットのデータと
分離部115で分離されたLビットのデータとが論理和
回路125でビット対応に論理和が取られ、そのアクセ
スサイクルの後半サイクルで前記デュアルポートメモリ
121へ書き込まれるように構成されている。Due to these structural requirements, the L-bit data read from the dual port memory 121 in the first half cycle of each access cycle and held in the holding circuit 123 and the L-bit data separated by the separation unit 115 are ORed. The circuit 125 is configured to take a logical OR for each bit and write it to the dual port memory 121 in the latter half cycle of the access cycle.
(ii)第2発明 N個の状態検出部111は、それぞれが状態検出を行な
い、その検出状態に応じたビットデータを出力する。(Ii) Second Invention Each of the N state detection units 111 detects a state and outputs bit data according to the detected state.
状態発生部112は、所定のコード化された複数ビット
のデータを出力する。The state generation unit 112 outputs a predetermined coded multi-bit data.
多重化部113は、前記N個の状態検出部111にて出
力されるNビットの状態検出データあるいは前記状態発
生部112から出力された複数ビットのデータを多重化
する。The multiplexing unit 113 multiplexes N-bit state detection data output from the N state detection units 111 or multiple-bit data output from the state generation unit 112.
分離部115は、前記多重化部113にて多重化された
Nビットのデータを受けてLビットのブロックに分離す
る。The demultiplexing unit 115 receives the N-bit data multiplexed by the multiplexing unit 113 and demultiplexes it into L-bit blocks.
制御信号発生回路127は、前記Lビットのブロックの
分離と同期したアクセスサイクル毎に順次のアドレス信
号117を出力すると共に、その各アクセスサイクルの
前半サイクルに読出制御信号119及び出力禁止信号を
出力し、後半サイクルに書込制御信号116及び出力許
容信号を出力する。The control signal generation circuit 127 outputs a sequential address signal 117 for each access cycle synchronized with the separation of the block of L bits, and outputs a read control signal 119 and an output prohibition signal in the first half cycle of each access cycle. , And outputs the write control signal 116 and the output permission signal in the latter half cycle.
デュアルポートメモリ121は、前記読出制御信号11
9及びアドレス信号117に応答して該アドレス信号1
17が指定する記憶域から書き込まれているデータを読
出端子から読み出し、書込制御信号116及びアドレス
信号117に応答して書込端子へ供給される書込データ
を前記アドレス信号117が指定される記憶域に書き込
む。The dual port memory 121 uses the read control signal 11
9 and the address signal 1 in response to the address signal 117.
Data written from the storage area designated by 17 is read from the read terminal, and the write signal supplied to the write terminal in response to the write control signal 116 and the address signal 117 is designated by the address signal 117. Write to storage.
保持回路123は、前記デュアルポートメモリ121か
ら読み出されたLビットのデータを保持する。The holding circuit 123 holds the L-bit data read from the dual port memory 121.
L個の論理和回路125は、前記保持回路123に保持
されているLビットのデータと前記分離部115から出
力される1ブロックのLビットのデータとをそれぞれ対
応するビットにおいて論理和を取り、その論理和を前記
出力禁止信号に応答して前記デュアルポートメモリ12
1からの読み出し中出力させず、前記デュアルポートメ
モリ121への書き込みに際して前記出力許容信号に応
答して前記論理和を該デュアルポートメモリ121の書
込端子へ出力する。The L OR circuits 125 logically OR the L-bit data held in the holding circuit 123 and the L-bit data of one block output from the separating unit 115 at corresponding bits, In response to the output prohibition signal, the logical sum is added to the dual port memory 12
No output is made during reading from 1, and the logical sum is output to the write terminal of the dual port memory 121 in response to the output permission signal when writing to the dual port memory 121.
制御部127Aは、前記状態発生部112から出力され
る複数ビットのコードデータてあるとを前記アドレス信
号117に応じて判別し、前記保持回路123における
データ保持を禁じるように制御する。The control unit 127A determines that there is a plurality of bits of code data output from the state generation unit 112 according to the address signal 117, and controls so as to prohibit the data holding in the holding circuit 123.
これらの構成要件によって、各アクセスサイクルの前半
サイクルで前記デュアルポートメモリ121から読み出
され、保持回路123に保持されたLビットのデータと
分離部115で分離されたLビットのデータとが論理和
回路125でビット対応に論理和が取られ、そのアクセ
スサイクルの後半サイクルで前記デュアルポートメモリ
121へ書き込まれるが、分離部115で分離されるデ
ータがコード化されたデータであることがアドレス信号
で判別されるときには、保持回路123に保持されてい
るデータはクリアされるので、分離部115で分離され
るデータがそのまま前記デュアルポートメモリ121へ
書き込まれるように構成されている。Due to these structural requirements, the L-bit data read from the dual port memory 121 in the first half cycle of each access cycle and held in the holding circuit 123 and the L-bit data separated by the separation unit 115 are ORed. The circuit 125 takes a logical OR for each bit and writes it to the dual port memory 121 in the latter half cycle of the access cycle. However, it is an address signal that the data separated by the separation unit 115 is coded data. When judged, the data held in the holding circuit 123 is cleared, so that the data separated by the separation unit 115 is written to the dual port memory 121 as it is.
(i)第1発明 第1図(a)に示すように構成される第1発明において
は、N個の状態検出部111の各々によって1ビットず
つ検出され、全部でNビットの状態検出データは、多重
化部113で多重化されて転送される。(I) First Invention In the first invention configured as shown in FIG. 1 (a), one bit is detected by each of the N state detection units 111, and N-state detection data in total is obtained. The data is multiplexed by the multiplexing unit 113 and transferred.
その多重化された状態検出データは、分離部115でL
ビットのブロック単位で分離される。The multiplexed state detection data is L
It is separated into blocks of bits.
このブロック単位毎の分離と同期した各アクセスサイク
ル毎にアドレス信号117が発生され、且つその各アク
セスサイクルの前半サイクルに読出制御信号119及び
出力禁止信号が、そして後半サイクルに書込制御信号1
16及び出力許容信号が、制御信号発生回路127から
出力される。The address signal 117 is generated in each access cycle in synchronization with the separation for each block unit, the read control signal 119 and the output inhibit signal are in the first half cycle of the access cycle, and the write control signal 1 is in the second half cycle.
16 and the output permission signal are output from the control signal generation circuit 127.
前記アクセスサイクル(以下、当該アクセスサイクルと
いう。)の前半サイクル、即ち読出半サイクルにおい
て、論理和回路125へ供給される出力禁止信号に応答
して該論理和回路125からは論理和信号は出力され
ず、前記前半サイクルにおいて制御信号発生回路127
から出力されるアドレス信号117で指定されるデュア
ルボートメモリ121の記憶領域から読み出されたLビ
ットのデータは、保持回路123に保持される。In the first half cycle of the access cycle (hereinafter referred to as the access cycle), that is, the read half cycle, the logical sum circuit 125 outputs a logical sum signal in response to the output prohibition signal supplied to the logical sum circuit 125. In the first half cycle, the control signal generating circuit 127
The holding circuit 123 holds the L-bit data read from the storage area of the dual port memory 121 designated by the address signal 117.
又、前記当該アクセスサイクルの前半サイクルにおい
て、論理和回路125からの論理和信号の出力は、前述
のように禁止されているが、前記当該前半サイクルにお
いて前記当該アクセスサイクルの直前アクセスサイクル
の前半サイクルにおいてデュアルボートメモリ121か
ら読み出され、保持回路123に保持されたLビットの
データと前記当該アクセスサイクルで前記分離部115
で分離されたLビットのデータとの論理和が論理回路1
25において取られる。Further, in the first half cycle of the access cycle, the output of the OR signal from the OR circuit 125 is prohibited as described above. However, in the first half cycle, the first half cycle of the access cycle immediately before the access cycle. At the L-bit data read from the dual board memory 121 and held in the holding circuit 123, the separation unit 115 in the access cycle.
Logical sum with the L-bit data separated by
Taken at 25.
そして、前記当該アクセスサイクルの後半サイクル、即
ち書込サイクルになって、制御信号発生回路127から
出力された出力許容信号に応答した論理和回路125か
ら出力される論理信号は、書込制御信号116及びアド
レス信号117に応答してデュアルボートメモリ121
へ書き込まれる。Then, in the latter half cycle of the access cycle, that is, the write cycle, the logical signal output from the logical sum circuit 125 in response to the output permission signal output from the control signal generation circuit 127 is the write control signal 116. And the dual port memory 121 in response to the address signal 117.
Is written to.
つまり、前記直前アクセスサイクルの前半サイクルにお
いてデュアルボートメモリ121から読み出され、保持
回路123に保持されたLビットのデータと前記当該ア
クセスサイクルで前記分離部115で分離されたLビッ
トのデータとの論理和が、前記当該アクセスサイクルで
制御信号出力回路127から出力されるアドレス信号1
17で指定されるデュアルボートメモリ121の記憶領
域へ書き込まれる。換言すれば、同一の状態検出部11
1で検出された状態検出データビットは、デュアルボー
トメモリ121の同一の書込領域へその履歴を保持しつ
つ書き込まれる。That is, in the first half cycle of the immediately preceding access cycle, the L-bit data read from the dual vote memory 121 and held in the holding circuit 123 and the L-bit data separated by the separating unit 115 in the access cycle are stored. The logical sum is the address signal 1 output from the control signal output circuit 127 in the access cycle.
It is written in the storage area of the dual port memory 121 designated by 17. In other words, the same state detection unit 11
The state detection data bit detected in 1 is written in the same write area of the dual port memory 121 while retaining its history.
(ii)第2発明 第1図(b)に示すに示すように構成される第2発明に
おいては、次の点において第1発明と異なる。(Ii) Second Invention The second invention configured as shown in FIG. 1 (b) differs from the first invention in the following points.
即ち、分離部115において分離されたデータが、コー
ド化されたデータであることを、制御部127Aが制御
信号発生回路127から出力されるアドレス信号によっ
て判別するとき、前述の保持回路123によるデータの
保持を禁止して前記コード化されたデータは、そのまま
デュアルボートメモリ121に書き込み得るようにした
点である。That is, when the control unit 127A determines from the address signal output from the control signal generation circuit 127 that the data separated by the separation unit 115 is coded data, the data of the holding circuit 123 The holding is prohibited, and the coded data can be written in the dual port memory 121 as it is.
こうすることによって、コード化されたデータと、状態
検出データとが混在されて多重化され、そして分離され
ても、それらのデータを読み出し側に正確に転送するこ
とができる。By doing so, even if the coded data and the state detection data are mixed and multiplexed and separated, the data can be accurately transferred to the reading side.
以下、図面に基づいて本発明の実施例について詳細に説
明する。Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
第2図は本発明の一実施例における非同期読出し状態遷
移保持回路の構成を示す。また、第4図は本発明の別実
施例における非同期読出し状態遷移保持回路の構成を示
す。FIG. 2 shows the configuration of an asynchronous read state transition holding circuit according to an embodiment of the present invention. FIG. 4 shows the configuration of an asynchronous read state transition holding circuit according to another embodiment of the present invention.
I.実施例と第1図との対応関係 (i)第1発明 ここで、本発明の第1実施例と第1図(a)との対応関
係を示しておく。I. Correspondence between Embodiment and FIG. 1 (i) First Invention Here, the correspondence between the first embodiment of the present invention and FIG. 1 (a) will be shown.
N個の状態検出部111は、状態検出部2111〜21
1Nに相当する。The N state detection units 111 are the state detection units 211 1 to 21 1.
Equivalent to 1 N.
多重化部113は多重化213に相当する。The multiplexing unit 113 corresponds to the multiplexing 213.
分離部115は、8ビットシフトレジスタ221および
8ビットラッチ回路223で成る分離部215に相当す
る。The separation unit 115 corresponds to the separation unit 215 including the 8-bit shift register 221 and the 8-bit latch circuit 223.
制御信号発生回路127は、制御信号発生回路227に
相当する。The control signal generation circuit 127 corresponds to the control signal generation circuit 227.
書込制御信号116は、読み出し/書き込み制御信号2
43の書き込みモードに相当する。The write control signal 116 is the read / write control signal 2
This corresponds to the write mode 43.
アドレス信号117は、アドレス信号241に相当す
る。The address signal 117 corresponds to the address signal 241.
読出制御信号119は、読み出し/書き込み制御信号2
43の読み出しモードに相当する。The read control signal 119 is the read / write control signal 2
This corresponds to the read mode 43.
デュアルポートメモリ121は、デュアルポートメモリ
231に相当する。The dual port memory 121 corresponds to the dual port memory 231.
保持回路123は、8ビットラッチ回路229に相当す
る。The holding circuit 123 corresponds to the 8-bit latch circuit 229.
L個の論理和回路125は、オア回路2251〜225
8と3ステートバッファ2261〜2268とで成る論
理和回路230に相当する。The L logical sum circuits 125 have OR circuits 225 1 to 225.
8 and 3 correspond to the OR circuit 230 composed of a state buffers 226 1 to 226 8.
(ii)第2発明 次に、本発明の第2実施例と第1図(b)との対応関係
を示しておく。(Ii) Second Invention Next, the correspondence between the second embodiment of the present invention and FIG. 1 (b) will be shown.
N個の状態検出部111は、状態検出部2111〜21
1Nに相当する。The N state detection units 111 are the state detection units 211 1 to 21 1.
Equivalent to 1 N.
状態発生部112は、状態発生部411に相当する。The state generation unit 112 corresponds to the state generation unit 411.
多重化部113は多重化213に相当する。The multiplexing unit 113 corresponds to the multiplexing 213.
分離部115は、8ビットシフトレジスタ221および
8ビットラッチ回路223で成る分離部215に相当す
る。The separation unit 115 corresponds to the separation unit 215 including the 8-bit shift register 221 and the 8-bit latch circuit 223.
制御信号発生回路127は、制御信号発生回路227に
相当する。The control signal generation circuit 127 corresponds to the control signal generation circuit 227.
書込制御信号116は、読み出し/書き込み制御信号2
43の書き込みモードに相当する。The write control signal 116 is the read / write control signal 2
This corresponds to the write mode 43.
アドレス信号117は、アドレス信号241に相当す
る。The address signal 117 corresponds to the address signal 241.
読出制御信号119は、読み出し/書き込み制御信号2
43の読み出しモードに相当する。The read control signal 119 is the read / write control signal 2
This corresponds to the read mode 43.
デュアルポートメモリ121は、デュアルポートメモリ
231に相当する。The dual port memory 121 corresponds to the dual port memory 231.
保持回路123は、8ビットラッチ回路229に相当す
る。The holding circuit 123 corresponds to the 8-bit latch circuit 229.
L個の論理和回路125は、オア回路2251〜225
8と3ステ−トバッファ2261〜2268とで成る論
理和回路230に相当する。The L logical sum circuits 125 have OR circuits 225 1 to 225.
8 and 3 state buffers 226 1 to 226 8 correspond to a logical sum circuit 230.
制御部127Aは、クリア制御回路415に相当する。The control unit 127A corresponds to the clear control circuit 415.
以上のような対応関係があるものとして、以下本発明の
実施例について説明する。An embodiment of the present invention will be described below on the basis of the above correspondence.
II.第1実施例 第2図に示す本発明の第1実施例について以下説明す
る。II. First Embodiment A first embodiment of the present invention shown in FIG. 2 will be described below.
(i)構成 第2図において、この非同期読出し状態遷移保持回路に
は、状態を読み取る所とは離れている所に設置されたN
個の状態検出部211(状態検出部2111〜21
1N)が具わっている。これらN個の状態検出部211
によって検出されたNビットの状態検出データは、多重
化部213に供給される。(I) Configuration In FIG. 2, this asynchronous read state transition holding circuit has an N installed at a place distant from the place where the state is read.
Number of state detection unit 211 (the state detecting unit 211 1 to 21
1 N ) is included. These N state detection units 211
The N-bit state detection data detected by is supplied to the multiplexing unit 213.
多重化部213により多重化されたデータは、8ビット
シフトレジスタ221と8ビットラッチ回路223とに
よって構成される分離部215に供給される。Nビット
のデータはこの分離部215で8ビット(Lビット)毎
のブロックに分離され、その8ビットの各ビットは、オ
ア回路225と3ステートバッファ226とによって構
成される各論理和回路230に並列的に供給される。The data multiplexed by the multiplexing unit 213 is supplied to the separation unit 215 including the 8-bit shift register 221 and the 8-bit latch circuit 223. The N-bit data is separated into blocks of 8 bits (L bits) by the separating unit 215, and each of the 8 bits is supplied to each OR circuit 230 composed of an OR circuit 225 and a 3-state buffer 226. Supplied in parallel.
この論理和回路230のそれぞれは、1つのオア回路2
25および3ステートバッファ226で成っている。8
個の論理和回路230のそれぞれの出力は、デュアルポ
ートメモリ231のデータ入力端D0〜D7にそれぞれ
対応するように供給される。Each of the OR circuits 230 has one OR circuit 2
It consists of 25 and 3-state buffers 226. 8
The respective outputs of the OR circuits 230 are supplied so as to correspond to the data input terminals D 0 to D 7 of the dual port memory 231 respectively.
このデュアルポートメモリ231のアドレスA0〜A
N−1にはアドレス信号241が、データ読み出し/書
き込み制御端(OE/WE)には読み出し/書き込み制
御信号243が、制御信号発生回路227から供給され
るようになっている。また、この制御信号発生回路22
7はクロック信号245を出力し、フリップフロップで
形成される8ビットラッチ回路229のクロック入力端
子CLKに供給するようになっている。Addresses A 0 to A of this dual port memory 231
An address signal 241 is supplied to N−1 , and a read / write control signal 243 is supplied to a data read / write control terminal (OE / WE) from a control signal generation circuit 227. In addition, the control signal generation circuit 22
7 outputs a clock signal 245 and supplies it to a clock input terminal CLK of an 8-bit latch circuit 229 formed by a flip-flop.
8ビットラッチ回路229のデータ入力端D1〜D8に
は、デュアルポートメモリ231のデータ入出力端D0
〜D7から読み出されたデータが導入されるようになっ
ている。また、8ビットラッチ回路229の出力端Q1
〜Q8は、8個の論理和回路230を形成するオア回路
2251〜2258の一方端に入力されるようになって
いる。The data input terminals D 1 to D 8 of the 8-bit latch circuit 229 are connected to the data input / output terminals D 0 of the dual port memory 231.
The data read from D 7 to D 7 are introduced. In addition, the output terminal Q 1 of the 8-bit latch circuit 229
To Q 8 are input to one ends of the OR circuits 225 1 to 225 8 forming the eight OR circuits 230.
また、8ビットラッチ回路229のクリア信号入力端子
CLRには、デュアルポートメモリ231に保持された
データの読み出し等の動作を行なうCPU(図示せず)
からのクリア信号249が供給されるようになってい
る。The clear signal input terminal CLR of the 8-bit latch circuit 229 has a CPU (not shown) for performing operations such as reading data held in the dual port memory 231.
The clear signal 249 is supplied.
(ii)動作 上述した構成の第1実施例の動作について以下述べる。(Ii) Operation The operation of the first embodiment having the above-mentioned configuration will be described below.
N個の状態検出部211によって検出されたNビットの
状態検出データは、多重化部213によって多重化さ
れ、第3図(a)に示すような多重化データとなる。こ
の多重化データは、分離部215の8ビットシフトレジ
スタ221に送られ、ここで、第3図(b)に示すよう
に、8ビット(Lビット)ずつのブロックに分離され
る。8ビットの各ビットは、8ビットラッチ回路223
にてラッチされ、そのラッチされた各ビットのデータは
論理和回路230のオア回路225(オア回路2251
〜2258)にそれぞれ送られる。The N-bit state detection data detected by the N state detection units 211 are multiplexed by the multiplexing unit 213 to be multiplexed data as shown in FIG. This multiplexed data is sent to the 8-bit shift register 221 of the demultiplexing unit 215, where it is demultiplexed into blocks of 8 bits (L bits) as shown in FIG. 3 (b). Each of the 8 bits is an 8-bit latch circuit 223.
Data of each bit latched by the OR circuit 225 (OR circuit 225 1
~ 225 8 ) respectively.
ところで、各論理和回路230のオア回路225および
それらの後段における動作は、各ビットとも同じである
ので、1つのオア回路2251におけるデータA0の場
合を代表例として、以下説明する。By the way, since the operation of the OR circuit 225 of each OR circuit 230 and the subsequent stage thereof is the same for each bit, the case of the data A 0 in one OR circuit 225 1 will be described below as a representative example.
なお、制御信号発生回路227では、前のデータを保持
している8ビットラッチ回路229へのクロック(クロ
ック信号245)を発生する。論理和回路230内の3
ステートバッファ2261〜2268に対して、それら
の出力が、デュアルポートメモリ231よりデータが読
み出されているときには高インピーダンスで、また、デ
ュアルポートメモリ231にデータを書き込むときは正
常なインピーダンスとする制御信号を供給する。The control signal generation circuit 227 generates a clock (clock signal 245) to the 8-bit latch circuit 229 holding the previous data. 3 in the OR circuit 230
Against state buffers 226 1 to 226 8, their outputs in a high impedance when being read data from the dual port memory 231, also, is a normal impedance when writing data to the dual port memory 231 Supply control signals.
制御信号発生回路227からのアドレス241は、8ビ
ット単位のN個のアドレスA0〜AN−1に対するもの
である。読み出し/書き込み制御信号243が、読み出
しモードのとき「読み出し信号」となり、また、書き込
みモードのとき「書き込み信号」となる。以下、この読
み出し/書き込み制御信号243は、そのモードによ
り、「読み出し信号」,「書き込み信号」と称する。The address 241 from the control signal generation circuit 227 is for N addresses A 0 to A N−1 in 8-bit units. The read / write control signal 243 becomes a "read signal" in the read mode, and becomes a "write signal" in the write mode. Hereinafter, the read / write control signal 243 will be referred to as a "read signal" or a "write signal" depending on the mode.
8ビットラッチ回路223よりの新しいデータは、第3
図(c)に示すように、8ビットおきにオア回路225
1に入力される。The new data from the 8-bit latch circuit 223 is the third data
As shown in FIG. 6C, the OR circuit 225 is set every 8 bits.
Input to 1 .
このとき、制御信号発生回路227よりの例えばアドレ
スA0(第3図(d)参照)および読み出し信号(第3
図(e)参照)にて、デュアルポートメモリ231のア
ドレスA0に書き込んである前のデータ(0または1)
を、第3図(f)に示す如く読み出す。その読み出し
後、8ビットラッチ回路229に送ってラッチさせ、第
3図(g)に示す如く、半サイクル遅れてオア回路22
51に入力させる。At this time, for example, an address A 0 (see FIG. 3D) and a read signal (third signal) from the control signal generation circuit 227 are output.
In the figure (e)), the data (0 or 1) before being written in the address A 0 of the dual port memory 231
Are read out as shown in FIG. After the reading, it is sent to the 8-bit latch circuit 229 to be latched, and the OR circuit 22 is delayed by a half cycle as shown in FIG.
5 Input to 1 .
このオア回路2251の出力は、第3図(h)に示すよ
うに、前半の半サイクルでは、データA0と前のデータ
A0との論理和をとったものが出力される。これに対
し、後半の半サイクルでは、データA8と前のデータA
8との論理和をとったものが出力される。The output of the OR circuit 225 1, as shown in FIG. 3 (h), in the first half of the half cycle, that the logical sum of the previous data A 0 and data A 0 is output. On the other hand, in the latter half cycle, the data A 8 and the previous data A are
The logical OR of 8 is output.
従って、これの書き込みは、制御信号発生回路227よ
り、第3図(d)に示すタイミングで書き込むアドレス
A0および同図(i)に示す前半の半サイクルで書き込
む書き込み信号に基づいて行なわれる。その際、制御信
号発生回路227からの制御信号によって、3ステート
バッファ2261の出力インピーダンスは正常となるよ
うに制御される。Therefore, this writing is performed by the control signal generating circuit 227 based on the address A 0 to be written at the timing shown in FIG. 3D and the write signal to be written in the first half cycle shown in FIG. 3I. At this time, the control signal from the control signal generation circuit 227 controls the output impedance of the 3-state buffer 226 1 to be normal.
すなわち、デュアルポートメモリ231に書き込むの
は、そのまま新しいデータを書き込んで前のデータを消
去するということはせず、新しいデータと前のデータと
の論理和をとり、古い“1”レベルのデータは次々と読
み出される。これをM(=N/L)回繰り返し、8ビッ
トラッチ回路229がクリアされる迄保持しながら買い
込まれるようにしている。That is, writing to the dual port memory 231 does not write new data as it is and erases previous data, but takes the logical sum of the new data and the previous data, and the old "1" level data is It is read one after another. This is repeated M (= N / L) times so that the 8-bit latch circuit 229 is held and held until it is bought.
このようにして、8ビット単位で、例えば1024ビッ
トを1024のアドレスに書き込む。この書き込んだデ
ータをCPUが読み出すときは、8ビット単位でアドレ
ス信号251および読み出し信号253を、デュアルポ
ートメモリ231の他方のポートに入力する。これによ
り、非同期で読み出すことができる。この読み出しが完
了すれば、クリア信号249を供給して、8ビットラッ
チ回路229をクリアする。In this way, for example, 1024 bits are written in the address of 1024 in units of 8 bits. When the CPU reads the written data, the address signal 251 and the read signal 253 are input to the other port of the dual port memory 231 in 8-bit units. This allows asynchronous reading. When this reading is completed, the clear signal 249 is supplied to clear the 8-bit latch circuit 229.
このようにすれば、8ビットシフトレジスタ221が6
4個以上であっても、非同期読出し状態遷移保持回路
は、分離部215以降は、8個のオア回路2251〜2
258,8個の3ステートバッファ2261〜22
68,1個のデュアルポートメモリ231,8ビットラ
ッチ回路229,制御信号発生回路227で構成できる
ので、回路規模は小さくなる。In this way, the 8-bit shift register 221 has 6
Even if the number is four or more, the asynchronous read state transition holding circuit has eight OR circuits 225 1 to 2 after the separation unit 215.
25 8 , 8 3-state buffers 226 1 to 22
The circuit scale can be reduced because it can be configured by 68, one dual port memory 231, an 8- bit latch circuit 229, and a control signal generation circuit 227.
なお、コンピュータのバスの関係で8ビット単位で説明
したが、これは2ビット単位にしてもよく、その場合に
は更に回路規模は小さくなる。It should be noted that although the description has been made in units of 8 bits in relation to the bus of the computer, this may be made in units of 2 bits, in which case the circuit scale will be further reduced.
III.第2実施例 上述した本発明の第1実施例による非同期読出し状態遷
移保持回路にあっては、デュアルポートメモリ231に
検出状態データたる“1”を書き込んで保持し、読み出
し信号によって読み出されまで保持されるものである。
これによって、状態検出部211による検出状態データ
がデュアルポートメモリ231に保持され続けるもので
ある。そこでは、“0”は無意味であるとの前提に立っ
ている。III. Second Embodiment In the asynchronous read state transition holding circuit according to the first embodiment of the present invention described above, the detection state data “1” is written and held in the dual port memory 231, and is read by the read signal. It is what is retained.
As a result, the detection state data by the state detection unit 211 is kept held in the dual port memory 231. There, it is assumed that "0" is meaningless.
ところで、例えば、状態“1”のときの“0010”の
コード化されたデータを転送して、デュアルポートメモ
リ231に書き込んだ後に、変化した状態“2”の“0
100”のコード化されたデータを送ると、“011
0”がデュアルポートメモリ231に書き込まれる。つ
まり、転送したいデータは“0010”から“010
0”と変化したにもかかわらず、得られるコード化デー
タは“0110”となり、結果的に異なるデータとなっ
てしまう。これは、転送すべき“0010”の“1”が
一旦書き込まれた後読み出されて8ビットラッチ回路2
29でラッチされ、論理和回路230にて“0”と加算
されて再びデュアルポートメモリ231に書き込まれて
保持されることに起因する。そこでは“0”は無意味で
あるとの前提に立っているからである。By the way, for example, after the coded data of “0010” in the state “1” is transferred and written in the dual port memory 231, the changed state “0” of “0” is written.
If you send the encoded data of "100", "011
0 ”is written in the dual port memory 231. That is, the data to be transferred is from“ 0010 ”to“ 010 ”.
Despite the change to "0", the obtained coded data becomes "0110", resulting in different data. This means that " 1 " of "00 1 0" to be transferred is once written. 8-bit latch circuit 2
It is caused by the fact that it is latched in 29, added to “0” in the OR circuit 230, written again in the dual port memory 231, and held. This is because it is premised that "0" is meaningless.
このように“0”も意味を持つ場合には、上述した第1
実施例の非同期読出し状態遷移保持回路は使用できな
い。例えば、コード(複数ビットのかたまり)で意味を
有する情報については、多重化部213によって多重化
した後、デュアルポートメモリ231側に転送して、そ
こで保持するということはできない。In this way, when "0" also has a meaning, the first
The asynchronous read state transition holding circuit of the embodiment cannot be used. For example, it is not possible to transfer information to the dual port memory 231 side after being multiplexed by the multiplexing unit 213, and to hold the information therein, which has meaning in a code (a group of a plurality of bits).
このように、コード化されたデータをも転送したい場合
に適用できる非同期読出し状態遷移保持回路を、次に第
2実施例として述べる。An asynchronous read state transition holding circuit applicable to the case where it is desired to transfer coded data as described above will be described next as a second embodiment.
(i)構成 第4図に、本発明の第2実施例による非同期読出し状態
遷移保持回路を示す。ここで、構成的に第1実施例と異
なるのは、状態検出部2111〜211Nと並列的に、
例えばサムロータリースイッチで成る状態発生部411
を設けて多重化部213に接続していることと、制御信
号発生回路227からのアドレス信号241に基づいて
クリア信号413の発生タイミングを決定するクリア制
御回路415を新たに設けたことである。このクリア制
御回路415はROMで成り、クリアトリガ信号417
(第2図のクリア信号249に相当する)を受けてクリ
ア信号413を出力するものであり、デュアルポートメ
モリ231に「コード化データ」を書き込むべきアドレ
スには当該クリア制御回路415では“0”が書き込ん
である。その他については、第2図に示す第1実施例と
同様である。(I) Configuration FIG. 4 shows an asynchronous read state transition holding circuit according to the second embodiment of the present invention. Here, what is structurally different from the first embodiment is that, in parallel with the state detection units 211 1 to 211 N ,
For example, a state generation unit 411 including a thumb rotary switch
Is provided and connected to the multiplexing unit 213, and a clear control circuit 415 that determines the generation timing of the clear signal 413 based on the address signal 241 from the control signal generation circuit 227 is newly provided. The clear control circuit 415 is composed of a ROM and has a clear trigger signal 417.
The clear signal 413 is output upon receiving (corresponding to the clear signal 249 in FIG. 2), and the address to which the "coded data" should be written in the dual port memory 231 is "0" in the clear control circuit 415. Is written. Others are the same as those in the first embodiment shown in FIG.
(ii)動作 この第2実施例において、第1実施例とその動作上異な
るのは、状態発生部411からのコード化されたデータ
が転送されてきたときには、8個の論理和回路230で
の加算動作を行なわないようにしていることである。(Ii) Operation The operation of the second embodiment differs from that of the first embodiment in that when the coded data from the state generation unit 411 is transferred, the operation of the eight OR circuits 230 is performed. That is, the addition operation is not performed.
いま、状態検出部2111〜211Nからの検出データ
と状態発生部411からのコード化されたデータ(例え
ば4ビット)とが多重化部213に供給されているとす
ると、当該多重化部213から出力される多重化信号
は、「検出状態データ」,「コード化データ」の混在す
るデータ列となる。ところで、この多重化信号におい
て、「検出状態データ」と「コード化データ」とが出現
する順序は、予め分かっているので、そのアドレスに応
じて“0”がクリア制御回路415に書き込んである。
仮に、クリア制御回路415において、制御信号発生回
路227から出力されるアドレス信号241に基づくア
ドレスに“0”が書き込んであると、クリア信号413
を出力する。Now, assuming that the detection data from the state detection units 211 1 to 211 N and the coded data (for example, 4 bits) from the state generation unit 411 are supplied to the multiplexing unit 213, the multiplexing unit 213. The multiplexed signal output from is a data string in which "detection state data" and "coded data" are mixed. By the way, since the order in which "detection state data" and "coded data" appear in this multiplexed signal is known in advance, "0" is written in the clear control circuit 415 in accordance with the address.
If, in the clear control circuit 415, "0" is written in the address based on the address signal 241 output from the control signal generation circuit 227, the clear signal 413 is written.
Is output.
つまり、アドレスに従って、読み出し側のCPUから供
給されているクリアトリガ信号417に応じて、「コー
ド化データ」が出現するタイミングで、クリア制御回路
415がクリア信号413を8ビットラッチ回路229
のクリア端子CLRに供給する。このクリア信号413
により、8ビットラッチ回路229にてラッチされてい
るデータがクリアされる。そのため、8ビットラッチ回
路229から論理和回路230のオア回路2251〜2
258に供給される出力Q1〜Q8は“0”となる。That is, according to the address, the clear control circuit 415 outputs the clear signal 413 to the 8-bit latch circuit 229 at the timing when the "coded data" appears in response to the clear trigger signal 417 supplied from the CPU on the reading side.
Supply to the clear terminal CLR. This clear signal 413
As a result, the data latched by the 8-bit latch circuit 229 is cleared. Therefore, 8-bit from the latch circuit 229 of the OR circuit 230 OR circuit 225 21 to
The outputs Q 1 to Q 8 supplied to 25 8 are “0”.
そのため、前のデータたる「検出状態データ」が8ビッ
トラッチ回路229に保持されていても、「コード化デ
ータ」が転送されてきたときには当該8ビットラッチ回
路229がクリアされるので、「コード化データ」がそ
のままデュアルポートメモリ231に書き込まれること
となる。従って、後にCPUがデュアルポートメモリ2
31から読み出しても、本来転送されるべきコード化デ
ータそのものが得られる。Therefore, even if the previous data “detection state data” is held in the 8-bit latch circuit 229, the 8-bit latch circuit 229 is cleared when the “coded data” is transferred. The “data” is directly written in the dual port memory 231. Therefore, the CPU will later operate the dual port memory 2
Even if the data is read from 31, the coded data itself to be transferred can be obtained.
但し、「検出状態データ」のみの転送,書き込みが行な
われる場合には、第1実施例の場合と同様にして、クリ
ア信号413が8ビットラッチ回路229に供給され
て、その保持がクリアされるものである。However, when only the "detection state data" is transferred and written, the clear signal 413 is supplied to the 8-bit latch circuit 229 to clear its holding, as in the case of the first embodiment. It is a thing.
IV.発明の変形態様 なお、「I.実施例と第1図との対応関係」において、
上述した実施例と本発明とを対応付けて説明しておいた
が、本発明はこれに限られることはなく、各種の変形態
様があることは当業者であれば容易に推考できるであろ
う。IV. Modification of Invention In addition, in “I. Correspondence between Example and FIG. 1”,
Although the above-described embodiments and the present invention have been described in association with each other, the present invention is not limited to this, and those skilled in the art can easily contemplate that there are various modifications. .
上述したように、本発明によれば、状態検出部が極めて
多い場合であっても、小規模の回路構成で、非同期読出
し状態遷移保持回路を実現できるので、実用的には極め
て有有である。As described above, according to the present invention, an asynchronous read state transition holding circuit can be realized with a small-scale circuit configuration even when the number of state detection units is extremely large, which is extremely useful in practice. .
第1図は本発明の非同期読出し状態遷移保持回路の原理
ブロック図、 第2図は本発明の一実施例による非同期読出し状態遷移
保持回路の構成ブロック図、 第3図は第2図に示す本発明実施例による非同期読出し
状態遷移保持回路における動作を示す説明図、 第4図は本発明の別実施例による非同期読出し状態遷移
保持回路の構成ブロック図、 第5図は従来の非同期読出し状態遷移保持回路の説明図
である。 図において、 111は状態検出部、 112は状態発生部、 113は多重化部、 115は分離部、 116は書込制御信号、 117はアドレス信号、 119は読出制御信号、 121はデュアルポートメモリ、 123は保持回路、 125は論理和回路、 127は制御部、 211,511は状態検出部、 213,513は多重化部、 215,515は分離部、 221は8ビットシフトレジスタ、 223は8ビットラッチ回路、 227は制御信号発生回路、 229は8ビットラッチ回路、 230は論理和回路、 231はデュアルポートメモリ、 411は状態発生部、 415はクリア制御回路、 417はクリアトリガ信号、 517は状態保持回路、 519は3ステートバッファである。FIG. 1 is a block diagram showing the principle of an asynchronous read state transition holding circuit of the present invention, FIG. 2 is a block diagram showing the configuration of an asynchronous read state transition holding circuit according to an embodiment of the present invention, and FIG. 3 is a book shown in FIG. FIG. 4 is an explanatory diagram showing the operation of the asynchronous read state transition holding circuit according to the embodiment of the invention, FIG. 4 is a block diagram of the configuration of an asynchronous read state transition holding circuit according to another embodiment of the present invention, and FIG. 5 is a conventional asynchronous read state transition holding circuit. It is an explanatory view of a circuit. In the figure, 111 is a state detection unit, 112 is a state generation unit, 113 is a multiplexing unit, 115 is a demultiplexing unit, 116 is a write control signal, 117 is an address signal, 119 is a read control signal, 121 is a dual port memory, 123 is a holding circuit, 125 is an OR circuit, 127 is a control unit, 211 and 511 are state detection units, 213 and 513 are multiplexing units, 215 and 515 are demultiplexing units, 221 is an 8-bit shift register, and 223 is 8 bits. Latch circuit, 227 is a control signal generation circuit, 229 is an 8-bit latch circuit, 230 is a logical sum circuit, 231 is a dual port memory, 411 is a state generator, 415 is a clear control circuit, 417 is a clear trigger signal, and 517 is a state. The holding circuit 519 is a three-state buffer.
Claims (3)
態に応じてビットデータを出力するN個の状態検出部
(111)と、 前記N個の状態検出部(111)にて出力されるNビッ
トの状態検出データを多重化する多重化部(113)
と、 前記多重化部(113)にて多重化されたNビットのデ
ータを受けてLビットのブロックに分離する分離部(1
15)と、 前記Lビットのブロックの分離と同期したアクセスサイ
クル毎に順次のアドレス信号(117)を出力すると共
に、その各アクセスサイクルの前半サイクルに読出制御
信号(119)及び出力禁止信号を出力し、後半サイク
ルに書込制御信号(116)及び出力許容信号を出力す
る制御信号発生回路(127)と、 前記読出制御信号(119)及びアドレス信号(11
7)に応答して該アドレス信号が指定する記憶域から書
き込まれているデータを読出端子から読み出し、書込制
御信号(116)及びアドレス信号(117)に応答し
て書込端子へ供給される書込データを前記アドレス信号
(117)が指定される記憶域に書き込むデュアルポー
トメモリ(121)と、 前記デュアルポートメモリ(121)から読み出された
Lビットのデータを保持する保持回路(123)と、 前記保持回路(123)に保持されているLビットのデ
ータと前記分離部(115)から出力される1ブロック
のLビットのデータとをそれぞれ対応するビットにおい
て論理和を取り、その論理和を前記出力禁止信号に応答
して前記デュアルポートメモリ(121)からの読み出
し中出力させず、前記デュアルポートメモリ(121)
への書き込みに際して前記出力許容信号に応答して前記
論理和を該デュアルポートメモリ(121)の書込端子
へ出力するL個の論理和回路(125)と、 を具えるように構成したことを特徴とする非同期読出し
状態遷移保持回路。1. N state detectors (111) each of which detects a state and outputs bit data according to the detected state, and N output by the N state detectors (111). Multiplexing unit (113) for multiplexing bit state detection data
And a demultiplexing unit (1 that receives the N-bit data multiplexed by the multiplexing unit (113) and demultiplexes into L-bit blocks.
15) and outputting a sequential address signal (117) for each access cycle in synchronization with the separation of the L-bit block, and outputting a read control signal (119) and an output inhibit signal in the first half cycle of each access cycle. Then, the control signal generating circuit (127) which outputs the write control signal (116) and the output permission signal in the latter half cycle, the read control signal (119) and the address signal (11).
In response to 7), the data written from the storage area designated by the address signal is read from the read terminal and supplied to the write terminal in response to the write control signal (116) and the address signal (117). A dual port memory (121) for writing write data to a storage area designated by the address signal (117), and a holding circuit (123) for holding L-bit data read from the dual port memory (121) And the L-bit data held in the holding circuit (123) and the L-bit data of one block output from the separating unit (115) are ORed at corresponding bits, and the logical OR is performed. In response to the output prohibiting signal, the dual port memory (121) is not output during reading, and the dual port memory (1 1)
And a logical sum circuit (125) for outputting the logical sum to the write terminal of the dual port memory (121) in response to the output permission signal when writing to Characteristic asynchronous read state transition holding circuit.
態に応じたビットデータを出力するN個の状態検出部
(111)と、 所定のコード化された複数ビットのデータを出力する状
態発生部(112)と、 前記N個の状態検出部(111)にて出力されるNビッ
トの状態検出データあるいは前記状態発生部(112)
から出力された複数ビットのデータを多重化する多重化
部(113)と、 前記多重化部(113)にて多重化されたNビットのデ
ータを受けてLビットのブロックに分離する分離部(1
15)と、 前記Lビットのブロックの分離と同期したアクセスサイ
クル毎に順次のアドレス信号(117)を出力すると共
に、その各アクセスサイクルの前半サイクルに読出制御
信号(119)及び出力禁止信号を出力し、後半サイク
ルに書込制御信号(116)及び出力許容信号を出力す
る制御信号発生回路(127)と、 前記読出制御信号(119)及びアドレス信号(11
7)に応答して該アドレス信号(117)が指定する記
憶域から書き込まれているデータを読出端子から読み出
し、書込制御信号(116)及びアドレス信号(11
7)に応答して書込端子へ供給される書込データを前記
アドレス信号(117)が指定される記憶域に書き込む
デュアルポートメモリ(121)と、 前記デュアルポートメモリ(121)から読み出された
Lビットのデータを保持する保持回路(123)と、 前記保持回路(123)に保持されているLビットのデ
ータと前記分離部(115)から出力される1ブロック
のLビットのデータとをそれぞれ対応するビットにおい
て論理和を取り、その論理和を前記出力禁止信号に応答
して前記デュアルポートメモリ(121)からの読み出
し中出力させず、前記デュアルポートメモリ(121)
への書き込みに際して前記出力許容信号に応答して前記
論理和を該デュアルポートメモリ(121)の書込端子
へ出力するL個の論理和回路(125)と、 前記状態発生部(112)から出力される複数ビットの
コードデータてあることを前記アドレス信号(117)
に応じて判別し、前記保持回路(123)におけるデー
タ保持を禁じるように制御する制御部(127A)と、 を具えるように構成したことを特徴とする非同期読出し
状態遷移保持回路。2. A state detecting section (111) each of which detects a state and outputs bit data corresponding to the detected state, and a state generating section which outputs a predetermined coded multi-bit data. (112) and N-bit state detection data output from the N state detection units (111) or the state generation unit (112)
And a demultiplexing unit (113) for demultiplexing the multi-bit data output from the demultiplexing unit and a demultiplexing unit (N) for receiving the N-bit data multiplexed by the multiplexing unit (113) and separating the L-bit blocks 1
15) and outputting a sequential address signal (117) for each access cycle in synchronization with the separation of the block of L bits, and outputting a read control signal (119) and an output inhibit signal in the first half cycle of each access cycle. Then, the control signal generating circuit (127) for outputting the write control signal (116) and the output permission signal in the latter half cycle, the read control signal (119) and the address signal (11).
In response to 7), the data written from the storage area designated by the address signal (117) is read from the read terminal, and the write control signal (116) and the address signal (11) are read.
7) In response to 7), the write data supplied to the write terminal is written in the storage area designated by the address signal (117), and the read data is read from the dual port memory (121). A holding circuit (123) for holding L-bit data, the L-bit data held in the holding circuit (123), and one block of L-bit data output from the separating unit (115). The logical sum of the corresponding bits is taken, and the logical sum is not output during reading from the dual port memory (121) in response to the output prohibition signal, and the dual port memory (121)
When the data is written to, the logical sum is output to the write terminal of the dual port memory (121) in response to the output permission signal, and the logical sum circuit (125) is output from the state generation unit (112). The address signal (117)
And a control unit (127 A ) for controlling the holding circuit (123) so as to prohibit data holding in the holding circuit (123), and an asynchronous read state transition holding circuit.
(115)から出力される1ブロックのデータが前記コ
ード化された複数ビットのデータであるときには、前記
保持回路(123)に保持されているLビットのデータ
をクリアするように構成したことを特徴とする特許請求
の範囲第2項記載の非同期読出し状態遷移保持回路。3. The control section (127 A ) holds in the holding circuit (123) when one block of data output from the separating section (115) is the coded multi-bit data. The asynchronous read state transition holding circuit according to claim 2, characterized in that it is configured to clear the L-bit data that has been stored.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31684087A JPH0622360B2 (en) | 1987-02-03 | 1987-12-15 | Asynchronous read state transition holding circuit |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62-22837 | 1987-02-03 | ||
| JP2283787 | 1987-02-03 | ||
| JP31684087A JPH0622360B2 (en) | 1987-02-03 | 1987-12-15 | Asynchronous read state transition holding circuit |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JPS64831A JPS64831A (en) | 1989-01-05 |
| JPH01831A JPH01831A (en) | 1989-01-05 |
| JPH0622360B2 true JPH0622360B2 (en) | 1994-03-23 |
Family
ID=26360117
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP31684087A Expired - Lifetime JPH0622360B2 (en) | 1987-02-03 | 1987-12-15 | Asynchronous read state transition holding circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0622360B2 (en) |
-
1987
- 1987-12-15 JP JP31684087A patent/JPH0622360B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS64831A (en) | 1989-01-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5365485A (en) | Fifo with fast retransmit mode | |
| EP0226017B1 (en) | Data synchronizer between a source system and a sink system | |
| JPH06188850A (en) | Data transfer method and data transfer device | |
| US10971237B2 (en) | Semiconductor device | |
| JPS6244851A (en) | Memory access circuit | |
| AU642547B2 (en) | First-in first-out buffer | |
| JPH04301290A (en) | Pushup memory circuit | |
| US6904116B2 (en) | Shift register | |
| JPH0622360B2 (en) | Asynchronous read state transition holding circuit | |
| JP2570985B2 (en) | Semiconductor associative memory device | |
| US6175518B1 (en) | Remote register hierarchy accessible using a serial data line | |
| JPH01831A (en) | Asynchronous read state transition holding circuit | |
| KR100270335B1 (en) | Frame synchronization apparatus for rounding synchronization protection information | |
| JPH09274599A (en) | Buffer memory device | |
| KR0176845B1 (en) | I / O Port Expansion Method and Circuit of Microcomputer | |
| SU1472909A1 (en) | Dynamic addressing memory | |
| SU1231494A2 (en) | Device for generating test sequences | |
| RU2224356C2 (en) | Memory location | |
| SU1183957A1 (en) | Device for sorting data | |
| US6154407A (en) | First in first out memory circuit | |
| SU1587601A1 (en) | Redundant memory device | |
| JPS622317A (en) | Multilevel comparison and coincidence detecting circuit | |
| JPS62219390A (en) | Fifo memory | |
| JPH07123094A (en) | Buffer control circuit | |
| JPH0748309B2 (en) | Symbol string matching memory and its cascade connection method |