[go: up one dir, main page]

JP2011118963A - Data transfer device and semiconductor test device - Google Patents

Data transfer device and semiconductor test device Download PDF

Info

Publication number
JP2011118963A
JP2011118963A JP2009273266A JP2009273266A JP2011118963A JP 2011118963 A JP2011118963 A JP 2011118963A JP 2009273266 A JP2009273266 A JP 2009273266A JP 2009273266 A JP2009273266 A JP 2009273266A JP 2011118963 A JP2011118963 A JP 2011118963A
Authority
JP
Japan
Prior art keywords
data
transfer
address
storage unit
transferred
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.)
Pending
Application number
JP2009273266A
Other languages
Japanese (ja)
Inventor
Daigo Suzuki
大悟 鈴木
Kumiko Ito
久美子 伊藤
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2009273266A priority Critical patent/JP2011118963A/en
Publication of JP2011118963A publication Critical patent/JP2011118963A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

【課題】転送するデータを記憶するデータ記憶部のデータの配列を被転送装置およびこの装置の中のデータ保持部と一致させるとともに、データの転送速度を高速化させることを目的とする。
【解決手段】レジスタRを複数有する被転送装置2を複数接続し、各被転送装置2に対してデータをシリアル転送するデータ転送装置1であって、被転送装置2の順番ごとにレジスタRの順番で記憶させるデータを配列して記憶するRAM13と、RAM13からデータを読み出すためのアドレスをレジスタRの順番ごとに被転送装置2の順番に配列して記憶するマスタアドレス記憶部16と、マスタアドレス記憶部16に対するアドレス指定をインクリメントにより行うアドレスカウンタ15と、RAM13から読み出されたデータを被転送装置2に対して転送する複数の転送部14と、を備えている。
【選択図】 図1
An object of the present invention is to make the arrangement of data in a data storage unit that stores data to be transferred coincide with that of a device to be transferred and a data holding unit in the device, and to increase the data transfer speed.
A data transfer device (1) for connecting a plurality of transfer target devices (2) having a plurality of registers (R) and serially transferring data to each transfer target device (2). A RAM 13 that arranges and stores data to be stored in order, a master address storage unit 16 that stores and arranges addresses for reading data from the RAM 13 in the order of the register R in the order of the transfer target device 2, and a master address An address counter 15 that performs address designation for the storage unit 16 by incrementing, and a plurality of transfer units 14 that transfer data read from the RAM 13 to the transfer target device 2 are provided.
[Selection] Figure 1

Description

本発明は、装置間でデータを転送するためのデータ転送装置およびこのデータ転送装置を備えた半導体試験装置に関するものである。   The present invention relates to a data transfer apparatus for transferring data between apparatuses and a semiconductor test apparatus including the data transfer apparatus.

装置間でデータ転送を行う方式としては、主にパラレル転送とシリアル転送とが用いられている。パラレル転送は多数のデータを同時に転送させることができるが、転送されるデータ間で同期を取らなくてはならない等のことから、近年ではシリアル転送が用いられるようになっている。   As a method of transferring data between apparatuses, parallel transfer and serial transfer are mainly used. In parallel transfer, a large number of data can be transferred at the same time. However, serial transfer has been used in recent years because the data to be transferred must be synchronized.

図7に装置間でシリアル転送を行う従来のデータ転送装置の一例を示す。この図に示すように、データ転送装置101にN(Nは自然数)個の被転送装置102−1〜102−N(総称して被転送装置102)が接続されており、データ転送装置101から被転送装置102に対してデータのシリアル転送を行っている。データ転送装置101と各被転送装置102との間はデータをシリアル転送するシリアル転送経路103−1〜103−N(総称してシリアル転送経路103)により接続されている。また、データ転送装置101の動作制御を行う制御装置104がデータ転送装置101に接続されている。   FIG. 7 shows an example of a conventional data transfer apparatus that performs serial transfer between apparatuses. As shown in this figure, N (N is a natural number) transferred devices 102-1 to 102-N (collectively transferred devices 102) are connected to the data transfer device 101. Data is serially transferred to the transfer target device 102. The data transfer apparatus 101 and each transferred apparatus 102 are connected by serial transfer paths 103-1 to 103-N (collectively, serial transfer paths 103) for serially transferring data. A control device 104 that controls the operation of the data transfer apparatus 101 is connected to the data transfer apparatus 101.

被転送装置102はデータ転送装置101からのデータの転送先となる。各被転送装置102にはそれぞれM(Mは自然数)個のレジスタR1〜RM(総称してレジスタR)が設けられており、被転送装置102に転送されたデータが各レジスタRに記憶される。各被転送装置102および被転送装置102の中のレジスタRには番号が付されている。つまり、被転送装置102は102−1から順番に102−Nまで番号が付されており、図8(b)に示すように、被転送装置102の中のレジスタRはR1から順番にRMまで番号が付されている。   The transfer target device 102 is a transfer destination of data from the data transfer device 101. Each transferred device 102 is provided with M (M is a natural number) registers R1 to RM (collectively, register R), and data transferred to the transferred device 102 is stored in each register R. . Each transferred device 102 and the register R in the transferred device 102 are numbered. That is, the transfer target devices 102 are numbered in order from 102-1 to 102-N, and as shown in FIG. 8B, the registers R in the transfer target device 102 are sequentially from R1 to RM. Numbered.

データ転送装置101はコントローラ111とアドレスカウンタ112とRAM113とN個の転送部114−1〜114−N(総称して転送部114)とイネーブル信号発生部115とを備えて概略構成している。また、制御装置104はトリガ発生部121と選択信号発生部122とを備えて概略構成している。   The data transfer apparatus 101 includes a controller 111, an address counter 112, a RAM 113, N transfer units 114-1 to 114 -N (collectively transfer unit 114), and an enable signal generating unit 115. The control device 104 includes a trigger generator 121 and a selection signal generator 122, and is schematically configured.

コントローラ111はアドレスカウンタ112の動作制御を行っており、制御装置104から出力されるトリガ信号のタイミングでアドレスカウンタ112の動作を開始させる。アドレスカウンタ112はRAM113から読み出すデータのアドレスを指定している。このため、アドレスカウンタ112にはRAM113の先頭アドレスを初期値として記憶させており、この先頭アドレスから順次指定するアドレスをインクリメントしていく。   The controller 111 controls the operation of the address counter 112 and starts the operation of the address counter 112 at the timing of the trigger signal output from the control device 104. The address counter 112 designates the address of data read from the RAM 113. For this reason, the address counter 112 stores the start address of the RAM 113 as an initial value, and sequentially designates the designated address from the start address.

RAM113には各被転送装置102に転送するデータが記憶されており、アドレスカウンタ112から出力されるアドレスのデータを読み出して出力する。転送されるデータはN個の被転送装置102についてM個のレジスタRになるため、その個数はN×Mになる。ここでは、RAM113の先頭アドレスから順番にN×M個のデータがアドレス順に記憶されている。   The RAM 113 stores data to be transferred to each transfer target device 102, and reads and outputs the address data output from the address counter 112. Since the data to be transferred becomes M registers R for the N devices to be transferred 102, the number thereof is N × M. Here, N × M pieces of data are stored in order of address from the top address of the RAM 113.

このとき、RAM113に記憶されるデータは被転送装置102の順番ごとにレジスタRの順番で配列されている。図8(a)はRAM113に記憶されるデータの配列を示しており、N×M個のデータ(Data)が先頭アドレスから順番に配列されている。各データはN個のデータ群に分割されており、第1データ群から第Nデータ群まで順番に配列されている。また、各データ群はM個のデータから構成されており、各データも番号順に配列されている。各データには2つの識別子「X」および「Y」が付されており、DataX−Yとなっている(1≦X≦N、1≦Y≦M:X、Yは自然数)。DataX−Yの「X」がデータ群を示し、「Y」がデータ群を構成するデータを示している。   At this time, the data stored in the RAM 113 is arranged in the order of the registers R in the order of the transfer target device 102. FIG. 8A shows an arrangement of data stored in the RAM 113, and N × M pieces of data (Data) are arranged in order from the head address. Each data is divided into N data groups, which are arranged in order from the first data group to the Nth data group. Each data group is composed of M pieces of data, and each data is also arranged in numerical order. Each data has two identifiers “X” and “Y”, and is DataX−Y (1 ≦ X ≦ N, 1 ≦ Y ≦ M: X and Y are natural numbers). “X” of DataX-Y indicates a data group, and “Y” indicates data constituting the data group.

図8(b)に示すように、データ群は被転送装置102に対応し、データ群を構成する各データはレジスタRに対応している。つまり、「X」は被転送装置102の順番を示しており、「Y」は被転送装置102の中のレジスタRの順番を示している。これにより、被転送装置102の並び順および被転送装置102を構成する各レジスタRの並び順とRAM113に記憶されるデータ群の並び順およびデータ群を構成する各データの並び順とを一致させることができる。つまり、配列順のイメージを同じにすることができる。   As shown in FIG. 8B, the data group corresponds to the transfer target device 102, and each data constituting the data group corresponds to the register R. That is, “X” indicates the order of the transfer target device 102, and “Y” indicates the order of the register R in the transfer target device 102. As a result, the arrangement order of the transferred device 102 and the arrangement order of the registers R constituting the transferred device 102 are matched with the arrangement order of the data group stored in the RAM 113 and the arrangement order of the data constituting the data group. be able to. That is, the images in the order of arrangement can be made the same.

N個の転送部114はそれぞれがシリアル転送経路103に接続されており、シリアル転送経路103にデータを出力する。各転送部114にはRAM113からデータを入力しているが、このデータはパラレルデータになっている。このため、転送部114はパラレルデータからシリアルデータに変換して、シリアル転送経路103にデータを出力する。   Each of the N transfer units 114 is connected to the serial transfer path 103 and outputs data to the serial transfer path 103. Data is input from the RAM 113 to each transfer unit 114, and this data is parallel data. For this reason, the transfer unit 114 converts parallel data into serial data and outputs the data to the serial transfer path 103.

図7のイネーブル信号発生部115は2つの機能を有しており、1つ目は動作させる転送部114を特定する機能であり、2つ目は転送が不要なデータを転送させないようにする機能である。まず、転送部114を特定する機能について説明する。イネーブル信号発生部115にはアドレスカウンタ112からRAM113の指定するアドレスが入力されており、このアドレスに基づいて何れの転送部114が転送動作を行うかの特定をしている。イネーブル信号発生部115は特定された転送部114にのみイネーブル信号を出力し、転送部114はこのイネーブル信号に基づいて転送動作を行う。   The enable signal generation unit 115 in FIG. 7 has two functions, the first is a function for specifying the transfer unit 114 to be operated, and the second is a function for preventing data that does not need to be transferred from being transferred. It is. First, a function for specifying the transfer unit 114 will be described. The address designated by the RAM 113 is input from the address counter 112 to the enable signal generation unit 115, and which transfer unit 114 performs the transfer operation based on this address. The enable signal generator 115 outputs an enable signal only to the specified transfer unit 114, and the transfer unit 114 performs a transfer operation based on the enable signal.

イネーブル信号発生部115にはアドレスの他に選択信号発生部122から選択信号が入力されている。選択信号はRAM13に記憶されている各データについて転送を行うか否かを示す信号になっている。アドレスカウンタ112から入力したアドレスと選択信号とを比較して、当該アドレスに対応する選択信号が転送を行うことを示している場合にはイネーブル信号を出力し、転送しないことを示している場合にはイネーブル信号を出力している。これにより、不要なデータが転送されることを回避している。   In addition to the address, the enable signal generator 115 receives a selection signal from the selection signal generator 122. The selection signal is a signal indicating whether or not to transfer each data stored in the RAM 13. When the address input from the address counter 112 is compared with the selection signal, if the selection signal corresponding to the address indicates that transfer is to be performed, an enable signal is output, and if it indicates that no transfer is performed Outputs an enable signal. This avoids transferring unnecessary data.

