JPS60189047A - Data processing device - Google Patents

Data processing device

Info

Publication number
JPS60189047A
JPS60189047A JP59042024A JP4202484A JPS60189047A JP S60189047 A JPS60189047 A JP S60189047A JP 59042024 A JP59042024 A JP 59042024A JP 4202484 A JP4202484 A JP 4202484A JP S60189047 A JPS60189047 A JP S60189047A
Authority
JP
Japan
Prior art keywords
data
ram
input
memory
bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP59042024A
Other languages
Japanese (ja)
Inventor
Keiichi Kurakazu
倉員 桂一
Haruo Keida
慶田 治夫
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59042024A priority Critical patent/JPS60189047A/en
Publication of JPS60189047A publication Critical patent/JPS60189047A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C2029/0401Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals in embedded memories

Abstract

PURPOSE:To shorten the testing time of an incorporated RAM by providing a switching circuit through which data can be transferred directly from an input/output port to the RAM or from the RAM to the input/output port. CONSTITUTION:In case of testing of a RAM3, a micro instruction to write data on an internal bus 8 onto an address position indicated by a program counter 4 is sent to a CPU1 from an external test device 10 through an input/output port 6. Then, the micro instruction is read out, and the start address of the RAM3 is set to the counter 4 by a control signal outputted from the CPU1. Simultaneously, a switching circuit 11 is switched to make it possible that data is transferred directly from the input/outut port 6 to the RAM3 through the bus 8, and the RAM3 is set to the write state by a write signal from the CPU1. Thereafter, contents of the counter 4 are counted up or down for every one cycle by the signal from the CPU1, and contents of the RAM3 are outputted to the bus 8 successively.

Description

【発明の詳細な説明】 [技術分野] この発明は、データ処理技術さらには記憶装置を内蔵し
たデータ処理用集積回路に適用して特に有効な技術に関
するもので、例えば随時書込み読出し可能なメモリを内
蔵したシングルチップ・マイクロ・コンピュータ(以下
シングルチップ・マイコンと称する)のようなデータ処
理装置に利用して有効な技術に関する。
[Detailed Description of the Invention] [Technical Field] The present invention relates to a data processing technology and a technology that is particularly effective when applied to a data processing integrated circuit having a built-in storage device. The present invention relates to technology that is effective for use in data processing devices such as built-in single-chip microcomputers (hereinafter referred to as single-chip microcomputers).

[背景技術] シングルチップ・マイコンのように随時書込み読出し可
能なRAM (ランダム・アクセス・メモリ)を内蔵し
たデータ処理用集積回路においては、RAM内にピッ1
〜不良やワード線不良等があるか否かを検出するために
、外部より適当なテスhパターンをCPU (マイクロ
・プロセッサ)に入れてやり、内部のCPUによってロ
ー1く命令とストア命令を繰り返えしてデストパターン
をRAMに書き込み、かつそれを読み出す作業を繰り返
えし行なうことにより内蔵R,A Mの検査(テスティ
ング)を行なっている。
[Background Art] In data processing integrated circuits such as single-chip microcomputers that have a built-in RAM (random access memory) that can be written to and read out at any time, there is a single pin in the RAM.
~In order to detect whether there is a defect or word line defect, an appropriate test pattern is input into the CPU (microprocessor) from the outside, and the internal CPU repeats the row 1 instruction and store instruction. In return, the built-in R and AM are tested by repeatedly writing the dead pattern into the RAM and reading it out.

ところが、CPUによるローI・命令とストア命令は、
それぞれ3〜4サイクルかかるため、1バイ1−のテス
トパターンをRA Mに書き込む、読み出すには全体で
7〜8サイクル必要としていた。
However, the row I instruction and store instruction by the CPU are
Since each test pattern takes 3 to 4 cycles, it takes a total of 7 to 8 cycles to write and read a 1-by-1 test pattern to and from the RAM.

ところで、従来の例えば1コ立製作所製1−I D 6
801のようなシングルチップ・マイコンでは、128
バイ1〜のような小さなRA Mが内蔵されているにす
ぎなかった。そのため、」二3己のとと< CI)Uに
よってロード、ストア命令を繰り返えすようなナス1一
方法であっても、1〈ΔMの容量が小さいことからそれ
ほどテスティング時間が長くなるおそれはなかった。
By the way, for example, the conventional 1-I D 6 manufactured by Ikkotachi Manufacturing Co., Ltd.
In a single-chip microcontroller like 801, 128
It just had a small built-in RAM like the one in the Buy 1~. Therefore, even if there is an eggplant method in which load and store instructions can be repeated using CI)U, the testing time may not be that long due to the small capacity of 1〈ΔM. That wasn't it.

