JPS63196970A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPS63196970A
JPS63196970A JP62028607A JP2860787A JPS63196970A JP S63196970 A JPS63196970 A JP S63196970A JP 62028607 A JP62028607 A JP 62028607A JP 2860787 A JP2860787 A JP 2860787A JP S63196970 A JPS63196970 A JP S63196970A
Authority
JP
Japan
Prior art keywords
address bus
address
cpu
memory
terminal
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
JP62028607A
Other languages
Japanese (ja)
Inventor
Masatoshi Aikawa
相川 雅俊
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP62028607A priority Critical patent/JPS63196970A/en
Publication of JPS63196970A publication Critical patent/JPS63196970A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7839Architectures of general purpose stored program computers comprising a single central processing unit with memory
    • G06F15/7842Architectures of general purpose stored program computers comprising a single central processing unit with memory on one IC chip (single chip microcontrollers)

Abstract

PURPOSE:To remove a test exclusive terminal, and to simplify the constitution by controlling directly an address bus control circuit by a CPU so that a direct memory access can be executed, at the time of testing. CONSTITUTION:At the time of normal operating, a memory 1 is operated, based on an address and a control signal outputted through an address bus 2 from a CPU 11. Also, this microcomputer is constituted so that an address bus control circuit 10 can be controlled directly by the CPU 11, at the time of testing. That is, on the same chip, the memory 1, the address bus 2 and the circuit 10 for controlling the bus 2 are provided, and an address from an address bus terminal 3 can be transferred directly to the memory 1. In such a state, when an instruction exists at the time of testing, the circuit 10 is controlled directly by the CPU 11, and this circuit 10 is turned on and a direct memory access is executed. In such a way, a test exclusive terminal is made unnecessary and the constitution can be simplified.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、シングルチップマイクロコンピュータに関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to a single-chip microcomputer.

(従来の技術) 第3図は従来のマイクロコンピュータを示す。(Conventional technology) FIG. 3 shows a conventional microcomputer.