以上の構成における動作について説明する。制御装置104のトリガ発生部121はトリガ信号をコントローラ111に出力し、コントローラ111はこのトリガ信号に基づいてアドレスカウンタ112からRAM113のアドレスを出力させる。アドレスカウンタ112の初期値はRAM113の先頭アドレスであるため、最初に読み出されるデータはData1−1である。   The operation in the above configuration will be described. The trigger generation unit 121 of the control device 104 outputs a trigger signal to the controller 111, and the controller 111 causes the address counter 112 to output the address of the RAM 113 based on the trigger signal. Since the initial value of the address counter 112 is the top address of the RAM 113, the data read out first is Data1-1.

当該アドレスはイネーブル信号発生部115にも入力されており、このアドレスに基づいて動作させる転送部114を特定する。先頭アドレスの場合には転送部114−1になる。従って、RAM113から読み出されたData1−1が転送部114−1からシリアル転送経路103−1に出力され、被転送装置102−1にデータがシリアル転送される。そして、被転送装置102−1のレジスタRにData1−1が記憶される。   The address is also input to the enable signal generation unit 115, and the transfer unit 114 to be operated is specified based on the address. In the case of the head address, it becomes the transfer unit 114-1. Therefore, Data 1-1 read from the RAM 113 is output from the transfer unit 114-1 to the serial transfer path 103-1, and data is serially transferred to the transfer target device 102-1. Then, Data1-1 is stored in the register R of the transferred device 102-1.

アドレスカウンタ112は先頭アドレスからインクリメントしたアドレスを出力していく。RAM113からは順次データが読み出されて、転送部114が入力したデータを順次被転送装置102に転送していく。そして、最後のDataN−Mの転送が完了したときに、RAM113に記憶されている全てのデータ(M×N個のデータ)の転送が完了する。このようにシリアル転送を行う技術としては、例えば特許文献1に開示されている技術がある。   The address counter 112 outputs an address incremented from the head address. Data is sequentially read from the RAM 113 and the data input by the transfer unit 114 is sequentially transferred to the transfer target device 102. Then, when the last DataN-M transfer is completed, the transfer of all data (M × N data) stored in the RAM 113 is completed. As a technique for performing serial transfer in this way, for example, there is a technique disclosed in Patent Document 1.

特開2001−43697号公報JP 2001-43697 A

図8(a)および(b)に示すように、RAM113に記憶されるデータの配列は被転送装置102およびレジスタRの並び順と一致させている。これにより、被転送装置102のレジスタRがRAM113に記憶されている何れのデータに対応するかを迅速且つ明瞭に把握することができる。このため、RAM113にデータを記憶させるときや記憶されたデータを変更するとき、データを参照するとき等において、対象となるデータを極めて簡単に特定することが可能になる。   As shown in FIGS. 8A and 8B, the arrangement of data stored in the RAM 113 matches the arrangement order of the transfer target device 102 and the register R. As a result, it is possible to quickly and clearly grasp which data stored in the RAM 113 corresponds to the register R of the transfer target device 102. Therefore, when data is stored in the RAM 113, when the stored data is changed, when the data is referred to, the target data can be specified very easily.

図8(a)にも示されるように、RAM113の1つのデータ群を構成する各データは連続したアドレスに記憶されており、データの読み出しを行うアドレスはインクリメントにより指定されるため、1つのデータ群の中のM個のデータが連続して読み出される。つまり、1つの被転送装置102の中のM個のレジスタRに転送するデータが連続して読み出される。   As shown in FIG. 8A, each piece of data constituting one data group of the RAM 113 is stored at successive addresses, and the address from which data is read is designated by increment, so that one piece of data M pieces of data in the group are read continuously. That is, data to be transferred to M registers R in one transferred device 102 is continuously read.

従って、1つの転送部114に対して連続してM個のデータが入力され、この転送部114はM個のデータを連続してシリアル転送経路103に出力してデータの転送を行う。このため、1つのシリアル転送経路103に転送されるデータが集中してしまい、1つのデータの転送が完了するまで次のデータの転送を行うことができなくなる。これにより、RAM113から次のデータを読み出すことができなくなり、次のデータを待機させなくてはならなくなる。   Therefore, M pieces of data are continuously input to one transfer unit 114, and the transfer unit 114 outputs M pieces of data to the serial transfer path 103 continuously to perform data transfer. For this reason, the data transferred to one serial transfer path 103 is concentrated, and the next data cannot be transferred until the transfer of one data is completed. As a result, the next data cannot be read from the RAM 113, and the next data must be waited.

つまり、N本のシリアル転送経路103を有しているのにもかかわらず、N本のうち1本のシリアル転送経路103のみが転送動作を行っている状態になり、極めて転送効率が低いものになる。従って、RAM113の読み出し速度もシリアル転送経路103の転送速度に依存して、非常に低い速度になる。このため、全体としての転送速度が著しく低速化する。   That is, despite having N serial transfer paths 103, only one of the N serial transfer paths 103 is in a transfer operation state, and the transfer efficiency is extremely low. Become. Therefore, the reading speed of the RAM 113 is very low depending on the transfer speed of the serial transfer path 103. For this reason, the overall transfer rate is significantly reduced.

そこで、本発明では、転送するデータを記憶するデータ記憶部のデータの配列を被転送装置およびこの装置の中のデータ保持部と一致させるとともに、データの転送速度を高速化させることを目的とする。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to make the data arrangement of the data storage unit for storing the data to be transferred coincide with the device to be transferred and the data holding unit in the device, and to increase the data transfer speed. .

以上の課題を解決するため、本発明の請求項1のデータ転送装置は、転送されたデータを保持するデータ保持部を複数有する被転送装置を複数接続し、各被転送装置に対してデータをシリアル転送するデータ転送装置であって、前記データを前記被転送装置の順番ごとに前記データ保持部の順番に配列して記憶するデータ記憶部と、このデータ記憶部から前記データを読み出すためのアドレスを前記データ保持部の順番ごとに前記被転送装置の順番に配列して記憶するマスタアドレス記憶部と、このマスタアドレス記憶部に対するアドレス指定をインクリメントにより行うアドレスカウンタと、前記データ記憶部から読み出されたデータを前記被転送装置に対して転送する複数の転送部と、を備えたことを特徴とする。   In order to solve the above problems, a data transfer device according to claim 1 of the present invention connects a plurality of transfer target devices having a plurality of data holding units for holding transferred data, and transmits data to each transfer target device A data transfer device for serial transfer, wherein the data is stored in the order of the data holding unit in order of the transfer target device, and an address for reading the data from the data storage unit Read out from the data storage unit, a master address storage unit that stores data in the order of the transferred devices in order of the data holding unit, an address counter that performs address designation for the master address storage unit by increment A plurality of transfer units for transferring the transferred data to the transfer target device.

このデータ転送装置によれば、データ記憶部に記憶されるデータの配列は被転送装置およびデータ保持部の順番と一致しているため、データの取り扱いが極めて容易になる。そして、データ記憶部から読み出されたデータは各転送部に対して順次出力されていくため、各転送部から並列的にデータ転送が可能になり、データの転送速度の高速化が図れる。   According to this data transfer device, since the arrangement of data stored in the data storage unit matches the order of the transfer target device and the data holding unit, data handling becomes extremely easy. Since the data read from the data storage unit is sequentially output to each transfer unit, data transfer from each transfer unit can be performed in parallel, and the data transfer speed can be increased.

本発明の請求項2のデータ転送装置は、請求項1記載のデータ転送装置であって、前記マスタアドレス記憶部と前記データ記憶部との間に設けられ、前記マスタアドレス記憶部が記憶しているアドレスから前記被転送装置に転送しないアドレスを除外したアドレスを順番に配列して記憶する選択アドレス記憶部をさらに備えたことを特徴とする。   A data transfer device according to a second aspect of the present invention is the data transfer device according to the first aspect, wherein the data transfer device is provided between the master address storage unit and the data storage unit, and the master address storage unit stores the data. The apparatus further comprises a selection address storage unit for sequentially arranging and storing addresses excluding addresses not transferred to the transfer target device from existing addresses.

このデータ転送装置によれば、選択アドレス記憶部には転送しないデータを除外したデータが記憶されていることから、転送が必要なデータのみが読み出されて被転送装置に転送されるようになる。このため、データの転送速度をさらに高速化できるようになる。   According to this data transfer device, since data excluding data not to be transferred is stored in the selected address storage unit, only the data that needs to be transferred is read and transferred to the device to be transferred. . For this reason, the data transfer rate can be further increased.

本発明の請求項3のデータ転送装置は、請求項2記載のデータ転送装置であって、前記マスタアドレス記憶部に記憶されているアドレスを先頭から順番に読み出して前記選択アドレス記憶部に記憶させるときに、前記転送しないアドレスを読み出したときには前記選択アドレス記憶部に対する記憶動作を禁止する制御を行う選択アドレス制御部をさらに備えたことを特徴とする。   A data transfer device according to a third aspect of the present invention is the data transfer device according to the second aspect, wherein the addresses stored in the master address storage unit are read in order from the top and stored in the selected address storage unit. In some cases, the information processing apparatus further includes a selection address control unit that performs control for prohibiting a storage operation to the selection address storage unit when an address that is not transferred is read.

このデータ転送装置によれば、マスタアドレス記憶部の先頭アドレスから順番に読み出したデータ記憶部のアドレスについて、転送を行わないデータのアドレスのときには記憶動作を禁止することで、選択アドレス記憶部に不要なデータのアドレスを除外したアドレスを記憶させることができるようになる。   According to this data transfer device, the address of the data storage unit read in order from the head address of the master address storage unit is unnecessary for the selected address storage unit by prohibiting the storage operation when the data address is not transferred. It is possible to store addresses excluding the addresses of various data.

本発明の請求項4のデータ転送装置は、請求項3記載のデータ転送装置であって、前記転送部から前記被転送装置にデータを転送する動作と前記マスタアドレス記憶部から前記選択アドレス記憶部にアドレスを記憶させる動作とをオーバラップさせることを特徴とする。   A data transfer device according to a fourth aspect of the present invention is the data transfer device according to the third aspect, wherein an operation of transferring data from the transfer unit to the transfer target device and the master address storage unit to the selected address storage unit It is characterized in that it overlaps with the operation of storing the address.

このデータ転送装置によれば、選択アドレス記憶部にデータを記憶させる動作をデータの転送動作にオーバラップさせているため、全体としての転送時間をさらに短縮化できるようになる。   According to this data transfer apparatus, since the operation for storing data in the selected address storage unit is overlapped with the data transfer operation, the transfer time as a whole can be further shortened.

本発明の請求項5のデータ転送装置は、請求項1記載のデータ転送装置であって、前記転送部から前記被転送装置にデータを転送する動作と前記マスタアドレス記憶部にアドレスを記憶させる動作とをオーバラップさせることを特徴とする。   The data transfer device according to claim 5 of the present invention is the data transfer device according to claim 1, wherein data is transferred from the transfer unit to the transfer target device, and an address is stored in the master address storage unit. And are overlapped with each other.

このデータ転送装置によれば、マスタアドレス記憶部にデータを記憶させる動作をデータの転送動作にオーバラップさせているため、全体としての転送時間をさらに短縮化できるようになる。   According to this data transfer apparatus, since the operation for storing data in the master address storage unit overlaps the data transfer operation, the transfer time as a whole can be further shortened.