しかしながら、今後シングルチップ・マイコンに内蔵さ
れるRAMの容量はしだいに増大されて行くものと予想
される。そのため、従来のようにCPUを使って1バイ
1〜当たり6〜7サイタルかけてRAM内へのテストパ
ターンの書き込み、読み出しを行なっていたのでは、R
,A Mの人容量化が進むに従ってテスティング時間が
大幅に増加するおそれがある。
However, it is expected that the capacity of RAM built into single-chip microcomputers will gradually increase in the future. Therefore, if the CPU was used in the past to write and read the test pattern in the RAM, which took 6 to 7 cycles per byte, the R
, There is a risk that testing time will increase significantly as the capacity of AM increases.

特に、RA Mのテスティング方θ;の中には、RAM
のパイ1−数の2乗に比例したテスティングIL’7間
を必要とするようなものがある。そのようなテスティン
グ方法を採用した」ん合には、RA !vlの容量が2
倍になわばナスティン911.1フ間は4倍に、またR
AMの容置が4倍になればテスティング時間は+ 6イ
7sに、゛という、ように1(ΔMの容量増加の’+’
f’J合の2乗に比例してテスティング時間が増大して
行ってしまう。また、1ハイ1へ当たりのサイクル数か
多いほど必要なデストパターンの11にも多くなるとい
う不都合かある。
In particular, in the RAM testing method θ;
There are some cases that require a test IL'7 proportional to the square of the number Pi1-2. If such a testing method is adopted, RA! vl capacity is 2
If it doubles, the Nastin 911.1 period will quadruple, and R
If the capacity of AM increases by 4 times, the testing time will increase to +6-7s, ゛, and so on.
The testing time increases in proportion to the square of the sum of f'J. Furthermore, there is a disadvantage that the greater the number of cycles per high to 1, the more 11 of the necessary dead pattern will be required.

[発明の目的コ この発明の「1的は、シングルチップ・マイコンの、よ
うな■くΔMを内蔵したデータ処」)11装置1.こお
ける内蔵IくΔMのテスティングIt;’i’間を短ス
(11できるようにすることにある。。
[Purpose of the Invention: ``One object of this invention is a data processor with a built-in ΔM like a single-chip microcomputer.'' 11 Device 1. The purpose of this test is to shorten the interval between 'i' and 'i'.

この発明の他の目的は、)史Δivlを内蔵したデータ
処理装置において、新しいデータ処理機能をも付加で1
′!るようにすることにある。
Another object of the present invention is to add a new data processing function to a data processing device with a built-in history Δivl.
′! The purpose is to make sure that

この発明の1前記ならびにそのほかの目的と新規な特徴
しこついては、本明細:k・の記述、l:;よび添附図
面から明かになるであろう。
The above-mentioned and other objects and novel features of the present invention will become clear from the description of this specification, parts 1 and 1, and the accompanying drawings.

[発明の概要] 本願に、ぢいて開示さ」しる発明のうち代表的なものの
(既要を説明すれば、下記のと、1りである。
[Summary of the Invention] Among the inventions finally disclosed in the present application, representative inventions (to give a brief description of the invention, the following are one).

すなわち、例えばRA:’Vlを内蔵したデータ処理装
置1イ内のデータバスの途中に、人出カポ−I−かJ)
のデータを直j妾jく△1\11こ・11云送し、iろ
ろい(まRAん1から直1妾人出カポ−1〜(;データ
を転送できるように士ろための切4’jj4回路を1(
ψは、(’; :)L)によって内部のレジスタにデー
タを一旦移し九〜からI(ΔMあるいは人出カポ−1〜
に・iシ旨スさぜるようなP順を踏;]ン、I゛、(j
J換回路を切り喚えておく 7.’Eけで、直接1(ハ
Mから人出カポ−1−あるいは逆に人出カポ−)−から
1(ΔMj−データを転送でさるようにすることによっ
て、各々1サイクルで1パイ1〜のテス1へパターンを
RA Mに書き込み、読み出すことができるようにして
、テスティング時間を大幅に短縮させるとともに、Cl
) Uを介さずにメモリからデータを読み出すバースト
命令、アドレスレジスタ等と組み合わせることにより、
簡単にl) M A転送などのデータ処理を実行できる
ような新たな機能を付加できるようにするという−に記
目的を達成するものである。
That is, for example, in the middle of the data bus in the data processing device 1 with built-in RA:'Vl, there is a
Send the data directly to the concubine, and send it to the concubine from RA1 to the concubine 1~(; Cut 4'jj 4 circuits into 1 (
For ψ, data is once transferred to the internal register by ('; :)L), and from 9 to I(ΔM or crowd capo-1 to
Follow the order of P that sounds like ni・i
Turn on the J switching circuit 7. 'E, by directly transferring 1 (from HA M to KAPO-1- or conversely from KAPO-) to 1 (ΔMj- data, 1 pie 1~1~ in 1 cycle, respectively) The pattern can be written to and read from RAM for test 1 of the test, greatly shortening the testing time and reducing the Cl
) By combining with burst instructions, address registers, etc. that read data from memory without going through U,
1) It is possible to easily add new functions such as data processing such as MA transfer.

以下この発明を実施例とと:l、に詳靴に説明する。The present invention will be explained in detail in the following examples and examples.

[実施例1] 第11ン1は、本発明をジンクルチップ・マイコンに適
用した場合の一実施例を示すもので、図中鎖線へで囲ま
れた部分は、シリコンのような一個の半導体基板」ニジ
こ形成される。
[Example 1] No. 11-1 shows an example in which the present invention is applied to a zincle chip microcomputer, and the part surrounded by the chain line in the figure is a single semiconductor substrate such as silicon. A rainbow is formed.

この実施例のシングルチップ・マイコンM I) t、
Jは、特に制限されないが、ブロタラムに従−)て内部
の実行ユニノ1〜等を制御するC P U ]と、この
CPU1の動作プロゲラ13等が格納さコした]2.0
 M(リード・オンリ・メモリ)2、主にCP ’U 
]の作業領域を提供する】史ΔM3、次に読出す命令や
データのアドレスを保持するプログラムカウンタ4、タ
イマ5、入出カポ−1−〇、シリアルl107等から構
成され、これらは内部バス8を介して互いに接続されて
いる。
The single-chip microcomputer MI) of this embodiment,
Although not particularly limited, J is a CPU which controls the internal execution units 1 to 1, etc. in accordance with Brothalum, and the operating programmer 13, etc. of this CPU 1 are stored] 2.0
M (read only memory) 2, mainly CP'U
]Provides a work area for the history ΔM3, a program counter 4 that holds the address of the next command or data to be read, a timer 5, an input/output capo 1-0, a serial number 107, etc., which connect the internal bus 8. are connected to each other through.

