JPS60211561A - Microcomputer - Google Patents
MicrocomputerInfo
- Publication number
- JPS60211561A JPS60211561A JP59067690A JP6769084A JPS60211561A JP S60211561 A JPS60211561 A JP S60211561A JP 59067690 A JP59067690 A JP 59067690A JP 6769084 A JP6769084 A JP 6769084A JP S60211561 A JPS60211561 A JP S60211561A
- Authority
- JP
- Japan
- Prior art keywords
- microprocessor
- ram
- rom
- data
- cpu
- 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
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Microcomputers (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔技術分野〕
この発明は、マイクロコンピュータに関するもので、例
えば、RAM (ランダム・アクセス・メモIJ)、R
OM(リード・オンリー・メモリ)を内蔵した1チツプ
のマイクロコンピュータのティスティングに有効な技術
に関するものである。[Detailed Description of the Invention] [Technical Field] The present invention relates to microcomputers, such as RAM (random access memory IJ), R
The present invention relates to a technique effective for testing a one-chip microcomputer with a built-in OM (read-only memory).
従来よりRAM、ROMのような記憶回路を内蔵した1
チツプのマイクロコンピュータが公知である(例えば、
日立製作所より販売されている「HD6301XJ等参
照)。このような記憶回路を内蔵したマイクロコンピュ
ータにおいては、上記記憶回路のティスティングに長時
間を費やすことになるという問題があった。すなわち、
マイクロコンピュータを構成するマイクロプロセッサ(
中央処理装置)を介して間接的にRA M等のアクセス
を行うことになるため、1つのテストステップに例えば
4サイクルも必要になるからである。Conventionally, 1 has built-in storage circuits such as RAM and ROM.
Chip microcomputers are known (e.g.
(See "HD6301XJ, etc." sold by Hitachi, Ltd.).In microcomputers with such a built-in memory circuit, there is a problem in that it takes a long time to test the memory circuit.In other words,
The microprocessor (
This is because access to the RAM, etc. is performed indirectly via the central processing unit (central processing unit), and one test step requires, for example, four cycles.
また、このようなティスティングのために特定のプログ
ラムが必要になるものである。Additionally, a specific program is required for such tasting.
この発明の目的は、ティスティング等に便利な新規な機
能を付加したマイクロコンピュータを提供することにあ
る。An object of the present invention is to provide a microcomputer with new functions convenient for tasting and the like.
この発明の前記ならびにその他の目的と新規な特徴は、
この明細書の記述および添付図面から明らかになるであ
ろう。The above and other objects and novel features of this invention include:
It will become clear from the description of this specification and the accompanying drawings.
本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば、下記の通りである。A brief overview of typical inventions disclosed in this application is as follows.
すなわち、外部端子からの信号にりマイクロプロセッサ
と内部バスとを切り離す機能を設けることによって、外
部端子とデータ端子とを利用して内蔵の記憶回路を直接
アクセスできるようにするものである。That is, by providing a function to disconnect the microprocessor from the internal bus based on a signal from the external terminal, it is possible to directly access the built-in memory circuit using the external terminal and the data terminal.
図面には、この発明が通用された1チツプのマイクロコ
ンピュータの一実施例のブロック図が示されている。The drawing shows a block diagram of an embodiment of a one-chip microcomputer to which the present invention is applied.
同図において、破線で囲まれた部分の各回路ブロックは
、特に制限されないが、全体としてlチップマイクロコ
ンピュータμCOMを構成しており、公知の半導体集積
回路の製造技術によって単結晶シリコンのよ・うな1個
の半導体基板上において形成される。In the figure, each circuit block surrounded by a broken line constitutes an l-chip microcomputer μCOM as a whole, although it is not particularly limited. It is formed on one semiconductor substrate.
記号CPUで示されているのは、マイクロプロセッサで
あり、その主要構成ブロックが代表として例示的に示さ
れている。すなわち、Aはアキュムレータ、Xはインデ
ックスレジスタ、ccはコンディションコードレジスタ
、SPはスタックポインタ、PCL、PCHはプログラ
ムカウンタ、CPU−C0NTはCPUコントローラ、
ALUは算術論理ユニットである。これらのマイクロプ
ロセッサCPUの構成は、公知であるので、その詳細な
説明を省略する。The symbol CPU is a microprocessor, and its main constituent blocks are exemplarily shown as a representative. That is, A is an accumulator, X is an index register, cc is a condition code register, SP is a stack pointer, PCL, PCH are program counters, CPU-C0NT is a CPU controller,
ALU is an arithmetic logic unit. Since the configurations of these microprocessors CPU are well known, detailed explanation thereof will be omitted.
記号I10で示されているのは、入出力ボートであり、
内部のデータ方向レジスタに従ってデータ出力回路又は
データ入力回路として使用される。Denoted by symbol I10 is an input/output boat,
It is used as a data output circuit or a data input circuit according to the internal data direction register.
また、記号■で示されているのは、入力専用ポートであ
る。Also, the symbol ■ indicates an input-only port.
記号O3Cで示されているのは、発振回路であり、特に
制限されないが、外(=lされる水晶振動子X−tal
を利用して高精度の基準周波数信号を形成する。この基
準周波数信号により、マイクロプロセッサCPUにおい
て必要とされるクロックパルスが形成される。また、上
記基準周波数信号は、タイマーの基準時間パルスとして
も用いられる。What is indicated by the symbol O3C is an oscillation circuit, which includes, but is not limited to, a crystal resonator X-tal
to form a highly accurate reference frequency signal. This reference frequency signal forms the clock pulses required in the microprocessor CPU. Further, the reference frequency signal is also used as a reference time pulse of a timer.
このタイマーは、カウンタC0UNT、プリスケーラP
R及びコントローラCON Tとによって構成される。This timer consists of counter C0UNT, prescaler P
It is composed of a controller CONT and a controller CONT.
記号RAMで示されているのは、ランダム・アクセス・
メモリであり、主として一時データの記憶回路として用
いられる。The symbol RAM is a random access
It is a memory and is mainly used as a temporary data storage circuit.
記号ROMで示されているのは、ROMであり情報処理
のためのプログラムが書込まれている。The symbol ROM is a ROM in which a program for information processing is written.
以上の各回路ブロックは、マイクロプロセッサCPUを
中心とし内部バスBUSによって相互に接続される。同
図に示されている内部バスBUSは、アドレスバ信号線
、データ信号線及びコントロール信号線とを含むもので
ある。The above circuit blocks are connected to each other by an internal bus BUS centered around the microprocessor CPU. The internal bus BUS shown in the figure includes an address bar signal line, a data signal line, and a control signal line.
この実施例では、上記RAM、ROMを外部端子から直
接アクセスできるようにするため、上記マイクロプロセ
ッサCPUは、新に設けられこたバス制御信号BCを受
けて、上記内部バスBtJSとの切り離しが行われる。In this embodiment, in order to enable direct access to the RAM and ROM from external terminals, the microprocessor CPU receives a newly provided bus control signal BC and is disconnected from the internal bus BtJS. .
すなわち、マイクロプロセッサCPUにお番3る内部バ
スに信号を送出する出力回路は、3状態(トライステー
ト)出力回路とされ、上記制御信号BCがハイレベルに
されると、ハイインピーダンス状態となって、上記バス
BUSと切り離されるものである。That is, the output circuit that sends signals to the internal bus of the microprocessor CPU is a tri-state output circuit, and when the control signal BC is set to a high level, it becomes a high impedance state. , which are separated from the bus BUS.
これによって、例えば、上記RAM、ROMのティステ
ィングを行う場合には、そのテスト動作に先立って上記
制御信号BCがハイレベルにされ、上記マイクロプロセ
ッサCPUと内部バスBUSとの切り離しが行われる。Thus, for example, when testing the RAM or ROM, the control signal BC is set to a high level prior to the test operation, and the microprocessor CPU is disconnected from the internal bus BUS.
そして、外部端子からアドレス信号を供給して、上記R
AM又はROMを直接選択するものである。そして、同
様に供給されたメモリ制御信号に従いROMにあっては
その内容の読み出しを行うことによって、入出力回路I
10を介して外部に取り出すものである。このように読
み出されたデータは、所定の期待値との比較され、その
良否判定が行われる。Then, by supplying an address signal from an external terminal, the R
AM or ROM is directly selected. Similarly, by reading out the contents of the ROM according to the supplied memory control signal, the input/output circuit I
10 to the outside. The data read out in this way is compared with a predetermined expected value to determine its quality.
一方、RAMにあっては、一定のパターンの書込みと、
その読み出しが行われ書込みデータとの比較により良否
判定を行うものである。On the other hand, in RAM, writing a certain pattern,
The data is read and compared with the written data to determine whether the data is good or bad.
このようにして、上記ROM、RAMのティスティング
を外部端子から直接行うようにするものである。このよ
うなテスト動作は、特に制限されないが、通常のメモリ
テスター又はロジックテスターが用いられる。In this way, the above-mentioned ROM and RAM tasting can be performed directly from the external terminal. Such test operation is not particularly limited, but a normal memory tester or logic tester can be used.
なお、上記内蔵のRAMへの直接アクセス機能は、次の
ような利用方法もある。すなわち、マルチマイクロコン
ピュータ等において、スレーブ側のマイクロコンピュー
タに上記RAM直接アクセス機能を設けることによって
、マスターコンピュータ側から上記制御信号BCをハイ
レベルにして、処理すべきデータのRAMへの転送、又
はスレーブ側で処理したデータをマスター側に転送する
動作に便利なものとなる。このような機能が有効に使用
できる例としては、上記スレーブ側のマイクロコンピュ
ータに浮動小数点演算を行わせる等が考えられる。Note that the above built-in RAM direct access function can be used in the following ways. That is, in a multi-microcomputer or the like, by providing the microcomputer on the slave side with the above-mentioned RAM direct access function, the control signal BC is set to a high level from the master computer side, and the data to be processed is transferred to the RAM or the slave side This is useful for transferring processed data to the master side. An example of where such a function can be effectively used is to have the slave-side microcomputer perform floating-point arithmetic.
(1)マイクロプロセッサと内部バスとを分離させる機
能を設けることによって、外部から内蔵のRAM及び/
又はROMを直接アクセスすることができる。これによ
って、1つのサイクルによって任意の記憶情報の書込み
又は読み出しを行うことができるから、ティスティング
時間の短縮化を図ることができるという効果が得られる
。(1) By providing a function to separate the microprocessor and internal bus, internal RAM and/or
Alternatively, the ROM can be accessed directly. As a result, arbitrary storage information can be written or read in one cycle, resulting in an effect that the tasting time can be shortened.
(2)上記(1)により、外部からROM、RAMを直
接アクセス出来るから、既存のメモリテスター又はロジ
ックテスターを使用できるという効果が得られる。(2) According to the above (1), since the ROM and RAM can be directly accessed from the outside, it is possible to use an existing memory tester or logic tester.
(3)上記マイクロプロセッサと内部バスとの分離機能
を利用することによって、内蔵のRAMと外部装置との
データ授受を高速に行うことができるという効果が得ら
れる。(3) By utilizing the above-mentioned separation function between the microprocessor and the internal bus, it is possible to obtain the effect that data can be exchanged between the built-in RAM and an external device at high speed.
以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、この発明は上記実施例に限定される
ものではなく、その要旨を逸脱しない範囲で種々変更可
能であることはいうまでもない。例えば、上記マイクロ
プロセッサと内部バスとの切り離しは、割り込み信号I
NTを利用して、特定のプログラムの実行により行うよ
うにするものであってもよい。または、特定のレジスタ
をセットすることによって、上記切り離し動作を行わせ
るようにするものであってもよい。このように、マイク
ロプロセッサと内部バスとの切り離し動作は、種々の実
施形態を採ることができるものである。Although the invention made by the present inventor has been specifically explained above based on Examples, it goes without saying that this invention is not limited to the above Examples and can be modified in various ways without departing from the gist thereof. Nor. For example, to disconnect the microprocessor from the internal bus, interrupt signal I
This may be done by executing a specific program using NT. Alternatively, the separation operation may be performed by setting a specific register. In this way, the operation of disconnecting the microprocessor from the internal bus can take various embodiments.
この発明は、RAM及び/又はROMのような内蔵の記
憶回路を有する1チツプのマイクロコンピュータに広く
利用できるものである。The present invention can be widely used in one-chip microcomputers having built-in storage circuits such as RAM and/or ROM.
図面は、この発明が適用された1チツプのマイクロコン
ピュータの一実施例を示すブロック図である。
μCOM・・マイクロコンピュータ、CPU・・マイク
ロプロセッサ、CPU−C0NT・・CPUコントロー
ラ、ALU・・算術論理ユニット、A・・アキュムレー
タ、X・・インデックスレジスタ、CC・・コンディシ
ョンコードレジスタ、SP・・スタックポインタ、PC
L、PCH・・プログラムカウンタ、PPC・・補助プ
ログラムカウンタ、RAM・・ラング・アクセス・メモ
リ、ROM・・リード・オンリー・メモリ、Ilo・・
入出力ポート、■・・入力専用ボート、O20・・発振
回路、C0UNT・・カウンタ、C0NT・・コントロ
ーラ、PR・・プリスケーラ、BUS・・内部バスThe drawing is a block diagram showing an embodiment of a one-chip microcomputer to which the present invention is applied. μCOM: Microcomputer, CPU: Microprocessor, CPU-C0NT: CPU controller, ALU: Arithmetic logic unit, A: Accumulator, X: Index register, CC: Condition code register, SP: Stack pointer , PC
L, PCH...Program counter, PPC...Auxiliary program counter, RAM...Rung access memory, ROM...Read only memory, Ilo...
Input/output port, ■...Input-only boat, O20...Oscillation circuit, C0UNT...Counter, C0NT...Controller, PR...Prescaler, BUS...Internal bus
Claims (1)
イクロプロセッサと記憶回路とを含み、特定の外部端子
からの信号によって内部バスと上記マイクロプロセッサ
とを分離させる機能を設けたことを特徴とするマイクロ
コンピュータ。 2、上記記憶回路は、RAMを含むものであることを特
徴とする特許請求の範囲第1項記載のマイクロコンピュ
ータ。1. A microprocessor comprising a one-chip semiconductor integrated circuit device, including a microprocessor and a memory circuit, and having a function of separating an internal bus from the microprocessor by a signal from a specific external terminal. Computer. 2. The microcomputer according to claim 1, wherein the storage circuit includes a RAM.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59067690A JPS60211561A (en) | 1984-04-06 | 1984-04-06 | Microcomputer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59067690A JPS60211561A (en) | 1984-04-06 | 1984-04-06 | Microcomputer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS60211561A true JPS60211561A (en) | 1985-10-23 |
Family
ID=13352226
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59067690A Pending JPS60211561A (en) | 1984-04-06 | 1984-04-06 | Microcomputer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60211561A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62249264A (en) * | 1986-04-23 | 1987-10-30 | Hitachi Ltd | Data processor |
| JPH01116860A (en) * | 1987-10-30 | 1989-05-09 | Yokogawa Hewlett Packard Ltd | Microprocessor |
| JPH01224849A (en) * | 1988-03-03 | 1989-09-07 | Nec Corp | Microcomputer |
-
1984
- 1984-04-06 JP JP59067690A patent/JPS60211561A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62249264A (en) * | 1986-04-23 | 1987-10-30 | Hitachi Ltd | Data processor |
| JPH01116860A (en) * | 1987-10-30 | 1989-05-09 | Yokogawa Hewlett Packard Ltd | Microprocessor |
| JPH01224849A (en) * | 1988-03-03 | 1989-09-07 | Nec Corp | Microcomputer |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5021950A (en) | Multiprocessor system with standby function | |
| US5546563A (en) | Single chip replacement upgradeable computer motherboard with enablement of inserted upgrade CPU chip | |
| US5551012A (en) | Single socket upgradeable computer motherboard with automatic detection and socket reconfiguration for inserted CPU chip | |
| AU615688B2 (en) | State machine checker | |
| JPS6267800A (en) | Semiconductor integrated circuit device | |
| JPH02133834A (en) | In-circuit emulator | |
| EP0408353B1 (en) | Semiconductor integrated circuit | |
| JPS60211561A (en) | Microcomputer | |
| KR950012245A (en) | Single Chip Microcomputer with User Designed Circuit | |
| US6052746A (en) | Integrated circuit having programmable pull device configured to enable/disable first function in favor of second function according to predetermined scheme before/after reset | |
| US5179694A (en) | Data processor in which external sync signal may be selectively inhibited | |
| US4967352A (en) | Data processor in which external sync signal may be selectively inhibited | |
| US5497482A (en) | Data processor in which external sync signal may be selectively inhibited | |
| EP0535539B1 (en) | CPU-exchangeable computer system | |
| JPS62224836A (en) | Semiconductor integrated circuit device | |
| JPH0520474A (en) | One chip microcomputer | |
| JPH0766358B2 (en) | Information processing device, accessory device connected to information processing device, and information processing system including information processing device and accessory device | |
| JPS59168550A (en) | information processing equipment | |
| JPS61248298A (en) | Prom circuit | |
| JPS62197841A (en) | Semiconductor integrated circuit device | |
| JP2819329B2 (en) | Program storage device | |
| Miller | Interfacing to the Microprocessor | |
| JP2638014B2 (en) | Signal detection circuit | |
| JPS59208476A (en) | Semiconductor integrated circuit device | |
| JPH038169A (en) | Information processing device |