本発明の請求項6の半導体試験装置は、請求項1乃至5の何れか1項に記載のデータ転送装置を備えたことを特徴とする。   A semiconductor test apparatus according to a sixth aspect of the present invention includes the data transfer apparatus according to any one of the first to fifth aspects.

前述したデータ転送装置は半導体試験装置に用いることができる。例えば、メモリの試験を行うメモリテスタにおいては、メモリに設けられる複数のピンにメモリテスタを接続して、各ピンに対してデータを転送して試験を行う。このようなメモリテスタに前述したデータ転送装置を適用することができる。   The data transfer apparatus described above can be used in a semiconductor test apparatus. For example, in a memory tester for testing a memory, the test is performed by connecting the memory tester to a plurality of pins provided in the memory and transferring data to each pin. The data transfer device described above can be applied to such a memory tester.

本発明は、データ記憶部に記憶させるデータを被転送装置およびデータ保持部の並び順と一致させることで、データの取り扱いが極めて簡単になる。そして、データ記憶部から読み出されたデータは各転送部に対して順次出力されていくため、各転送部から並列的にデータ転送が行われることから、データの転送速度の高速化が図れるようになる。   According to the present invention, the data stored in the data storage unit is matched with the arrangement order of the device to be transferred and the data holding unit, so that the handling of the data becomes extremely simple. Since data read from the data storage unit is sequentially output to each transfer unit, data transfer is performed in parallel from each transfer unit, so that the data transfer rate can be increased. become.

実施形態のデータ転送装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the data transfer apparatus of embodiment. 図1の被転送装置およびレジスタの構成を示す図である。It is a figure which shows the structure of the to-be-transferred apparatus and register | resistor of FIG. マスタアドレス記憶部、選択アドレス記憶部およびRAMの配列を示す図である。It is a figure which shows the arrangement | sequence of a master address memory | storage part, a selection address memory | storage part, and RAM. 第1の比較例を示すタイムチャートである。It is a time chart which shows the 1st comparative example. 第2の比較例を示すタイムチャートである。It is a time chart which shows the 2nd comparative example. 第3の比較例を示すタイムチャートである。It is a time chart which shows the 3rd comparative example. 従来のデータ転送装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the conventional data transfer apparatus. 図7のRAMに記憶されるデータの配列と被転送装置およびレジスタとの関係を説明するための図である。It is a figure for demonstrating the relationship between the arrangement | sequence of the data memorize | stored in RAM of FIG. 7, a to-be-transferred apparatus, and a register.

以下、本発明の実施形態について図面を参照して説明する。以下において説明するデータ転送装置は半導体試験装置、特にメモリを試験するメモリテスタとして機能する半導体試験装置に適用した例について説明する。勿論、メモリ以外のICやLSI等の被試験デバイスの試験を行う半導体試験装置に本発明のデータ転送装置を適用することもできる。また、半導体試験装置以外であっても、装置間でデータのシリアル転送を行う装置であれば任意の装置に本発明を適用することができる。   Embodiments of the present invention will be described below with reference to the drawings. The data transfer apparatus described below will be described as an example applied to a semiconductor test apparatus, particularly a semiconductor test apparatus that functions as a memory tester for testing a memory. Of course, the data transfer apparatus of the present invention can also be applied to a semiconductor test apparatus for testing a device under test such as an IC or LSI other than a memory. Further, the present invention can be applied to any device other than a semiconductor test device as long as it is a device that serially transfers data between devices.

図1において、本発明のデータ転送装置1はN(Nは自然数)個の被転送装置2−1〜2−Nに接続されている。データ転送装置1と各被転送装置2との間はシリアル転送経路3により接続されており、シリアル転送経路3は被転送装置2ごとに設けられていることから、シリアル転送経路3の本数はN本になる。シリアル転送経路3は装置間を接続するための信号ケーブル等であり、データをシリアル転送するための経路になる。また、データ転送装置1は制御装置4に接続されており、この制御装置4の制御によりデータ転送装置1が動作を行う。   In FIG. 1, a data transfer apparatus 1 of the present invention is connected to N (N is a natural number) transferred apparatuses 2-1 to 2-N. Since the data transfer device 1 and each transferred device 2 are connected by a serial transfer path 3, and the serial transfer path 3 is provided for each transferred device 2, the number of serial transfer paths 3 is N. Become a book. The serial transfer path 3 is a signal cable or the like for connecting apparatuses, and is a path for serially transferring data. The data transfer device 1 is connected to the control device 4, and the data transfer device 1 operates under the control of the control device 4.

データ転送装置1はデータを転送するための装置であり、被転送装置2はデータが転送される装置である。メモリテスタに適用した場合には、データ転送装置1はピンエレクトロニクスカードとして機能させ、被転送装置2はDCL(ドライバコンパレータロード)として機能させることができる。DCLはメモリに入力する信号を印加するドライバとメモリから出力された信号を判定するコンパレータとメモリに接続される負荷(ロード)とを備える回路であり、DCLには試験対象であるメモリのピンが接続される。   The data transfer device 1 is a device for transferring data, and the transferred device 2 is a device to which data is transferred. When applied to a memory tester, the data transfer device 1 can function as a pin electronics card, and the transferred device 2 can function as a DCL (driver comparator load). The DCL is a circuit including a driver for applying a signal to be input to the memory, a comparator for determining a signal output from the memory, and a load connected to the memory. The DCL includes a pin of the memory to be tested. Connected.

DCLがメモリに入力する信号や判定を行うために必要な信号を生成するためのデータが必要になり、このデータがピンエレクトロニクスカードとして機能するデータ転送装置から転送される。DCLとして機能する被転送装置2は転送されたデータを保持して、メモリに対して信号を入力する。   A signal input to the memory by the DCL and data for generating a signal necessary for the determination are necessary, and this data is transferred from the data transfer device functioning as a pin electronics card. The transferred device 2 functioning as a DCL holds the transferred data and inputs a signal to the memory.

従って、被転送装置2には転送されたデータを保持するデータ保持部(レジスタ)が備えられる。ここでは、被転送装置2にはM(Mは自然数)個のレジスタR1〜RM(総称してレジスタR)が備えられているものとする。なお、以下においては、各被転送装置2に設けられるレジスタRの個数は同じM個として説明するが、被転送装置2によってレジスタRの個数が異なるものであってもよい。   Therefore, the transferred device 2 includes a data holding unit (register) that holds the transferred data. Here, it is assumed that the transferred device 2 includes M (M is a natural number) registers R1 to RM (collectively, registers R). In the following description, the number of registers R provided in each transfer target device 2 is described as being the same M, but the number of registers R may be different depending on the transfer target device 2.

図1においては、被転送装置2−1〜2−Nを「#1」〜「#N」として示している。各被転送装置2は2−1から2−Nまで番号順に配列されている。そして、図2に示すように、各被転送装置2の中に設けられるレジスタRも番号順に配列されており、1番目のレジスタR1からM番目のレジスタRMまで順番に並んでいる。各レジスタRに記憶されたデータは、先頭のレジスタR1から順番に外部(メモリ等)に出力することができる。   In FIG. 1, the devices to be transferred 2-1 to 2-N are shown as “# 1” to “#N”. Each transferred device 2 is arranged in numerical order from 2-1 to 2-N. As shown in FIG. 2, the registers R provided in each transferred apparatus 2 are also arranged in numerical order, and are arranged in order from the first register R1 to the Mth register RM. The data stored in each register R can be output to the outside (memory or the like) in order from the top register R1.

データ転送装置1の構成について説明する。データ転送装置1はコントローラ11とイネーブル信号発生部12とRAM13とN個の転送部14−1〜14−N(総称して転送部14)とアドレスカウンタ15とマスタアドレス記憶部16と選択アドレス記憶部17と選択アドレス制御部18とセレクタ19とを備えて概略構成している。また、データ転送装置1の制御を行う制御装置4はトリガ発生部21と選択信号発生部22とを備えて概略構成している。   The configuration of the data transfer device 1 will be described. The data transfer apparatus 1 includes a controller 11, an enable signal generator 12, a RAM 13, N transfer units 14-1 to 14-N (collectively transfer unit 14), an address counter 15, a master address storage unit 16, and a selected address store. A part 17, a selection address control part 18, and a selector 19 are schematically configured. The control device 4 that controls the data transfer device 1 includes a trigger generation unit 21 and a selection signal generation unit 22 and is schematically configured.

コントローラ11はイネーブル信号発生部12とアドレスカウンタ15とセレクタ19との制御を行っている。コントローラ11は制御装置4のトリガ発生部21に接続されており、トリガ発生部21が発生するトリガ信号に基づいて制御を開始する。イネーブル信号発生部12は選択アドレス記憶部17から出力されるアドレスに基づいて、転送動作を行う転送部114に対してイネーブル信号を発生して出力する。   The controller 11 controls the enable signal generator 12, the address counter 15 and the selector 19. The controller 11 is connected to the trigger generator 21 of the control device 4 and starts control based on a trigger signal generated by the trigger generator 21. The enable signal generation unit 12 generates and outputs an enable signal to the transfer unit 114 that performs the transfer operation based on the address output from the selected address storage unit 17.

RAM13は被転送装置2に転送するデータを記憶するデータ記憶部である。このRAM13には図3(c)の配列(図8と同じ配列)で各データが記憶されている。つまり、被転送装置2の順番ごとにレジスタRを順番に並べた配列で各データが記憶されている。具体的には、N個のデータ群(第1データ群から第Nデータ群まで)が番号順に並んでおり、各データ群の中でM個のデータ(Data)が番号順に並んで配列されている。   The RAM 13 is a data storage unit that stores data to be transferred to the transfer target device 2. Each data is stored in the RAM 13 in the array of FIG. 3C (the same array as FIG. 8). That is, each piece of data is stored in an array in which the registers R are arranged in order for each transfer device 2. Specifically, N data groups (from the first data group to the Nth data group) are arranged in numerical order, and M data (Data) are arranged in numerical order in each data group. Yes.

各データ群はそれぞれ被転送装置2に対応しており、1つのデータ群を構成するデータはそれぞれレジスタRに対応している。そして、図3(c)に示すように、各データには2つの識別子が付されている。DataX−Y(1≦X≦N、1≦Y≦M:X、Yは自然数)のうち「X」がデータ群(被転送装置2)を示し、「Y」がデータ群を構成するデータ(レジスタR)を示している。以上のように、各データはRAM13の先頭アドレスから順番にN×M個が配列されている。   Each data group corresponds to the transfer target device 2, and data constituting one data group corresponds to each register R. As shown in FIG. 3C, each data is given two identifiers. Of DataX-Y (1 ≦ X ≦ N, 1 ≦ Y ≦ M: X and Y are natural numbers), “X” represents a data group (transferred device 2), and “Y” represents data constituting the data group ( Register R). As described above, N × M pieces of data are arranged in order from the top address of the RAM 13.

転送部14はシリアル転送経路3に接続されており、入力したデータをシリアル転送経路3に出力する。これにより、シリアル転送経路3からデータが被転送装置2にシリアル転送される。データ転送装置1の内部で扱うデータはパラレルデータになっており、パラレルデータをシリアルデータに変換してシリアル転送経路3に出力する。なお、転送部14がシリアルデータを入力している場合には、データ変換をすることなくそのままの形式でデータを出力する。そして、N個の転送部14のうちイネーブル信号発生部12からイネーブル信号を入力した転送部114のみがシリアル転送経路3にデータを出力する。   The transfer unit 14 is connected to the serial transfer path 3 and outputs the input data to the serial transfer path 3. As a result, data is serially transferred from the serial transfer path 3 to the transfer target device 2. Data handled in the data transfer device 1 is parallel data, and the parallel data is converted into serial data and output to the serial transfer path 3. If the transfer unit 14 is inputting serial data, the data is output as it is without being converted. Of the N transfer units 14, only the transfer unit 114 that has received the enable signal from the enable signal generation unit 12 outputs data to the serial transfer path 3.