また、シングルチップ・マイコンM P Uには、入出
カポ−トロに接続された外部バス9を介してデスト装置
10が接続されている。
Further, a dest device 10 is connected to the single-chip microcomputer MPU via an external bus 9 connected to an input/output port.

」上記CP U 1は、特に制限されないが、プログラ
ムの命令が順番にフェッチさAしる命令レジスタと、マ
イクロプロゲラt1が格納さAしたマイクロ丁(OM、
このマイクロROMから読み出さ九たマイクロ命令をデ
コードして制御信号を形成する制御用デコーダ、アキュ
ーlル−タ等の各種レジスタやAL、U(演算論理ユニ
ット)等からなる実行ユニッ1−によって構成されてい
る。
The CPU 1 has an instruction register in which program instructions are sequentially fetched, and a micro register (OM,
It is composed of a control decoder that decodes the nine microinstructions read from the micro ROM and forms control signals, an execution unit 1 consisting of various registers such as an accelerator, AL, U (arithmetic logic unit), etc. ing.

そして、この実施例では、人出カポ−1−6とCI)U
lやRAM3等を結ぶ内部バス8の途中に切換回路11
が設けられている。この切換回路11は、CP tJ 
1から出力される制御信号によ一〕て制御され、入出カ
ポ−トロ側からのデータをCPtJlに転送するルート
と、ROM 2やRAM3の側からのデータをCPUI
に転送するルー1−と、入出カポ−トロからRAM3へ
直接データを転送するルートの3つのルー1〜をそれぞ
れ可能にする状態に切り換わることができるように構成
されている。
In this example, the crowd capo-1-6 and CI) U
A switching circuit 11 is installed in the middle of the internal bus 8 that connects the RAM 3, RAM 3, etc.
is provided. This switching circuit 11 is CP tJ
It is controlled by the control signal output from 1), and there is a route for transferring data from the input/output side to CPtJl, and a route for transferring data from ROM 2 and RAM 3 side to CPUI.
The configuration is such that the state can be switched to enable each of the three routes 1--, which is route 1- for transferring data to RAM 3, and route 1- for directly transferring data from input/output capotro to RAM 3.

