JPS6122820B2 - - Google Patents

Info

Publication number
JPS6122820B2
JPS6122820B2 JP10728780A JP10728780A JPS6122820B2 JP S6122820 B2 JPS6122820 B2 JP S6122820B2 JP 10728780 A JP10728780 A JP 10728780A JP 10728780 A JP10728780 A JP 10728780A JP S6122820 B2 JPS6122820 B2 JP S6122820B2
Authority
JP
Japan
Prior art keywords
rom
execution unit
decoder
integrated circuit
instruction
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
Application number
JP10728780A
Other languages
Japanese (ja)
Other versions
JPS5734257A (en
Inventor
Tomoji Nukyama
Junichi Iwasaki
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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP10728780A priority Critical patent/JPS5734257A/en
Publication of JPS5734257A publication Critical patent/JPS5734257A/en
Publication of JPS6122820B2 publication Critical patent/JPS6122820B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/226Microinstruction function, e.g. input/output microinstruction; diagnostic microinstruction; microinstruction format

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Semiconductor Memories (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Read Only Memory (AREA)

Description

【発明の詳細な説明】 本発明はデータ処理用の集積回路装置に関し、
特に、同一チツプ上にプログラム格納用読出し専
用メモリ(以後ROMと称す)とこのプログラム
を読み出して処理を実行する実行ユニツトを内蔵
する集積回路装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an integrated circuit device for data processing;
In particular, the present invention relates to an integrated circuit device having a read-only memory (hereinafter referred to as ROM) for storing a program and an execution unit for reading the program and executing processing on the same chip.

内部にプログラム格納用ROMを有する集積回
路装置の動作確認試験(以後テストと云う)は、
ROMのコードチエツクテストと、ROMコードデ
コーダ部及び実行ユニツトの機能テストを分離し
て行なつている。これは、テスト処理の大部分を
占め、かつハードウエア構成において不変的な
ROMコードデコーダ部及び実行ユニツト部と、
ユーザの要求に基いて変動的な命令コードを含む
ROMパターンとを分離してテストすることによ
り多くのROMコード変更品種についてデコーダ
部と実行ユニツト部とは同じテストコードで試験
評価ができ、又ROMコードチエツクにおいては
そのパターンの一部を修正するだけで種々の機能
確認テストを実行できるからである。このためテ
スト処理が簡略化され、かつその速度も向上する
ことができる。尚、同一の集積回路チツプ上にプ
ログラム格納用ROMと実行ユニツト部及びデコ
ーダ部とを搭載することは、集積回路装置の外部
端子数(ピン数)制限を受けることなく一命令コ
ード(インストラクシヨン)当りの語長を大きく
とることができ、複雑な処理を1回の命令読み出
しで実行することができるので処理速度を高速化
することができる利点がある。かゝる集積回路装
置においては、プログラム格納用ROMと分離し
てデコーダ部及び実行ユニツト部をテストする際
は、外部端子を通してテスト用インストラクシヨ
ンコードをインストラクシヨンレジスタ設定し、
これをデコーダで解読して実行ユニツト部に対す
る制御信号(マイクロオーダ)を発生させ、この
制御の下で実行ユニツト部に処理を実行させてそ
の結果を確認していた。更にROMテストに関し
ては、格納されているインストラクシヨンコード
を順次外部に取り出してこれを検査することでコ
ードチエツクを行なう方法がとられていた。しか
しながら、ROM内の命令コードは一般にその語
長が長いため、多数の端子を用いて外部に読み出
さなければならなかつた。そのため、これら多く
の端子に対して命令コード読み出し用の回路や配
線を設けていたので、回路パターンや配線パター
ンが複雑化するという欠点があつた。
The operation confirmation test (hereinafter referred to as "test") of an integrated circuit device that has an internal ROM for storing programs is
ROM code check tests and functional tests of the ROM code decoder section and execution unit are conducted separately. This is a large part of the testing process and is invariant in the hardware configuration.
a ROM code decoder section and an execution unit section;
Contains variable instruction codes based on user requirements
By testing the ROM pattern separately, the decoder section and the execution unit section can be tested and evaluated using the same test code for many ROM code-changed products, and the ROM code check only requires modifying part of the pattern. This is because it allows various functional confirmation tests to be performed. Therefore, the test processing can be simplified and its speed can be improved. Note that mounting the program storage ROM, execution unit section, and decoder section on the same integrated circuit chip means that one instruction code (instruction code) can be processed without being limited by the number of external terminals (pins) of the integrated circuit device. ) can have a large word length, and complex processing can be executed by reading one instruction, which has the advantage of increasing processing speed. In such an integrated circuit device, when testing the decoder section and execution unit section separately from the program storage ROM, the test instruction code is set in the instruction register through an external terminal.
This is decoded by a decoder to generate a control signal (micro-order) for the execution unit, and under this control the execution unit is caused to execute processing and the results are checked. Furthermore, regarding ROM testing, a method has been used in which a code check is performed by sequentially fetching stored instruction codes to the outside and inspecting them. However, since the instruction code in the ROM generally has a long word length, it has been necessary to read it externally using a large number of terminals. Therefore, since circuits and wiring for reading out instruction codes were provided for these many terminals, there was a drawback that the circuit pattern and wiring pattern became complicated.

本発明の目的は簡単な回路及び配線構造で
ROMの命令コードのチエツクが可能な集積回路
装置を提供することにある。更に、他の目的は効
率の良い機能試験を可能とする集積回路装置を提
供するものである。
The purpose of the present invention is to provide a simple circuit and wiring structure.
An object of the present invention is to provide an integrated circuit device capable of checking ROM instruction codes. Another object of the present invention is to provide an integrated circuit device that enables efficient functional testing.

次に図面を参照して本発明の一実施例を説明す
る。
Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は従来例を説明するもので、同一チツプ
上に搭載されたプログラム格納用ROM1と、こ
のROMより出力される命令コードを解読してそ
の結果の制御信号をタイミング制御してマイクロ
オーダ群3を出力する命令デコーダ2と、これら
マイクロオーダ群3に基いて決められた処理を実
行する実行ユニツト部4とROM1のアドレス指
定を行なう順序制御系5更に外部端子7、集積回
路装置のテスト時及び処理動作時に夫々切換が行
なわれ端子7とデコーダ2及び端子とROM1と
の接続を制御するゲート回路6を含んでいる。こ
の集積回路装置は、通常の処理動作においては、
順序制御系5によつて決定されるアドレスの内容
に基いてプログラム格納用ROM1より出力され
る命令コードはデコーダ2によりデコードされ、
マイクロオーダ群3が発生する。これらマイクロ
オーダ群3により実行ユニツト4が制御され、所
定の処理が実行される。これらの一連の動作はア
ドレスを連続的に変化させることで、そのアドレ
スに対応したプログラムに従い連続して実行され
る。次にこの集積回路のテスト時には、プログラ
ム格納用ROM1とデコーダ2はゲート回路6に
より分離され、プログラム格納用ROM1の内容
はその語長分の外部端子群7より並列に読み出さ
れて外部でチエツクされ、同じく外部端子群7か
ら新たに命令コードをデコーダ2に入力して実行
ユニツト4を評価していた。従つて、テスト用と
して用いられる外部端子の数が多くなり、命令コ
ード入出力用の回路や配線が複雑化していた。こ
の点、第2図を参照すると、本発明の一実施例を
示す同図においては、ゲート回路16をプログラ
ム格納ROM部10とデコーダ及びエンコーダ1
2との間に挿入して命令コードではなくそれが解
読され、かつタイミング制御された後のマイクロ
オーダ群3を外部に読み出すようにしている。
Figure 1 explains a conventional example, in which a program storage ROM 1 mounted on the same chip and a micro-order group are created by decoding the instruction code output from this ROM and controlling the timing of the resulting control signal. an instruction decoder 2 that outputs 3, an execution unit section 4 that executes a process determined based on these microorders 3, a sequence control system 5 that specifies addresses of the ROM 1, and an external terminal 7, when testing an integrated circuit device. and a gate circuit 6 which is switched during a processing operation and controls the connection between the terminal 7 and the decoder 2, and between the terminal and the ROM 1. In normal processing operation, this integrated circuit device:
The instruction code output from the program storage ROM 1 based on the content of the address determined by the order control system 5 is decoded by the decoder 2,
Microorder group 3 is generated. The execution unit 4 is controlled by these micro-order groups 3, and predetermined processing is executed. These series of operations are executed continuously according to the program corresponding to the address by continuously changing the address. Next, when testing this integrated circuit, the program storage ROM 1 and the decoder 2 are separated by the gate circuit 6, and the contents of the program storage ROM 1 are read in parallel from the external terminal group 7 for the word length and checked externally. Similarly, a new instruction code is input to the decoder 2 from the external terminal group 7 and the execution unit 4 is evaluated. Therefore, the number of external terminals used for testing has increased, and the circuits and wiring for inputting and outputting instruction codes have become complicated. In this regard, referring to FIG. 2, in the same figure showing one embodiment of the present invention, the gate circuit 16 is connected to the program storage ROM section 10 and the decoder/encoder 1.
2, the micro order group 3 is read out after the instruction code is decoded and the timing is controlled.

この結果、プログラム格納用ROM10の命令
コードのチエツクとデコーダ及びエンコーダ12
の機能チエツクとを同時に効果的にテストするこ
とができる。尚、命令コードは順序制御系15か
らのアドレス指定により遂読み出され、デコーダ
及びエンコーダ12において実行ユニツト14を
制御する制御信号群がつくられ、かつ、これらが
タイミング制御されてマイクロオーダ群13とし
順次出力されるので、このマイクロオーダ群13
を外部に取り出すためには最低1ビツト分の端子
があればタイミング制御され異なつた時間に発生
されるマイクロオーダ群を全て評価することがで
きる。従つて、外部端子17の使用本数が減少さ
れるのでその分の回路及び配線を簡略化すること
ができる。又、ゲート回路16を切り換えてやれ
ば、同じ端子からマイクロオーダ形成の信号を直
列にあるいは少ないビツト数で実行ユニツト14
に供給することができ、機能評価も極めて簡単に
なる。
As a result, the instruction code of the program storage ROM 10 is checked and the decoder and encoder 12
can be effectively tested at the same time as the function check. The instruction code is finally read out by addressing from the order control system 15, and a group of control signals for controlling the execution unit 14 is created in the decoder and encoder 12, and these are controlled in timing to be processed as a micro-order group 13. Since they are output sequentially, this micro order group 13
In order to take out the data to the outside, if there is a terminal for at least one bit, it is possible to control the timing and evaluate all the micro-order groups generated at different times. Therefore, since the number of external terminals 17 used is reduced, the circuit and wiring can be simplified accordingly. Also, by switching the gate circuit 16, the micro-order forming signal can be transmitted from the same terminal to the execution unit 14 in series or with a small number of bits.
This makes functional evaluation extremely easy.

尚、ゲート回路16の切換え制御は外部からの
手動スイツチの切り換えやプログラムによる装置
内部での切り換え処理等、どの様な切り換え手段
を用いてもよい。
Note that any switching means may be used to control the switching of the gate circuit 16, such as switching a manual switch from outside or switching processing inside the device using a program.

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

第1図は従来の集積回路装置のブロツク構成図
で、第2図は本発明の一実施例を示すブロツク構
成図である。 1,11……プログラム格納用ROM、2,1
2……命令デコーダ、3,13……マイクロオー
ダ群、4,14……実行ユニツト、5,15……
ROMの順序制御系、6,16……外部端子、
7,17……ゲート回路。
FIG. 1 is a block diagram of a conventional integrated circuit device, and FIG. 2 is a block diagram showing an embodiment of the present invention. 1, 11...ROM for program storage, 2, 1
2... Instruction decoder, 3, 13... Micro order group, 4, 14... Execution unit, 5, 15...
ROM sequence control system, 6, 16...external terminal,
7,17...gate circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 プログラム格納用メモリに格納された命令コ
ードを解読してその命令コードに基づく処理を実
行する実行部に対する制御信号を外部端子に読み
出す手段と、前記制御信号を前記外部端子ら入力
して前記実行部に供給する手段とを同一チツプ上
に有することを特徴とする集積回路装置。
1 means for reading out a control signal to an external terminal for an execution unit that decodes an instruction code stored in a program storage memory and executes a process based on the instruction code; and a means for inputting the control signal from the external terminal to execute the execution. 1. An integrated circuit device comprising: a means for supplying a chip to a chip on the same chip.
JP10728780A 1980-08-05 1980-08-05 Integrated circuit device Granted JPS5734257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10728780A JPS5734257A (en) 1980-08-05 1980-08-05 Integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10728780A JPS5734257A (en) 1980-08-05 1980-08-05 Integrated circuit device

Publications (2)

Publication Number Publication Date
JPS5734257A JPS5734257A (en) 1982-02-24
JPS6122820B2 true JPS6122820B2 (en) 1986-06-03

Family

ID=14455259

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10728780A Granted JPS5734257A (en) 1980-08-05 1980-08-05 Integrated circuit device

Country Status (1)

Country Link
JP (1) JPS5734257A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58219829A (en) * 1982-06-15 1983-12-21 Nec Corp Testing method of logical array

Also Published As

Publication number Publication date
JPS5734257A (en) 1982-02-24

Similar Documents

Publication Publication Date Title
US4672534A (en) Integrated circuit device incorporating a data processing unit and a ROM storing applications program therein
US5557558A (en) Microprocessor with self-diagnostic test function
CA1251282A (en) Hierarchical test system architecture
US6611909B1 (en) Method and apparatus for dynamically translating program instructions to microcode instructions
EP0358773B1 (en) Microcomputer
US4101967A (en) Single bit logic microprocessor
JPS6122820B2 (en)
KR100289831B1 (en) Rom data verification circuit
JP2525492B2 (en) Programmable controller
JPS6161425B2 (en)
JP3190945B2 (en) Micro program control circuit
JP2581214B2 (en) Logic simulator
JP2604203B2 (en) Debug device for one-chip digital signal processor
JPS6230453B2 (en)
KR100287891B1 (en) Test Subroutine Processing Equipment and Processing Method
JPS6015969B2 (en) Microinstruction address generation method
JPH0792768B2 (en) Microcomputer
JPH0226252B2 (en)
KR20000027054A (en) Microcontroller and method of diagnostic test
JPH0128965B2 (en)
JPS6144346B2 (en)
JPH0620069A (en) Microcomputer
JPS60237536A (en) Microprogram control data processor
JPS5943444A (en) Method and device for microprogram control
JPS63244104A (en) Arithmetic unit for programmable controller