アドレスカウンタ15はマスタアドレス記憶部16および選択アドレス記憶部17のアドレスを指定するためのアドレス指定部である。アドレスカウンタ15は初期値としてマスタアドレス記憶部16および選択アドレス記憶部17の先頭アドレスを記憶しており、指定するアドレスを先頭アドレスからインクリメントしていく。ここでは、前記2つの記憶部の先頭アドレスはゼロ(0番地)であるものとする。   The address counter 15 is an address designating unit for designating the addresses of the master address storage unit 16 and the selected address storage unit 17. The address counter 15 stores the initial addresses of the master address storage unit 16 and the selected address storage unit 17 as initial values, and increments the designated address from the initial address. Here, it is assumed that the top addresses of the two storage units are zero (address 0).

アドレスカウンタ15はコントローラ11の制御により、アドレスの出力およびインクリメントを開始する。そして、マスタアドレス記憶部16、選択アドレス記憶部17の最後のデータを読み出したときに、コントローラ11によりアドレスカウンタ15が指定するアドレスを初期値に戻す(リセットを行う)。   The address counter 15 starts address output and increment under the control of the controller 11. When the last data in the master address storage unit 16 and the selected address storage unit 17 is read, the address designated by the address counter 15 is returned to the initial value by the controller 11 (reset is performed).

マスタアドレス記憶部16はRAM13のアドレス(メモリアドレス)をデータとして記憶している。図3(a)はマスタアドレス記憶部16が記憶するメモリアドレス(Add)の配列を示しており、AddX−YはDataX−Yが記憶されるアドレスを示している。   The master address storage unit 16 stores the address (memory address) of the RAM 13 as data. FIG. 3A shows an array of memory addresses (Add) stored in the master address storage unit 16, and AddX-Y shows an address where DataX-Y is stored.

マスタアドレス記憶部16が記憶するメモリアドレスの順番は、Yの順番ごとにXの順番に並べた配列になっている。つまり、Add1−1から開始して、Xを1番目からM番目までインクリメントさせるごとにYをインクリメントさせるようにした配列になっている。前述したように、Xは被転送装置2を示し、YはレジスタRを示していることから、マスタアドレス記憶部16が記憶するメモリアドレスの順番は、レジスタRの順番ごとに被転送装置2を順番に並べた配列になっている。   The order of the memory addresses stored in the master address storage unit 16 is arranged in the order of X for every Y order. That is, the array starts with Add1-1 and increments Y each time X is incremented from the first to the Mth. As described above, since X indicates the transferred device 2 and Y indicates the register R, the order of the memory addresses stored in the master address storage unit 16 is determined according to the order of the register R. It is an array arranged in order.

なお、前述したRAM13が記憶するデータ(Data)の順番はXの順番ごとにYの順番に並べた構成になっており、Data1−1から開始して、Yを1番目からN番目までインクリメントさせるごとにXをインクリメントさせるようにした配列になっている。   Note that the order of the data (Data) stored in the RAM 13 is arranged in the order of Y for every X order, and starts from Data1-1 and increments Y from the first to the Nth. In this array, X is incremented every time.

選択アドレス記憶部17について説明する。選択アドレス記憶部17はマスタアドレス記憶部16に記憶されているメモリアドレスのうちデータ転送を行うデータのメモリアドレスのみを抽出して記憶している。換言すれば、マスタアドレス記憶部16に記憶されるデータから転送を行わないデータのメモリアドレスを除外して記憶している。   The selected address storage unit 17 will be described. The selection address storage unit 17 extracts and stores only the memory address of the data to be transferred from the memory addresses stored in the master address storage unit 16. In other words, the memory address of the data that is not transferred is excluded from the data stored in the master address storage unit 16 and stored.

選択アドレス制御部18はデコーダ・カウンタとして機能し、デコーダ機能としては選択アドレス記憶部17にメモリアドレスを記憶させるときの動作制御を行い、カウンタ機能としては選択アドレス記憶部17のアドレスを生成する。このために、選択アドレス制御部18はアドレスカウンタ15から出力されるアドレスと制御装置4の選択信号発生部22から出力される選択信号とに基づいて動作を行う。   The selection address control unit 18 functions as a decoder / counter, performs operation control when the selection address storage unit 17 stores a memory address as a decoder function, and generates an address of the selection address storage unit 17 as a counter function. For this purpose, the selection address control unit 18 operates based on the address output from the address counter 15 and the selection signal output from the selection signal generation unit 22 of the control device 4.

ここで、選択信号について説明する。選択信号は選択信号発生部22により出力されており、マスタアドレス記憶部16に記憶されている各メモリアドレスに対応するデータについて転送を行うか否かの情報になっている。選択信号発生部22は、図3(a)に示すマスタアドレス記憶部16が記憶しているメモリアドレスの並び順を記憶しており、且つ各メモリアドレスについて転送を行うか否かの情報を有している。   Here, the selection signal will be described. The selection signal is output from the selection signal generation unit 22 and is information indicating whether or not to transfer data corresponding to each memory address stored in the master address storage unit 16. The selection signal generator 22 stores the arrangement order of the memory addresses stored in the master address storage unit 16 shown in FIG. 3A, and has information on whether or not to transfer each memory address. is doing.

例えば、選択信号をM×Nビットの二値のデータとすることができる。マスタアドレス記憶部16の先頭アドレスに記憶されるAdd1−1から順番にAddN−Mまでを選択信号の1ビット目からN×Mビット目までそれぞれ対応させ、ビットの値が「1」のときには転送を行うことを示し、「0」のときには転送を行わないことを示すようにすることができる。   For example, the selection signal can be binary data of M × N bits. From Add1-1 stored in the head address of the master address storage unit 16 to AddN-M in order from the first bit to the N × M bit of the selection signal, and transfer when the bit value is “1” It is possible to indicate that transfer is not performed when “0”.

転送動作を行うか否かについては種々の状況により任意に設定することができる。 例えば、データ転送装置1をメモリテスタに適用した場合、メモリのピンのうち使用しないピンが存在する場合がある。この場合に、当該ピンに接続される被転送装置2からはデータの転送を行わない。また、メモリのピンにかかわらず、被転送装置2自身を使用しない設定とすることもある。いずれにせよ、被転送装置2或いはレジスタRについてデータ転送が不要な場合があり、この場合にはRAM13からデータを読み出さないようにしている。   Whether or not to perform the transfer operation can be arbitrarily set according to various situations. For example, when the data transfer device 1 is applied to a memory tester, there are cases where there are unused pins among the pins of the memory. In this case, data transfer is not performed from the transfer target device 2 connected to the pin. In addition, the device to be transferred 2 may not be used regardless of the memory pin. In any case, data transfer may not be necessary for the transfer target device 2 or the register R. In this case, data is not read from the RAM 13.

以上の選択信号を選択アドレス制御部18が入力する。前述したように、選択アドレス制御部18にはアドレスカウンタ15からアドレスを入力している。このアドレスはマスタアドレス記憶部16の先頭アドレス(ゼロ)から順次インクリメントしたものになる。選択信号はマスタアドレス記憶部16が記憶するメモリアドレスの並び順で転送を行うか否かの情報になっており、この選択信号と入力したアドレスとに基づいて、当該アドレスのデータを転送するか否かを判定できる。例えば、前述したようにM×Nビットの信号とする場合には、入力したアドレスに対応するビットを参照することで、転送を行なうか否かを認識することができる。   The selection address control unit 18 inputs the above selection signal. As described above, an address is input from the address counter 15 to the selected address control unit 18. This address is sequentially incremented from the leading address (zero) of the master address storage unit 16. The selection signal is information indicating whether or not the transfer is performed in the arrangement order of the memory addresses stored in the master address storage unit 16. Based on the selection signal and the input address, whether or not the data of the address is transferred. You can determine whether or not. For example, when an M × N bit signal is used as described above, it is possible to recognize whether or not to perform transfer by referring to the bit corresponding to the input address.

これにより、選択アドレス制御部18は入力したアドレスごとに転送を行うか否かを判定できる。そして、転送を行うと判定した場合にはライト制御信号を選択アドレス記憶部17に出力する。このライト制御信号は選択アドレス記憶部17の記憶動作を許可する信号になる。一方、ライト制御信号が出力されない場合には、記憶動作が禁止される。   Thereby, the selected address control unit 18 can determine whether or not to perform transfer for each input address. If it is determined that transfer is to be performed, a write control signal is output to the selected address storage unit 17. This write control signal is a signal for permitting the storage operation of the selected address storage unit 17. On the other hand, when the write control signal is not output, the storage operation is prohibited.

また、選択アドレス制御部18はカウンタ機能としても機能する。選択アドレス制御部18は値をカウントしており、選択アドレス制御部18からライト制御信号を出力したときに値のインクリメントを行う。そして、初期値として選択アドレス制御部18の先頭アドレス(ゼロ)を記憶しており、これにより選択アドレス記憶部17のアドレスを生成する。生成されたアドレスは選択アドレス記憶部17に出力される。   The selected address control unit 18 also functions as a counter function. The selection address control unit 18 counts a value, and increments the value when a write control signal is output from the selection address control unit 18. Then, the initial address (zero) of the selected address control unit 18 is stored as an initial value, and the address of the selected address storage unit 17 is thereby generated. The generated address is output to the selected address storage unit 17.

セレクタ19はコントローラ11により制御されており、アドレスカウンタ15が出力するアドレスと選択アドレス制御部18が出力するアドレスとのうち何れか一方を選択して選択アドレス記憶部17に出力している。選択信号はコントローラ11の動作を開始させるトリガとしても機能しており、トリガ発生部21が発生するトリガ信号に基づいてコントローラ11の動作が開始したときには、アドレスカウンタ15のアドレスが選択され、選択信号に基づいてコントローラ11の動作が開始したときには、選択アドレス制御部18のアドレスが選択される。   The selector 19 is controlled by the controller 11 and selects one of the address output from the address counter 15 and the address output from the selected address control unit 18 and outputs the selected address to the selected address storage unit 17. The selection signal also functions as a trigger for starting the operation of the controller 11. When the operation of the controller 11 is started based on the trigger signal generated by the trigger generation unit 21, the address of the address counter 15 is selected, and the selection signal When the operation of the controller 11 starts based on the above, the address of the selected address control unit 18 is selected.

以上が概略構成である。次に動作について説明する。以下における動作は、データ記憶動作とデータ転送動作との2つの動作に分かれている。最初にデータ記憶動作について説明する。なお、データ記憶動作のときには、マスタアドレス記憶部16はリードモード(データの読み出しを行うモード)に設定し、選択アドレス記憶部17はライトモード(データの記憶を行うモード)に設定する。データ転送動作のときには選択アドレス記憶部17をリードモードに設定する。   The above is the schematic configuration. Next, the operation will be described. The following operations are divided into two operations, a data storage operation and a data transfer operation. First, the data storage operation will be described. During the data storage operation, the master address storage unit 16 is set to a read mode (a mode for reading data), and the selection address storage unit 17 is set to a write mode (a mode for storing data). In the data transfer operation, the selected address storage unit 17 is set to the read mode.

データ記憶動作は選択信号発生部22が発生する選択信号をトリガとして開始される。発生した選択信号はコントローラ11に入力され、コントローラ11は選択アドレス制御部18が出力するアドレスを選択するようにセレクタ19を制御する。   The data storage operation is started with the selection signal generated by the selection signal generator 22 as a trigger. The generated selection signal is input to the controller 11, and the controller 11 controls the selector 19 so as to select the address output by the selection address control unit 18.