また、この実施例では、CI) tJ l内の」;記マ
イクロROM内に、プログラムカウンタ4をインクリメ
ン1〜もしくはデクリメン1〜させるとともに、ROM
]またはRAM3をリード状態にして、そのときプログ
ラムカウンタ4の示すアドレス位置のデータを内部バス
8に出力させ、かつこの内部バス8上のデータを入出カ
ポ−トロを介して外部バス9に出力可能にさせるマクロ
命令(バースト命令)と、これと逆に、プログラムカウ
ンタ4をインクリメン1−もしくはデクリメントさせる
とともに、入出カポ−1−6を介して外部バス9上のデ
ータを内部バス8上にのせてやり、かつRAM 3をラ
イト状態にして、そのときプログラムカウンタ4の示す
アドレス位置に上記内部バス8上のデータを店き込んで
やるマクロ命令(逆バースト命令)とが格納され、かつ
そのように制御系が構成されている。
In addition, in this embodiment, the program counter 4 is incremented from 1 to 1 or decremented from 1 to 1 in the micro ROM in CI) tJl, and the ROM
] Or, it is possible to put the RAM 3 in a read state, output the data at the address position indicated by the program counter 4 to the internal bus 8, and output the data on this internal bus 8 to the external bus 9 via the input/output capotro. A macro instruction (burst instruction) to increment or decrement the program counter 4 and transfer the data on the external bus 9 to the internal bus 8 via the input/output capo 1-6. A macro instruction (reverse burst instruction) for storing the data on the internal bus 8 at the address location indicated by the program counter 4 at the same time when the RAM 3 is in a write state is stored. A control system is configured.

従って、この実施例のシングルチップ・マイコンにおい
て、内部のRAM3のテスティングを行なわせるには、
例えば逆パースト命令を外部のテスト装置10から入出
カポ−1−〇を介してCI) Ulに入れてやる。する
と、対応するマイクロ命令が読み出されてCI) U 
1から出力される制御信号によって、プログラムカウン
タ4がRAM3の先頭アドレスにセラ1−される。また
、C1)tJlからの制御信号によって切換回路11が
切り換えられて、入出カポ−1−6から内部バス8を通
って直接RAM3にデータが転送可能にされるとともに
Therefore, in order to test the internal RAM3 in the single-chip microcontroller of this embodiment,
For example, a reverse burst command is input from the external test device 10 to CI) Ul via the input/output capo-1-0. Then, the corresponding microinstruction is read out and CI) U
The program counter 4 is set to the first address of the RAM 3 by the control signal outputted from the program counter 1. Further, the switching circuit 11 is switched by a control signal from C1) tJl, and data can be directly transferred from the input/output capo 1-6 to the RAM 3 via the internal bus 8.