図において、1はメモリ(データ格納手段)、2はこの
メモリ1にアドレスバス端子3および後述するCPU 
9からのアドレスを転送するアドレスバス、4はこのア
ドレスバスをテスト専用端子5からの13号に基づき制
御するアドレスバス11御回路、6は前記メモリ1のデ
ータ書き込み、読み出し用制御端子(R/W制御端子)
、7は前記メモリ1にデータバス端子8と後述する(:
PU 9からのデータを転送するデータバス、9はアド
レスと制御信号に基づき前記メそす1にデータの書き込
みあるいは読み出しを行なうCPUである。
In the figure, 1 is a memory (data storage means), and 2 is a memory 1 connected to an address bus terminal 3 and a CPU (described later).
4 is an address bus 11 control circuit that controls this address bus based on No. 13 from the test-only terminal 5; 6 is a control terminal for data writing and reading of the memory 1 (R/ W control terminal)
, 7 are connected to the memory 1 as a data bus terminal 8, which will be described later (:
A data bus 9 transfers data from the PU 9, and a CPU 9 writes data to or reads data from the memory 1 based on an address and a control signal.

従来のマイクロコンピュータは、上記のように#1IJ
IAシたから、通常動作時は、CPt19により、CP
U 9からのアドレスと制御信号に基づきメモリ1が動
作される。一方、テスト時は、テスト専用端子5からア
ドレスバス制御回路4に所定の信号を入力すると、制御
回路4によりアドレスバス2が解放される。そして、ア
ドレスバス端子3からアドレスをメモリ1に直接入力す
ると、入力されたアドレスに相当するメモリl上のアド
レスにデータが書き込まれ、またはメモリ1十のアドレ
スからデータが読み出される。
The conventional microcomputer is #1IJ as mentioned above.
Because of the IA, during normal operation, CPt19
Memory 1 is operated based on the address and control signals from U9. On the other hand, during testing, when a predetermined signal is input from the test-dedicated terminal 5 to the address bus control circuit 4, the address bus 2 is released by the control circuit 4. When an address is directly input to the memory 1 from the address bus terminal 3, data is written to the address on the memory 1 corresponding to the input address, or data is read from the address of the memory 10.

(発明が解決しようとする問題点) 従来のマイクロコンピュータは、テスト時、テスト専用
端子5からの信号に基づきアドレスバス制御回路4を制
御する構成にしたから、通常動作時に不必要なテスト専
用端子5を設けなければならないという問題点があった
(Problems to be Solved by the Invention) Conventional microcomputers are configured to control the address bus control circuit 4 based on signals from the test-dedicated terminal 5 during testing, so the test-dedicated terminal is unnecessary during normal operation. There was a problem that 5 had to be provided.

この発明は、上記のような問題点を解決するためになさ
れたもので、テスト専用端子を除去したマイクロコンピ
ュータを得ることを目的とする。
The present invention was made to solve the above-mentioned problems, and an object of the present invention is to obtain a microcomputer in which test-only terminals are removed.

(問題点を解決るするための手段) この発明に係るマイクロコンピュータは、同一チップ上
に、データ格納手段と、これにアドレスバス端子からの
アドレスを転送するアドレスバスと、このアドレスバス
を制御するアドレスバス制御手段と、これを制御する制
御手段とを設けたものである。
(Means for Solving the Problems) A microcomputer according to the present invention includes, on the same chip, a data storage means, an address bus for transferring an address from an address bus terminal to the data storage means, and a control unit for controlling this address bus. This device is provided with an address bus control means and a control means for controlling the address bus control means.

(作用) この発明における制御手段は、アドレスバス制御手段を
制御し、アドレスバス端子からのアドレスをデータ格納
手段に直接転送することを可能にする。
(Function) The control means in the present invention controls the address bus control means and makes it possible to directly transfer the address from the address bus terminal to the data storage means.

(実施例) 第1図はこの発明の一実施例を示す。図において、l〜
3.6〜8は第2図と同一部分を示す。
(Embodiment) FIG. 1 shows an embodiment of the present invention. In the figure, l~
3.6 to 8 show the same parts as in FIG.

lOは前記アドレスバス2を制御するアドレスバス制御
回路(アドレスバス制御手段)、11はこのアドレスバ
ス制御回路10を制御するCPU (制御手段)である
10 is an address bus control circuit (address bus control means) that controls the address bus 2, and 11 is a CPU (control means) that controls this address bus control circuit 10.

この実施例と従来例とが相違する点は、CPU 11に
よりアドレスバス制御回路lOを直接制御できるように
した点であり、テスト時、命令があると(STEP−1
)、CPU 11により直接アドレスバス制御回路10
が制御され、このアドレスバス制御回路10がONされ
(STEP−2)、DMA(direct me+*o
ry access)が可能になる(STEP−3)。
The difference between this embodiment and the conventional example is that the address bus control circuit IO can be directly controlled by the CPU 11, and when there is an instruction during testing (STEP-1
), the address bus control circuit 10 directly by the CPU 11
is controlled, this address bus control circuit 10 is turned on (STEP-2), and the DMA (direct me+*o
ry access) becomes possible (STEP-3).

(発明の効果) 以上のように、この発明によれば、テスト時、11Ja
手段によりアドレスバス制御手段を直接−制御する構成
にしたので、テスト専用端子を除去できるという効果あ
る。
(Effects of the Invention) As described above, according to the present invention, at the time of testing, 11Ja
Since the address bus control means is directly controlled by the means, there is an effect that a test-dedicated terminal can be eliminated.

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

第1図はこの発明の一実施例を示す要部ブロック図、第
2図は動作フローチャート、第3図は従来のマイクロコ
ンピュータの要部ブロック図である。 図において、1はメモリ、2はアドレスバス、3はアド
レスバス端子、10はアドレスバス制御回路、11はc
pυである。 なお、図中、同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram of main parts showing an embodiment of the present invention, FIG. 2 is a flowchart of operation, and FIG. 3 is a block diagram of main parts of a conventional microcomputer. In the figure, 1 is a memory, 2 is an address bus, 3 is an address bus terminal, 10 is an address bus control circuit, and 11 is a c
It is pυ. In addition, in the figures, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 同一チップ上に、データ格納手段と、これにアドレスバ
ス端子からのアドレスを転送するアドレスバスと、この
アドレスバスを制御するアドレスバス制御手段と、これ
を制御する制御手段とを備えたことを特徴とするマイク
ロコンピュータ。
The present invention is characterized by comprising, on the same chip, a data storage means, an address bus for transferring an address from an address bus terminal to the data storage means, an address bus control means for controlling the address bus, and a control means for controlling the same. microcomputer.
JP62028607A 1987-02-10 1987-02-10 Microcomputer Pending JPS63196970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62028607A JPS63196970A (en) 1987-02-10 1987-02-10 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62028607A JPS63196970A (en) 1987-02-10 1987-02-10 Microcomputer

Publications (1)

Publication Number Publication Date
JPS63196970A true JPS63196970A (en) 1988-08-15

Family

ID=12253262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62028607A Pending JPS63196970A (en) 1987-02-10 1987-02-10 Microcomputer

Country Status (1)

Country Link
JP (1) JPS63196970A (en)

Similar Documents

Publication Publication Date Title
US5944806A (en) Microprocessor with versatile addressing
JPS6342299B2 (en)
JPS63196970A (en) Microcomputer
JPH08221293A (en) Emulator device
JPH03668B2 (en)
JPH0222748A (en) Non-volatile memory control circuit
KR890007159A (en) Data processing apparatus and data processing system having the same
JP2619385B2 (en) DMA controller
JPH0250495B2 (en)
JPS6053399B2 (en) memory control device
JP2643803B2 (en) Microcomputer
JP2554423Y2 (en) Memory controller
JPS596407B2 (en) Initial program loading method
JPH03242735A (en) Microcomputer incorporating rom
JPH0261749A (en) Data transfer device
JP2000250759A (en) Method for writing boot block for flash memory
JPH0827740B2 (en) Data processing device
JPH04340119A (en) Information processor
JPH04255081A (en) Microcomputer
JPS61133465A (en) Switching method of cpu
JPH08123780A (en) Protection circuit for contents of register in microprocessor
JPH064406A (en) Data processor having cache memory
JPH0635750A (en) Semiconductor integrated circuit device
JP2000348011A (en) Microcomputer incorporating electrically rewritable non-volatile memory
JPH049344B2 (en)