そして、コントローラ11はアドレスカウンタ15の動作を開始させる。最初は、アドレスカウンタ15からマスタアドレス記憶部16の先頭アドレス(ゼロ)が出力されており、順次インクリメントしたアドレスが出力される。出力されたアドレスはマスタアドレス記憶部16と選択アドレス制御部18とに入力される。   Then, the controller 11 starts the operation of the address counter 15. Initially, the head address (zero) of the master address storage unit 16 is output from the address counter 15, and sequentially incremented addresses are output. The output address is input to the master address storage unit 16 and the selected address control unit 18.

マスタアドレス記憶部16に入力されたアドレスは、このマスタアドレス記憶部16のアドレスを指定する。データ記憶動作ではマスタアドレス記憶部16はリードモードになっているため、先頭アドレスに記憶されているメモリアドレスAdd1−1から順番にAddN−Mまで読み出される。読み出されたメモリアドレスは順次選択アドレス記憶部17に出力される。   The address input to the master address storage unit 16 specifies the address of the master address storage unit 16. In the data storage operation, since the master address storage unit 16 is in the read mode, the memory address Add1-1 stored in the head address is sequentially read up to AddN-M. The read memory addresses are sequentially output to the selected address storage unit 17.

アドレスカウンタ15が出力するアドレスは選択アドレス制御部18に対しても入力される。選択アドレス制御部18は、アドレスカウンタ15からのアドレスと選択信号とに基づいて、マスタアドレス記憶部16の当該アドレスが記憶するメモリアドレスのデータの転送を行うか否かを判定する(デコーダ機能)。転送を行うと判定した場合には、選択アドレス記憶部17に対してライト制御信号を出力する。ライト制御信号は選択アドレス記憶部17に入力され、このライト制御信号を入力したときにのみ、選択アドレス記憶部17はマスタアドレス記憶部16から出力されるメモリアドレスを記憶する。   The address output from the address counter 15 is also input to the selected address control unit 18. Based on the address from the address counter 15 and the selection signal, the selection address control unit 18 determines whether or not to transfer the data at the memory address stored in the master address storage unit 16 (decoder function). . When it is determined that transfer is to be performed, a write control signal is output to the selected address storage unit 17. The write control signal is input to the selected address storage unit 17, and the selected address storage unit 17 stores the memory address output from the master address storage unit 16 only when this write control signal is input.

そして、選択アドレス制御部18は値をカウントしており、カウントした値をセレクタ19に出力する(カウンタ機能)。この値は選択アドレス記憶部17の先頭アドレス(ゼロ)を起点として、ライト制御信号を出力した回数分だけインクリメントした値になる。ライト制御信号はマスタアドレス記憶部16から出力されるメモリアドレスを選択アドレス記憶部17に記憶させる制御を行う信号であり、このライト制御信号の出力回数は選択アドレス記憶部17に有効に記憶されたメモリアドレスの個数になる。   The selected address control unit 18 counts the value, and outputs the counted value to the selector 19 (counter function). This value is incremented by the number of times the write control signal has been output starting from the head address (zero) of the selected address storage unit 17. The write control signal is a signal for controlling the memory address output from the master address storage unit 16 to be stored in the selected address storage unit 17. The number of times this write control signal is output is effectively stored in the selected address storage unit 17. This is the number of memory addresses.

これにより、選択アドレス記憶部17の先頭アドレス(ゼロ)から順番に、有効に記憶されたメモリアドレスの個数を選択アドレス制御部18がカウントしていることになる。よって、このカウントした値は選択アドレス記憶部17のアドレスを指定していることになる。つまり、先頭アドレスから順番に有効に記憶させるメモリアドレスを配列した場合のアドレスを指定している。   Thus, the selection address control unit 18 counts the number of memory addresses that are effectively stored in order from the top address (zero) of the selection address storage unit 17. Therefore, the counted value designates the address of the selected address storage unit 17. That is, an address is specified when memory addresses to be effectively stored in order from the top address are arranged.

選択アドレス制御部18はこのカウントした値を選択アドレス制御部18のアドレスとして出力している。そして、セレクタ19は選択アドレス制御部18から出力されるアドレスを選択していることから、選択アドレス制御部18にアドレスが入力される。   The selection address control unit 18 outputs the counted value as the address of the selection address control unit 18. Since the selector 19 selects the address output from the selected address control unit 18, the address is input to the selected address control unit 18.

従って、選択アドレス記憶部17にはマスタアドレス記憶部16から順次出力されるメモリアドレスがデータとして入力され、選択アドレス制御部18から出力されるアドレスがアドレスを指定し、ライト制御信号により記憶動作の禁止または許可が制御される。   Accordingly, the memory address sequentially output from the master address storage unit 16 is input to the selected address storage unit 17 as data, the address output from the selection address control unit 18 designates the address, and the storage operation is performed by the write control signal. Prohibition or permission is controlled.

マスタアドレス記憶部16からメモリアドレスを入力したとしても、ライト制御信号が入力されていなければメモリアドレスは記憶されず、ライト制御信号を入力したときのみメモリアドレスが記憶されるため、転送を行うデータのメモリアドレスのみが記憶される。そして、選択アドレス制御部18は有効に記憶させるアドレスを先頭アドレスから順番に指定しているため、転送が必要なデータのメモリアドレスのみが先頭アドレスから順番に記憶されていく。   Even if the memory address is input from the master address storage unit 16, the memory address is not stored unless the write control signal is input, and the memory address is stored only when the write control signal is input. Only the memory addresses are stored. Since the selection address control unit 18 designates the addresses to be effectively stored in order from the top address, only the memory addresses of data that need to be transferred are stored in order from the top address.

図3(b)は選択アドレス記憶部17が記憶しているメモリアドレスの一例を示している。この例では、被転送装置2−1、2−3および2−5以外の被転送装置2にデータを転送しないようになっており、データ群2−1、2−3および2−5を構成するデータのみが記憶されている。つまり、AddX−YのうちXが1、3および5のデータのみが記憶されている。換言すれば、これら以外のデータを除外して記憶している。   FIG. 3B shows an example of a memory address stored in the selected address storage unit 17. In this example, data is not transferred to the transfer target device 2 other than the transfer target devices 2-1, 2-3, and 2-5, and the data groups 2-1, 2-3, and 2-5 are configured. Only the data to be stored is stored. That is, only data of X, 1, 3, and 5 is stored in AddX-Y. In other words, data other than these are excluded and stored.

従って、選択アドレス記憶部17に記憶されるデータ量を大幅に削減できる。これにより、選択アドレス記憶部17に必要な容量を削減でき、且つ記憶されるデータ(メモリアドレス)の量が少ないことから、高速にデータを読み出すことが可能になる。   Therefore, the amount of data stored in the selected address storage unit 17 can be greatly reduced. As a result, the capacity required for the selected address storage unit 17 can be reduced, and the amount of data (memory addresses) to be stored is small, so that data can be read at high speed.

以上の動作をアドレスカウンタ15がマスタアドレス記憶部16の先頭アドレス(ゼロ)からM×N個のメモリアドレスまで行った時点でデータ記憶動作が終了する。データ記憶動作が終了したときには、コントローラ11はアドレスカウンタ15を初期値(ゼロ)に戻す。   When the address counter 15 performs the above operation from the top address (zero) of the master address storage unit 16 to M × N memory addresses, the data storage operation ends. When the data storage operation is completed, the controller 11 returns the address counter 15 to the initial value (zero).

以上のデータ記憶動作が終了した後にデータ転送動作を行う。データ転送動作は実際に被転送装置2に対してデータを転送する動作になる。このデータ転送動作を行うときには、選択アドレス記憶部17はリードモードに設定しておく。なお、マスタアドレス記憶部16はデータ転送動作に影響を与えないため、何れのモードに設定してもよい。   After the above data storage operation is completed, the data transfer operation is performed. The data transfer operation is actually an operation of transferring data to the transfer target device 2. When this data transfer operation is performed, the selected address storage unit 17 is set to the read mode. Note that since the master address storage unit 16 does not affect the data transfer operation, any mode may be set.

データ転送動作はトリガ発生部21から出力されるトリガ信号をコントローラ11が入力することにより開始される。コントローラ11はアドレスカウンタ15から出力されるアドレスを初期値(選択アドレス記憶部17の先頭アドレス)からインクリメントしていく。同時に、コントローラ11はトリガ信号に基づいて動作を開始しているため、アドレスカウンタ15から出力されるアドレスを選択するようにセレクタ19を制御する。   The data transfer operation is started when the controller 11 inputs a trigger signal output from the trigger generator 21. The controller 11 increments the address output from the address counter 15 from the initial value (the head address of the selected address storage unit 17). At the same time, the controller 11 starts the operation based on the trigger signal, and therefore controls the selector 19 to select the address output from the address counter 15.

前述したデータ記憶動作ではアドレスカウンタ15はマスタアドレス記憶部16のアドレスを指定していたが、データ転送動作では選択アドレス記憶部17のアドレスを指定している。セレクタ19はアドレスカウンタ15から出力されるアドレスを選択しているため、このアドレスが選択アドレス記憶部17に入力される。   In the above-described data storage operation, the address counter 15 designates the address of the master address storage unit 16, but in the data transfer operation, the address of the selected address storage unit 17 is designated. Since the selector 19 selects the address output from the address counter 15, this address is input to the selected address storage unit 17.

選択アドレス記憶部17に入力されるアドレスは先頭アドレスから順次インクリメントしたものになる。従って、図3(b)に示されるようなメモリアドレスが先頭アドレスから順次読み出される。なお、データ転送動作では選択アドレス記憶部17はリードモードになっているため、ライト制御信号の影響は受けない。   The address input to the selected address storage unit 17 is sequentially incremented from the top address. Accordingly, memory addresses as shown in FIG. 3B are sequentially read from the head address. In the data transfer operation, since the selected address storage unit 17 is in the read mode, it is not affected by the write control signal.

選択アドレス記憶部17から順次読み出されるメモリアドレスはRAM13から読み出すデータのアドレスを指定している。そして、レジスタRの順番(AddX−Yのうち「Y」の順番)ごとに被転送装置2を順番(AddX−Yのうち「X」の順番)に並べた配列になっており、且つ転送を行わないデータのメモリアドレスを除外したものになっている。   The memory address sequentially read from the selected address storage unit 17 designates the address of data read from the RAM 13. Then, the transfer target devices 2 are arranged in order (the order of “X” in AddX-Y) in the order of the registers R (the order of “Y” in AddX-Y), and transfer is performed. This excludes memory addresses of data that are not to be executed.

図3(b)の例では、Add1−1、3−1、5−1、・・・と順番に配列されており、これは「Y」の順番である1について、「X」の順番を1〜5まで番号順に並べた配列になっており、且つ「X」については転送を行う1番(被転送装置2−1)、3番(被転送装置2−3)および5番(被転送装置2−5)のみが記憶されている。   In the example of FIG. 3B, they are arranged in the order of Add 1-1, 3-1, 5-1,... 1 to 5 are arranged in numerical order, and “X” is the first (transferred device 2-1), third (transferred device 2-3), and fifth (transferred) that perform transfer. Only the device 2-5) is stored.