CP tJ ]から出力されろライ1ル信号によって、
l(AM3が書込み状態にされる。そして、そあ後CP
 Uからの信号によって1サイクルごとにプログラムカ
ウンタ4がインクリメン1〜もしくはデクリメン1へさ
れて、その内容が次々とアドレスバス(内部バス6)に
出力される。
By the Ryle signal output from CP tJ,
l(AM3 is put into write state. Then CP
The program counter 4 is incremented from 1 to 1 or decremented to 1 every cycle by a signal from U, and the contents are successively outputted to the address bus (internal bus 6).

そのため、テスト装置10からシステt1に同期して、
次々とテストパターンを入れてやれば、lサイクルで1
バイ1−からなる一つのデストパターンが、そのときプ
ログラムカウンタ4の示すRAM3内のアドレス位置に
書き込まれて行く。
Therefore, in synchronization from the test device 10 to the system t1,
If you insert test patterns one after another, it will take 1 cycle to
One dest pattern consisting of by 1- is written to the address position in the RAM 3 indicated by the program counter 4 at that time.

また、RAM3へのテスパターンの書込み終了後に、デ
スト装置10からCPU1にバースト命令を入れてやれ
ば、対応するマイクロ命令が読み出されてデコードされ
ることによって、制御信号が形成され、この制御信号に
よってプログラムカウンタ4がインクリメントもしくは
テクリメン1〜されるとともに、RAM3がリード状態
にされ、そのときプログラムカウンタ4が示すアドレス
位置のデータを内部バス8上に出力されるようになる。
Furthermore, if a burst command is input from the dest device 10 to the CPU 1 after the writing of the test pattern to the RAM 3 is completed, the corresponding micro-instruction is read out and decoded to form a control signal, and this control signal As a result, the program counter 4 is incremented or incremented from 1 to 1, and the RAM 3 is placed in a read state, so that the data at the address location indicated by the program counter 4 is output onto the internal bus 8.

また、CPIJIからの制御信号によって出力バッファ
12が駆動されて、内部バス8上のデータが入出カポ−
トロを介して外部バス9に出力される。
Also, the output buffer 12 is driven by a control signal from CPIJI, and the data on the internal bus 8 is transferred to the input/output port.
It is output to the external bus 9 via the trolley.

従って、1サイクルで1バイトのデータをRAM3から
読み出して外部のテス1へ装置10へ送ってやることが
できるようになる。その結果、内蔵J【AM3のテステ
ィング時間が大幅に短縮される。
Therefore, it becomes possible to read one byte of data from the RAM 3 in one cycle and send it to the external tester 10. As a result, the testing time for the built-in JAM3 is significantly reduced.

また、1サイクルで1ハイ1へのテス1へパターンの書
込み、読出しがそれぞれ行なえるので、CI) Ulに
対しロード命令士ノしり11ストア命令を指令するパタ
ーンが不要になり、これによって必要なデストパターン
の量も少なくて済むようになる。そのため、テス1へパ
ターンの作成が容易となるとともに、ナスト装置の容量
も小さくできる。
In addition, since patterns can be written and read from 1 high 1 and test 1 in one cycle, there is no need for a pattern that commands a load command 11 store command for CI The amount of dead patterns can also be reduced. Therefore, it becomes easy to create a pattern for test 1, and the capacity of the Nast device can also be reduced.

しかも、」上記実施例によれば、1ぐAM3のテスティ
ングのみならす、前記タイマ5やシリアル1107内の
レジスタなどシングルチップ・マイコン内部のレジスタ
に対し、1サイクルでlハイ1−のテストパターンの書
込みおよび読出しを行なうことができるので、内部レジ
スタlfiのテスティングも短時間で行なえる。
Moreover, according to the above embodiment, in addition to testing AM3, a test pattern of l high 1- can be applied to registers inside a single-chip microcomputer such as the registers in the timer 5 and the serial 1107 in one cycle. Since writing and reading can be performed, testing of the internal register lfi can be done in a short time.

さらに、CPU L内部にアドレスレジスタを設け、プ
ログラムカウンタ4に適当なアドレス(転送データの先
頭アドレス)を設定し、またアドレスレジスタに他の適
当な71〜レス(転送データの最終アl〜レス)髪設定
しておいて、」1記バース1へ命令または逆パースト命
令を実行させてア1くレスレジスタの内容とプロクラj
いカウンタ4の内容とを比較しながらプログラムカウン
タ4をインクリメントもしくはデクリメン1−させ、両
者が一致したところでブロクラムカウンタ4を停由させ
れば、1)MA(ダイレフ1−・メモリ・アクセス)に
よるデータ転送も行なえる。
Furthermore, an address register is provided inside the CPU L, and an appropriate address (first address of transfer data) is set in the program counter 4, and another appropriate address (71~res) (last address of transfer data) is set in the address register. After setting the hair, execute the instruction or reverse burst instruction to berth 1 and write the contents of the address register and the program code.
By incrementing or decrementing the program counter 4 by 1- while comparing the contents of the new counter 4 and stopping the block counter 4 when the two match, 1) MA (die reflex 1- memory access) Data transfer can also be performed.

[実施例2] 次に本発明の他の実施例について説明する。[Example 2] Next, other embodiments of the present invention will be described.

この実施例は、例えばシングルチップ・マイコンのパッ
ケージにモード設定用の外部端子を設ける。そして、R
AMのテスティングの際に、このモード設定用外部端子
に適当な制御信号を印加させると、シングルチップ・マ
イコン内部か所定のモードに設定され1例えば内部のC
I’ UとRAMとが切り離されるようにされている。
In this embodiment, for example, a single-chip microcomputer package is provided with an external terminal for mode setting. And R
During AM testing, when an appropriate control signal is applied to this external terminal for mode setting, a predetermined mode is set within the single-chip microcontroller.
The I'U and RAM are separated.

