JPH0562787B2 - - Google Patents

Info

Publication number
JPH0562787B2
JPH0562787B2 JP62122410A JP12241087A JPH0562787B2 JP H0562787 B2 JPH0562787 B2 JP H0562787B2 JP 62122410 A JP62122410 A JP 62122410A JP 12241087 A JP12241087 A JP 12241087A JP H0562787 B2 JPH0562787 B2 JP H0562787B2
Authority
JP
Japan
Prior art keywords
block
section
memory
address
signal
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
Application number
JP62122410A
Other languages
Japanese (ja)
Other versions
JPS63288351A (en
Inventor
Koichi Ooya
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Asia Electronics Co
Original Assignee
Asia Electronics Co
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 Asia Electronics Co filed Critical Asia Electronics Co
Priority to JP12241087A priority Critical patent/JPS63288351A/en
Publication of JPS63288351A publication Critical patent/JPS63288351A/en
Publication of JPH0562787B2 publication Critical patent/JPH0562787B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明はメモリ・ブロツクの書き込み、読み出
し回路に関するもので、特に半導体試験装置にお
けるパターン・データ・メモリの書き込み、読み
出し回路に使用されるものである。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a memory block write/read circuit, and is particularly applicable to a pattern data memory write/read circuit in a semiconductor testing device. It is used.

(従来の技術) 半導体試験装置に於けるパターン・データ・メ
モリの書き込み、読み出し回路は、通常第6図に
示す様な論理回路構成が一般的である。第6図に
おいて51は双方向バスドライバ、52はアンド
回路、53はパターン・データ・メモリ、57は
遅延素子である。ここでCPU(中央処理装置)の
バスラインBUS1……BUSnの信号は複数ビツト
からなり、パターン・データ・メモリ53の書き
込みまたは読み出しデータとなる。又、BUS1
……BUSn信号はパターン・データ・メモリのブ
ロツク31,32,……3nへのアドレス情報と
双方向性バスドライバ回路11,12,……1n
のブロツク選択情報ともなる。双方向性バスドラ
イバ回路11,12,……1nの選択情報はブロ
ツク選択カウンタ55へ、パターン・データ・メ
モリ53のアドレス情報はパターン・アドレス・
カウンタ56へ、それぞれSETCK信号でロード
される。ブロツク選択カウンタ55の出力はブロ
ツク選択回路54の入力信号となり、ブロツク選
択回路54によつて双方向性バスドライバ選択信
号S1,S2,……Snのうち1つが選択される。
信号S1,S2,……Snは双方向性バスドライ
バ51を選択すると同時にAND回路52の入力
となる。S1はAND回路21の入力信号、S2
はAND回路22の入力信号、以下同様にS3…
…Snまでの信号がAND回路23……2nの入力
信号となる。このAND回路21……2nで、そ
れぞれWM信号とCPU信号及び、S1……Sn信
号の3つの論理積がとられて、書き込みするべき
パターン・データ・メモリ53の書き込み許可信
号(WE)となる。
(Prior Art) A writing/reading circuit for a pattern data memory in a semiconductor testing device generally has a logic circuit configuration as shown in FIG. In FIG. 6, 51 is a bidirectional bus driver, 52 is an AND circuit, 53 is a pattern data memory, and 57 is a delay element. Here, the signals on the bus lines BUS1 . Also, BUS1
. . . The BUSn signal is the address information for the pattern data memory blocks 31, 32, . . . 3n and the bidirectional bus driver circuits 11, 12, . . . 1n.
It also serves as block selection information. The selection information of the bidirectional bus driver circuits 11, 12, . . . 1n is sent to the block selection counter 55, and the address information of the pattern data memory 53 is sent to the pattern address.
The counters 56 are each loaded with the SETCK signal. The output of the block selection counter 55 becomes an input signal to the block selection circuit 54, and the block selection circuit 54 selects one of the bidirectional bus driver selection signals S1, S2, . . . Sn.
The signals S1, S2, . . . Sn select the bidirectional bus driver 51 and simultaneously become inputs to the AND circuit 52. S1 is the input signal of the AND circuit 21, S2
is the input signal of the AND circuit 22, and similarly, S3...
...The signals up to Sn become the input signals of the AND circuits 23...2n. These AND circuits 21...2n take the logical product of the WM signal, the CPU signal, and the S1...Sn signal, respectively, and generate a write permission signal (WE) for the pattern data memory 53 to be written. .

第6図の回路に於いて、WM信号が“1”(ア
リ)ならパターン・データ・メモリ53へデータ
を書き込むモードになり、“0”(ナシ)ならパタ
ーン・データ・メモリ53からデータを読み出す
モードになる。書き込みモードの場合、第7図の
如く書き込みアドレス情報とブロツク選択情報を
与える時間aサイクルと書き込みデータを与える
時間bサイクルが時分割で処理されることにな
る。同様に、読み出しモードの場合も、第8図の
如く読み出しアドレス情報とブロツク選択情報を
与える時間aサイクルと読み出しデータを得るb
サイクルが時分割で処理される。いずれもの場合
も、アドレス情報とブロツク選択情報はaサイク
ル、即ち、同サイクル内で2つの情報を同時に与
えなければならない為、バスラインBUS1……
BUSnを分割して処理する事になる。例えばパタ
ーン・データ・メモリ31,……3nが4096ワー
ド×16ビツトのメモリとすれば、BUS1……
BUS12がアドレス情報となり、BUS13……
BUS16がブロツク選択情報となる。よつて、
この場合16ブロツクのパターン・データ・メモ
リが扱える。
In the circuit shown in Figure 6, if the WM signal is "1" (yes), the mode is to write data to the pattern data memory 53, and if it is "0" (no), data is read from the pattern data memory 53. mode. In the case of the write mode, as shown in FIG. 7, the time a cycle for providing write address information and block selection information and the time b cycle for providing write data are processed in a time-division manner. Similarly, in the case of the read mode, as shown in FIG.
Cycles are processed in time division. In either case, address information and block selection information must be given at the same time in a cycle, that is, in the same cycle, so the bus line BUS1...
BUSn will be divided and processed. For example, if pattern data memories 31,...3n are memories of 4096 words x 16 bits, BUS1...
BUS12 becomes address information, BUS13...
BUS16 becomes block selection information. Then,
In this case, 16 blocks of pattern data memory can be handled.

ここで、パターン・データ・メモリ53へデー
タを連続して書き込む場合、或いはパターン・デ
ータ・メモリ53から連続してデータを読み出す
場合、第9図の如く、まず最初に読み書きを行な
うアドレス値とブロツク選択値0をaサイクルで
与え、次のb1サイクルから連続してb2,b3
……とデータの読み出し、又は書き込みが行なわ
れる。ブロツク選択カウンタ55はbサイクル毎
に1カウントづつカウント・アツプされ、パター
ン・データ・メモリ53が31,32,……3n
と順次選択されてゆく。ブロツク選択カウンタ5
5がn−1になつた時、ブロツク選択カウンタが
キヤリー信号を出力し、パターン・アドレス・カ
ウンタ56をカウント・アツプしてパターン・デ
ータ・メモリ53のアドレスを進める。この時、
ブロツク選択カウンタはn−1から0にもどり、
また最初からn−1までカウント・アツプされ、
パターン・アドレス・カウンタ56が+1され
る。以下同様に読み出し又は書き込みが行なわれ
る、 (発明が解決しようとする問題点) 次にパターン・データ・メモリ53の、ある1
つのメモリ・ブロツクから連続してデータを読み
出す場合、或いはメモリ・ブロツクへ書き込む場
合、又は不連続なメモリ・ブロツク(メモリ53
の)にデータを読み書きする場合、第10図の如
く毎回アドレス情報とブロツク選択情報を与えな
ければならない。よつて、この例に於いては次の
様な欠点がある。
Here, when writing data continuously to the pattern data memory 53, or when reading data continuously from the pattern data memory 53, as shown in FIG. Give the selection value 0 in a cycle, and then continuously apply b2 and b3 from the next b1 cycle.
..., data is read or written. The block selection counter 55 is incremented by 1 count every b cycles, and the pattern data memory 53 is incremented by 31, 32, . . . 3n.
are selected one after another. Block selection counter 5
5 becomes n-1, the block selection counter outputs a carry signal, counts up the pattern address counter 56, and advances the address of the pattern data memory 53. At this time,
The block selection counter returns from n-1 to 0,
It is also counted up from the beginning to n-1,
Pattern address counter 56 is incremented by one. Subsequent reading or writing is performed in the same manner. (Problem to be solved by the invention) Next, a certain one of the pattern data memory 53
When reading data continuously from one memory block or writing data to a memory block, or when reading data from a discontinuous memory block (memory 53
When reading and writing data to (), address information and block selection information must be provided each time as shown in FIG. Therefore, this example has the following drawbacks.

(1) 不連続パターン・データ・メモリ・ブロツク
へのデータの書き込み、及びデータの読み出し
はアドレス情報とブロツク選択情報の両方が必
ず必要となるため、データのみの書き込み、読
み出しは不可能である。
(1) Writing and reading data to and from a discontinuous pattern data memory block always requires both address information and block selection information, so writing and reading only data is impossible.

(2) 不連続なパターン・データ・メモリ・ブロツ
クへのデータの書き込み、読み出しには、デー
タ毎に必ずアドレス情報と選択情報が必要とな
るため、書き込み、読み出し時間が長くなる。
(2) Writing and reading data to and from discontinuous pattern data memory blocks requires address information and selection information for each piece of data, which increases the writing and reading time.

本発明は上記実情に鑑みてなされたもので、半
導体試験装置等に於けるパターン・データ・メモ
リにデータを書き込む場合、又はデータを読み出
す場合、最初にアドレス情報とブロツク選択情報
を設定する事により、以後、アドレス情報とブロ
ツク選択情報なしに、任意のパターン・データ・
メモリ・ブロツクへ書き込み、または読み出しが
連続して行なえ、以つて前記従来の問題点を改善
することを目的としたものである。
The present invention has been made in view of the above-mentioned circumstances, and when writing data to or reading data from a pattern data memory in semiconductor testing equipment, etc., it is possible to set address information and block selection information first. , from then on, any pattern data can be input without address information or block selection information.
The purpose of the present invention is to enable continuous writing to or reading from a memory block, and thereby to improve the above-mentioned conventional problems.

(問題点を改善するための手段と作用) 本発明は、ブロツク毎に情報を記憶するパター
ン・データ・メモリと、CPU(中央処理装置)の
バスラインと前記パターン・データ・メモリとの
間に設けられた双方向バスドライバと、前記パタ
ーン・データ・メモリのブロツクを選択するブロ
ツク選択回路と、前記CPUからのブロツク選択
情報を順次蓄積し該情報に応じて前記ブロツク選
択回路の出力を選択するブロツク・セレクト・メ
モリと、前記パターン・データ・メモリの書き込
みまたは読み出しのアドレス設定手段と、前記
CPUにより設定値を記憶するレジスタと、書き
込みまたは読み出しサイクルが変わる毎にカウン
ト値が変わるブロツク・セレクト・カウンタと、
このカウンタの出力と前記レジスタの出力とを比
較し、その結果に応じて前記ブロツク・セレク
ト・カウンタをリセツトし、また前記アドレス設
定手段のアドレス値を変えるアドレス・コンパレ
ータと、前記ブロツク・セレクト・カウンタの出
力と前記ブロツク・セレクト・メモリへのCPU
からのブロツク選択情報とを切り変えるマルチプ
レクサとを具備したことを特徴とするメモリ・ブ
ロツクの書き込み、読み出し回路である。即ち本
発明は、メモリ・ブロツクへのデータの書き込み
又は読み出しを制御する回路に於て、ブロツク・
セレクト・メモリ及びその制御回路を用い、最初
にアドレス情報とブロツク選択情報を設定する事
により、以後データ毎にCPUが介在することな
く、アドレス情報とブロツク選択情報なしにデー
タのみを書き込み又は読み出しが、ブロツクの順
序を自由に連続して行なう事が出来るようにした
ものである。
(Means and effects for improving the problem) The present invention provides a pattern data memory that stores information for each block, and a pattern data memory that stores information for each block, and a pattern data memory that stores information on a block-by-block basis. A bidirectional bus driver provided, a block selection circuit that selects a block of the pattern data memory, and a block selection circuit that sequentially stores block selection information from the CPU and selects the output of the block selection circuit in accordance with the information. a block select memory, address setting means for writing or reading the pattern data memory;
A register that stores set values by the CPU, a block select counter whose count value changes every time a write or read cycle changes,
an address comparator that compares the output of this counter with the output of the register, resets the block select counter according to the result, and changes the address value of the address setting means; output and the CPU to the block select memory.
This is a memory block write/read circuit characterized in that it is equipped with a multiplexer for switching block selection information from and to the memory block. That is, the present invention provides a circuit for controlling data writing to or reading from a memory block.
By first setting the address information and block selection information using the select memory and its control circuit, it is possible to write or read only data without the need for the CPU to intervene for each data item. , the order of the blocks can be freely executed consecutively.

(実施例) 以下図面を参照して本発明の一実施例を説明す
る。第1図は同実施例の構成図であるが、これは
第6図のものと対応させた場合の例であるから、
対応個所には同一符号を用いる。第1図において
51は双方向性バスドライバ回路11,12,…
…1nから構成される双方向バス・ドライバであ
る。この双方向性バス・ドライバ51はパター
ン・データ・メモリ53とバス・ライン信号
BUS1……BUSnを接続する回路で、その方向は
DIR信号が“1”(アリ)の時、書き込み方向で
“0”(ナシ)なら読み出し方向となる。
(Example) An example of the present invention will be described below with reference to the drawings. Although FIG. 1 is a block diagram of the same embodiment, this is an example in which it corresponds to that in FIG.
The same symbols are used for corresponding parts. In FIG. 1, 51 is a bidirectional bus driver circuit 11, 12, . . .
...1n bidirectional bus driver. This bidirectional bus driver 51 stores pattern data memory 53 and bus line signals.
BUS1...A circuit that connects BUSn, its direction is
When the DIR signal is "1" (enabled), it is in the write direction, and if it is "0" (none), it is in the read direction.

52のAND回路21,22,……2nはパタ
ーン・データ・メモリ53にデータを書き込むた
めに必要な書き込み許可信号WEを得るための回
路で、ブロツク選択信号S1,S2,……Snと、
WM信号とCPU信号の3つの論理積が成立した
時出力される。WM信号はパターン・データ・メ
モリ53へデータを書き込むか、読み出すかを決
める信号で、書き込み時“1”、読み出し時“0”
となる。
AND circuits 21, 22, . . . 2n of 52 are circuits for obtaining a write permission signal WE necessary for writing data into the pattern data memory 53, and block selection signals S1, S2, .
Output when the logical product of the WM signal and CPU signal is established. The WM signal is a signal that determines whether to write or read data to the pattern data memory 53, and is "1" when writing and "0" when reading.
becomes.

パターン・データ・メモリ53はメモリ・ブロ
ツク31,32,……3nを有し、このブロツク
31,32,……3nは半導体試験に必要なフア
ンクシヨン・テスト・パターンが記憶されるメモ
リである。
The pattern data memory 53 has memory blocks 31, 32, . . . 3n, and the blocks 31, 32, . . . 3n are memories in which function test patterns necessary for semiconductor testing are stored.

ブロツク・セレクト・メモリ67は読み出し又
は、書き込みするパターン・データ・メモリ3
1,32,……3nとバス・ラインBUS1,
BUS2,……BUSnとのデータの受け渡しを行な
う双方向性バス・ドライバ11,12,……1n
の選択及び、選択されたパターン・データ・メモ
リに書き込み許可信号WEを出力するための情報
を記憶するメモリである。このブロツク・セレク
ト・メモリ67はバスラインBUS1……BUSn側
からブロツク選択情報を順に取り込んで記憶する
が、これは最初の情報蓄積時のみで、その後のブ
ロツク・セレクト・メモリ67の動作はブロツ
ク・セレクト・カウンタ68にまかせる。ブロツ
ク選択回路54はブロツク・セレクト・メモリ6
7からの出力データ信号0をデコードし、出力信
号S1,S2,……Snの内、1つの信号を出力
する。この信号S1,S2,……Snで双方向性
バス・ドライバ51、パターン・データ・メモリ
53及びAND回路52の選択を行なう。
The block select memory 67 is the pattern data memory 3 for reading or writing.
1, 32, ...3n and bus line BUS1,
Bidirectional bus drivers 11, 12,...1n that exchange data with BUS2,...BUSn
This memory stores information for selecting the pattern data memory and outputting the write permission signal WE to the selected pattern data memory. This block select memory 67 sequentially takes in and stores block selection information from the bus lines BUS1...BUSn, but this is only when storing the information for the first time.The subsequent operation of the block select memory 67 is based on the block selection information. Leave it to the select counter 68. The block selection circuit 54 is connected to the block selection memory 6.
It decodes the output data signal 0 from 7 and outputs one signal among the output signals S1, S2, . . . Sn. Bidirectional bus driver 51, pattern data memory 53, and AND circuit 52 are selected using these signals S1, S2, . . . Sn.

パターン・アドレス・カウンタ56はパター
ン・データ・メモリ53の書き込み、読み出しア
ドレスを設定するアドレス・カウンタである。最
初のアドレス設定は、バス・ラインBUS1……
BUSn上のデータをSETCK1信号によりアドレ
ス・カウンタ56へロードする。以後、パター
ン・アドレス・カウンタ56のUP入力端子に加
えられるINCP信号によりカウント・アツプされ
る。
The pattern address counter 56 is an address counter that sets write and read addresses of the pattern data memory 53. The first address setting is bus line BUS1...
The data on BUSn is loaded into address counter 56 by the SETCK1 signal. Thereafter, the count is increased by the INCP signal applied to the UP input terminal of the pattern address counter 56.

ブロツク・セレクト・カウンタ68はブロツ
ク・セレクト・メモリ67のアドレスを設定する
アドレス・カウンタである。ブロツク・セレク
ト・カウンタ68のRST入力端子はパターン・
データ・メモリ53へデータの読み出し、書き込
み転送を開始する以前にTR信号でクリアされ
る。又、ブロツク・セレクト・カウンタ68のク
リアはブロツク・セレクト・メモリ67へブロツ
ク選択データを書き込む場合も書き込み前にTR
信号でクリアされる。
Block select counter 68 is an address counter that sets the address of block select memory 67. The RST input terminal of the block select counter 68 is connected to the pattern
It is cleared by the TR signal before starting data read/write transfer to the data memory 53. Also, to clear the block select counter 68, when writing block selection data to the block select memory 67, clear the TR before writing.
Cleared by a signal.

ループ・エンド・レジスタ69はブロツク・セ
レクト・メモリ67のループ・エンド・アドレス
を指定するレジスタである。ループ・エンド・レ
ジスタ69へのデータ・セツトはバス・ライン
BUS1……BUSn上のアドレス・データを
SETCK2信号によりセツトする。
Loop end register 69 is a register that specifies the loop end address of block select memory 67. Data set to loop end register 69 is via bus line.
BUS1... Address data on BUSn
Set by SETCK2 signal.

アドレス・コンパレータ70はループ・エン
ド・レジスタ69にセツトされたループ・エン
ド・アドレスとブロツク・セレクト・カウンタ6
8の内容とが一致したかを検出するデジタル・コ
ンパレータである。ブロツク・セレクト・カウン
タ68は0からカウント・アツプされ、ループ・
エンド・レジスタ69の内容と一致するまで1、
2……と、デイレイ・ライン66で遅延された
CPU信号によつて、カウント・アツプされる。
AとBの両者の内容が一致すると、アドレス・コ
ンパレータ70のA=B端子から一致信号COIN
が出力される。
Address comparator 70 compares the loop end address set in loop end register 69 with block select counter 6.
This is a digital comparator that detects whether the contents of 8 and 8 match. The block select counter 68 is counted up from 0, and the block select counter 68 is counted up from 0.
1 until it matches the contents of end register 69;
2...and was delayed by delay line 66.
Counted up by CPU signal.
When the contents of both A and B match, a match signal COIN is sent from the A=B terminal of the address comparator 70.
is output.

AND回路72はブロツク・セレクト・カウン
タ68のクリア信号を得るために上記COIN信号
とCUP信号の論理積をとる回路である。この
AND回路72の出力信号はデイレイ・ライン7
3で遅延された後、OR回路74を通りブロツ
ク・セレクト・カウンタ68のRST端子に加え
られ、プロツク・セレクト・カウンタ68がクリ
アされる。マルチ・プレクサ71はブロツク・セ
レクト・メモリ67のアドレス・データを選択す
る回路である。このマルチ・プレクサ71で選択
するアドレス・データは、バスラインBUS1…
…BUSnで与えられるデータと、ブロツク・セレ
クト・カウンタ68の出力Qから与えられるデー
タとがありBS信号により選択される。即ちBS信
号が“1”(アリ)の時バス・ラインBUS1……
BUSnのアドレス・データが“0”(ナシ)の時、
ブロツク・セレクト・カウンタ68から出力され
るアドレス・データが選択される。
The AND circuit 72 is a circuit that performs the logical product of the COIN signal and the CUP signal in order to obtain a clear signal for the block select counter 68. this
The output signal of the AND circuit 72 is the delay line 7
After being delayed by 3, it is applied to the RST terminal of block select counter 68 through OR circuit 74, and block select counter 68 is cleared. Multiplexer 71 is a circuit for selecting address data of block select memory 67. The address data selected by this multiplexer 71 is the bus line BUS1...
...There are data given by BUSn and data given from the output Q of the block select counter 68, which are selected by the BS signal. In other words, when the BS signal is "1" (anonymous), the bus line BUS1...
When the address data of BUSn is “0” (none),
Address data output from block select counter 68 is selected.

次に第1図の動作を適宜第2図ないし第5図の
タイムチヤートを参照して説明する。まず第1図
のパターン・データ・メモリ53へデータを書き
込む場合、或いはパターン・データ・メモリ53
からデータを読み出す場合、第2図で示す様にa
サイクルのBUS1……BUSn信号で与えられた書
き込み、読み出し開始アドレス・データを
SETCK1信号でパターン・アドレス・カウンタ
56へセツトする。次に、ブロツク・セレクト・
メモリ67のアドレスを0番地からX番地までの
間ループさせる為に必要なループ・エンド・アド
レスをループ・エンド・レジスタ69にセツトす
る。このループ・エンド・アドレス・データは、
第2図に示すbサイクルのBUS1……BUSnの信
号上で与えられ、SETCK2信号によつてルー
プ・エンド・レジスタ69にセツトされる。次の
C1サイクル、C2サイクル、…では、BUS1……
BUSnの信号上で与えられたブロツク選択情報を
順次C1サイクル、C2サイクル…と書き込んでゆ
く。例えば、第3図で示す様にaサイクルでパタ
ーン・アドレス・カウンタ56にパターン・デー
タ・メモリ53の書き込み或いは読み出しを開始
したいアドレス“0”を書き込む。次に、bサイ
クルでループ・エンド・レジスタ69にブロツ
ク・セレクト・カウンタ68を3進カウンタとし
て使用する為のデータ“2”を書き込む。この
“2”は一度書き込まれたら固定である。又、C1
サイクルでブロツク・セレクト・メモリ67のア
ドレス“0”に1回目に書き込み或いは読み出し
を行ないたいパターン・データ・メモリ53のブ
ロツク選択情報、例えば“5”を書き込み、C2
サイクルでブロツク・セレクト・メモリ67のア
ドレス“1”に2回目に書き込み或いは読み出し
を行ないたいパターン・データ・メモリ53のブ
ロツク選択情報、例えば“3”を書き込み、C3
サイクルでブロツク・セレクト・メモリ67のア
ドレス“2”に、3回目に書き込み或いは読み出
しを行ないたいパターン・データ・メモリ53の
ブロツク選択情報、例えば“1”を書き込む。第
1図の回路に於いて、WM信号が“1”(アリ))
ならパターン・データ・メモリ53へデータを書
き込むモードになり、“0”(ナシ)ならパター
ン・データ・メモリ53からデータを読み出すモ
ードになる。
Next, the operation shown in FIG. 1 will be explained with reference to the time charts shown in FIGS. 2 to 5. First, when writing data to the pattern data memory 53 in FIG.
When reading data from a, as shown in Figure 2,
BUS1 of cycle... Write/read start address/data given by BUSn signal
Set the pattern address counter 56 with the SETCK1 signal. Next, block select
A loop end address necessary for looping the addresses of the memory 67 from address 0 to address X is set in the loop end register 69. This loop end address data is
It is given on the BUS1...BUSn signals of cycle b shown in FIG. 2, and is set in the loop end register 69 by the SETCK2 signal. next
C1 cycle, C2 cycle...then BUS1...
The block selection information given on the BUSn signal is sequentially written in C1 cycle, C2 cycle, and so on. For example, as shown in FIG. 3, an address "0" at which writing or reading from the pattern data memory 53 is to be started is written to the pattern address counter 56 in cycle a. Next, in cycle b, data "2" for using the block select counter 68 as a ternary counter is written in the loop end register 69. This "2" is fixed once written. Also, C1
In the cycle, write the block selection information of the pattern data memory 53 to be written or read for the first time, for example "5", to the address "0" of the block select memory 67, and
In the cycle, write the block selection information of the pattern data memory 53 to be written or read for the second time to address "1" of the block select memory 67, for example "3", and
In the cycle, block selection information of the pattern data memory 53 to be written or read for the third time, for example, "1" is written to the address "2" of the block select memory 67. In the circuit shown in Figure 1, the WM signal is “1” (
If so, the mode is set to write data to the pattern data memory 53, and if it is "0" (none), the mode is set to read data from the pattern data memory 53.

書き込みモードの場合、第4図に示す様に、
TR信号が“0”(ナシ)になり、ブロツク・セ
レクト・カウンタ68のリセツトが解除され、、
BS信号が“0”(ナシ)になり、マルチプレクサ
71はブロツク・セレクト・カウンタ68の出力
信号Q(初期値“0”)を選択して、それがブロツ
ク・セレクト・メモリ67のアドレス入力とな
る。
In the write mode, as shown in Figure 4,
The TR signal becomes "0" (none), the reset of the block select counter 68 is released, and
When the BS signal becomes "0" (absent), the multiplexer 71 selects the output signal Q (initial value "0") of the block select counter 68, which becomes the address input of the block select memory 67. .

1回目のC1サイクルでは、ブロツク・セレク
ト・メモリ67のアドレスは“0”で、出力0は
ブロツク“5”即ちブロツク選択回路54はS5
(図示せず)を選択し、双方向バス・ドライバ1
5(図示せず)が選択されAND回路25(図示
せず)で、S5信号、WM信号、CUP信号の3
つの論理積がとれ、書き込み許可信号となり、パ
ターン・データ・メモリ53の35(図示せず)
のアドレス“0”にバスラインBUS1…BUSnの
データが書き込まれる。CUP信号はパターン・
データ・メモリ35の書き込みが終了した後、遅
延素子66を通りブロツク・セレクト・カウンタ
68のカウント・アツプ信号となり、その出力信
号Qは+1され、ブロツク・セレクト・メモリ6
7のアドレス“1”を示す事になる。
In the first C1 cycle, the address of the block select memory 67 is "0", and the output 0 is block "5", that is, the block selection circuit 54 is S5.
(not shown) and select Bidirectional Bus Driver 1.
5 (not shown) is selected, and the AND circuit 25 (not shown) selects the S5 signal, WM signal, and CUP signal.
35 of the pattern data memory 53 (not shown)
The data of the bus lines BUS1...BUSn is written to the address "0" of the bus lines BUS1...BUSn. The CUP signal is a pattern
After writing to the data memory 35 is completed, it passes through a delay element 66 and becomes a count-up signal for the block select counter 68, and its output signal Q is incremented by +1.
This indicates the address “1” of 7.

2回目のC2サイクルは、ブロツク・セレク
ト・メモリ67のアドレスは“1”で出力0はブ
ロツク“3”即ちブロツク選択回路54はS3を
選択し、双方向バス・ドライバ13(図示せず)
が選択され、AND回路23(図示せず)でS3
信号、WM信号、CUP信号の3つの論理積がと
られ、書き込み許可信号WEとなり、パターン・
データ・メモリ33(図示せず)のアドレス
“0”にBUS1……BUSnのデータが書き込まれ
る。CUP信号は、パターン・データ・メモリ3
3(図示せず)の書き込みが終了した後、遅延素
子66を通り、ブロツク・セレクト・カンンタ6
8のカウント・アツプ信号となり、その出力信号
Qは+1され、ブロツク・セレクト・メモリ67
のアドレス“2”を示す事になる。
In the second C2 cycle, the address of the block select memory 67 is "1" and the output 0 is block "3", that is, the block selection circuit 54 selects S3, and the bidirectional bus driver 13 (not shown)
is selected, and the AND circuit 23 (not shown) selects S3.
The logical product of the signal, WM signal, and CUP signal is taken and becomes the write enable signal WE, which is used to write the pattern.
The data of BUS1...BUSn is written to address "0" of the data memory 33 (not shown). The CUP signal is the pattern data memory 3
3 (not shown), the block select counter 6 passes through a delay element 66.
8 count up signal, the output signal Q is incremented by 1, and the block select memory 67
This will indicate the address “2” of .

3回目のC3サイクルでは、ブロツク・セレク
ト・メモリ67のアドレスは“2”で、出力0は
ブロツク“1”、即ちブロツク選択回路54は、
S1を選択し双方向バス・ドライバ11が選択さ
れ、AND回路21で、S1信号、WM信号、
CUP信号の3つの論理積がとられ、書き込み許
可信号となりパターン・データ・メモリ31のア
ドレス“0”にBUS1…BUSnのデータが書き込
まれる。この時、ループ・エンド・レジスタ69
の出力信号Qはあらかじめ“2”がセツトされて
おり、C3サイクルではブロツク・セレクト・カ
ウンタ68も“2”になる為、アドレス・コンパ
レータ70の入力端子AとBの一致がとれ、一致
出力A=Bが“1”(アリ)となる。AND回路7
2でアドレス・コンパレータ70の一致出力A=
BとCUP信号との論理積がとれ、その出力信号
が遅延素子73を通り、パターン・アドレス・カ
ウンタ56のカウント・アツプ信号となり、パタ
ーン・アドレス・カウンタ56が+1される。
又、それがOR回路74を通り、ブロツク・セレ
クト・カウンタ68のリセツト信号となり、出力
信号Qが“0”になり、ブロツク・セレクト・メ
モリ68のアドレスは初期値“0”にもどる。以
下、同様に書き込みが行なわれる。
In the third C3 cycle, the address of the block select memory 67 is "2" and the output 0 is block "1", that is, the block select circuit 54 is
S1 is selected, the bidirectional bus driver 11 is selected, and the AND circuit 21 outputs the S1 signal, the WM signal,
The three CUP signals are logically ANDed to become a write permission signal, and the data of BUS1 . . . BUSn is written to address "0" of the pattern data memory 31. At this time, loop end register 69
Since the output signal Q of the address comparator 70 is set to "2" in advance and the block select counter 68 also becomes "2" in the C3 cycle, the input terminals A and B of the address comparator 70 match, and the match output A =B becomes “1” (ant). AND circuit 7
2 and address comparator 70 match output A=
B and the CUP signal are ANDed, and the output signal passes through the delay element 73 and becomes a count-up signal for the pattern address counter 56, so that the pattern address counter 56 is incremented by one.
Further, it passes through the OR circuit 74 and becomes a reset signal for the block select counter 68, the output signal Q becomes "0", and the address of the block select memory 68 returns to the initial value "0". Thereafter, writing is performed in the same manner.

読み出しモードの場合、第5図に示す様にTR
信号が“1”(アリ)になり、ブロツク・セレク
ト・カウンタ68のリセツトが解除され、BS信
号が“0”(ナシ)になり、マルチプレクサ71
はブロツク・セレクト・カウンタ68の出力信号
Q(初期値“0”)を選択して、それがブロツク・
セレクト・メモイ67のアドレス入力となる。ま
たWM信号が“0”(ナシ)の為、AND回路52
で論理積がとれないので、書き込み許可信号は出
力されない。
In read mode, TR
The signal becomes "1" (reset), the reset of the block select counter 68 is released, the BS signal becomes "0" (none), and the multiplexer 71
selects the output signal Q (initial value “0”) of the block select counter 68, and selects the output signal Q (initial value “0”)
This serves as an address input for the select memo 67. Also, since the WM signal is “0” (none), the AND circuit 52
Since the AND cannot be taken, the write permission signal is not output.

1回目のC1サイクルではブロツク・セレク
ト・メモリ67のアドレスは“0”で、出力はブ
ロツク“5”即ちブロツク選択回路はS5(図示
せず)を選択し、双方向バス・ドライバ15(図
示せず)が選択され、パターン・データ・メモリ
35(図示せず)のアドレス“0”の内容が
BUS1……BUSnに読み出された後、遅延素子6
6を通つたCPU信号がブロツク・セレクト・カ
ウンタ68のカウント・アツプ信号となり、その
出力信号Qは+1され、ブロツク・セレクト・メ
モリ67のアドレス“1”を示す事になる。
In the first C1 cycle, the address of the block select memory 67 is "0", the output is block "5", that is, the block select circuit selects S5 (not shown), and the bidirectional bus driver 15 (not shown) is selected. ) is selected, and the contents of address “0” of pattern data memory 35 (not shown) are selected.
BUS1...After being read out to BUSn, delay element 6
The CPU signal passed through 6 becomes the count up signal of the block select counter 68, and its output signal Q is incremented by 1 to indicate the address "1" of the block select memory 67.

2回目のC2サイクルでは、ブロツク・セレク
ト・メモリ67のアドレスは“1”で出力0はブ
ロツク“3”即ちブロツク選択回路54はS3
(図示せず)を選択し双方向バス・ドライバ13
(図示せず)が選択され、パターン・データ・メ
モリ33(図示せず)のアドレス“0”の内容が
BUS1……BUSnに読み出された後、遅延素子6
6を通つたCUP信号がブロツク・セレクト・カ
ウンタ68おカウント・アツプ信号となり、その
出力信号Qは+1され、ブロツク・セレクト・メ
モリ67のアドレス“2”を示す事になる。
In the second C2 cycle, the address of the block select memory 67 is "1" and the output 0 is block "3", that is, the block selection circuit 54 is set to S3.
(not shown) select bidirectional bus driver 13
(not shown) is selected, and the contents of address “0” of pattern data memory 33 (not shown) are
BUS1...After being read out to BUSn, delay element 6
The CUP signal passed through the block select counter 68 becomes the count up signal of the block select counter 68, and its output signal Q is incremented by 1 to indicate the address "2" of the block select memory 67.

3回目のC3サイクルでは、ブロツク・セレク
ト・メモリ67のアドレスは“2”で、出力0は
ブロツク“1”即ちブロツク選択回路54はS1
を選択し、双方向バスドライバ11が選択され、
パターン・データ・メモリ31のアドレス“0”
の内容がBUS1…BUSnに読み出される。この時
ループエンドレジスタ69の出力信号Qはあらか
じめ“2”がセツトされており、C3サイクルで
はブロツク・セレクト・カウンタ68も“2”に
なる為、アドレス・コンパレータ70の入力端子
AとBの一致がとれ、一致出力A=Bが“1”
(アリ)となる。AND回路72でアドレス・コン
パレータ70の一致出力A=BとCUP信号との
論理積がとれ、その出力信号が遅延素子73を通
り、パターン・アドレス・カウンタ56のカウン
ト・アツプ信号となり、パターン・アドレス・カ
ウンタが+1される。又、それがOR回路74を
通り、ブロツク・セレクト・カウンタ68のリセ
ツト信号となり、出力信号Qが“0”になり、ブ
ロツク・セレクト・メモリ67のアドレスは初期
値“0”にもどる。以下、同様に読み出しが行な
われる。なお本発明は実施例のみに限られず種々
の応用が可能である。例えば第1図においてパタ
ーン・データ・メモリ51へのバスライン(双方
向バスドライバ51を介した)のみをDMA
(Direct Memory Access)のバスラインに置き
換え、同様にデータの書き込みまたは読み出しに
も応用できる。
In the third C3 cycle, the address of the block select memory 67 is "2", and the output 0 is block "1", that is, the block selection circuit 54 is S1.
is selected, the bidirectional bus driver 11 is selected,
Address “0” of pattern data memory 31
The contents of are read out to BUS1...BUSn. At this time, the output signal Q of the loop end register 69 is set to "2" in advance, and the block select counter 68 also becomes "2" in the C3 cycle, so the input terminals A and B of the address comparator 70 match. is removed, the matching output A=B is “1”
(ant) becomes. The AND circuit 72 performs the logical product of the match output A=B of the address comparator 70 and the CUP signal, and the output signal passes through the delay element 73 and becomes the count up signal of the pattern address counter 56, and the pattern address・The counter is incremented by 1. Further, it passes through the OR circuit 74 and becomes a reset signal for the block select counter 68, the output signal Q becomes "0", and the address of the block select memory 67 returns to the initial value "0". Thereafter, reading is performed in the same manner. Note that the present invention is not limited to the embodiments, and can be applied in various ways. For example, in FIG. 1, only the bus line to the pattern data memory 51 (via the bidirectional bus driver 51) is connected to the DMA.
(Direct Memory Access) bus line, and can be similarly applied to data writing or reading.

[発明の効果] 以上説明した如く本発明によれば下記のような
効果が具備される。
[Effects of the Invention] As explained above, the present invention provides the following effects.

(1) 不連続なパターン・データ・メモリ・ブロツ
クに於けるデータの書き込み又は読み出しは、
最初にアドレス情報とブロツク選択情報をブロ
ツク・セレクト・メモリに設定する事により、
以後、アドレス情報とブロツク選択情報なし
に、データのみの書き込み又は読み出しが連続
して行なう事が出来る。
(1) Data writing or reading in discontinuous pattern data memory blocks shall be
By first setting the address information and block selection information in the block select memory,
Thereafter, only data can be written or read continuously without address information or block selection information.

(2) 不連続なパターン・データ・メモリ・ブロツ
クに於いてデータの書き込み又は読み出しは、
データ毎にCPUがアドレス情報とブロツク情
報を与える必要がなくなる為、書き込み又は読
み出し時間を短縮する事が出来る。
(2) Data writing or reading in discontinuous pattern data memory blocks is
Since the CPU does not need to provide address information and block information for each data, writing or reading time can be shortened.

(3) 不連続なパターン・データ・メモリ・ブロツ
クに於いて、データの書き込み又は読み出しを
行ないたいブロツクの順序を自由に設定出来
る。
(3) In discontinuous pattern data memory blocks, the order of blocks in which data is to be written or read can be freely set.

(4) また本発明は、その各部構成が、データ書き
込み用と読み出し用とに兼用、つまり書き込み
用と読み出し用との双方に使える構成としたも
のだから、構成が簡単化されると共に、使用部
品数が半減化される利点がある。
(4) In addition, the present invention has a structure in which each part of the structure can be used for both data writing and reading, that is, it can be used for both writing and reading, so the structure is simplified and the parts used are The advantage is that the number is halved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の構成図、第2図な
いし第5図は同構成の作用を示すタイムチヤー
ト、第6図は従来回路の構成図、第7図乃至第1
0図は同構成の作用を示すタイムチヤートであ
る。 51……双方向バスドライバ、52……AND
回路、53……パターン・データ・メモリ(31
〜3nはメモリ・ブロツク)、54……ブロツク
選択回路、56……パターン・アドレス・カウン
タ、67……ブロツク・セレクト・メモリ、68
……ブロツク・セレクト・カウンタ、69……ル
ープ・エンド・レジスタ、70……アドレス・コ
ンパレータ、71……マルチプレクサ。
FIG. 1 is a configuration diagram of an embodiment of the present invention, FIGS. 2 to 5 are time charts showing the operation of the same configuration, FIG. 6 is a configuration diagram of a conventional circuit, and FIGS. 7 to 1
Figure 0 is a time chart showing the operation of the same configuration. 51...Bidirectional bus driver, 52...AND
Circuit, 53...Pattern data memory (31
~3n is a memory block), 54...Block selection circuit, 56...Pattern address counter, 67...Block selection memory, 68
...Block select counter, 69...Loop end register, 70...Address comparator, 71...Multiplexer.

Claims (1)

【特許請求の範囲】[Claims] 1 ブロツク毎に情報を記憶するパターン・デー
タ・メモリ部と、CPU(中央処理装置)のバスラ
インと前記パターン・データ・メモリのブロツク
との間にそれぞれ設けられた双方向バスドライバ
部と、書き込みまたは読み出し時に、その書き込
みまたは読み出しを行う前記パターン・データ・
メモリのブロツクを選択するブロツク選択回路部
と、前記CPUからのブロツク選択情報を順次蓄
積し該蓄積したブロツク選択情報に応じて前記ブ
ロツク選択回路部の出力を選択するブロツク・セ
レクト・メモリ部と、前記パターン・データ・メ
モリ部内にで選択されたブロツクに対し書き込み
または読み出しを行うためのアドレスの初期値が
前記CPUにより設定されるアドレス・カウンタ
部と、前記CPUによりカウント設定値が記憶さ
れるレジスタ部と、前記ブロツク選択回路部によ
る書き込みまたは読み出しのサイクル毎にカウン
ト用信号を受けて、前記レジスタ部でのカウント
設定値に至るまでカウントを繰り返し、そのカウ
ント毎に得られるカウントデータに応じて前記ブ
ロツク・セレクト・メモリ部のアドレス指定を行
うことにより、前記ブロツク選択回路部の出力選
択を行なわせるブロツク・セレクト・カウンタ部
と、このブロツク・セレクト・カウンタ部の出力
と前記レジスタ部の出力とを比較し、これらカウ
ンタ部の出力とレジスタ部の出力とが一致した
ら、前記ブロツク・セレクト・カウンタ部をリセ
ツトしかつ前記アドレス・カウンタ部へカウント
用信号を送るアドレス・コンパレータ部と、前記
ブロツク・セレクト・カウンタ部の出力と前記ブ
ロツク・セレクト・メモリ部へのCPUからのブ
ロツク選択情報とを切り換えるマルチプレクサ部
と、読み出し時には、前記パターン・データ・メ
モリ部に対して、データの書き込みを禁止状態と
すると共に前記双方向バスドライバ部のデータ出
力方向を前記バスライン側に切り換え、書き込み
時には、前記パターン・データ・メモリ部を書き
込み許可状態とすると共に前記バスドライバ部の
データ入力方向をパターン・データ・メモリ部側
に切り換える切り換え手段とを具備したことを特
徴とするメモリ・ブロツクの書き込み、読み出し
回路。
1 A pattern data memory section that stores information for each block, a bidirectional bus driver section provided between the CPU (central processing unit) bus line and the pattern data memory block, and a write Or when reading, the pattern data to be written or read.
a block selection circuit section that selects a block in the memory; a block selection memory section that sequentially stores block selection information from the CPU and selects an output of the block selection circuit section in accordance with the stored block selection information; an address counter section in which an initial value of an address for writing or reading a block selected in the pattern data memory section is set by the CPU; and a register in which a count setting value is stored by the CPU. The block selection circuit section receives a count signal for each writing or reading cycle, and repeats counting until the count setting value in the register section is reached, and the count data obtained at each count is determined by the count signal. By specifying the address of the block select memory section, a block select counter section selects the output of the block select circuit section, and the output of this block select counter section and the output of the register section are connected. an address comparator section that resets the block select counter section and sends a counting signal to the address counter section if the outputs of these counter sections match the outputs of the register section; - A multiplexer unit that switches between the output of the counter unit and the block selection information from the CPU to the block select memory unit, and a state in which writing of data is prohibited in the pattern data memory unit during reading. At the same time, the data output direction of the bidirectional bus driver section is switched to the bus line side, and at the time of writing, the pattern data memory section is enabled for writing, and the data input direction of the bus driver section is switched to the pattern data memory section. 1. A memory block writing/reading circuit, characterized in that it is equipped with a switching means for switching to the memory block side.
JP12241087A 1987-05-21 1987-05-21 Write/read-out circuit for memory block Granted JPS63288351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12241087A JPS63288351A (en) 1987-05-21 1987-05-21 Write/read-out circuit for memory block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12241087A JPS63288351A (en) 1987-05-21 1987-05-21 Write/read-out circuit for memory block

Publications (2)

Publication Number Publication Date
JPS63288351A JPS63288351A (en) 1988-11-25
JPH0562787B2 true JPH0562787B2 (en) 1993-09-09

Family

ID=14835116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12241087A Granted JPS63288351A (en) 1987-05-21 1987-05-21 Write/read-out circuit for memory block

Country Status (1)

Country Link
JP (1) JPS63288351A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0771666A (en) * 1993-08-31 1995-03-17 Nagase Chuko Kk Flange type pipe coupling

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100496796B1 (en) * 1997-12-29 2005-09-15 삼성전자주식회사 Address counting control circuit of semiconductor memory device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58112124A (en) * 1981-12-25 1983-07-04 Fujitsu Ltd Dma controlling system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0771666A (en) * 1993-08-31 1995-03-17 Nagase Chuko Kk Flange type pipe coupling

Also Published As

Publication number Publication date
JPS63288351A (en) 1988-11-25

Similar Documents

Publication Publication Date Title
US4183058A (en) Video store
JP2778222B2 (en) Semiconductor integrated circuit device
US5717948A (en) Interface circuit associated with a processor to exchange digital data in series with a peripheral device
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
JPH0562787B2 (en)
US5872961A (en) Microcomputer allowing external monitoring of internal resources
JPH0981449A (en) Pseudo dual port memory
JPS607529A (en) Buffer memory device
JP3266610B2 (en) DMA transfer method
JPS6367702B2 (en)
SU1566336A1 (en) Device for information output
JP4553998B2 (en) Bus control device
KR910006792B1 (en) Access memory expansion circuit of direcrt memory access controller
JPH05120207A (en) Data transfer method
JP2574019B2 (en) DMA transfer method
JPH06103026A (en) Memory system
JPH03214275A (en) Semiconductor integrated circuit
JPS58117068A (en) Image data processing circuit
JPH01106148A (en) Multi-port memory device
JPS6155138B2 (en)
JPH08106430A (en) Data transfer method
JPS6080193A (en) memory system
JPS63188233A (en) central processing unit
JPH01233515A (en) information processing equipment
JPH01114961A (en) Directory memory access controller