イネーブル信号発生部12は選択アドレス記憶部17から出力されるメモリアドレスを先頭アドレスから順番に入力しており、このメモリアドレスに基づいてイネーブル信号を出力する。入力するメモリアドレスはAddX−Yになっていることから、このうち「X」を参照することで、動作を行う転送部14を特定できる。そして、動作を行う転送部14にのみイネーブル信号を出力する。   The enable signal generation unit 12 inputs memory addresses output from the selected address storage unit 17 in order from the head address, and outputs an enable signal based on the memory address. Since the input memory address is AddX-Y, the transfer unit 14 that performs the operation can be specified by referring to “X”. Then, an enable signal is output only to the transfer unit 14 that operates.

従って、最初に選択アドレス記憶部17から出力されるメモリアドレスはAdd1−1であり、このメモリアドレスはRAM13の第1データ群の1番目のデータであるData1−1を読み出す。そして、読み出したData1−1を各転送部14に出力する。一方、イネーブル信号発生部12はAdd1−1に基づいて、転送部14−1に対してのみイネーブル信号を出力する。   Therefore, the memory address first output from the selected address storage unit 17 is Add1-1, and this memory address reads Data1-1 which is the first data in the first data group of the RAM13. Then, the read Data 1-1 is output to each transfer unit 14. On the other hand, the enable signal generator 12 outputs an enable signal only to the transfer unit 14-1 based on Add1-1.

よって、転送部14−1のみがデータの転送動作を行う。転送部14−1は入力したData1−1をパラレルデータからシリアルデータに変換してシリアル転送経路3−1に出力する。これにより、Data1−1がシリアル転送経路3−1によりシリアル転送される。そして、転送されたData1−1は被転送装置2−1の先頭のレジスタR1に記憶される。   Therefore, only the transfer unit 14-1 performs the data transfer operation. The transfer unit 14-1 converts the input Data 1-1 from parallel data to serial data, and outputs it to the serial transfer path 3-1. As a result, Data 1-1 is serially transferred through the serial transfer path 3-1. The transferred Data 1-1 is stored in the first register R1 of the transferred device 2-1.

次に選択アドレス記憶部17から読み出されるメモリアドレスはAdd3−1である。Add3−1はRAM13の第3データ群の1番目のデータData3−1を指定している。そして、イネーブル信号発生部12はAdd3−1に基づいて、転送部14−3のみにイネーブル信号を出力する。よって、転送部14−3がData3−1のデータ変換を行って、シリアル転送経路3−3にData3−3を出力する。   Next, the memory address read from the selected address storage unit 17 is Add3-1. Add3-1 designates the first data Data3-1 of the third data group of the RAM 13. Then, the enable signal generator 12 outputs an enable signal only to the transfer unit 14-3 based on Add3-1. Therefore, the transfer unit 14-3 performs data conversion of Data3-1 and outputs Data3-3 to the serial transfer path 3-3.

次に選択アドレス記憶部17から読み出されるメモリアドレスはAdd5−1であり、これによりRAM13の第5データ群の1番目のデータData5−1が読み出されて、イネーブル信号発生部12が転送部14−5にのみイネーブル信号を出力することから、転送部14−5のみがデータの転送動作を行う。   Next, the memory address read from the selected address storage unit 17 is Add5-1, whereby the first data Data5-1 of the fifth data group of the RAM 13 is read, and the enable signal generation unit 12 is transferred to the transfer unit 14. Since the enable signal is output only to −5, only the transfer unit 14-5 performs the data transfer operation.

従って、RAM13から順次読み出されるデータはそれぞれ異なる転送部14に入力されてデータの転送動作が行われる。つまり、順次異なる転送部14にデータを出力させて、データを入力した転送部14を並列的に動作させることができる。前記の場合には、転送部14−1と14−3と14−5とに順次データを出力して、これらの転送部14を並列的に動作させることができる。これにより、複数の転送部14が並列的に動作することから、データの転送効率が向上し、全体としての転送速度を高速化することができる。   Accordingly, data sequentially read from the RAM 13 is input to different transfer units 14 to perform a data transfer operation. That is, data can be sequentially output to different transfer units 14, and the transfer units 14 to which data is input can be operated in parallel. In the above case, data can be sequentially output to the transfer units 14-1, 14-3, and 14-5, and the transfer units 14 can be operated in parallel. Thereby, since the some transfer part 14 operate | moves in parallel, the transfer efficiency of data can improve and the transfer rate as a whole can be sped up.

ここで、本発明の動作をデータ記憶動作とデータ転送動作とに分けているが、データ記憶動作を省略するものであってもよい。データ記憶動作は転送を行わないデータのメモリアドレスを除外する動作であり、この動作を行わなくても、各転送部14を並列的に動作させることは可能である。または、RAM13に記憶されている全てのデータを転送する場合には、そもそも除外する必要がない。   Here, although the operation of the present invention is divided into the data storage operation and the data transfer operation, the data storage operation may be omitted. The data storage operation is an operation that excludes the memory address of data that is not transferred, and the transfer units 14 can be operated in parallel without performing this operation. Alternatively, when all the data stored in the RAM 13 is transferred, it is not necessary to exclude it in the first place.

全てのデータを転送する場合には、全てのレジスタRおよび被転送装置2について、レジスタRの順番ごとに被転送装置2を順番に並べたメモリアドレスが読み出されるため、Data1−1、2−1、3−1、・・・というように、それぞれ異なる転送部14に対して出力されるデータがRAM13から読み出される。これにより、各転送部14を並列的に動作させることができることから、データ転送の高速化を図ることができる。この場合には、選択アドレス記憶部17と選択アドレス制御部18とセレクタ19とは不要になり、マスタアドレス記憶部16とRAM13とが直接的に接続される。   In the case of transferring all data, since the memory addresses in which the transfer target devices 2 are arranged in order of the registers R are read out for all the registers R and transfer target devices 2, Data 1-1, 2-1. 3-1,..., Data output to different transfer units 14 are read from the RAM 13. Thereby, since each transfer part 14 can be operated in parallel, high-speed data transfer can be achieved. In this case, the selection address storage unit 17, the selection address control unit 18, and the selector 19 are not necessary, and the master address storage unit 16 and the RAM 13 are directly connected.

次に、比較例について、図4、図5および図6を用いて説明する。図4は第1の比較例のタイムチャートを示しており、背景技術で説明した場合と同様にRAM13の先頭アドレスから順番にデータを読み出している。図5は第2の比較例のタイムチャートを示しており、背景技術と同様にRAM13の先頭アドレスから順番にデータを読み出しているが、各転送部14にFIFO(First In First Out)を設けている。図6は第3の比較例のタイムチャートを示しており、本発明の動作を示している。ただし、全てのデータを転送する場合を示している(転送しないデータを除外していない)。   Next, a comparative example will be described with reference to FIGS. 4, 5, and 6. FIG. 4 shows a time chart of the first comparative example, and data is read in order from the head address of the RAM 13 as in the case described in the background art. FIG. 5 shows a time chart of the second comparative example, in which data is read sequentially from the head address of the RAM 13 as in the background art, but each transfer unit 14 is provided with a FIFO (First In First Out). Yes. FIG. 6 shows a time chart of the third comparative example, illustrating the operation of the present invention. However, the case where all data is transferred is shown (data not transferred is not excluded).

図4〜図6において、「#1」〜「#N」は被転送装置2−1〜2−Nを示しており、t1はRAM13からデータを読み出して転送部14に入力されるまでの時間を示し、t2は転送部14から被転送装置2にデータが転送されるまでの時間を示している。   4 to 6, “# 1” to “#N” indicate the devices to be transferred 2-1 to 2-N, and t1 is the time from reading data from the RAM 13 to input to the transfer unit 14. T2 indicates a time until data is transferred from the transfer unit 14 to the transfer target device 2.

データ転送装置1の内部の処理速度は高速になっている。これは、データ転送装置1が1つの回路基板を構成しており、基板内部では高速に信号伝達が行われるためである。一方、シリアル転送経路3の転送速度はデータ転送装置1の内部の処理速度に比べると非常に低速になる。これは、シリアル転送経路3には信号ケーブル等を用いているためである。よって、時間t1はt2に対して非常に短い時間になる。   The processing speed inside the data transfer apparatus 1 is high. This is because the data transfer device 1 constitutes one circuit board, and signal transmission is performed at high speed inside the board. On the other hand, the transfer speed of the serial transfer path 3 is very low compared to the internal processing speed of the data transfer apparatus 1. This is because a signal cable or the like is used for the serial transfer path 3. Therefore, the time t1 is very short with respect to t2.

図4に示すように、第1の比較例では、RAM13の先頭アドレスから順番にデータを読み出しており、且つ1つの被転送装置2を構成するM個のレジスタRに記憶させるデータ(Data1−1、1−2、・・・、1−M)が連続して読み出されるため、M個のデータが1つの転送部14に対して連続して出力される。このため、転送部14−1から被転送装置2−1に対してM個のデータ転送が完了した後に、次の転送部14−2の転送動作が開始される。   As shown in FIG. 4, in the first comparative example, data is sequentially read from the head address of the RAM 13, and data (Data1-1) to be stored in the M registers R constituting one transfer target device 2 is shown. 1-2,..., 1-M) are continuously read out, so that M pieces of data are continuously output to one transfer unit 14. For this reason, the transfer operation of the next transfer unit 14-2 is started after M data transfers from the transfer unit 14-1 to the transfer target device 2-1.

このため、転送部14−1がM個のデータの転送を完了するのはt2×Mの時間が経過したときである。そして、N個の転送部14に同じ時間を要するため、全てのデータ転送が完了するのはt2×M×Nの経過後になる。なお、最初のData1−1がRAM13から読み出されてから転送部14−1に入力されるまでに時間t1を要するため、トリガ信号を入力してから全てのデータ転送が完了するまでに要する時間はt1+t2×M×Nになる。   For this reason, the transfer unit 14-1 completes the transfer of M pieces of data when the time t2 × M has elapsed. Since the N transfer units 14 require the same time, all data transfer is completed after t2 × M × N has elapsed. Since time t1 is required from the time when the first Data 1-1 is read from the RAM 13 to the time when it is input to the transfer unit 14-1, the time required until all data transfer is completed after the trigger signal is input. Becomes t1 + t2 × M × N.

次に、第2の比較例について説明する。この比較例では各転送部14にFIFOを設けている。これにより、転送部14の転送動作にかかわらずRAM13から順次データを読み出して出力させることができるようになる。つまり、FIFOを各転送部14に設けることにより、RAM13の動作と転送部14の動作とを独立させることができるようになる。このため、FIFOには少なくとも「M−1」個のデータを蓄積可能な段数を持たせておく必要がある。   Next, a second comparative example will be described. In this comparative example, each transfer unit 14 is provided with a FIFO. Accordingly, data can be sequentially read out from the RAM 13 and output regardless of the transfer operation of the transfer unit 14. That is, by providing the FIFO in each transfer unit 14, the operation of the RAM 13 and the operation of the transfer unit 14 can be made independent. For this reason, it is necessary to provide the FIFO with the number of stages capable of storing at least “M−1” data.

従って、FIFOを設けることにより、1つの転送部14に対してM個のデータを出力した段階で次の転送部14に対してデータの出力を行うことができる。図5に示すように、転送部14−1のFIFOにM個のデータを出力した段階で、次の転送部14−2に対してデータが出力されるようになる。t1はt2よりも非常に短い時間になるため、転送部14−2にデータが出力されたときには未だ転送部14−1はデータの転送動作を行っている。これにより、転送部14−1と14−2とを並列的に動作させることができる。同様に、転送部14−3以降も並列的に動作させることができる。   Therefore, by providing the FIFO, data can be output to the next transfer unit 14 when M data is output to one transfer unit 14. As shown in FIG. 5, when M pieces of data are output to the FIFO of the transfer unit 14-1, data is output to the next transfer unit 14-2. Since t1 is much shorter than t2, when data is output to the transfer unit 14-2, the transfer unit 14-1 still performs the data transfer operation. Thereby, the transfer units 14-1 and 14-2 can be operated in parallel. Similarly, the transfer units 14-3 and later can be operated in parallel.