また、デストモードに設定されると、シングルチップ・
マイコン内の内部アドレスへスが、内部データバスとと
もに、人出カポ−1〜に接続された外部アドレスへスお
よび外部データバスを介してテス1へ装置に接続される
ようにされる。1 そのため、テストモードにnQ定されると、シングルチ
ップ・マイコンは外部からあたかもJ(AMのようにみ
えるようになり、ナスト装置から71〜レスを入れてや
ることにより、内部のRA MをCPtJを介さずに直
接アクセスできるようになる。
Also, when set to dest mode, single-chip
The internal address bus in the microcomputer is connected to the test 1 through the external address bus and the external data bus connected to the output capo-1, along with the internal data bus. 1 Therefore, when nQ is set to the test mode, the single-chip microcontroller appears from the outside as if it were a J(AM), and by inputting 71~res from the Nast device, the internal RAM becomes CPtJ. You can access it directly without going through it.

これによって、従来はCI:) Uのロジック機能等の
テストを行なえるようにされたCP u Q7.用のナ
スト装置(ロジックテスタ)によって内蔵I(八Mのテ
スティングを行なっていたものが、(1: 11 Uと
RA Mとが切り離されることにより、1<ΔM専用の
テスト装置(メモリテスタ)によってシングルチップ・
マイコン内部のRA Mのテスティングが行なえるよう
になる。
As a result, the conventional CP u Q7. The built-in I (8M) was tested using a Nast device (logic tester) for (1: 11) By separating U and RAM, it became a test device (memory tester) dedicated to 1<ΔM. Single chip by
It becomes possible to test the RAM inside the microcomputer.

しかして、RAM用のテス1へ装置15は内部にパター
ンジェネレータ等を有しており、かつ安価である。その
ため、RAM用のテスI−’装置を使って内蔵R,A 
Mのテスティングか行なえれば、テスティング自体が簡
単になるとともに、ナストパターンの作成も容易となり
、ロストダウンか可能となるという利点がある。
Therefore, the test 1 device 15 for RAM has a pattern generator etc. inside and is inexpensive. Therefore, using the test I-' device for RAM, the built-in R, A
If testing of M can be performed, there are advantages in that the testing itself becomes simple, the creation of a Nast pattern becomes easy, and loss-down becomes possible.

また、このモード設定用の外部端子を利用ずれは、CI
) tJを介さずに外部からシンタルチップ・マイコン
内のI(AMをアクセスして直接データの読出し、ta
)込みを行なえるという新たな機能がイ]加される。
In addition, the difference in the use of external terminals for mode setting is due to CI
) Directly read data by accessing I(AM) in the Shintal chip microcontroller from the outside without going through tJ.
) A new feature is added that allows you to add data.

[効果] (1)R,AMを内蔵したデータ処理装置1を内の内部
バスの途中に入出力ボートからのデータを直接JくAM
に転送し、あるいはT(A Mから直接データを入出カ
ポ゛−トに転送できるようにするための切換回路を設け
、内蔵Jく八Mのテスティングの際にはこの切換回路を
切り換えて、直接RAMから人出カポ−1〜あるいは逆
に入出カポ−1〜からRA Mへデータを転送できるよ
うに構成したので、各々1サイクルで1バイ1−のデス
トパターンをRA、 Mに書き込み、読み出すことがで
きるようになるという作用により、内蔵RAMおよび内
部レジスタのテスティング時間が大幅に短縮されるとと
もに、デストパターンの作成も容易になるという効果が
ある。
[Effects] (1) The data processing device 1 with built-in R and AM can directly transfer data from the input/output board to the middle of the internal bus.
A switching circuit is provided to enable data to be transferred directly to the input/output port, or directly from the T (AM) to the input/output port. Since the structure is configured so that data can be transferred directly from RAM to output capo-1 or conversely from input/output capo-1 to RAM, a 1-by-1- death pattern can be written to and read from RA and M in each cycle. As a result, the testing time for the built-in RAM and internal registers can be significantly shortened, and the creation of a dead pattern can also be facilitated.

(2)RAMを内蔵したデータ処理装置内の内部バスの
途中に、入出カポ“−1〜からのデータを直接1にΔM
に転送し、あるいはRAMから直接入出力ポートに転送
できるようにするための切換回路を設けてなるので、予
め切換回路を切り換えておくだけで、直接RA Mから
入出カポ−1へあるいは逆に入出カポ−1へからRAM
へデータを転送できるようになるという作用により、C
I) Uを介さずに直接メモリからデータを読み出すハ
ースI−命令やアドレスレジスタ等と組み合わせること
により、簡単にD M A 1lii:送などのデータ
雑用1を実行できるような新たな機能を旬月できるとい
う効果がある。
(2) Data from the input/output capo "-1" is directly converted to 1 by ΔM in the middle of the internal bus in the data processing device with built-in RAM.
A switching circuit is provided to allow data to be transferred directly from RAM to input/output port 1 or directly from RAM to input/output port, so by simply switching the switching circuit in advance, data can be transferred directly from RAM to input/output port 1 or vice versa. RAM from capo-1
Due to the effect of being able to transfer data to C.
I) By combining with the Haas I-instruction, which reads data directly from memory without going through the U, and address registers, we have introduced a new function that allows you to easily perform data chores such as DMA transfer. There is an effect that it can be done.

