JPS6012661B2 - ROM check method - Google Patents
ROM check methodInfo
- Publication number
- JPS6012661B2 JPS6012661B2 JP52132220A JP13222077A JPS6012661B2 JP S6012661 B2 JPS6012661 B2 JP S6012661B2 JP 52132220 A JP52132220 A JP 52132220A JP 13222077 A JP13222077 A JP 13222077A JP S6012661 B2 JPS6012661 B2 JP S6012661B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- ram
- output
- gate
- rom
- 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
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Read Only Memory (AREA)
Description
【発明の詳細な説明】
本発明はけ1(大規模集積回路)内に組込まれたROM
(リードオンメモリ)の機能をチェックZするROMチ
ェック方式に関する。DETAILED DESCRIPTION OF THE INVENTION ROM incorporated in the present invention (large-scale integrated circuit)
This invention relates to a ROM check method for checking the function of (read-on memory).
4・型電子式計算機では、マイクロィンストラクション
用固定メモリROMを備え、このROMから謙出される
ィンストラクションにより各種演算制御を行うようにし
たものが一般に用いられている。Type 4 electronic calculators are generally equipped with a fixed memory ROM for microinstructions, and are configured to perform various arithmetic and control operations using instructions retrieved from the ROM.
しかして、上記ROMを備えた計算機ではROMのチェ
ックが必要であり、従来ではROMに組まれたマイクロ
ィンストラクションを実行させてその結果を判定するチ
ェック方法が採られている。しかしながら、上記チェッ
ク方法は、予めプログラムされた種々の演算を実行する
ため多大なテスト時間を要し、しかも十分な精度のテス
トチェックができないという欠点がある。また、ROM
のチェックには、上記チェック方法の他にROMのアド
レスを自動的に進め、全ての出力を外部に導出してその
内容を判定するようにした判定方法も考えられているが
、この判定方法は多くの専用回路を必要とすると共にR
OM出力を外部に謙出すためのチェックにのみ使用され
る端子を別に設けなければならない。LISでは端子の
数が限定されるため、チェック専用の端子を設けること
は好ましくない。本発明は上記の点に鑑みてなされたも
ので、データメモリRAM(ランダムアクセスメモリ)
の各アドレスにそれぞれ異なった数値を記憶させておき
、ROMの出力により上記RAMのアドレスを指定し、
その内容を外部に議出して判定することにより、チェッ
ク用の端子を付加することなく、かつ確実にチェックを
行い得るROMチェック方式を提供することを目的とす
る。Therefore, in a computer equipped with the above-mentioned ROM, it is necessary to check the ROM, and conventionally, a checking method has been adopted in which microinstructions stored in the ROM are executed and the results are judged. However, the above-mentioned checking method requires a large amount of test time to execute various pre-programmed calculations, and has the drawback that it is not possible to perform a test check with sufficient accuracy. Also, ROM
In addition to the above-mentioned checking method, a determination method has been considered in which the ROM address is automatically advanced and all outputs are derived externally and the contents are determined. It requires many dedicated circuits and
It is necessary to separately provide a terminal used only for checking to output the OM output to the outside. Since the number of terminals in LIS is limited, it is not preferable to provide a terminal exclusively for checking. The present invention has been made in view of the above points, and is a data memory RAM (random access memory).
Store a different value in each address, specify the address of the RAM by the output of the ROM,
It is an object of the present invention to provide a ROM check method that can reliably perform a check without adding a check terminal by transmitting the contents to the outside and making a determination.
以下図面を参照して本発明の一実施例を説明する。An embodiment of the present invention will be described below with reference to the drawings.
第1図において、11は各種マイクロィンストラクショ
ンを固定記憶しているROMで、ROMアドレス部12
により、アドレスが指定される。上記ROMIIは各種
ィンストラクションの他、演算データ記憶用RAM13
に対するアドレス及び自己の次アドレスを記憶しており
、出力ラインaからはRAM13の行アドレスUA、出
力ラインbからはRAM13の列アドレスLA、出力ラ
インcからは各種ィンストラクションINS、出力ライ
ンdからは自己の次アドレスNAを出力する。上記RO
MIIの出力ラインaから出力される行アドレスは、ゲ
ート回路14及びオア回路15を介してRAM13の行
アドレス入力端子に供給されると共に、ゲート回路16
及びオア回路15を介してRAM13の行アドレス入力
端子に供給される。また、ROMIIの出力ラインbか
ら出力される列アドレスは、列アドレス制御部17へ直
接送られると共にゲート回路18を介してオア回路15
及び列アドレス制御部17へ送られる。この列アドレス
制御部17は入力される列アドレスデZータに従ってR
AM13の列アドレスを制御する。さらに、上記ROM
I 1の出力ラインcから出力されるインストラクシヨ
ンは、インストラクションデコーダ19に送られると共
にゲート回路20を介して列アドレス制御部17へ送ら
れる。Zまた、ROMIIの出力ラインdから出力され
る次アドレスレジスタ21へ送れる。このアドレスレジ
スタ21は通常の演算時においては上記出力ラインdを
介して与えられる次アドレス及び演算結果に従ってアド
レスデータが設定され、また、2チェック時にはアドレ
ス制御部22によってアドレスデータが設定される。上
記アドレス制御部22は、一般のは1が備えているテス
ト端子23から信号が与えられた場合に動作し、外部か
ら入力されるアドレスデータをアドレスレジスタ21に
2セットる。この場合、アドレス制御部22へのアドレ
スデータは、例えばキー入力用の端子を共用して与えら
れる。また、上記各ゲート回路14,16,18,20
は、タイミング発生回路24からゲート群25を介して
出力されるタイミング層3号t,〜Wこよってゲート制
御される。ゲート群25は、出力ライン25a,25b
を有し、通常演算時は出力ライン25aを介してゲート
回路14にタイミング信号を与えてそのゲート制御を行
い、また、テスト端子23にテスト信号が与えら3れて
ROMIIのチェックを行う場合には出力ライン25b
を介してゲート回路16,18,20にタイミング信号
を与えてそのゲート制御を行う。上記各ゲート回路16
,18,20はチェック時にのみ動作するゲートであり
、通常演算時は4開放状態となっている。しかして、ィ
ンストラクションデコーダ19は、図示しないが各種演
算制御用ゲートを制御するための制御信号を出力すると
共に議出し/書込み命令R/Wを出力する。このR/W
命令はアンド回路26を介してRAM13へ送られるも
ので、“0”の場合が議出し、“1”の場合が書込みと
なる。上記アンド回路26には、テスト端子23に与え
られるテスト信号がインバータ27を介して制御信号と
して与えられる。また、RAM13は複数個例えば8個
のレジスタからなり、各レジス夕が16桁構成となって
いる。そして各レジスタは行アドレスによって指定され
、その指定されたレジスタの桁は列アドレスによって指
定される。そして、RAM13のデータ出力端は図示し
ないが演算部、表示部等が接続されると共に、外部テス
タ28が接続される。この外部テスタ28は例えば印字
機能、データチェック機能等を備え、RAM1 3から
議出したデータを印字したり、あるし、は読出したデー
タが正か否か等の判定を行う。更に第2図により上記第
1図の主要部の詳細な構成について説明する。In FIG. 1, 11 is a ROM that fixedly stores various microinstructions, and a ROM address section 12
The address is specified by In addition to various instructions, the above-mentioned ROM II has a RAM 13 for storing calculation data.
It stores the address for and its own next address, from output line a to the row address UA of RAM 13, from output line b to column address LA of RAM 13, from output line c to various instructions INS, from output line d to outputs its own next address NA. The above RO
The row address output from the output line a of the MII is supplied to the row address input terminal of the RAM 13 via the gate circuit 14 and the OR circuit 15, and is also supplied to the row address input terminal of the RAM 13 through the gate circuit 14 and the OR circuit 15.
and is supplied to the row address input terminal of the RAM 13 via the OR circuit 15. Further, the column address outputted from the output line b of the ROMII is directly sent to the column address control section 17 and also sent to the OR circuit 15 via the gate circuit 18.
and is sent to the column address control section 17. This column address control section 17 controls R according to input column address data Z.
Controls the column address of AM13. Furthermore, the above ROM
The instruction output from the output line c of I1 is sent to the instruction decoder 19 and also sent to the column address control section 17 via the gate circuit 20. Z can also be sent to the next address register 21 output from the output line d of the ROMII. In this address register 21, address data is set in accordance with the next address and the result of the calculation applied via the output line d during normal calculation, and address data is set by the address control section 22 in the case of 2 check. The address control unit 22 operates when a signal is applied from a test terminal 23 provided in the general unit 1, and sets two address data inputted from the outside into the address register 21. In this case, the address data to the address control unit 22 is given, for example, by sharing a key input terminal. In addition, each of the gate circuits 14, 16, 18, 20
are gate-controlled by the timing layer No. 3 t, -W outputted from the timing generation circuit 24 via the gate group 25. The gate group 25 has output lines 25a and 25b.
During normal calculations, a timing signal is given to the gate circuit 14 through the output line 25a to control the gate, and when a test signal is given to the test terminal 23 to check the ROMII. is the output line 25b
A timing signal is applied to the gate circuits 16, 18, and 20 via the gate circuits 16, 18, and 20 to perform gate control. Each of the above gate circuits 16
, 18, and 20 are gates that operate only during checking, and are in an open state during normal calculation. Although not shown, the instruction decoder 19 outputs control signals for controlling various arithmetic control gates and outputs an issue/write command R/W. This R/W
The command is sent to the RAM 13 via the AND circuit 26, and when it is "0", it is set, and when it is "1", it is written. The test signal applied to the test terminal 23 is applied to the AND circuit 26 via an inverter 27 as a control signal. Further, the RAM 13 is composed of a plurality of registers, for example, eight registers, and each register has a 16-digit structure. Each register is then specified by a row address, and the digit of the specified register is specified by a column address. Although not shown, the data output terminal of the RAM 13 is connected to an arithmetic unit, a display unit, etc., as well as an external tester 28. This external tester 28 has, for example, a printing function, a data checking function, etc., and prints out the data retrieved from the RAM 13, and determines whether the read data is correct or not. Further, with reference to FIG. 2, the detailed structure of the main parts shown in FIG. 1 will be explained in detail.
ゲート回路14はRAMIIの行アドレス出力ラインa
の数に対応して6個のトランスファーゲートからなり「
各ゲートが出力ラインaにそれぞれ介在される。上記6
個のゲートは3個ずつ第1のゲート群14aと第2のゲ
ート群14bに分けられ、第1のゲート群14aと第2
のゲート群14bの出力はそれぞれ対をなすように接続
され、オア回路15a〜15cを介してRAM13の行
アドレス入力端に接続される。また、ゲート回路16,
18,20‘ま、それぞれROMIIの行アドレス出力
ラインa、列アドレス出力ラインb、インストラクシヨ
ン出力ラインcの数に対応して設けられる。例えばRO
MIIの出力ラインaは6本、出力ラインbは8本、出
力ラインcは7本の合計21本設けられているので、ゲ
ート回路16,18,2川ま合計21個のトランスファ
ーゲートによって構成され、各ゲートがROMIIの出
力ラインにそれぞれ介在される。そして、上記ゲート回
路16,18,20を構成する各ゲートの出力端が3個
ずつ順次一括接続され、第1〜第7のゲート群G,〜G
7に分けられる。そして、第1〜第3のゲート群○,〜
G3の出力はオア回路15a〜15cを介してRAM1
3に入力され、第4〜第7のゲート群G4〜G7の出力
は、列アドレス制御部17へ入力される。この列アドレ
ス制御部17は、通常演算時ではROMIIから演算開
始列アドレス及び演算終了列アドレスが与えられると、
演算開始列アドレスを演算終了列アドレスに達するまで
順次1ずつカウントアップしてRAM13に4ビットの
列アドレスを与え、また、チェック時ではROMIIか
らの列アドレスの一部及びィンストラクションを全て4
ビットの列アドレスとしてRAM13に与える等のアド
レス制御動作を行う。一方、タイミング発生回路24か
らタイミング信号t,〜t3が与えられるゲート群25
は、アンド回路31a,31b,32a〜32c、イン
バーZ夕33,34からなり、アンド回路32a〜32
cの一方の入力機にはテスト端子23からのテスト信号
が直接与えられ、アンド回路31a,31bの一方の入
力端にはインバータ33を介してテスト信号が入力され
る。The gate circuit 14 is connected to the row address output line a of RAM II.
It consists of 6 transfer gates corresponding to the number of
Each gate is interposed on the output line a, respectively. Above 6
The gates are divided into a first gate group 14a and a second gate group 14b of three each.
The outputs of the gate group 14b are connected in pairs, and are connected to the row address input terminal of the RAM 13 via OR circuits 15a to 15c. In addition, the gate circuit 16,
18 and 20' are provided corresponding to the number of row address output lines a, column address output lines b, and instruction output lines c of the ROMII, respectively. For example, R.O.
Since the MII has 6 output lines a, 8 output lines b, and 7 output lines c, a total of 21 lines, the gate circuits 16, 18, and 2 gates are composed of a total of 21 transfer gates. , each gate is respectively interposed in the output line of ROMII. Then, three output terminals of each gate constituting the gate circuits 16, 18, 20 are sequentially connected together, and the first to seventh gate groups G, to G
It is divided into 7 parts. Then, the first to third gate groups ○, ~
The output of G3 is sent to RAM1 via OR circuits 15a to 15c.
The outputs of the fourth to seventh gate groups G4 to G7 are input to the column address control section 17. During normal calculation, when the column address control unit 17 receives the calculation start column address and calculation end column address from the ROMII,
The calculation start column address is counted up one by one until it reaches the calculation end column address, and a 4-bit column address is given to the RAM 13. Also, when checking, a part of the column address and instructions from ROMII are all 4 bits.
Address control operations such as providing a bit column address to the RAM 13 are performed. On the other hand, a gate group 25 to which timing signals t, ~t3 are applied from the timing generation circuit 24
consists of AND circuits 31a, 31b, 32a to 32c, and inverter circuits 33 and 34, and AND circuits 32a to 32
A test signal from the test terminal 23 is directly applied to one input device of the circuit c, and the test signal is input via an inverter 33 to one input terminal of the AND circuits 31a and 31b.
そして、アンド回路32 Za〜32cの他方の入力端
にはタイミング発生回路24から出力されるタイミング
信号t,〜t3がそれぞれ入力たれる。また、アンド回
路31bの他方の入力端にはタイミング信号t,が直接
入力され、アンデ回路31aの他方の入力端にはタィミ
2ング信号t,がィンバータ34を介して入力される。
しかして、上記アンド回路31aの出力によりゲート回
路14の第1のゲート群14aのゲ−ト制御が行われ、
アンド回路31bの出力により第2のゲート群14bの
ゲート制御が行われる。また、アンド回路32a〜32
cの出力によってゲート回路16.18,2川こおける
第1〜第7のゲート群○,〜G7の各ゲートが順次時分
割的に制御される。次に上記のように構成された本発明
の動作を説明する。Timing signals t and t3 output from the timing generation circuit 24 are input to the other input terminals of the AND circuits 32 Za to 32 c, respectively. Furthermore, the timing signal t, is directly input to the other input terminal of the AND circuit 31b, and the timing signal t, is input via the inverter 34 to the other input terminal of the AND circuit 31a.
Thus, the gate control of the first gate group 14a of the gate circuit 14 is performed by the output of the AND circuit 31a.
Gate control of the second gate group 14b is performed by the output of the AND circuit 31b. Moreover, the AND circuits 32a to 32
Each gate of the first to seventh gate groups ○, to G7 in the gate circuits 16, 18 and 2 is sequentially controlled in a time-sharing manner by the output of the gate c. Next, the operation of the present invention configured as described above will be explained.
テスト端子23にテスト信号を与えていない状態畠では
、ゲート群25におけるインバータ33の出力が“1”
となってアンド回路31a,31bのゲートが開かれて
いる。アンド回路31aにはタイミング信号t,がイン
バータ34を介して与えられ、アンド回路31bにはタ
イミング信号しが直接与えられているので、アンド回路
31aからはt,のタイミングで“1”信号が出力され
、アンド回路31bからは上,のタイミングで“1”信
号が出力される。従ってゲート回路14の第1のゲート
群14aはLのタイミングで、また、第2のゲート群1
4bはちのタイミングでゲートを開き、ROMI Iか
ら出力される行アドレスをオア回路15a〜15cを介
してRAM13に転送する。この場合、ゲート群25に
おけるアンド回路32a〜32cはゲートを閉じ、その
出力が“0”となっている。このためゲート回路16,
18,2川ま全てのゲートを閉じており、列アドレス制
御部17にはROMIIから出力ラインbを介して出力
される列アドレスのみが与えられる。従って通常の演算
時においては、RAM13はROMIIから出力される
行アドレス及び列アドレスによってアドレス指定される
。また、ROMI Iから出力ラインcを介して出力さ
れるインストラクシヨンはインストラクシヨンデコーダ
19へ送られ、このインストラクションデコーダ19か
ら出力される各種制御信号例えばRAM13に対する謙
出し/書込み指令、アダー回路(図示せず)に対する加
減算指令、演算データの転送並びに表示指令等によって
演算制御が行われる。また、ROMI Iのスタートア
ドレスはキー入力部(図示せず)のキー操作により与え
られ、その後のROMアドレスはROMIIから出力さ
れる次アドレス及び演算結果等に応じて与えられる。次
にROMIIのチェックを行う場合の動作について説明
する。When the test signal is not applied to the test terminal 23, the output of the inverter 33 in the gate group 25 is "1".
Therefore, the gates of AND circuits 31a and 31b are opened. Since the AND circuit 31a is given the timing signal t, via the inverter 34, and the AND circuit 31b is directly given the timing signal t, the AND circuit 31a outputs a "1" signal at the timing t. The AND circuit 31b outputs a "1" signal at the above timing. Therefore, the first gate group 14a of the gate circuit 14 is activated at the L timing, and the second gate group 14a is activated at the L timing.
4b opens the gate and transfers the row address output from ROMI I to the RAM 13 via the OR circuits 15a to 15c. In this case, the AND circuits 32a to 32c in the gate group 25 close their gates, and their outputs are "0". For this reason, the gate circuit 16,
All gates 18 and 2 are closed, and the column address control section 17 is given only the column address output from the ROM II via the output line b. Therefore, during normal operations, the RAM 13 is addressed by the row address and column address output from the ROMII. Further, instructions outputted from ROMI I via output line c are sent to an instruction decoder 19, and various control signals outputted from this instruction decoder 19, such as read/write commands to the RAM 13, adder circuits ( Calculation control is performed by addition/subtraction commands for (not shown), transfer of calculation data, display commands, etc. Further, the start address of ROMI I is given by key operation on a key input unit (not shown), and subsequent ROM addresses are given according to the next address outputted from ROMII, the calculation result, etc. Next, the operation when checking the ROMII will be explained.
チェックを行う際には、まず、RAM13に所定のデー
タを例えば第3図に示すように記憶させる。この場合、
同一行、同一列内においては、各データが異なるように
記憶させる。第3図では0〜15までの数値を各行に記
憶させているが、各行間では3桁ずつその記憶位置をず
らせている。次いでテスト端子23にテスト信号を与え
ると共にアドレス制御部22にROMI Iのアドレス
を指定するためのアドレスデータを与える。When checking, first, predetermined data is stored in the RAM 13 as shown in FIG. 3, for example. in this case,
Each piece of data is stored differently in the same row and column. In FIG. 3, numerical values from 0 to 15 are stored in each row, but the storage positions are shifted by three digits between each row. Next, a test signal is applied to the test terminal 23, and address data for specifying the address of ROMI I is applied to the address control section 22.
端子23にテスト信号が与えられると、ィンバータ27
の出力が“0”となり、アンド回路26のゲートを閉じ
る。この結果、RAM13への書込み命令の入力が禁止
され、RAM13はテスト信号が与えられている間、議
出しモードの状態に保持される。一方、ゲート群25は
テスト信号が与えられると、アンド回路32a〜32c
のゲートが開くと共にインバー夕33の出力が“0”と
なってアンド回路31a,31bのゲートを閉じる。こ
の結果アンド回路31a,31bの出力が“0”となっ
てゲート回路14のゲートを閉じると共にアンド回路3
2a〜32cからタイミング信号t,〜らが順次出力さ
れ、ゲート回路16,18,20の各ゲートタイミング
信号t,〜t3に同期して開かれる。上記ゲート回路1
6,18,20は、前記したように第1〜第7のゲート
群G,〜G7からなり、各ゲート群○,〜G7がそれぞ
れタイミング信号ら〜t3に同期してゲートを開き、R
OMI Iから出力される行アドレス、列アドレス、イ
ンストラクションをRAM1 3のアドレスデータとし
てRAM13及び列アドレス制御部17へ送出する。従
ってROMIIの出力は第4図に示すように行アドレス
出力ライン6本と列アドレス出力ライン3本がRAM1
3の行アドレスU,,U2,U4となり「列アドレス出
力ラインの残り5本とインストラクション出力ライン7
本がRAM13の列アドレスL,,−,L,L8となる
。しかして、ROMIIが第4図に示すように構成され
、また、RAM13の記憶内容が第3図に設定された場
合、RAM13に対する行及び列アドレス並びにRAM
13の出力は第5図は示すようになる。例えばROMア
ドレス部12によってROMIIのアドレスラィンー,
が指定された場合、t,のタイミングでは行アドレス「
100」4、列アドレス「1101」13RAM13の
出力「0001」1となり、らのタイミングでは行アド
レス「010」2、列アドレス「1111」15RAM
1 3の出力n0OU 9となり、さらにt3のタイミ
ングでは行アドレス「100」4、列アドレス「110
0」12、RAM1 3の出力「0000」0となる。
ROMIIのアドレスライン1,〜lnは、アドレス制
御部22からアドレスレジスタ21を介してROMアド
レス部12に入力されるデータに従って順次指定される
。このテスト時においてはROM1 1から出力される
次アドレスNAはアドレスレジスタ21への入力が禁止
される。このようにしてROMIIの出力内容に従って
RAM13のアドレスが順次指定され、RAM13の内
容が読出される。このRAM13から読出されたデータ
は、例えば外部メモリ等にデータを出力する数の通常使
用される出力端子を介して外部テスタ28へ送られ、外
部テスタ28によりROMIIが正常に動作しているか
否かが判定される。即ち、この判定はROMIIの設計
により予期されるRAM1 3のアドレスに対応するデ
ータを予め外部テスタ28に組み込んでおき、チェック
時にRAM13から実際に出力されるデータと自動的に
比較照合することによりROMIIが正常に動作してい
るか否かを判定する。なお、この外部テスタ28は自動
判定機能を持たず、単に印字する機能のものでも良く、
その印字結果より判定しても良いことは勿論である。こ
のように、上記実施例では21ビットのROMIIの出
力を3ビット×4ビットの7ビットによりアドレス指定
される128ディジットのRAM13に時分割的に順次
印加し、4ビットで出力されるようにしたことにより、
出力データが圧縮されているにもかかわらず、RAM1
3内でのデータ記憶形態を同一行、列内では同一データ
を含まないようにしたため、ROMI1の出力が複数ビ
ット同時に謀まっていない限り(ROMIIの複数ビッ
トが同時に誤まる確立は極めて低い)正常なチェックを
行うことができる。なお、上記実施例ではチェック時に
はアドレス制御部22からのアドレス指定によってRO
MIIのアドレスを指定するようにしているが、これは
ROMI I自身の次アドレスNAを利用し、若干の分
岐条件処理回路を付加することにより行なうようにして
も良い。When a test signal is applied to the terminal 23, the inverter 27
The output becomes "0" and the gate of the AND circuit 26 is closed. As a result, input of a write command to the RAM 13 is prohibited, and the RAM 13 is maintained in the write mode while the test signal is applied. On the other hand, when the gate group 25 is given a test signal, the AND circuits 32a to 32c
When the gates of the AND circuits 31a and 31b open, the output of the inverter 33 becomes "0" and the gates of the AND circuits 31a and 31b are closed. As a result, the outputs of the AND circuits 31a and 31b become "0", closing the gate of the gate circuit 14, and the AND circuit 3
Timing signals t, . . . , etc. are sequentially outputted from 2a to 32c, and are opened in synchronization with each gate timing signal t, .about.t3 of gate circuits 16, 18, 20. Above gate circuit 1
6, 18, 20 are composed of the first to seventh gate groups G, -G7 as described above, and each gate group ○, -G7 opens its gate in synchronization with the timing signal et al. -t3, and R
The row address, column address, and instruction output from OMI I are sent to the RAM 13 and column address control section 17 as address data of the RAM 13. Therefore, as shown in Figure 4, the output of ROMII is 6 row address output lines and 3 column address output lines.
3 row addresses U,, U2, U4, and the remaining 5 column address output lines and instruction output line 7.
The book becomes the column address L, -, L, L8 of the RAM 13. Therefore, if the ROM II is configured as shown in FIG. 4 and the storage contents of the RAM 13 are set as shown in FIG.
The output of 13 is as shown in FIG. For example, the ROM address section 12 sets the ROMII address line,
is specified, at timing t, the row address "
100" 4, column address "1101" 13 output "0001" of RAM 13 becomes 1, and at these timings, row address "010" 2, column address "1111" 15 RAM
1 3 output n0OU 9, and furthermore, at the timing of t3, the row address "100" 4 and the column address "110"
0"12, and the output of RAM13 becomes "0000"0.
Address lines 1 to ln of the ROM II are sequentially designated according to data input from the address control section 22 to the ROM address section 12 via the address register 21. During this test, input of the next address NA output from the ROM 11 to the address register 21 is prohibited. In this manner, the addresses of the RAM 13 are sequentially specified according to the output contents of the ROMII, and the contents of the RAM 13 are read out. The data read from this RAM 13 is sent to the external tester 28 via the number of normally used output terminals that output data to an external memory, etc., and the external tester 28 checks whether the ROMII is operating normally. is determined. That is, this judgment is made by incorporating data corresponding to the address of RAM 13 expected by the design of ROMII into the external tester 28 in advance, and automatically comparing and collating it with the data actually output from RAM 13 at the time of checking. Determine whether or not it is operating normally. Note that this external tester 28 may be one that does not have an automatic judgment function and only has a printing function.
Of course, the determination may be made based on the printing results. In this way, in the above embodiment, the output of the 21-bit ROMII is sequentially applied in a time-sharing manner to the 128-digit RAM 13 addressed by 7 bits (3 bits x 4 bits), so that it is output in 4 bits. By this,
Even though the output data is compressed, RAM1
Since the data storage format in ROMI 3 does not include the same data in the same row or column, it will be normal unless multiple bits of ROMI1 output are incorrect at the same time (the probability that multiple bits of ROMII will be incorrect at the same time is extremely low). You can perform various checks. Note that in the above embodiment, when checking, the RO is
Although the address of MII is specified, this may be done by using the next address NA of ROMI I itself and adding some branch condition processing circuits.
また、ROMIIの出力によるRAM13のアドレスの
し方か全く任意であり、要はROMIIの出力を適当な
方法でRAM13へのアドレス指定信号とすれば良く、
上記実施例の如くの時分割方式に限られるものではない
。Also, the method of addressing RAM 13 using the output of ROMII is completely arbitrary; the point is that it is sufficient to use the output of ROMII as an addressing signal to RAM 13 using an appropriate method.
The method is not limited to the time division method as in the above embodiment.
更に上記実施例では例えば外部メモリ等を有する場合、
即ち、RAM13に接続された4ビットの出力端子を有
する場合について述べたが、外部メモリ等を有しないも
のに於ては表示セグメント用に変換された出力デー外こ
より比較照合することも可能である。Furthermore, in the above embodiment, for example, when an external memory etc. is included,
That is, although the case has been described with a 4-bit output terminal connected to the RAM 13, in a case without an external memory etc., it is also possible to compare and check from outside the output data converted for the display segment. .
以上述べたように本発明によれば、計算機自身が備えて
いるRAMに所定のデータを記憶させ、このRAMをテ
ストROMの出力データを利用してアドレス指定し、こ
のアドレス指定によりRAMの記憶内容を議出してRO
M設計により予期される設定データと実際の議出しデー
タとを比較してROMの良否を判定するようにしたので
、簡単なチェック用の回路を付加するだけで外部接続用
の端子を付加することなくROMのチェックを確実に行
い得るものである。As described above, according to the present invention, predetermined data is stored in the RAM provided in the computer itself, this RAM is addressed using the output data of the test ROM, and the memory contents of the RAM are determined by this addressing. proposed and RO
Since the setting data expected by the M design and the actual input data are compared to determine the quality of the ROM, external connection terminals can be added by simply adding a simple checking circuit. This allows the ROM to be checked without fail.
図面は本発明の一実施例を示すもので、第1図は全体の
回路構成図、第2図は第1図の主要部の詳細を示す回路
構成図、第3図はRAMに記憶するテスト用データの一
例を示す図、第4図はROMの構成例を示す図、第5図
はテスト時におけるROMの出力データ及びこの出力デ
ータによつてアドレス指定されるRAMの議出しデータ
との対応関係を示す図である。
1 1・・・・・・ROM(リードオンメモリ)、13
..・.・・RAM(ランダムアクセスメモリ)、14
,16,18,20……ゲート回路、28……外部テス
タ、G,〜G7・・・・・・第1〜第7のゲート群。
第1図第2図
第3図
第4図
第5図The drawings show one embodiment of the present invention; FIG. 1 is an overall circuit configuration diagram, FIG. 2 is a circuit diagram showing details of the main parts of FIG. 1, and FIG. 3 is a test diagram stored in RAM. FIG. 4 is a diagram showing an example of a ROM configuration. FIG. 5 is a diagram showing an example of a ROM configuration, and FIG. 5 shows a correspondence between ROM output data during a test and RAM address data addressed by this output data. It is a figure showing a relationship. 1 1...ROM (read-on memory), 13
.. ..・..・RAM (random access memory), 14
, 16, 18, 20...gate circuit, 28...external tester, G, ~G7...first to seventh gate groups. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5
Claims (1)
憶したROMにより制御されて演算制御機能を遂行する
論理回路において、テスト時に上記RAMに所定のデー
タを記憶させておき、テスト信号入力端子に入力される
テスト信号により上記RAMに対する通常のアドレス制
御動作を禁止すると共にテスト用アドレス制御系を動作
させて上記ROMの各出力により上記RAMのアドレス
を順次指定し、このRAMから読出されるデータ内容か
ら上記ROMのチエツクを行うようにしたことを特徴と
するROMチエツク方式。1 In a logic circuit that is controlled by a ROM that stores RAM addresses and various instructions and performs arithmetic control functions, predetermined data is stored in the RAM at the time of testing, and the test signal is input to the test signal input terminal. The signal inhibits the normal address control operation for the RAM, and also operates the test address control system to sequentially designate the address of the RAM using each output of the ROM, and determine the address of the ROM from the data content read from this RAM. A ROM check method characterized by performing a check.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52132220A JPS6012661B2 (en) | 1977-11-04 | 1977-11-04 | ROM check method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52132220A JPS6012661B2 (en) | 1977-11-04 | 1977-11-04 | ROM check method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5465436A JPS5465436A (en) | 1979-05-26 |
| JPS6012661B2 true JPS6012661B2 (en) | 1985-04-02 |
Family
ID=15076188
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP52132220A Expired JPS6012661B2 (en) | 1977-11-04 | 1977-11-04 | ROM check method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6012661B2 (en) |
-
1977
- 1977-11-04 JP JP52132220A patent/JPS6012661B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5465436A (en) | 1979-05-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5175831A (en) | System register initialization technique employing a non-volatile/read only memory | |
| US4322812A (en) | Digital data processor providing for monitoring, changing and loading of RAM instruction data | |
| US4525776A (en) | Arithmetic logic unit arranged for manipulating bits | |
| JPS6012661B2 (en) | ROM check method | |
| JPS6012662B2 (en) | ROM/RAM check method | |
| JPS6019538B2 (en) | Program writing method | |
| JPS6167162A (en) | Memory-checking circuit | |
| JPS5953586B2 (en) | Logout control device | |
| JP2793184B2 (en) | Semiconductor storage device | |
| JPH04298882A (en) | Dual port memory | |
| JPS6049334B2 (en) | control storage | |
| JP2901351B2 (en) | Servo calculation check method | |
| JPS63225839A (en) | Rom with security function | |
| JPH0129639Y2 (en) | ||
| JPS5812605B2 (en) | data processing equipment | |
| JPS6142156Y2 (en) | ||
| JPS6239450B2 (en) | ||
| JPH06332696A (en) | Microcomputer | |
| JPS6117027B2 (en) | ||
| JPS58111171A (en) | Memory accessing method | |
| JPS6217782B2 (en) | ||
| JPS63285642A (en) | Microprocessor control system | |
| JPS6058493B2 (en) | information processing equipment | |
| JPS5922154A (en) | Memory controller of electronic computer | |
| JPH06103162A (en) | RAM address controller |