前述したように、転送部14−2が転送動作を開始するのは、RAM13の先頭アドレスから連続的に読み出したM個のデータ(Data1−1〜Data1−M)を転送部14−1に出力したときであり、時間t1×Mの経過後である。このため、転送部14−Nが転送動作を開始するのはt1×M×(N−1)の経過後になる。転送動作を完了するのは、転送部14−Nが転送動作を開始してからM個のデータの転送を完了したときであり、このためさらにt2×Mの時間を要する。   As described above, the transfer unit 14-2 starts the transfer operation by outputting M data (Data 1-1 to Data 1 -M) continuously read from the head address of the RAM 13 to the transfer unit 14-1. When the time t1 × M has elapsed. Therefore, the transfer unit 14-N starts the transfer operation after elapse of t1 × M × (N−1). The transfer operation is completed when transfer of M data is completed after the transfer unit 14-N starts the transfer operation, and therefore it takes time t2 × M.

よって、Data1−1の読み出し時間t1を加味して、トリガ信号を入力してから全てのデータの転送動作が完了するまでに要する時間はt1+t1×M×(N−1)+t2×Mになる。第1の比較例と比べると、t2に乗じている時間がMだけになるため、第2の比較例は第1の比較例よりも高速に転送動作を完了できる。   Therefore, the time required from the input of the trigger signal to the completion of the transfer operation of all the data is t1 + t1 × M × (N−1) + t2 × M in consideration of the data 1-1 reading time t1. Compared with the first comparative example, since the time multiplied by t2 is only M, the second comparative example can complete the transfer operation faster than the first comparative example.

ただし、転送部14−Nが転送を開始するまでにt1×M×(N−1)の時間を要しており、t1は短い時間であるもののMとN−1とを乗じているため、ある程度の時間を要するようになる。この時間は無駄な待機時間(オーバヘッド)になっており、転送速度の低速化を招来する要因となる。   However, since it takes t1 × M × (N−1) time until the transfer unit 14-N starts the transfer, and t1 is a short time but is multiplied by M and N−1. It will take some time. This time is a wasteful waiting time (overhead), which causes a reduction in the transfer rate.

図6は第3の比較例を示している。第3の比較例は本発明の動作であり、RAM13の先頭アドレスから順番にデータを読み出すのではなく、マスタアドレス記憶部16の先頭アドレスから順番に配列されているメモリアドレスの順番でRAM13からデータが読み出される。そして、マスタアドレス記憶部16はレジスタRの順番ごとに被転送装置2の順番でメモリアドレスを並べて記憶していることから、順次異なる転送部14に対してRAM13から読み出したデータが入力されていく。   FIG. 6 shows a third comparative example. The third comparative example is an operation according to the present invention, in which data is not read from the start address of the RAM 13 in order but from the RAM 13 in the order of the memory addresses arranged in order from the start address of the master address storage unit 16. Is read out. Since the master address storage unit 16 stores the memory addresses in the order of the transfer target device 2 in the order of the registers R, the data read from the RAM 13 is sequentially input to the different transfer units 14. .

よって、RAM13から最初に読み出したData1−1は転送部14−1に入力され、Data2−1、Data2−1、・・・、DataN−1がそれぞれ転送部14−2、14−3、・・・、14−Nに順番に入力されていく。従って、Data1−1が転送部14−1に入力されてからData2−1が転送部14−2に入力されるまでに要する時間は、1つのデータをRAM13から読み出して転送部14に入力するまでの時間t1になる。このため、転送部14−NにDataN−1が入力されるまでに要する時間はt1×(N−1)になる。   Therefore, Data 1-1 first read from the RAM 13 is input to the transfer unit 14-1, and Data 2-1, Data 2-1,..., Data N-1 are transferred to the transfer units 14-2, 14-3,.・ It is input in order to 14-N. Accordingly, the time required from the input of Data 1-1 to the transfer unit 14-1 to the input of Data 2-1 to the transfer unit 14-2 is until one data is read from the RAM 13 and input to the transfer unit 14. It becomes time t1. For this reason, the time required until DataN-1 is input to the transfer unit 14-N is t1 × (N−1).

従って、トリガ信号を入力してから転送部14−1が転送動作を開始するまでの時間はt1+t1×(N−1)=t1×Nになる。そして、M個のデータを転送するのに要する時間はt2×Mであることから、トリガ信号を入力してから全てのデータの転送を完了するまでに要する時間はt1×N+t2×Mになる。   Therefore, the time from when the trigger signal is input until the transfer unit 14-1 starts the transfer operation is t1 + t1 × (N−1) = t1 × N. Since the time required to transfer M pieces of data is t2 × M, the time required to complete the transfer of all data after inputting the trigger signal is t1 × N + t2 × M.

つまり、第3の比較例(つまり、本発明)の場合には、待機時間を第2の比較例と比べて1/Mにすることができる。これにより、無駄な待機時間を大幅に短縮できることから、全体としての転送時間を高速化できるようになる。   That is, in the case of the third comparative example (that is, the present invention), the standby time can be reduced to 1 / M as compared with the second comparative example. As a result, the useless waiting time can be greatly shortened, so that the overall transfer time can be increased.

そして、図6の例では、全てのデータを転送する場合を説明したが、選択アドレス記憶部17を用いることで、不要なデータの転送を除外できる。例えば、N個の被転送装置2のうち半分の被転送装置2にデータ転送が不要な場合には、前記の待機時間「t1×N」も半分になる。また、図3(b)のように、被転送装置2−1、2−3、2−5の3つのみのデータ転送を行う場合には、待機時間は「t1×3」になる。   In the example of FIG. 6, the case where all data is transferred has been described. However, unnecessary data transfer can be excluded by using the selection address storage unit 17. For example, when data transfer is unnecessary for half of the N transferred devices 2, the waiting time “t1 × N” is also halved. Further, as shown in FIG. 3B, when only three data transfers of the devices to be transferred 2-1, 2-3, and 2-5 are performed, the standby time is “t1 × 3”.

近年のメモリテスタ等においては、1つの被転送装置2に対して多種多様なデータが設定されることから、被転送装置2の内部に多数のレジスタRを設けるようになっている。このため、レジスタRの個数Mは大きな値になる。Mの値が大きいような場合には、待機時間を大幅に短縮できるようになる。   In recent memory testers and the like, since various data are set for one transferred device 2, a large number of registers R are provided inside the transferred device 2. For this reason, the number M of the registers R becomes a large value. When the value of M is large, the waiting time can be greatly shortened.

また、シリアル転送経路3の転送時間が高速化されて時間t2が短くなり、t1とt2との差が少なくなったときには、待機時間の部分が全体の転送時間に大きな影響を及ぼすようになる。この場合には、転送速度を飛躍的に向上させることができる。   Further, when the transfer time of the serial transfer path 3 is increased and the time t2 is shortened and the difference between t1 and t2 is reduced, the standby time portion has a great influence on the entire transfer time. In this case, the transfer rate can be dramatically improved.

ここで、t2に対してt1が著しく短く、t1×M<t2となるときには、各転送部14にFIFOを設けることが望ましい。この条件下では、被転送装置2−1が最初のData1−1を転送し終えるまでに転送部14−Nにデータが入力されることになり、RAM13からData1−2を読み出したとしても、転送部14−1に入力させることができなくなる。よって、RAM13の読み出しを待機させなくてはならない。   Here, when t1 is remarkably shorter than t2, and t1 × M <t2, it is desirable to provide a FIFO in each transfer unit. Under this condition, data is input to the transfer unit 14-N by the time the transferred device 2-1 finishes transferring the first data 1-1, and even if the data 1-2 is read from the RAM 13, the transfer is performed. The unit 14-1 cannot be input. Therefore, it is necessary to wait for the RAM 13 to be read.

そこで、FIFOを設けることで、t1やt2にかかわらず、RAM13から順次データを読み出すことができる。この場合には、FIFOの段数をそれほど多く設けなくてもよい。   Therefore, by providing a FIFO, data can be sequentially read from the RAM 13 regardless of t1 or t2. In this case, it is not necessary to provide so many FIFO stages.

従って、本発明では、被転送装置2およびレジスタRの並び順と同じ順番でRAM13にデータを記憶させることで、データの生成や変更、参照等が極めて容易になり、且つRAM13を先頭アドレスから順番に読み出すのではなく、レジスタRの順番ごとに被転送装置2の順番に読み出すことで、転送部14を並列的に動作させて全体としての転送速度を高速化している。   Therefore, in the present invention, by storing data in the RAM 13 in the same order as the arrangement order of the transfer target device 2 and the register R, it is very easy to generate, change, and refer to the data. In this case, the transfer unit 14 is operated in parallel to increase the transfer speed as a whole.

この点、RAM13から読み出すデータのアドレスを自由に変更できるようにすれば、マスタアドレス記憶部16や選択アドレス記憶部17は不要になる。例えばCPU等の任意のアドレスを生成してアクセスさせることができる手段を用いれば、マスタアドレス記憶部16は不要になる。ただし、この場合には、データ転送装置1の内部にCPU等の手段を設ける必要があり、制御が煩雑になり、且つ回路規模の複雑化や大型化を招来する。   In this regard, if the address of the data read from the RAM 13 can be freely changed, the master address storage unit 16 and the selection address storage unit 17 become unnecessary. For example, if a means such as a CPU that can generate and access an arbitrary address is used, the master address storage unit 16 becomes unnecessary. However, in this case, it is necessary to provide a means such as a CPU in the data transfer apparatus 1, which makes the control complicated and increases the complexity and size of the circuit.

本発明では、アドレスの指定は全てインクリメントにより行っている。つまり、値を1つずつ増加させるというシンプルな機能を持つアドレスカウンタ15によりアドレスの指定を行っている。これにより、CPU等の手段を用いる必要がない。   In the present invention, all address designations are performed by increment. That is, the address is specified by the address counter 15 having a simple function of incrementing the value by one. Thereby, it is not necessary to use means such as a CPU.

なお、図3(c)に示すように、各データ群がそれぞれM個のデータを有している場合、つまり各被転送装置2がそれぞれM個のレジスタRを有している場合には、RAM13から読み出すデータのアドレスをMずつ変化すことにより、レジスタRの順番ごとに被転送装置2の順番でデータを読み出すことができる。   As shown in FIG. 3C, when each data group has M data, that is, each transferred device 2 has M registers R, By changing the address of the data to be read from the RAM 13 by M, the data can be read in the order of the transfer target device 2 for each order of the registers R.

この場合には、第1データ群から第Nデータ群まで1つずつデータを読み出すことになるが、第Nデータ群まで読み出した後に再び第1データ群の中の次の順番のデータを読み出すようにアドレス制御をしなければならない。そして、被転送装置2によってレジスタRの個数が異なる場合には、単純にアドレスをMずつ変化させるだけではデータの読み出しを行うことができない。   In this case, data is read one by one from the first data group to the Nth data group, but after reading up to the Nth data group, the next data in the first data group is read again. You must control the address. If the number of registers R differs depending on the device to be transferred 2, data cannot be read simply by changing the address by M.

いずれにせよ、RAM13からデータを読み出すためのアドレス制御が複雑になる。本発明では、マスタアドレス記憶部16や選択アドレス記憶部17を設けて、読み出すデータのアドレスを単純にインクリメントするだけの制御を行っているため、制御が簡単になり、回路規模も単純且つ小型になる。   In any case, address control for reading data from the RAM 13 becomes complicated. In the present invention, the master address storage unit 16 and the selection address storage unit 17 are provided, and the control is performed simply by incrementing the address of the data to be read. Therefore, the control becomes simple and the circuit scale is simple and small. Become.