(3)RAMを内蔵したシングルチップ・マイコンにお
いて、デストモード設定用の外部端子を設け、ナストモ
ードに設定されたときは内蔵RAMがCI) U等から
切り離されるようにしたので、外部から直接内部のRA
 Mをアクセスすることができるようになるという作用
により、メモリ用のテスI−装置を使って内蔵RA M
のテスティングが行なえるようになり、これによって、
RA Mのテスティングが容易になるという効果がある
(3) In a single-chip microcontroller with built-in RAM, an external terminal is provided for setting the worst mode, and when the worst mode is set, the built-in RAM is disconnected from the CI, etc., so that the internal data can be directly accessed from the outside. R.A.
The built-in RAM M can be accessed using the memory test I-device.
This allows for testing of
This has the effect of making RAM testing easier.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本発明は上記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲で種々変更可能
であることはいうまでもない。例えばシングルチップ・
マイコンおよび内部の切換回路の構成は、前記実施例の
ものに限らず種々の変形例が考えられる。
Although the invention made by the present inventor has been specifically explained above based on Examples, it goes without saying that the present invention is not limited to the above Examples and can be modified in various ways without departing from the gist thereof. Nor. For example, single chip
The configuration of the microcomputer and internal switching circuit is not limited to that of the embodiment described above, and various modifications can be considered.

[利用分野] 以上の説明では主として本発明者によってなされた発明
をその背景となった利用分野であるシングルチップ・マ
イコンに適用した場合について説明したが、それに限定
されるものでなく、レジスタあるいはメモリを内蔵した
データ処理用呆積回路装置一般に利用できるものである
[Field of Application] In the above explanation, the invention made by the present inventor was mainly applied to single-chip microcontrollers, which is the field of application that formed the background of the invention, but the invention is not limited to this, and the invention is not limited to that. This is a data processing circuit device that can be used in general.

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

第1図は、本発明をシングルチップ・マイコンに適用し
た場合の一実施例を示すブロック図である。 1・・・・CI)U(マイクロ・プロセッサ)、2・・
・・Iく0M(リード・オンリ・メモリ)、3・・・・
I(ΔM(ランダム・アクセス・メモリ、随時書込み読
出し可能なメモリ)、4・・・・プログラムカウンタ、
5・・・・タイマ、6・・・・入出カポ−I〜、7・・
・・シリアル110.8・・・・内部ハス、9・・・・
外部バス、]0・・・・テスト装置1q、11・・・・
切換回路、M、PtJ・・・・シングルチップ・マイコ
ン。
FIG. 1 is a block diagram showing an embodiment in which the present invention is applied to a single-chip microcomputer. 1...CI)U (microprocessor), 2...
...Iku0M (read-only memory), 3...
I (ΔM (random access memory, memory that can be written and read at any time), 4...program counter,
5...Timer, 6...I/O capo-I~, 7...
...Serial 110.8...Internal lotus, 9...
External bus, ]0...Test equipment 1q, 11...
Switching circuit, M, PtJ...Single chip microcomputer.

Claims (1)

