JPH0774817B2 - Test method for large scale integrated circuits - Google Patents
Test method for large scale integrated circuitsInfo
- Publication number
- JPH0774817B2 JPH0774817B2 JP63088111A JP8811188A JPH0774817B2 JP H0774817 B2 JPH0774817 B2 JP H0774817B2 JP 63088111 A JP63088111 A JP 63088111A JP 8811188 A JP8811188 A JP 8811188A JP H0774817 B2 JPH0774817 B2 JP H0774817B2
- Authority
- JP
- Japan
- Prior art keywords
- eeprom
- address
- model
- circuit
- write
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Semiconductor Integrated Circuits (AREA)
- Tests Of Electronic Circuits (AREA)
Description
【発明の詳細な説明】 〔概 要〕 メモリカードからのデータを電子計算機上にモデルとし
て構築されたシステムモデルのEEPROMに転送する転送試
験とこのEEPROMに書込まれているプログラムを用いて動
作を確認する動作試験とを行うためのLSIの試験方式に
関し、 被試験上記システムモデルにしたがって製造されたLSI
のピン数を増加させることなく、この動作試験に要する
時間を短縮することを目的とし、 メモリカードの特定のアドレスに書込みサイクル期間を
指定する初期値データを格納するとともに、この初期値
データを格納する初期値データバッファを上記LSIの回
路モデルに設け、この初期値データを上記LSIの回路モ
デルのサイクルカウンタの初期値として設定するように
した。DETAILED DESCRIPTION [Overview] A transfer test for transferring data from a memory card to an EEPROM of a system model built as a model on an electronic computer and an operation using a program written in this EEPROM are performed. Regarding the LSI test method for performing the operation test to be confirmed, the LSI under test is manufactured according to the above system model.
For the purpose of shortening the time required for this operation test without increasing the number of pins, the initial value data that specifies the write cycle period is stored at a specific address of the memory card, and this initial value data is also stored. An initial value data buffer is provided in the circuit model of the LSI, and this initial value data is set as the initial value of the cycle counter of the circuit model of the LSI.
大規模集積回路(以下、LSI、という)の設計段階にお
いては、このLSIを電子計算機上にモデルとして構築
し、このモデルにおいて設計中のLSIによって構想どお
りの動作が行われるか否かの試験が行われる。At the design stage of a large-scale integrated circuit (hereinafter referred to as LSI), this LSI is built as a model on an electronic computer, and in this model, it is tested whether or not the LSI under design performs the operation as designed. Done.
本発明は、このシミュレーションによる試験を行う試験
方式に関する。The present invention relates to a test method for performing a test by this simulation.
第4図は、本発明の試験方式による試験が適用される被
試験システムの例を示すものであって、LSI回路モデル
2と、このLSI回路モデルによって製造された実際のLSI
の外部に付加されて上記被試験システムを構成する素子
のモデルである電気的消去可能プログラマブル読出専用
メモリ(以下、EEPROM、という)モデル16、バッファモ
デル17および例えばスタティックメモリ(以下、SRAM、
という)によって構成される制御メモリのモデル18とか
らなり、この被試験システムが実際に構成された後に使
用することが予定されているプログラムが外付けのメモ
リカード1から供給されてシミュレーション動作が実行
される。FIG. 4 shows an example of a system under test to which the test according to the test method of the present invention is applied. The LSI circuit model 2 and an actual LSI manufactured by this LSI circuit model are shown.
Electrically erasable programmable read only memory (hereinafter referred to as EEPROM) model 16, a buffer model 17 and, for example, static memory (hereinafter referred to as SRAM,
And a control memory model 18 configured by the above), and a program that is to be used after the system under test is actually configured is supplied from the external memory card 1 to execute the simulation operation. To be done.
なお、上記のEEPROMは不揮発性メモリであり、メモリカ
ード1から転送されたプログラムなどをこのEEPROMに格
納しておくことによって、試験を中断したり電源が切断
されたりした場合にも、メモリカード1からの再ロード
を必要としないようにするために設けられたものであ
る。The above-mentioned EEPROM is a non-volatile memory, and by storing the programs transferred from the memory card 1 in this EEPROM, even if the test is interrupted or the power is cut off, the memory card 1 It is provided to prevent the need for reloading from.
また、本願の図面に示されているブロックおよび回路要
素は、いずれも電子計算機上に構築されたモデルである
ため、以下の説明においては、繁を避けるために“モデ
ル”との記載を省略して符号を付し、これら“モデル”
に相当する実際のブロックおよび回路要素について言及
する際には“実際の”をブロック名あるいは回路要素名
に付け加えることとする。なお、各従来例および実施例
において同一の構成要素には、同一の符号を付してあ
る。In addition, since all the blocks and circuit elements shown in the drawings of the present application are models built on an electronic computer, in the following description, the description of “model” is omitted to avoid complication. These "models"
When referring to the actual block and circuit element corresponding to, the "actual" is added to the block name or the circuit element name. It should be noted that the same reference numerals are given to the same constituent elements in each conventional example and the embodiment.
上記LSI回路2には、データバッファ6とその入力側の
ゲート4と出力側のゲート5を有するデータ発生回路
3、EEPROM書込みアドレス発生回路7、EEPROM読出しア
ドレス発生回路8、SRAM書込みアドレス発生回路9、SR
AM読出しアドレス発生回路10、これらアドレス発生回路
の出力側設けられたゲート回路11,12,13,14およびゲー
ト制御回路15が少なくとも含まれている。The LSI circuit 2 includes a data buffer 6, a data generation circuit 3 having a gate 4 on the input side and a gate 5 on the output side, an EEPROM write address generation circuit 7, an EEPROM read address generation circuit 8, and an SRAM write address generation circuit 9 , SR
At least an AM read address generation circuit 10, gate circuits 11, 12, 13, 14 and a gate control circuit 15 provided on the output side of these address generation circuits are included.
なお、このLSIに要求されている機能に応じて演算制御
装置や入出力制御装置などの処理ブロックが設けられて
るが、要求される機能によって処理ブロックの種類や数
は異なるし、処理ブロックの種類や数は本発明とは直接
関係ないことから図示・説明は行なわない。Although processing blocks such as an arithmetic control unit and an input / output control unit are provided according to the functions required for this LSI, the type and number of processing blocks differ depending on the required functions. Since numbers and numbers are not directly related to the present invention, they are not shown or described.
上記ゲート制御回路15はG1ないしG8のゲート信号を順次
出力し、このゲート信号G1は外付けのメモリカード1の
アウトプットイネーブル信号として、ゲート信号G2はデ
ータ発生回路3に入力側ゲート4の導通制御信号とし
て、ゲート信号G3はデータ発生回路3に出力側ゲート5
の導通制御信号として、ゲート信号G4はEEPROM書込みア
ドレス発生回路7の出力側ゲート11の導通制御信号とし
て、ゲート信号G5はEEPROM読出しアドレス発生回路8の
出力側ゲート12の導通制御信号として、ゲート信号G6は
SRAM書込みアドレス発回路9の出力側ゲート13の導通制
御信号として、ゲート信号G7はSRAM読出しアドレス発生
回路7の出力側ゲート14の導通制御信号として、また、
ゲート信号G8は制御メモリ18のアウトプットイネーブル
信号として、それぞれ印加される。The gate control circuit 15 sequentially outputs the gate signals of G 1 to G 8 , the gate signal G 1 is used as an output enable signal of the external memory card 1, and the gate signal G 2 is input to the data generation circuit 3. As a conduction control signal for the gate 4, the gate signal G 3 is sent to the data generating circuit 3 and the output side gate 5
, A gate signal G 4 is used as a conduction control signal for the output side gate 11 of the EEPROM write address generation circuit 7, and a gate signal G 5 is used as a conduction control signal for the output side gate 12 of the EEPROM read address generation circuit 8. The gate signal G 6 is
As the conduction control signal of the output side gate 13 of the SRAM write address generation circuit 9, the gate signal G 7 is used as the conduction control signal of the output side gate 14 of the SRAM read address generation circuit 7, and
The gate signal G 8 is applied as the output enable signal of the control memory 18, respectively.
したがって、このゲート信号G1によってメモリカード1
からのデータが読出されて、ゲート信号G2でデータバッ
ファに格納され、ゲート信号G3でEEPROM16に供給されて
ゲート信号G4でEEPROM書込みアドレス発生回路7から供
給されるアドレスに書込まれるとともにゲート信号G5で
与えられるEEPROM読出しアドレス発生回路からのアドレ
スによって読出され、バッファ17を経てゲート信号G6に
よってSRAM18に与えられる書込みアドレスによってこの
SRAM18に書込まれる。Therefore, the gate signal G 1 causes the memory card 1
The data from is read out, stored in the data buffer with the gate signal G 2 , supplied to the EEPROM 16 with the gate signal G 3 and written to the address supplied from the EEPROM write address generation circuit 7 with the gate signal G 4. This is read by the address from the EEPROM read address generation circuit given by the gate signal G 5 , and by the write address given to the SRAM 18 by the gate signal G 6 via the buffer 17.
Written to SRAM 18.
このようなメモリカード1からEEPROM16とバッファ17を
経たSRAM18へのデータ転送をメモリカード1の全アドレ
スについて行うことによって、メモリカード1上のプロ
グラムやデータはEEPROM16を経てすべてSRAM18に転送さ
れる。なお、メモリカード1上のプログラムやデータ
が、このメモリカード1上のアドレスと同一のSRAM18の
アドレスに格納されるようにすることが望ましい。By thus performing data transfer from the memory card 1 to the SRAM 18 via the EEPROM 16 and the buffer 17 for all addresses of the memory card 1, all programs and data on the memory card 1 are transferred to the SRAM 18 via the EEPROM 16. It is desirable that the program and data on the memory card 1 be stored at the same address of the SRAM 18 as the address on the memory card 1.
なお、制御メモリ(SRAM)18からの読出しは、SRAM18の
アウトプットイネーブル信号がゲート信号G8によって印
加されたとき、ゲート信号G7によってSRAM読出しアドレ
ス発生回路10からゲート14を経てこのSRAMのアドレス端
子に与えられているアドレスから読出される。When the output enable signal of the SRAM 18 is applied by the gate signal G 8 , the read from the control memory (SRAM) 18 is performed by the gate signal G 7 from the SRAM read address generation circuit 10 through the gate 14 to the address of this SRAM. It is read from the address given to the terminal.
そして、この制御メモリ18から順次読出されるプログラ
ムやデータにしたがって被試験システムの動作が行わ
れ、シミュレーションを実行・監視する電子計算機によ
ってLSIの回路モデルを含めて被試験システムの評価が
行われる。The system under test operates according to the programs and data sequentially read from the control memory 18, and the system under test including the circuit model of the LSI is evaluated by the electronic computer that executes and monitors the simulation.
この被試験システムについて行われる各種のシミュレー
ションの中で、本発明が対象とするシミュレーションは
いずれもEEPROM16に関連するものであり、メモリカード
1から実際のEEPROMへのデータ転送を試験する転送試験
と、このEEPROMに格納されているメモリカードからのプ
ログラムによってシステムを動作させたときに予定の動
作が行われるか否かを試験する動作試験のためのもので
ある。Of the various simulations performed on this system under test, the simulations targeted by the present invention are all related to the EEPROM 16, and include a transfer test for testing data transfer from the memory card 1 to the actual EEPROM, This is for an operation test for testing whether or not the expected operation is performed when the system is operated by the program from the memory card stored in this EEPROM.
ところで、実際のEEPROMに対する1回の書込みサイクル
は、第5図に示すように、ほぼ10msecを必要とする。こ
の書込み動作は、同図(a)に示すアドレスと同図
(b)に示すデータとともに同図(a)に示したライト
イネーブル信号が時刻T1〜T2に実際のEEPROMのライトイ
ネーブル端子WEに与えられたときに書込みが開始され
る。By the way, one write cycle for an actual EEPROM requires about 10 msec as shown in FIG. This write operation, FIG (a) to indicate the address and Fig (b) together with the data shown in the diagram (a) to the write enable signal is time T 1 through T 2 the actual illustrated EEPROM write enable terminal WE Writing is started when given to.
しかしながら、実際のEEPROMでは、上記のように書込み
が開始されてから書込みが終了するまでには、実際のEE
PROMを構成するメモリ素子の書込み特性によって、第5
図(b)に“(不定で可)”と記入したような長い時間
が実際のEEPROM内部での書込み処理のために必要である
ことから、書込み開始までの時間に短いにしても、1回
の書込みサイクルにほぼ10msecが必要となってしまうも
のである。However, in the actual EEPROM, from the start of writing as described above to the end of writing, the actual EE
Depending on the write characteristics of the memory elements that make up the PROM,
Since a long time such as "(can be indefinite)" is required for the actual writing process in the EEPROM in the figure (b), even if the time to start writing is short, once It requires about 10 msec for the write cycle.
上記した転送試験を行う際には、実際のEEPROMの書込み
と同様の書込みサイクルを用いてこのモデルのEEPROM16
に対する書込み動作を確認する必要がある。When performing the transfer test described above, a write cycle similar to the actual write to the EEPROM is used, and the EEPROM16 of this model is used.
It is necessary to confirm the write operation for.
しかしながら、上記した動作試験を行う際には、実際の
EEPROMの書込みと同様の書込みサイクルを用いることも
できることは当然であるが、EEPROM16に既に書込まれた
プログラムを用いて被試験システムを動作させるためあ
るいはEEPROM16への書込み動作は試験対象ではないた
め、EEPROM16には書込みを開始するに必要なアドレス,
データおよびライトイネーブル信号を与えるだけでも足
りる。However, when performing the above-mentioned operation test,
Of course, it is also possible to use the same write cycle as the writing of the EEPROM, but in order to operate the system under test using the program already written in the EEPROM 16 or because the writing operation to the EEPROM 16 is not the test target, The address required to start writing to EEPROM16,
It is sufficient to give the data and the write enable signal.
第6図は、上記転送試験および動作試験をともに行い得
るように、EEPROM16への書込みサイクルを10msecに固定
した従来の被試験システムの要部を示したもので、LSI
回路2に設けられたEEPROM書込みアドレス発生回路7
と、このEEPROM16に書込むためにメモリカード1から読
出したデータを供給するデータ発生回路3と、書込み許
可信号発生回路19とを書込まれるEEPROM16とともに示し
た図である。FIG. 6 shows a main part of a conventional system under test in which the writing cycle to the EEPROM 16 is fixed at 10 msec so that both the transfer test and the operation test can be performed.
EEPROM write address generation circuit 7 provided in circuit 2
3 is a view showing the data generation circuit 3 for supplying the data read from the memory card 1 for writing to the EEPROM 16 and the write enable signal generation circuit 19 together with the EEPROM 16 to be written.
EEPROM16への10msecの書込みサイクルは、サイクルカウ
ンタ71、減算カウンタとして説明するアドレスカウンタ
72、オア回路73、アンド回路74とによって構成されたEE
PROM書込みアドレス発生回路7によって生成される。A write cycle of 10 msec to the EEPROM 16 is explained as a cycle counter 71 and a subtraction counter.
EE composed of 72, OR circuit 73, and AND circuit 74
It is generated by the PROM write address generation circuit 7.
すなわち、このサイクルカウンタ71はEEPROM16の書込み
サイクルである10msecごとにキャリイ端子CRからキャリ
イ出力を発生させるためのものであり、メモリカード1
の装着と同時に発生するリセット信号によってリセット
されて、そのデータ端子Dに与えられている固定値がロ
ードされるとともにクロックが計数端子CPに印加される
毎に例えば“1"である一定値を加算することによって、
リセットされてから10msec経過したときにキャリイ端子
CRからキャリイ出力を発生する。That is, the cycle counter 71 is for generating a carry output from the carry terminal CR every 10 msec which is a write cycle of the EEPROM 16, and the memory card 1
Is reset by a reset signal generated at the same time as mounting, the fixed value given to the data terminal D is loaded, and a constant value such as "1" is added every time the clock is applied to the counting terminal CP. By,
Carry terminal when 10msec has passed after reset
Generate carry output from CR.
言換えれば、上記のデータ端子Dに与えられている固定
値は、このサイクルカウンタ71が10msecごとにオーバー
フローする値に選ばれるものであり、また、この固定値
はLSI回路2に設けた数値発生手段から得られるもので
ある。In other words, the fixed value given to the data terminal D is selected so that the cycle counter 71 overflows every 10 msec, and the fixed value is provided in the LSI circuit 2. It comes from means.
このサイクルカウンタ71のキャリイ出力は、このサイク
ルカウンタ71のロード端子Lに印加されてこのサイクル
カウンタ71の計数値を上記固定値に再びセットするとと
もに、オア回路73の入力端子に供給されてアンド回路74
の一方の入力端子に印加され、このアンド回路74の他方
の入力端子に続くクロックが到来したときにアドレスカ
ウンタ72の計数端子CPに印加される。The carry output of the cycle counter 71 is applied to the load terminal L of the cycle counter 71 to reset the count value of the cycle counter 71 to the fixed value, and is also supplied to the input terminal of the OR circuit 73 to be supplied to the AND circuit. 74
It is applied to one input terminal of the AND circuit 74, and is applied to the counting terminal CP of the address counter 72 when a clock following the other input terminal of the AND circuit 74 arrives.
このアドレスカウンタ72は、上記したメモリカード1の
装着と同時に発生するリセット信号によってそのデータ
端子Dに与えられている値“3FF"が初期値として設定さ
れ、その後は計数端子CPにアンド回路74の出力が印加さ
れるごとにクロックと同期してその計数値を“3FF"から
“1"ずつ減少して行く。In the address counter 72, the value "3FF" given to the data terminal D is set as an initial value by the reset signal generated at the same time as the mounting of the memory card 1 described above, and thereafter, the counting circuit CP of the AND circuit 74 is set. Every time an output is applied, the count value is decreased from "3FF" by "1" in synchronization with the clock.
すなわち、このアドレスカウンタ72の計数値は、第5図
(a)に示した実際のEEPROMの1回の書込みサイクルに
相当する10msecの間は一定の値を保つとともに、この10
msecが経過するごとに“3FF"から“1"ずつ減少するもの
となり、この計数値はEEPROM16の書込みアドレスとして
このEEPROM16のアドレス端子ADに供給される。なお、上
記の“3FF"という初期値は第3図に示されているように
メモリカード1のアドレスの最大値である。That is, the count value of the address counter 72 is kept constant for 10 msec corresponding to one write cycle of the actual EEPROM shown in FIG.
Each time msec elapses, the value decreases from "3FF" by "1", and this count value is supplied to the address terminal AD of the EEPROM 16 as a write address of the EEPROM 16. The initial value "3FF" is the maximum value of the address of the memory card 1 as shown in FIG.
そして、EEPROM16のライトイネーブル端子WEに書込み許
可信号発生回路19からの第5図(c)に示したライトイ
ネーブル信号が供給されたとき、そのデータ入力端子D
にデータ発生回路3を介して供給されているメモリカー
ド1からのプログラムなどのデータ(第5図(b))が
EEPROM16の上記書込みアドレスに書込まれる。When the write enable signal WE of the EEPROM 16 is supplied with the write enable signal shown in FIG. 5C from the write enable signal generation circuit 19, the data input terminal D
Data such as a program (FIG. 5 (b)) from the memory card 1 supplied via the data generation circuit 3 to the
It is written to the write address of the EEPROM 16.
このように、アドレスカウンタ72から10msecごとに“1"
が減算された新しいアドレスが発生するので、メモリカ
ード1上のアドレスに等しいEEPROM16のアドレスにこの
メモリカード1上のプログラムなどのデータがすべて転
送される。In this way, “1” is set every 10 msec from the address counter 72.
Since a new address is generated by subtracting, all the data such as the program on the memory card 1 is transferred to the address of the EEPROM 16 which is equal to the address on the memory card 1.
第7図は、第5図(c)のライトイネーブル信号を生成
する書込み許可信号発生回路19の構成を示すもので、前
記EEPROM書込みアドレス発生回路7のサイクルカウンタ
71から10msecごとに発生するキャリーによって“0"がロ
ードされるとともに10msecの間に発生するクロックによ
ってオーバーフローする加算カウンタ191と、このカウ
ンタ191からの計数値が一方の端子Aに印加される2つ
の比較器192,193、アンド回路194およびインバータ195
によって構成されている。FIG. 7 shows the structure of the write enable signal generating circuit 19 for generating the write enable signal shown in FIG. 5 (c). The cycle counter of the EEPROM write address generating circuit 7 is shown in FIG.
"0" is loaded by the carry generated every 10 msec from 71 and the addition counter 19 1 overflowing by the clock generated during 10 msec and the count value from this counter 19 1 is applied to one terminal A. Two comparators 19 2 and 19 3 , an AND circuit 19 4 and an inverter 19 5
It is composed by.
上記比較器192の他方の端子Bには第5図(c)の時刻T
1に相当する数値T1が、また,上記比較器193の他方の端
子Bには第5図(c)の時刻T2に相当する数値T2がそれ
ぞれ与えられているので、A≧Bの比較を行う比較器19
2からは第5図(c)の時刻T1以後に“1"が出力され、
また、A≦Bの比較を行う比較器193からは第5図
(c)の時刻T2以前に“1"が出力されるので、これら比
較器192,193からの出力をアンド回路194で論理積をと
ることによって第5図の時刻T1からT2の期間中“1"の出
力が得られ、EEPROM16のイネーブル特性に合わせてイン
バータ195によってこの“1"の出力を反転させてからこ
のEEPROM16のライトイネーブル端子にライトイネーブル
信号として供給するものである。Figure 5 to the other terminal B of the comparator 19 2 time T of the (c)
Since the numerical value T 1 corresponding to 1 and the numerical value T 2 corresponding to the time T 2 in FIG. 5C are given to the other terminal B of the comparator 19 3 respectively, A ≧ B Comparator 19 for comparing
From 2 "1" is output at time T 1 after the Figure 5 (c),
Further, since "1" is output from the comparator 19 3 for comparing A≤B before time T 2 in FIG. 5 (c), the outputs from these comparators 19 2 and 19 3 are AND circuits. By taking the logical product at 19 4 , the output of “1” is obtained during the period from T 1 to T 2 in FIG. 5 , and the output of “1” is inverted by the inverter 19 5 according to the enable characteristic of EEPROM 16. After that, the write enable signal is supplied to the write enable terminal of the EEPROM 16.
この従来例ではEEPROM16の1回の書込みサイクルに実際
のEEPROMの書込みサイクルに等しいほぼ10msecの時間を
とっているが、この時間は転送試験のためには必要であ
るにしても、上記した動作試験を行う場合には、システ
ムの動作クロックの周期は100nsecのオーダーであり、
モデルであるEEPROM16への書込みに要するクロック数が
仮に5クロックであるとすると、書込みに要する時間は
500nsecであるからこの書込み時間10msecはその2万倍
に近く、この10msecの時間のほとんどが無用な待ち時間
ということになる。In this conventional example, one write cycle of the EEPROM 16 takes about 10 msec, which is equal to the write cycle of the actual EEPROM. This time is necessary for the transfer test, but the operation test described above is performed. , The operating clock cycle of the system is on the order of 100 nsec,
Assuming that the number of clocks required to write to the EEPROM16 model is 5 clocks, the time required for writing is
Since it is 500 nsec, this writing time of 10 msec is almost 20,000 times that time, and most of this 10 msec is an unnecessary waiting time.
第8図に示した従来例は、この実際のEEPROM内部での記
憶処理に要する時間に相当する時間を短縮してシミュレ
ーションを行い得るようにしたもので、第6図の従来例
においてはサイクルカウンタ71のキャリーが10msecごと
に出力されるように構成されていたのに対して、これよ
り短い時間間隔でサイクルカウンタ71からのキャリーが
出力されるように構成されたものである。The conventional example shown in FIG. 8 is designed so that the simulation can be performed by shortening the time corresponding to the time required for the actual storage processing in the EEPROM. In the conventional example shown in FIG. The carry of 71 is configured to be output every 10 msec, whereas the carry of the cycle counter 71 is configured to be output at a shorter time interval.
この第8図の従来例は、第6図の従来例と比較すれば明
らかなように、上記サイクルカウンタ71のロード端子L
にオア回路75を介してロード信号をキャリー信号ととも
に印加し得るようにするとともに、データ端子Dに外部
で設定される外部設定値を印加するように変更されてい
る。なお、上記のロード端子Lに印加するロード信号
は、EEPROM16への書込みを開始するときに用いられる。As is apparent from comparison with the conventional example of FIG. 8, the conventional example of FIG. 8 has a load terminal L of the cycle counter 71.
In addition, the load signal can be applied together with the carry signal via the OR circuit 75, and the external setting value externally set to the data terminal D is applied. The load signal applied to the load terminal L is used when writing to the EEPROM 16 is started.
ここで、この外部設定値は、上記した転送試験を行うた
めに、第6図でサイクルカウンタ71のデータ端子Dに供
給されている固定値と同様に、このサイクルカウンタ71
から10msecごとにキャリーが出力されるようにする初期
値と、前記した動作試験のためにEEPROM16への書込み時
間を短縮する場合に用いる初期値とが使用できるもので
なければならない。Here, this external set value is the same as the fixed value supplied to the data terminal D of the cycle counter 71 in FIG. 6 in order to perform the above-mentioned transfer test.
From 10 to every 10 msec, and the initial value used to shorten the writing time to the EEPROM 16 for the above-mentioned operation test must be usable.
サイクルカウンタ71は、この外部設定値が大きければキ
ャリーを発生するまでの時間が短くなって、EEPROM16へ
の書込みが終了するまでの時間も短縮される。If the external setting value is large, the cycle counter 71 shortens the time until the carry is generated, and the time until the writing to the EEPROM 16 is completed is also shortened.
しかしながら、この第8図の従来例においては、上記転
送試験を行なう必要上、サイクルカウンタ71から10msec
ごとにキャリーを発生させるための外部設定値を必要と
しているが、仮にシミュレーションのクロックの1周期
でEEPROM16への書込み開始を指示できるとすると、この
クロックの周期10nsecと転送試験の際の10msecとの間に
は10万倍の違いがあり、この“100,000"を伝送するため
には17ビットを必要とすることから、17個の外部設定値
入力端子とロード信号を供給する1つの入力端子との合
計18個もの入力端子を被試験システムに設けることにな
る。However, in the conventional example shown in FIG. 8, it is necessary to perform the above transfer test, so that 10 msec from the cycle counter 71
Each time, an external setting value is required to generate a carry, but if it is possible to instruct to start writing to the EEPROM 16 in one cycle of the simulation clock, the cycle of this clock will be 10 nsec and the transfer test will be 10 msec. There is a difference of 100,000 times, and since 17 bits are required to transmit this "100,000", there are 17 external setting value input terminals and one input terminal that supplies the load signal. A total of 18 input terminals will be installed in the system under test.
そうすると、実際にLSIを製造する際にはLSIの動作の確
実性を保証するためにシミュレーションした回路モデル
とまったく同一の回路構成とすることが必要であるた
め、実際のLSIにもこの18個の入力端子としてのピンを
追加しなければならず、LSIの価格は大幅に増加してし
まう。Then, when actually manufacturing an LSI, it is necessary to have exactly the same circuit configuration as the simulated circuit model in order to guarantee the reliability of the operation of the LSI. An additional pin as an input terminal must be added, which greatly increases the price of the LSI.
この発明は、メモリカードからのデータをシステムモデ
ルのEEPROM16に転送する転送試験とこのEEPROM16に書込
まれているプログラムを用いて動作を確認する動作試験
とを行うためのLSIの試験方式において、上記システム
モデルにしたがって製造されたLSIのピン数を増加させ
ることなく、この動作試験に要する時間を短縮すること
を目的とする。The present invention relates to an LSI test method for performing a transfer test for transferring data from a memory card to an EEPROM 16 of a system model and an operation test for confirming an operation using a program written in the EEPROM 16, wherein The purpose is to reduce the time required for this operation test without increasing the number of pins of the LSI manufactured according to the system model.
回路モデルに従って作成されたLSIを含むシステムを動
作させるためのマイクロプログラムを記憶したメモリカ
ード1から読出されたマイクロプログラムを格納・保持
するEEPROMモデル16からさらに制御メモリモデル18に転
送されたマイクロプログラムによって、少なくとも上記
EEPROMモデル16の書込みアドレスを生成するためのサイ
クルカウンタ71とアドレスカウンタ72とを有するEEPROM
書込みアドレス発生回路7とを含む上記LSIの回路モデ
ルを動作させて、このLSIの回路モデルを試験する大規
模集積回路の試験方式において、 上記メモリカード1の特定のアドレスに書込みサイクル
期間を指定する初期値データを格納するとともに、この
初期値データを格納する初期値データバッファ20を上記
LSIの回路モデルに設け、この初期値データを上記LSIの
回路モデルのサイクルカウンタ72の初期値として設定す
るようにした。By the microprogram transferred from the EEPROM model 16 which stores and holds the microprogram read from the memory card 1 storing the microprogram for operating the system including the LSI created according to the circuit model, to the control memory model 18 , At least above
EEPROM having cycle counter 71 and address counter 72 for generating write address of EEPROM model 16
In a test method of a large scale integrated circuit for operating the circuit model of the LSI including the write address generation circuit 7 and testing the circuit model of the LSI, a write cycle period is designated to a specific address of the memory card 1. In addition to storing the initial value data, the initial value data buffer 20 that stores this initial value data
It is provided in the circuit model of the LSI, and this initial value data is set as the initial value of the cycle counter 72 of the circuit model of the LSI.
EEPROMモデルが外付されるLSI回路モデルを含む被試験
システムについて、転送試験を行う際には実際のEEPROM
での書込みに要する時間もシミュレーションに必要であ
るが、動作試験を行う際には実際のEEPROMが内部で書込
処理を行うに要する時間はシミュレーションには必要で
ない。For the system under test including the LSI circuit model to which the EEPROM model is attached, the actual EEPROM when performing the transfer test.
The time required for writing in is also required for the simulation, but the time required for the actual EEPROM to perform the write processing internally is not required for the simulation when performing the operation test.
そこで、動作試験を行う際には、実際のEEPROMが内部で
書込処理を行うに要する時間に相当する時間を短縮する
ために、メモリカード1からEEPROMモデルにマイクロプ
ログラムを転送する際の書込みサイクルを短縮するよう
にする。Therefore, when performing an operation test, in order to shorten the time corresponding to the time required for the actual EEPROM to perform the write processing internally, the write cycle when transferring the microprogram from the memory card 1 to the EEPROM model Try to shorten.
そのため、第1図の原理ブロック図に示すように、メモ
リカードの特定のアドレスに書込みサイクル期間を指定
する初期値データを格納しておき、このアドレスから読
出された初期値データをデータ発生回路3に介して初期
値データバッファ20にストアし、LSI回路モデルのEEPRO
M書込みアドレス発生回路7のサイクルカウンタ71に初
期値として供給する。Therefore, as shown in the principle block diagram of FIG. 1, initial value data designating a write cycle period is stored in a specific address of the memory card, and the initial value data read from this address is stored in the data generating circuit 3. Stored in the initial value data buffer 20 via the EEPRO of the LSI circuit model.
It is supplied to the cycle counter 71 of the M write address generation circuit 7 as an initial value.
前記動作試験の際にはこの初期値を大きくすることによ
って、このサイクルカウンタ71がオーバーフローするま
での時間がこの初期値に応じて短縮され、したがって、
EEPROM16の書込みに要する時間も短縮される。By increasing the initial value during the operation test, the time until the cycle counter 71 overflows is shortened according to the initial value, and therefore,
The time required for writing to the EEPROM 16 is also shortened.
また、前記転送試験の際には、例えば10msecごとにこの
サイクルカウンタ71がオーバーフローするようにこの初
期値を小さくすることによって、実際のEEPROMに書込む
のと同一の書込みサイクルとすることができる。Further, in the transfer test, by reducing the initial value so that the cycle counter 71 overflows every 10 msec, for example, the same write cycle as writing to the actual EEPROM can be performed.
そして、本発明によれば、LSI回路モデルに初期値デー
タバッファ20と若干の配線を追加するだけで、LSIの外
部接続端子を増やす必要がないから、このモデルにした
がって製造されるLSIの価格を上昇させることがない。Further, according to the present invention, it is not necessary to increase the number of external connection terminals of the LSI just by adding the initial value data buffer 20 and some wirings to the LSI circuit model. Therefore, the price of the LSI manufactured according to this model can be reduced. Never raise.
第2図は本発明によって構築された被試験システムの動
作試験時の実施例を示すもので、第8図図示の従来例
に、本発明によって初期値データバッファ20とオア回路
24が追加された構成を有している。FIG. 2 shows an embodiment of the system under test constructed in accordance with the present invention at the time of operation test. In the conventional example shown in FIG. 8, an initial value data buffer 20 and an OR circuit according to the present invention are shown.
24 have the added configuration.
この初期値データバッファ20は、EEPROM16のアドレス端
子ADに印加されると同一のアドレスが一方の入力端子A
に印加され、他方の入力端子Bにメモリカード上の初期
値を格納したアドレス(この実施例では“3FF")が印加
される比較器22と、この比較器22が上記の2つのアドレ
スが一致したことを検出したときの一致出力が一方の入
力端子に供給され他方の入力端子にクロックが供給され
るアンド回路23と、メモリカードから読出されたデータ
を発生しているデータ発生回路3の出力を上記のアンド
回路23からの出力によって取込むデータバッファ21とか
らなっている。In this initial value data buffer 20, when the same address is applied to the address terminal AD of the EEPROM 16, one input terminal A
Is applied to the other input terminal B, and the address (“3FF” in this embodiment) storing the initial value on the memory card is applied to the other input terminal B, and this comparator 22 matches the above two addresses. The output of the AND circuit 23 in which the coincidence output when it is detected is supplied to one input terminal and the clock is supplied to the other input terminal, and the data generation circuit 3 generating the data read from the memory card. And a data buffer 21 for taking in the output signal from the AND circuit 23.
また、上記オア回路24は、その1つの入力端子に上記ア
ンド回路23の出力が、もう1つの入力端子にはサイクル
カウンタ71がオーバーフローしたときに出力されるキャ
リーが供給される。The OR circuit 24 has one input terminal supplied with the output of the AND circuit 23, and the other input terminal supplied with a carry output when the cycle counter 71 overflows.
サイクルカウンタ71、オア回路73、アンド回路74、アド
レスカウンタ72からなるEEPROM16への書込みアドレス発
生回路の動作は、第6図および第8図について先に説明
したので、簡単に説明する。The operation of the write address generating circuit for the EEPROM 16 including the cycle counter 71, the OR circuit 73, the AND circuit 74, and the address counter 72 has been described above with reference to FIGS. 6 and 8, and will be briefly described.
サイクルカウンタ71はリセット端子Lにリセット信号が
与えられるとその計数値をデータ端子Dに印加されてい
る値にセットし、クロック端子CPに印加されるクロック
ごとにその計数値を増加し、やがて計数値がオーバーフ
ローするとそのキャリー端子CRからキャリー信号を出力
する。このキャリーが出力される間隔は、サイクルカウ
ンタ71の計数値が、初期値からクロックを計数すること
によって順次増加してオーバーフローするまで時間に等
しい。When the reset signal is applied to the reset terminal L, the cycle counter 71 sets the count value to the value applied to the data terminal D, increases the count value for each clock applied to the clock terminal CP, and eventually counts. When the numerical value overflows, a carry signal is output from the carry terminal CR. The interval at which this carry is output is equal to the time until the count value of the cycle counter 71 sequentially increases by counting clocks from the initial value and overflows.
アドレスカウンタ72は、ロード端子Lにロード信号が印
加されたときにデータ端子Dに供給されているメモリカ
ード上の初期値を格納したアドレス(この実施例では
“3FF")にその計数値が設定され、このサイクルカウン
タ71からのキャリー信号をアンド回路74でクロックに同
期させた信号を計数クロックとして計数値を減算し、こ
の計数値をEEPROM16に書込みアドレスとして供給する。The address counter 72 sets the count value to the address (“3FF” in this embodiment) that stores the initial value on the memory card supplied to the data terminal D when the load signal is applied to the load terminal L. Then, the carry signal from the cycle counter 71 is subtracted from the count value by using a signal obtained by synchronizing the carry signal with the clock in the AND circuit 74, and the count value is supplied to the EEPROM 16 as a write address.
したがって、このアドレスカウンタ72から出力されるア
ドレスは、サイクルカウンタ71からのキャリーが到来す
る期間は一定の値を有しており、このキャリーの到来ご
とに“1"ずつ少なくなる。なお、メモリカードからは、
このアドレスに等しいアドレスから順次データが読出さ
れてデータ発生回路3から出力される。Therefore, the address output from the address counter 72 has a constant value during the period when the carry from the cycle counter 71 arrives, and decreases by "1" at each arrival of the carry. From the memory card,
Data is sequentially read from an address equal to this address and output from the data generation circuit 3.
この実施例で“3FF"としたメモリカードで初期値を格納
したアドレスがこのアドレスカウンタ72から出力される
と、比較器22はその出力をアンド回路23に送り、このア
ンド回路23からはクロックと同期した一致出力が送出さ
れる。When the address storing the initial value in the memory card set to "3FF" in this embodiment is output from the address counter 72, the comparator 22 sends the output to the AND circuit 23, and the AND circuit 23 outputs the clock. Synchronized coincidence output is sent.
この一致出力は、一方でデータバッファ21に書込みクロ
ックとして供給されるので、このデータバッファ21には
メモリカードの“3FF"からの初期値が格納され、他方で
は、オア回路24を介してサイクルカウンタ71のロード端
子Lに送られる。This coincidence output is supplied to the data buffer 21 as a write clock on the one hand, so that the initial value from "3FF" of the memory card is stored in this data buffer 21, and on the other hand, the cycle counter is passed via the OR circuit 24. It is sent to the load terminal L of 71.
このとき、サイクルカウンタ71のデータ端子Dには上記
データバッファ21が格納しているメモリカードからの初
期値が与えられているので、このサイクルカウンタ71の
計数値はこの初期値にセットされる。At this time, since the initial value from the memory card stored in the data buffer 21 is given to the data terminal D of the cycle counter 71, the count value of the cycle counter 71 is set to this initial value.
前述のように、このサイクルカウンタ71から出力される
キャリーの間隔は、このサイクルカウンタ71が初期値か
らオーバーフローするまでの数とクロックの間隔で定ま
るので、この初期値が大きいほど短い時間間隔となり、
アドレスカウンタ72から出力される1つのアドレスの持
続時間も短くなる。As described above, the carry interval output from the cycle counter 71 is determined by the number of times the cycle counter 71 overflows from the initial value and the clock interval. Therefore, the larger the initial value, the shorter the time interval.
The duration of one address output from the address counter 72 is also shortened.
この初期値を適宜設定することにより、アドレスの持続
時間、すなわち、このEEPROM16への書込みサイクルを所
望の時間に設定できるので、実際のEEPROM内部での書込
み処理時間とは無関係に設定してシミュレーションを実
行することができる。By setting this initial value appropriately, the address duration, that is, the write cycle to this EEPROM16, can be set to the desired time, so the simulation can be performed regardless of the actual write processing time in the EEPROM. Can be executed.
しかも、この実施例を示した第2図と従来例を示した第
6図とを比較すれば明らかなように、LSIモデルと周辺
素子との接続端子は増加していないので、このLSIモデ
ルにしたがって製造されたLSIにも余分な接続端子を設
ける必要がないので、LSIの価格が高価になることもな
い、という格別の効果が得られる。Moreover, as is clear from a comparison between FIG. 2 showing this embodiment and FIG. 6 showing the conventional example, since the number of connecting terminals between the LSI model and peripheral elements has not increased, this LSI model Therefore, since it is not necessary to provide an extra connection terminal in the manufactured LSI, the special effect that the price of the LSI does not become high can be obtained.
本発明によれば、簡単な回路構成をLSIモデルに追加す
るだけで、EEPROMモデルへの書込みサイクルを実際のEE
PROM内部での書込み処理時間とは無関係に設定してシミ
ュレーションを高速で実行することができるばかりでな
く、このLSIモデルにしたがって製造されたLSIにも余分
なピンを設ける必要がないので、LSIの価格が高価にな
ることもない、という格別の効果が得られる。According to the present invention, the write cycle to the EEPROM model can be changed to the actual EE by simply adding a simple circuit configuration to the LSI model.
Not only can the simulation be executed at high speed by setting it independently of the write processing time inside the PROM, but there is no need to add extra pins to the LSI manufactured according to this LSI model. The special effect is that the price does not become expensive.
第1図は本発明の原理を説明するためのブロック図、 第2図は本発明の実施例を示す図、 第3図は従来例および実施例で仮定したメモリカードの
説明図、 第4図は本発明が対象とする被試験システムを示す図、 第5図は実際のEEPROMの書込みサイクルを示した図、 第6図は従来例を示す図、 第7図は書込み許可信号発生回路の例を示す図、 第8図は他の従来例を示す図である。FIG. 1 is a block diagram for explaining the principle of the present invention, FIG. 2 is a diagram showing an embodiment of the present invention, FIG. 3 is an explanatory diagram of a memory card assumed in a conventional example and an example, and FIG. Shows a system under test targeted by the present invention, FIG. 5 shows a write cycle of an actual EEPROM, FIG. 6 shows a conventional example, and FIG. 7 shows an example of a write enable signal generation circuit. FIG. 8 is a diagram showing another conventional example.
Claims (1)
回路を含むシステムを動作させるためのマイクロプログ
ラムを記憶したメモリカード(1)から読出されたマイク
ロプログラムを格納・保持する電気的消去可能プログラ
ラマブル読出専用メモリのモデル(16)からさらに制御
メモリモデル(18)に転送されたマイクロプログラムによ
って、少なくとも上記電気的消去可能プログララマブル
読出専用メモリのモデル(16)の書込みアドレスを生成
するためのサイクルカウンタ(71)とアドレスカウンタ
(72)とを有する上記電気的消去可能プログララマブル
読出専用メモリの書込みアドレス発生回路(7)とを含む
上記大規模集積回路モデルを動作させて、この大規模集
積回路モデルを試験する大規模集積回路の試験方式にお
いて、 上記メモリカード(1)の特定のアドレスに書込みサイク
ル期間を指定する初期値データを格納するとともに、こ
の初期値データを格納する初期値データバッファ(20)
を上記大規模集積回路モデルに設け、この初期値データ
を上記大規模集積回路モデルのサイクルカウンタ(72)
の初期値として設定するようにしたことを特徴とする大
規模集積回路の試験方式。1. An electrically erasable programmer for storing and holding a microprogram read from a memory card (1) storing a microprogram for operating a system including a large scale integrated circuit created according to a circuit model. For generating at least the write address of the electrically erasable programmable programmable read-only memory model (16) by the microprogram transferred from the model of the programmable read-only memory (16) to the control memory model (18). This large scale integrated circuit model is operated by including the write address generation circuit (7) of the electrically erasable programmable programmable read only memory having a cycle counter (71) and an address counter (72). In a large-scale integrated circuit test method for testing an integrated circuit model, the above memory card (1) Initial value data buffer (20) that stores the initial value data that specifies the write cycle period at a specific address of
Is provided in the large-scale integrated circuit model, and the initial value data is used as the cycle counter (72) of the large-scale integrated circuit model.
A test method for large-scale integrated circuits characterized by being set as an initial value of.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63088111A JPH0774817B2 (en) | 1988-04-12 | 1988-04-12 | Test method for large scale integrated circuits |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63088111A JPH0774817B2 (en) | 1988-04-12 | 1988-04-12 | Test method for large scale integrated circuits |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01260373A JPH01260373A (en) | 1989-10-17 |
| JPH0774817B2 true JPH0774817B2 (en) | 1995-08-09 |
Family
ID=13933774
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63088111A Expired - Lifetime JPH0774817B2 (en) | 1988-04-12 | 1988-04-12 | Test method for large scale integrated circuits |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0774817B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2557128B2 (en) * | 1990-05-31 | 1996-11-27 | 富士通株式会社 | Scan flip-flop initialization method |
-
1988
- 1988-04-12 JP JP63088111A patent/JPH0774817B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01260373A (en) | 1989-10-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS60164848A (en) | Modeling method and apparatus | |
| EP0447995A2 (en) | Analyzing device for saving semiconductor memory failures | |
| EP0602791A2 (en) | Apparatus and method for booting a multiple processor system having a global/local memory architecture | |
| KR20000029997A (en) | A method for testing integrated memory using an integrated dma controller | |
| US20080016415A1 (en) | Evaluation system and method | |
| US4584642A (en) | Logic simulation apparatus | |
| JPH08320808A (en) | Emulation system | |
| US4891773A (en) | Logic simulation | |
| US5048019A (en) | Method of testing a read-only memory and device for performing the method | |
| JP2847310B2 (en) | Logic simulation method | |
| JPH0774817B2 (en) | Test method for large scale integrated circuits | |
| CN100524537C (en) | Memory test circuit and method | |
| JPS60554A (en) | Memory control device | |
| CN118152311B (en) | Data processing method, device, system, electronic equipment and storage medium | |
| JP2901828B2 (en) | Semiconductor integrated circuit | |
| CN120578401A (en) | A clock chip firmware configuration method and computing device | |
| JP2824853B2 (en) | Pattern data writing method | |
| JP2557128B2 (en) | Scan flip-flop initialization method | |
| JP3177975B2 (en) | One-chip microcomputer | |
| JPH1165884A (en) | Microcomputer and debugging method therefor | |
| JPH0713818B2 (en) | Microprocessor | |
| JP3027765B2 (en) | Time mechanism controller | |
| CN116908663A (en) | Test circuit and test method of isolation unit | |
| JPH1153221A (en) | Information processing method and information processing apparatus | |
| JPH0439098B2 (en) |