また、本発明では、データ記憶動作により選択アドレス記憶部17に転送を行うデータのメモリアドレスだけを記憶させているが、予め選択アドレス記憶部17に記憶させるデータの配列が得られている場合には、マスタアドレス記憶部16を用いることなく、予め不要なデータのメモリアドレスを除外した配列で選択アドレス記憶部17に記憶させるようにしてもよい。   In the present invention, only the memory address of the data to be transferred is stored in the selected address storage unit 17 by the data storage operation. However, when the arrangement of data to be stored in the selected address storage unit 17 is obtained in advance. May be stored in the selected address storage unit 17 in an array excluding memory addresses of unnecessary data in advance without using the master address storage unit 16.

また、選択アドレス記憶部17に対して外部からデータの書き換えが可能なように構成することができる。つまり、マスタアドレス記憶部16が記憶しているメモリアドレスをそのまま選択アドレス記憶部17に複製し、外部から選択アドレス記憶部17を書き換えることで、転送を行わないデータのメモリアドレスを削除することもできる。これにより、選択アドレス記憶部17に記憶させるメモリアドレスを構成することもできる。勿論、選択アドレス記憶部17を設けることなく、マスタアドレス記憶部16を書き換えることで、同じ効果を得ることができる。   Further, the selected address storage unit 17 can be configured so that data can be rewritten from the outside. That is, the memory address stored in the master address storage unit 16 is copied to the selection address storage unit 17 as it is, and the memory address of the data that is not transferred can be deleted by rewriting the selection address storage unit 17 from the outside. it can. Thereby, a memory address to be stored in the selected address storage unit 17 can also be configured. Of course, the same effect can be obtained by rewriting the master address storage unit 16 without providing the selection address storage unit 17.

なお、この場合には、削除したメモリアドレスに対応する選択アドレス記憶部17(またはマスタアドレス記憶部16)のアドレスにはデータが存在しなくなる。そこで、メモリアドレスを削除したときには、これ以降のアドレスをデクリメントするようにする。   In this case, there is no data at the address of the selected address storage unit 17 (or master address storage unit 16) corresponding to the deleted memory address. Therefore, when the memory address is deleted, the subsequent addresses are decremented.

また、マスタアドレス記憶部16および選択アドレス記憶部17を外部から書き換え可能にすることで、被転送装置2の中のレジスタRに記憶させるデータの順番を入れ替えることもできる。例えば、被転送装置2の各レジスタRにはリレー制御の設定情報が記憶されており、このリレー制御の順番を入れ替える要請があるときには、選択アドレス記憶部17に記憶されているメモリアドレスの順番を書き換えることで、データの転送順番を入れ替えることもできる。   In addition, by making the master address storage unit 16 and the selection address storage unit 17 rewritable from the outside, the order of data stored in the register R in the transfer target device 2 can be changed. For example, each register R of the transferred device 2 stores relay control setting information. When there is a request to change the order of the relay control, the order of the memory addresses stored in the selected address storage unit 17 is changed. By rewriting, the data transfer order can be changed.

また、前述したデータ記憶動作とデータ転送動作とはオーバラップさせることができる。データ転送動作には、RAM13からデータを読み出して転送部14に入力させる動作(第1のデータ転送動作)と転送部14からシリアル転送経路3にデータを出力して被転送装置2に転送する動作(第2のデータ転送動作)とがある。このうち、第1のデータ転送動作は第2のデータ転送動作よりも早い段階で終了する。これは、第1のデータ転送動作に要する時間はt1×Nであり、第2のデータ転送動作に要する時間はt2×Mになるためである。   Further, the above-described data storage operation and data transfer operation can be overlapped. In the data transfer operation, data is read from the RAM 13 and input to the transfer unit 14 (first data transfer operation), and data is output from the transfer unit 14 to the serial transfer path 3 and transferred to the transfer target device 2. (Second data transfer operation). Among these, the first data transfer operation ends at an earlier stage than the second data transfer operation. This is because the time required for the first data transfer operation is t1 × N, and the time required for the second data transfer operation is t2 × M.

そして、第2のデータ転送動作を行っているときには、RAM13は既に開放された状態になっている。このため、第2のデータ転送動作とデータ記憶動作とをオーバラップさせることができる。これにより、全体的な転送時間をさらに短縮できるようになる。また、マスタアドレス記憶部16には予め所定の配列でメモリアドレスを記憶させておかなければならないが、この記憶動作も第2のデータ転送動作とオーバラップさせることで、全体的な転送時間の短縮化を図れる。   When the second data transfer operation is performed, the RAM 13 is already open. For this reason, the second data transfer operation and the data storage operation can be overlapped. As a result, the overall transfer time can be further shortened. The master address storage unit 16 must store memory addresses in a predetermined arrangement in advance, but this storage operation is also overlapped with the second data transfer operation, thereby reducing the overall transfer time. Can be realized.

また、データ転送装置1は常に一定の速度で動作させるのではなく、動作速度が低速と高速とに変化するようになっている。このため、動作速度が低速のときに、データ記憶動作やマスタアドレス記憶部16に対するメモリアドレスの記憶動作を行うようにしてもよい。   In addition, the data transfer device 1 does not always operate at a constant speed, but the operation speed changes between a low speed and a high speed. For this reason, when the operation speed is low, a data storage operation or a memory address storage operation for the master address storage unit 16 may be performed.

1 データ転送装置 2 被転送装置
3 シリアル転送経路 4 制御装置
11 コントローラ 12 イネーブル信号発生部
13 RAM 14 転送部
15 アドレスカウンタ 16 マスタアドレス記憶部
17 選択アドレス記憶部 18 選択アドレス制御部
19 セレクタ 21 トリガ発生部
22 選択信号発生部
1 Data Transfer Device 2 Transferred Device 3 Serial Transfer Path 4 Control Device 11 Controller 12 Enable Signal Generating Unit 13 RAM 14 Transfer Unit 15 Address Counter 16 Master Address Storage Unit 17 Selected Address Storage Unit 18 Select Address Control Unit 19 Selector 21 Trigger Generation Part 22 Selection signal generator

Claims (6)

転送されたデータを保持するデータ保持部を複数有する被転送装置を複数接続し、各被転送装置に対してデータをシリアル転送するデータ転送装置であって、
前記データを前記被転送装置の順番ごとに前記データ保持部の順番に配列して記憶するデータ記憶部と、
このデータ記憶部から前記データを読み出すためのアドレスを前記データ保持部の順番ごとに前記被転送装置の順番に配列して記憶するマスタアドレス記憶部と、
このマスタアドレス記憶部に対するアドレス指定をインクリメントにより行うアドレスカウンタと、
前記データ記憶部から読み出されたデータを前記被転送装置に対して転送する複数の転送部と、
を備えたことを特徴とするデータ転送装置。
A data transfer device for connecting a plurality of transfer target devices having a plurality of data holding units for holding transferred data and serially transferring data to each transfer target device,
A data storage unit for storing the data arranged in the order of the data holding unit for each order of the transferred devices;
A master address storage unit for storing addresses for reading the data from the data storage unit in the order of the transfer target device in order of the data holding unit;
An address counter for performing address designation for the master address storage unit by increment;
A plurality of transfer units that transfer the data read from the data storage unit to the transferred device;
A data transfer device comprising:
前記マスタアドレス記憶部と前記データ記憶部との間に設けられ、前記マスタアドレス記憶部が記憶しているアドレスから前記被転送装置に転送しないアドレスを除外したアドレスを順番に配列して記憶する選択アドレス記憶部をさらに備えたこと
を特徴とする請求項1記載のデータ転送装置。
A selection that is arranged between the master address storage unit and the data storage unit, and arranges and stores in order addresses from which addresses that are not transferred to the device to be transferred are excluded from addresses stored in the master address storage unit The data transfer device according to claim 1, further comprising an address storage unit.
前記マスタアドレス記憶部に記憶されているアドレスを先頭から順番に読み出して前記選択アドレス記憶部に記憶させるときに、前記転送しないアドレスを読み出したときには前記選択アドレス記憶部に対する記憶動作を禁止する制御を行う選択アドレス制御部をさらに備えたこと
を特徴とする請求項2記載のデータ転送装置。
When the addresses stored in the master address storage unit are read in order from the beginning and stored in the selected address storage unit, a control for prohibiting the storage operation for the selected address storage unit is performed when the address not transferred is read. The data transfer apparatus according to claim 2, further comprising a selection address control unit for performing the selection.
前記転送部から前記被転送装置にデータを転送する動作と前記マスタアドレス記憶部から前記選択アドレス記憶部にアドレスを記憶させる動作とをオーバラップさせること
を特徴とする請求項3記載のデータ転送装置。
4. The data transfer device according to claim 3, wherein an operation of transferring data from the transfer unit to the transfer target device and an operation of storing an address from the master address storage unit to the selected address storage unit are overlapped. .
前記転送部から前記被転送装置にデータを転送する動作と前記マスタアドレス記憶部にアドレスを記憶させる動作とをオーバラップさせること
を特徴とする請求項1記載のデータ転送装置。
The data transfer device according to claim 1, wherein an operation of transferring data from the transfer unit to the transfer target device and an operation of storing an address in the master address storage unit are overlapped.
請求項1乃至5の何れか1項に記載のデータ転送装置を備えたことを特徴とする半導体試験装置。   A semiconductor test apparatus comprising the data transfer apparatus according to claim 1.
JP2009273266A 2009-12-01 2009-12-01 Data transfer device and semiconductor test device Pending JP2011118963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009273266A JP2011118963A (en) 2009-12-01 2009-12-01 Data transfer device and semiconductor test device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009273266A JP2011118963A (en) 2009-12-01 2009-12-01 Data transfer device and semiconductor test device

Publications (1)

Publication Number Publication Date
JP2011118963A true JP2011118963A (en) 2011-06-16

Family

ID=44284120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009273266A Pending JP2011118963A (en) 2009-12-01 2009-12-01 Data transfer device and semiconductor test device

Country Status (1)

Country Link
JP (1) JP2011118963A (en)

Similar Documents

Publication Publication Date Title
JP5035239B2 (en) Reconfigurable device test system and method, and reconfigurable device used therefor
JP5171333B2 (en) Test apparatus and electronic device
CN109313620A (en) memory protocol
JPH0731614B2 (en) Data transfer method
JP2010501915A (en) Memory module command structure and memory system
TWI620190B (en) Memory control circuit and memory test method
US10591537B2 (en) Sleek serial interface for a wrapper boundary register (device and method)
US6507899B1 (en) Interface for a memory unit
JP3367848B2 (en) Test equipment for semiconductor devices
JP2009048674A (en) Semiconductor integrated circuit
JPH0391188A (en) FIFO memory
JP2011118963A (en) Data transfer device and semiconductor test device
US20120203982A1 (en) Fifo buffer and method of controlling fifo buffer
JP3201420B2 (en) Memory test equipment
JP2907421B2 (en) Semiconductor memory test equipment
JPH0520350A (en) Vector processing device
US20220391336A1 (en) Semiconductor device
JP4747535B2 (en) Data recording method
US20050060475A1 (en) Data transfer apparatus and data transfer method
JP5104720B2 (en) IC tester
CN120216450A (en) A routing configuration method, device and related equipment
JP3896251B2 (en) Circuit device having variable number of data output side and device for reading data from the device
CN106502931A (en) Channel control device
JP4696501B2 (en) Data recording method
JPH03262048A (en) Shift path constitution control system