【特許請求の範囲】 ■、半導体チップ内部にメモリを有するようにされたデ
ータ処理装置において、特定の状態で上記メモリが他の
回路から切り離され、外部から直接アクセスできるよう
にされてなることを特徴とするデータ処理装置。 2゜」1記メモ−りが随時書込み読出し可能なメモリで
あり、かつこのメモリと他の回路とが内部バスによって
接続されているものにおいて、上記内部バスにはデータ
の転送方向を切り換えるための切換回路が設けられ、特
定の状態ではこの切換回路によって、上記内蔵メモリが
内部バスを介して外部バスと接続され、外部装置との間
で直接データの転送が行なえるようにされてなることを
特徴とする特許請求の範囲第1項記載のデータ処理装置
。 3、モード設定用の外部端子が設けられ、該外部端子に
供給される制御信号によって、上記特定状態に設定され
て上記内蔵メモリが他回路と切り離され、外部から直接
アクセスできるようにされてなることを特徴とする特許
請求の範囲第1項記載のデータ処理装置。
[Claims] (1) A data processing device having a memory inside a semiconductor chip, characterized in that the memory is separated from other circuits in a specific state and can be accessed directly from the outside. data processing equipment. 2゜If the memory described in item 1 is a memory that can be written to and read out at any time, and this memory and other circuits are connected by an internal bus, the internal bus has a function for switching the data transfer direction. A switching circuit is provided, and under certain conditions, the built-in memory is connected to an external bus via an internal bus, so that data can be transferred directly to and from an external device. A data processing device according to claim 1, characterized in that: 3. An external terminal for mode setting is provided, and the built-in memory is set to the specific state by a control signal supplied to the external terminal, and is separated from other circuits so that it can be accessed directly from the outside. A data processing device according to claim 1, characterized in that:
JP59042024A 1984-03-07 1984-03-07 Data processing device Pending JPS60189047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59042024A JPS60189047A (en) 1984-03-07 1984-03-07 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59042024A JPS60189047A (en) 1984-03-07 1984-03-07 Data processing device

Publications (1)

Publication Number Publication Date
JPS60189047A true JPS60189047A (en) 1985-09-26

Family

ID=12624595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59042024A Pending JPS60189047A (en) 1984-03-07 1984-03-07 Data processing device

Country Status (1)

Country Link
JP (1) JPS60189047A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0194449A (en) * 1987-10-06 1989-04-13 Fujitsu Ltd One tip microprocessor
JPH01109459A (en) * 1987-10-23 1989-04-26 Hitachi Ltd Logical integrated circuit
JPH0272500U (en) * 1988-11-17 1990-06-01
US4989208A (en) * 1986-04-23 1991-01-29 Hitachi, Ltd. Data processor
JPH0346034A (en) * 1989-07-14 1991-02-27 Nec Corp Information processing system
JPH03206528A (en) * 1989-11-30 1991-09-09 Nec Corp Information processing system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4989208A (en) * 1986-04-23 1991-01-29 Hitachi, Ltd. Data processor
JPH0194449A (en) * 1987-10-06 1989-04-13 Fujitsu Ltd One tip microprocessor
JPH01109459A (en) * 1987-10-23 1989-04-26 Hitachi Ltd Logical integrated circuit
JPH0272500U (en) * 1988-11-17 1990-06-01
JPH0346034A (en) * 1989-07-14 1991-02-27 Nec Corp Information processing system
JPH03206528A (en) * 1989-11-30 1991-09-09 Nec Corp Information processing system

Similar Documents

Publication Publication Date Title
JP2927108B2 (en) In-circuit emulator
EP0569969B1 (en) Microcomputer having instruction memory storing instructions for reading out internal conditions
US4112490A (en) Data transfer control apparatus and method
KR0168656B1 (en) Data processing system
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
JPS63121934A (en) One-chip microcomputer for evaluation
US4926318A (en) Micro processor capable of being connected with a coprocessor
US6401197B1 (en) Microprocessor and multiprocessor system
KR950012515B1 (en) Data processor
JPS6297036A (en) Calculator system
US5193195A (en) Microcomputer having easily testable interrupt controller
JP2001051874A (en) Microcomputer
JPS60189047A (en) Data processing device
JPH11232211A (en) Dma control device and its method
US7237099B2 (en) Multiprocessor system having a plurality of control programs stored in a continuous range of addresses of a common memory and having identification registers each corresponding to a processor and containing data used in deriving a starting address of a CPU-linked interrupt handler program to be executed by the corresponding processor
JPS62197831A (en) Data processor
JPS60195661A (en) Data processing system
JP2586646B2 (en) Microcomputer
JPH09106359A (en) Semiconductor integrated circuit
JP2555084B2 (en) Micro Processor
US20040107388A1 (en) Microcomputer
JPS60262251A (en) Backup device for development of microprocessor
JPH04280334A (en) One chip microcomputer
JP2558902B2 (en) Semiconductor integrated circuit device
JP4008196B2 (en) Register control device and multi-CPU system