JPS6161425B2 - - Google Patents

Info

Publication number
JPS6161425B2
JPS6161425B2 JP55108658A JP10865880A JPS6161425B2 JP S6161425 B2 JPS6161425 B2 JP S6161425B2 JP 55108658 A JP55108658 A JP 55108658A JP 10865880 A JP10865880 A JP 10865880A JP S6161425 B2 JPS6161425 B2 JP S6161425B2
Authority
JP
Japan
Prior art keywords
information
input
instruction code
bus
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
JP55108658A
Other languages
Japanese (ja)
Other versions
JPS5734258A (en
Inventor
Tomoji Nukyama
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 JP10865880A priority Critical patent/JPS5734258A/en
Publication of JPS5734258A publication Critical patent/JPS5734258A/en
Publication of JPS6161425B2 publication Critical patent/JPS6161425B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3818Decoding for concurrent execution
    • G06F9/3822Parallel decoding, e.g. parallel decode units
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3885Concurrent instruction execution, e.g. pipeline or look ahead using a plurality of independent parallel functional units

Landscapes

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

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明はデータ処理集積回路装置に関し、特に
同一テツプ上にプログラム格納用読出し専用メモ
リ(以下、ROMと称す)を内蔵する集積回路装
置の構成に関する。 内部にプログラム格納用ROMを有する集積回
路装置は一命令当りの語長の長さに制約を受けな
いので、外部とのデータ転送語長よりも長いビツ
ト数で命令コードを設定できる。このため高度な
命令を1命令コードに設定することが可能とな
り、処理の高度化、高速化を計ることができる利
点がある。一方動作確認試験(以下テストと言
う)では、チツプ内のROM部のコードチエツク
テストとその他の実行ユニツト部の機能テストと
を分離して行なう方がこの種の装置に対しては有
利である。何故ならば機能テストを行なう実行ユ
ニツト(ALUを初めその他の処理に用いられる
論理ゲート等)は汎用性を貴重とするために各装
置では大略同一の回路設計がなされているため、
テストパターンは最低1種類でよいが、ROM部
はユーザのプログラムにより内容が夫々異なつて
いる。従つて、ROM部と実行ユニツト部とを
ROMの命令コードを用いてテストしようとすれ
ば、ROM内容の異なる品種の全てに対して夫々
違つたテストコードを用意しなければならない。
この点、ROM部と実行ユニツト部とを分離して
テストを行なうようにすれば、実行ユニツト部の
テストパターンは各品種に共通のものでよく、か
つ又ROM部に対してはその命令コードを外部に
読み出して、テストするだけでよいので、テスト
時間やその費用を大幅に低減することができる効
果がある。従つて、前記の集積回路装置に対して
は、先に述べたテスト方法を採用することが望ま
しい。しかしながら、このテスト方法を採用する
上において以下に述べる欠点がある。 即ち、ROM内蔵のデータ処理集積回路装置
(以下、1チツプマイクロコンピユータという)
には外部から命令コードを設定する手段がないた
め、実行ユニツトへのテストパターンの入力はデ
ータの入出力端子を用いて行なつていた。一方、
ROM内蔵の1チツプマイクロコンピユータは1
命令当りのビツト数を多くとることができるの
で、1命令を複数のブロツクにわけて、各ブロツ
クに対応するデコーダを設定し、そのデコーダ出
力(制御信号)でブロツク化された実行ユニツト
を独立に制御する、所謂マイクロインストラクシ
ヨン水平型として使用できる。しかしながら、各
デコーダには同時に外部からテストパターンを入
力することができないので、実行ユニツト部の全
体を1回のテストパターン入力で検査することが
できず、テスト処理時間として非常に長時間を要
するという欠点があつた。 この発明の目的は、新規なデータ入力手段を付
加することにより、データの設定時間とテスト処
理時間を短縮したデータ処理用の集積回路装置を
提供することにある。 本発明によれば、制御信号が印加されることに
より、外部から入力されるデータを格納できる複
数個のレジスタと、これら複数個のレジスタに同
一のタイミングで前記制御信号を印加する制御部
とを含むデータ処理用の集積回路装置が得られ
る。 以下、図面を参照して本発明の一実施例を説明
する。 第1図は本実施例のブロツク図で、マイクロ命
令を格納するROM1を有し、このROM1から読
み出される1命令コードが例えば3個のブロツク
に分割されて対応する信号線21〜23を介して
読み出され、各専用の命令解続器(デコーダ)
2,3,4に入力される。このデコーダ出力が制
御信号として供給される実行ユニツト部18は、
各デコーダ2,3,4が夫々独立に制御するブロ
ツクに分割されており、各々は制御信号で指定さ
れたプログラム処理を実行する。更に、処理結果
や処理に必要なデータは内部バス5を介して、外
部のデータ入出力端子6に導出あるいは導入され
る。一方、この内部バス5には共通に3個のレジ
スタ7,8,9が夫々接続されており、これらの
出力は切換回路10,11,12を介して対立す
るデコーダ2,3,4に入力なれるようにもなつ
ている。レジスタ7〜9へのデータ入力制御は、
制御部13からの入力制御信号15〜17によつ
て行なわれ、切換回路10〜12の切換え制御も
同じく制御部13からの切換信号14によつて行
なわれる。ここで、制御部13はレジスタ7〜9
への入力制御信号15〜17を夫々独立して発生
する機能と、同時に発生する機能とを備えている
ことが望ましい。これは例えば第2図に示すよう
な回路機能をもつて構成すれば実現できる。第2
図を参照すると信号19,20及び14を入力信
号とし、信号15〜17(第1図の入力制御信号
に対応する)を出力信号とするもので、入力信号
19はANDゲート24、NORゲート27、及び
ANDゲート25に入力され、入力信号20は
ANDゲート24、NORゲート27、ANDゲート
26に入力される。更にANDゲート24とNOR
ゲート27との出力はROゲート28を介して
ANDゲート29に入力される。ANDゲート2
9,25,26の各他の入力端子には制御信号1
4が入力され、それらの各出力が入力制御信号1
5〜17としてレジスタ7〜9に夫々供給され
る。 今、第2図に示す制御部13の入出力の真値表
を表1に示す。
The present invention relates to a data processing integrated circuit device, and more particularly to the structure of an integrated circuit device that includes a read-only memory (hereinafter referred to as ROM) for storing programs on the same chip. Since an integrated circuit device having an internal program storage ROM is not limited by the word length per instruction, the instruction code can be set with a longer number of bits than the word length for data transfer with the outside. Therefore, it is possible to set advanced instructions in one instruction code, which has the advantage of increasing the sophistication and speed of processing. On the other hand, in an operation confirmation test (hereinafter referred to as a test), it is advantageous for this type of device to conduct a code check test of the ROM part in the chip and a function test of other execution unit parts separately. This is because the execution units that perform functional tests (logic gates used for ALU and other processing) have roughly the same circuit design in each device to ensure versatility.
At least one type of test pattern is sufficient, but the contents of the ROM section vary depending on the user's program. Therefore, the ROM section and execution unit section are
If you want to test using ROM instruction codes, you will have to prepare different test codes for all types of products with different ROM contents.
In this regard, if the ROM part and the execution unit part are tested separately, the test pattern for the execution unit part can be common to each product, and the instruction code for the ROM part can be used as well. Since it is only necessary to read out the data externally and test it, it has the effect of significantly reducing test time and costs. Therefore, it is desirable to adopt the above-mentioned test method for the above-mentioned integrated circuit device. However, there are drawbacks to adopting this test method as described below. In other words, a data processing integrated circuit device with a built-in ROM (hereinafter referred to as a 1-chip microcomputer)
Since there is no means for setting instruction codes from the outside, test patterns are input to the execution unit using data input/output terminals. on the other hand,
A 1-chip microcomputer with built-in ROM is 1
Since it is possible to take a large number of bits per instruction, one instruction is divided into multiple blocks, a decoder is set up for each block, and the decoder output (control signal) is used to independently control the block execution units. It can be used as a so-called horizontal micro-instruction type. However, since test patterns cannot be input to each decoder from the outside at the same time, the entire execution unit section cannot be inspected with one test pattern input, and the test processing time is extremely long. There were flaws. An object of the present invention is to provide an integrated circuit device for data processing in which data setting time and test processing time are shortened by adding a new data input means. According to the present invention, a plurality of registers can store data input from the outside by applying a control signal, and a control section that applies the control signal to the plurality of registers at the same timing. An integrated circuit device for data processing is obtained. Hereinafter, one embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of this embodiment, which has a ROM1 for storing microinstructions, and one instruction code read from this ROM1 is divided into, for example, three blocks and transmitted via corresponding signal lines 21 to 23. Dedicated instruction disassociator (decoder) for each readout
2, 3, and 4 are input. The execution unit section 18 to which this decoder output is supplied as a control signal,
Each of the decoders 2, 3, and 4 is divided into independently controlled blocks, each of which executes a program process specified by a control signal. Further, processing results and data necessary for processing are led out or introduced to an external data input/output terminal 6 via an internal bus 5. On the other hand, three registers 7, 8, and 9 are commonly connected to this internal bus 5, and their outputs are input to opposing decoders 2, 3, and 4 via switching circuits 10, 11, and 12. I'm also getting used to it. Data input control to registers 7 to 9 is as follows:
This is performed by input control signals 15 to 17 from the control section 13, and the switching control of the switching circuits 10 to 12 is also performed by the switching signal 14 from the control section 13. Here, the control unit 13 registers 7 to 9.
It is desirable to have a function of independently generating the input control signals 15 to 17, and a function of generating them simultaneously. This can be realized, for example, by configuring the circuit with a circuit function as shown in FIG. Second
Referring to the figure, signals 19, 20, and 14 are input signals, and signals 15 to 17 (corresponding to the input control signals in FIG. 1) are output signals. ,as well as
The input signal 20 is input to the AND gate 25.
It is input to AND gate 24, NOR gate 27, and AND gate 26. Furthermore, AND gate 24 and NOR
Output with gate 27 is via RO gate 28
It is input to AND gate 29. AND gate 2
Each of the other input terminals 9, 25, and 26 receives the control signal 1.
4 are input, and each of their outputs is an input control signal 1
5 to 17 are supplied to registers 7 to 9, respectively. Now, Table 1 shows the true value table of the input and output of the control section 13 shown in FIG.

【表】 上記表1から明らかなように、例えば実行ユニ
ツト部のテスト時には信号14を“1”レベルに
すれば、入力信号19,20を適当に選んでやる
ことによつてレジスタ7〜9に対して、夫々独立
に端子6から入力されるテストパターンを設定す
ることも、又各レジスタ共通に同時にテストパタ
ーンを設定することもできる。より詳細には、例
えば通常のプログラム処理過程では切換回路10
〜12を信号線21〜23とデコーダ2〜4とが
接続されるように制御しておけば、ROM1から
読み出された、例えば24ビツトを1バイトとする
命令コードは8ビツトづつデコーダに入力され、
デコードされて実行ユニツト部18への制御信号
となる。一方、テスト時にはROM1と内部バス
とを接続して8ビツトづつ3回にわけて外部に命
令コードを読み出すことにより、コードチエツク
ができる。又、実行ユニツト部18をチエツクす
る時には、端子6から8ビツトのテストパターン
を入力してレジスタ7〜9にこれを同時に入力す
ることにより実行ユニツト部18を同時にテスト
することができる。尚、テストに際しては各レジ
スタ7〜9に同じテストパターンを設定しても実
行ユニツト部のテストは可能である。仮に、異な
るテストパターンで各実行ユニツトブロツクをテ
ストしたい時には、入力制御信号15〜17を独
立して発生するように制御部13への入力信号を
指定してやればよい。 この結果、従来複数のレジスタに同時に入力デ
ータを設定することが不可能であつたのに対し
て、本実施例では同時に複数のレジスタに外部か
らの入力データの設定が可能となつたため、デー
タ設定時間及びテスト処理時間を大幅に短縮する
ことができた。 尚、レジスタ7〜9の制御はテスト時のみなら
ず、通常のプログラム処理時に、例えば外部から
命令コードを入力する時等にも十分適用すること
ができ、プログラム処理効率を高めることもでき
る。
[Table] As is clear from Table 1 above, when testing the execution unit section, for example, if the signal 14 is set to the "1" level, registers 7 to 9 can be set by appropriately selecting input signals 19 and 20. On the other hand, test patterns input from the terminals 6 can be set independently, or test patterns can be set simultaneously in common to each register. More specifically, for example, in a normal program processing process, the switching circuit 10
-12 are controlled so that the signal lines 21-23 and decoders 2-4 are connected, then the instruction code read from ROM1, for example 24 bits as one byte, is input to the decoder 8 bits at a time. is,
It is decoded and becomes a control signal to the execution unit section 18. On the other hand, during testing, a code check can be performed by connecting the ROM 1 to the internal bus and reading the instruction code to the outside in three 8-bit blocks. Further, when checking the execution unit section 18, the execution unit section 18 can be tested at the same time by inputting an 8-bit test pattern from the terminal 6 and inputting it to the registers 7-9 at the same time. Incidentally, during testing, even if the same test pattern is set in each register 7-9, the execution unit section can be tested. If it is desired to test each execution unit block with different test patterns, the input signals to the control section 13 may be specified so that the input control signals 15 to 17 are generated independently. As a result, whereas conventionally it was impossible to set input data to multiple registers at the same time, in this embodiment it is possible to set external input data to multiple registers at the same time. It was possible to significantly reduce the time and test processing time. Note that the control of the registers 7 to 9 can be sufficiently applied not only during testing but also during normal program processing, such as when inputting an instruction code from the outside, and can improve program processing efficiency.

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

第1図は本発明の一実施例を示すデータ処理用
集積回路装置のブロツク図、第2図はその制御部
の一実施例を示す論理回路図である。 1……ROM、2〜4……デコーダ、5……内
部バス、6……データ入出力端子、7〜9……レ
ジスタ、10〜12……切換回路、13……制御
部、14……切換信号、15〜17……入力制御
信号、18……実行ユニツト部、19,20……
入力信号、21〜23……命令コード用信号線、
24〜26,29……ANDゲート、27……
NORゲート、28……ORゲート。
FIG. 1 is a block diagram of a data processing integrated circuit device showing one embodiment of the present invention, and FIG. 2 is a logic circuit diagram showing one embodiment of the control section thereof. 1...ROM, 2-4...decoder, 5...internal bus, 6...data input/output terminal, 7-9...register, 10-12...switching circuit, 13...control unit, 14... Switching signal, 15-17... Input control signal, 18... Execution unit section, 19, 20...
Input signal, 21-23...signal line for instruction code,
24-26, 29...AND gate, 27...
NOR gate, 28...OR gate.

Claims (1)

【特許請求の範囲】 1 命令コードが格納された記憶部と、前記命令
コードよりも短いビツト長の情報を外部から入力
する入力部と、該入力部に接続されたバスと、該
バスに共通に接続され、夫々が前記情報を一時記
憶できる容量を有する複数の記憶ブロツクと、こ
れら複数の記憶ブロツクに前記バスを通して転送
される前記外部からの情報を格納する制御手段
と、複数ブロツクからなる命令デコーダと、該命
令デコーダの各ブロツクに対して、前記記憶部の
命令コードを入力するか、前記各記憶ブロツクの
情報を入力するかを選択する手段と、該選択手段
を介して前記命令デコーダに前記命令コードもし
くは前記情報を供給する手段と、前記命令コード
が選択された時にはこの命令コードに基づく処理
を実行し、前記情報が選択された時はこの情報に
基づく処理を実行する実行部とを具備することを
特徴とする集積回路装置。 2 前記制御手段は前記外部から入力された情報
を別々に前記各記憶ブロツクに入力するためのタ
イミング信号と、同時に各記憶ブロツクに入力す
るためのタイミング信号と選択的に発生する回路
を有していることを特徴とする特許請求の範囲第
1項記載の集積回路装置。
[Scope of Claims] 1. A storage unit storing an instruction code, an input unit for externally inputting information with a bit length shorter than the instruction code, a bus connected to the input unit, and a bus common to the bus. a plurality of storage blocks connected to the bus, each having a capacity to temporarily store the information; a control means for storing information from the outside transferred to the plurality of storage blocks through the bus; and an instruction comprising a plurality of blocks. a decoder; means for selecting whether to input an instruction code in the storage unit or information in each storage block to each block of the instruction decoder; means for supplying the instruction code or the information; and an execution unit that executes processing based on the instruction code when the instruction code is selected, and executes processing based on the information when the information is selected. An integrated circuit device comprising: 2. The control means has a circuit that selectively generates a timing signal for inputting the externally input information into each of the storage blocks separately and a timing signal for simultaneously inputting the information to each of the storage blocks. An integrated circuit device according to claim 1, characterized in that:
JP10865880A 1980-08-07 1980-08-07 Integrated circuit device Granted JPS5734258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10865880A JPS5734258A (en) 1980-08-07 1980-08-07 Integrated circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10865880A JPS5734258A (en) 1980-08-07 1980-08-07 Integrated circuit device

Publications (2)

Publication Number Publication Date
JPS5734258A JPS5734258A (en) 1982-02-24
JPS6161425B2 true JPS6161425B2 (en) 1986-12-25

Family

ID=14490383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10865880A Granted JPS5734258A (en) 1980-08-07 1980-08-07 Integrated circuit device

Country Status (1)

Country Link
JP (1) JPS5734258A (en)

Also Published As

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

Similar Documents

Publication Publication Date Title
US5355369A (en) High-speed integrated circuit testing with JTAG
HK1008154B (en) High-speed integrated circuit testing with jtag
US4315321A (en) Method and apparatus for enhancing the capabilities of a computing system
JPS6231439B2 (en)
US4296467A (en) Rotating chip selection technique and apparatus
JPH0374796B2 (en)
US4433412A (en) Method and apparatus for testing and verifying the operability of register based state machine apparatus
EP0358773B1 (en) Microcomputer
US4636945A (en) Microprocessor
US4524417A (en) Timing signal controlled information processing system
JPS6161425B2 (en)
US5210758A (en) Means and method for detecting and correcting microinstruction errors
JP2583055B2 (en) IC test system
US3247490A (en) Computer memory system
JPS6230453B2 (en)
JPS6122820B2 (en)
EP0232797A2 (en) Pseudo-microprogramming in microprocessor with compressed control ROM and with strip layout of busses, alu and registers
JP2554378B2 (en) Microcomputer and test method thereof
JPS6167162A (en) Memory-checking circuit
JPS5939777B2 (en) control storage
JP2616714B2 (en) Semiconductor storage device
JPS63307543A (en) Debug device
JPH0792768B2 (en) Microcomputer
JPS63172349A (en) MOS large scale integrated circuit
JPH024014B2 (en)