JPH04237346A - Microprocessor system - Google Patents

Microprocessor system

Info

Publication number
JPH04237346A
JPH04237346A JP3005462A JP546291A JPH04237346A JP H04237346 A JPH04237346 A JP H04237346A JP 3005462 A JP3005462 A JP 3005462A JP 546291 A JP546291 A JP 546291A JP H04237346 A JPH04237346 A JP H04237346A
Authority
JP
Japan
Prior art keywords
microprocessor
ram
microprocessor system
control
circuit
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.)
Withdrawn
Application number
JP3005462A
Other languages
Japanese (ja)
Inventor
Hironori Sugano
菅野 裕紀
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3005462A priority Critical patent/JPH04237346A/en
Publication of JPH04237346A publication Critical patent/JPH04237346A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

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

【0001】0001

【産業上の利用分野】本発明は、ローカルコントロール
等に用いられるマイクロプロセッサとROMとRAMか
らなるマイクロプロセッサシステムに係り、特に動作上
からレジスタに見えて外部I/Oを制御する役割を果た
す2ポートRAMを有する小規模のマイクロプロセッサ
システムに関する。
[Industrial Application Field] The present invention relates to a microprocessor system consisting of a microprocessor, ROM, and RAM used for local control, etc. In particular, the present invention relates to a microprocessor system that is used for local control, etc. This invention relates to a small scale microprocessor system with port RAM.

【0002】マイクロプロセッサシステムで特にローカ
ルコントロール等のシステムでは、他の回路と同様に、
小形化、低コスト化される傾向にあるので、このため容
易に小規模化できる構成が必要とされている。
In microprocessor systems, especially local control systems, like other circuits,
Since there is a trend toward smaller size and lower cost, there is a need for a structure that can be easily reduced in size.

【0003】0003

【従来の技術】第5図は従来のマイクロプロセッサシス
テムの構成を示すブロック図であり、図中の1はマイク
ロプロセッサ、2はROM、3Aはプログラム実行時の
ワーク用RAM、4Aは動作上からレジスタに見えてI
/O制御の役割を果たす2ポートRAM、5Aはアドレ
スデコーダである。このシステムでは、4Aのレジスタ
イメージのI/O制御の役割を果たす2ポートRAMを
介して、外部とのインタフェースを取っている。
5 is a block diagram showing the configuration of a conventional microprocessor system. In the figure, 1 is a microprocessor, 2 is a ROM, 3A is a RAM for work during program execution, and 4A is an operational RAM. Looks like a register I
A 2-port RAM that plays the role of /O control, 5A is an address decoder. This system interfaces with the outside via a 2-port RAM that plays the role of I/O control for a 4A register image.

【0004】0004

【発明が解決しようとする課題】第5図の従来のマイク
ロプロセッサシステムでは、ワーク用RAM 3A の
使用量が少ない場合は、該ワーク用RAMの容量を小さ
くして小形化、低コスト化に対応していた。しかしなが
ら、ワーク用RAM 3A とI/O制御の役割を果た
す2ポートRAM 4A の2つのRAMを使用するた
め、システムの回路規模が大きくなるという問題があっ
た。本発明の目的は従来のワーク用RAM 3A を使
用せず回路規模の小さなマイクロプロセッサシステムを
実現することにある。
[Problems to be Solved by the Invention] In the conventional microprocessor system shown in FIG. 5, when the amount of work RAM 3A used is small, the capacity of the work RAM is reduced to achieve miniaturization and cost reduction. Was. However, since two RAMs are used, the work RAM 3A and the 2-port RAM 4A which plays the role of I/O control, there is a problem in that the circuit scale of the system increases. An object of the present invention is to realize a microprocessor system with a small circuit scale without using the conventional work RAM 3A.

【0005】[0005]

【課題を解決するための手段】この目的は、本発明の基
本構成を表す第1図の原理図を参照し、I/O制御の役
割を果たす一個の2ポートRAM 3に,従来のワーク
用RAM 3A の役目をも兼ねさせるようにした本発
明によって達成される。図中、1 はマイクロプロセッ
サ、2 はROM、3はワーク用RAMとI/O制御の
役割を果す一個の2ポートRAM、4 はアドレスデコ
ーダである。
[Means for Solving the Problems] This purpose is to solve the problem by referring to the principle diagram of FIG. 1 showing the basic configuration of the present invention. This is achieved by the present invention, which also serves as the RAM 3A. In the figure, 1 is a microprocessor, 2 is a ROM, 3 is a work RAM and a 2-port RAM that plays the role of I/O control, and 4 is an address decoder.

【0006】マイクロプロセッサ1 からのチップセレ
クト(CS)とI/Oリクエスト(I/O REQとの
論理和をとる回路5 を付加し、該回路の出力をアドレ
スデコーダ4 のイネーブル端子ENに入力してデコー
ドする。そして、マイクロプロセッサ1 からワーク用
メモリとI/Oにアクセスする場合、アドレスデコーダ
の出力をアドレスとして同一の2ポートRAM 3に書
き込み読み出してアクセスするようにする。
[0006] A circuit 5 is added that calculates the logical sum of the chip select (CS) from the microprocessor 1 and the I/O request (I/O REQ), and the output of this circuit is input to the enable terminal EN of the address decoder 4. When the microprocessor 1 accesses the work memory and I/O, the output of the address decoder is used as an address to read and write to the same two-port RAM 3 for access.

【0007】[0007]

【作用】本発明では、マイクロプロセッサ1 が必要と
するワーク用の領域と、レジスタとしてI/O制御用の
領域とを足し合わせた領域の容量をもつ2ポートRAM
 3を使用するので、一個のRAMで済む。よって、マ
イクロプロセッサシステムの回路の小規模化が図れる。 従来例では第3図の如くワーク用のメモリ領域とI/O
制御用のI/O領域とは物理的にも論理的にも分離して
いたものが、本発明では第4図の如く論理的には従来通
り分離していて物理的には同一領域となるため、第1図
の様に、マイクロプロセッサのチップセレクトCSとI
/OリクエストI/O REQ との論理和をとる回路
5 の出力をアドレスデコーダ4 のイネーブル端子E
Nに入力しデコードすることにより、デコーダ出力のメ
モリ用領域のアドレスとI/O制御用の領域のアドレス
の配置が別位置である必要が満たされる。
[Operation] The present invention uses a 2-port RAM having a capacity equal to the sum of the work area required by the microprocessor 1 and the I/O control area as a register.
3, so only one RAM is required. Therefore, the circuit size of the microprocessor system can be reduced. In the conventional example, as shown in Figure 3, the work memory area and I/O
The I/O area for control was physically and logically separate from the control I/O area, but in the present invention, as shown in Fig. 4, it is logically separate as before, but it is physically the same area. Therefore, as shown in Figure 1, the microprocessor's chip select CS and I
/O request I/O REQ The output of the circuit 5 which takes the logical sum with the I/O
By inputting and decoding N, the need for the address of the memory area of the decoder output and the address of the I/O control area to be placed at different locations is satisfied.

【0008】[0008]

【実施例】第2図は本発明の一実施例のマイクロプロセ
ッサシステムのブロック図である。図中、1はマイクロ
プロセッサ、2はROM、3は2ポートRAM、4はア
ドレスデコーダ、5はオア回路であって, 負入力のア
ンドゲートである。この実施例では、2ポートRAM 
3が、マイクロプロセッサ1 の16ビットデータのワ
ーク用のメモリ領域を提供するとともに、8 ビットデ
ータのレジスタイメージのI/O制御の役割をも兼ねて
、該2ポートRAM 3を介して外部とのインタフェー
スをとる。 この実施例によれば、使用されるRAMが2ポートRA
M 3の一つで済むので、マイクロプロセッサシステム
の回路規模を従来より小さくすることが出来るし、また
使用するメモリデバイスの数が少ないためアドレスデコ
ーダも小さく出来る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 is a block diagram of a microprocessor system according to an embodiment of the present invention. In the figure, 1 is a microprocessor, 2 is a ROM, 3 is a 2-port RAM, 4 is an address decoder, and 5 is an OR circuit, which is an AND gate with a negative input. In this example, 2-port RAM
3 provides a memory area for the microprocessor 1 to work with 16-bit data, and also serves as I/O control for the 8-bit data register image, and communicates with the outside via the 2-port RAM 3. Take the interface. According to this embodiment, the RAM used is a 2-port RA
Since only one M3 is required, the circuit scale of the microprocessor system can be made smaller than before, and since the number of memory devices used is small, the address decoder can also be made small.

【0009】[0009]

【発明の効果】以上説明した如く、本発明によれば、プ
ログラム実行時のワーク用RAMと, レジスタイメー
ジのI/O制御用RAMの役割を兼ねる2ポートRAM
を,一つのRAMに纏められるため、メモリデバイス数
が減り、アドレスデコーダの負担が減って、マイクロプ
ロセッサシステムの回路の小規模化, 低コスト化が図
れる効果が得られる。
[Effects of the Invention] As explained above, according to the present invention, a two-port RAM that serves as a work RAM during program execution and a RAM for register image I/O control is provided.
Since these are combined into one RAM, the number of memory devices is reduced, the burden on the address decoder is reduced, and the effect of reducing the size and cost of the microprocessor system circuit is achieved.

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

【図1】  本発明のマイクロプロセッサシステムの基
本構成を示す原理図、
FIG. 1 is a principle diagram showing the basic configuration of the microprocessor system of the present invention.

【図2】  本発明の実施例のマイクロプロセッサシス
テムのブロック図、
FIG. 2 is a block diagram of a microprocessor system according to an embodiment of the present invention;

【図3】  従来例の論理的なメモリ領域と物理的領域
の図、
[Figure 3] Diagram of logical memory area and physical area in conventional example,

【図4】  本発明の実施例における論理的なメモリ領
域と物理的領域の図、
FIG. 4 Diagram of logical memory area and physical area in the embodiment of the present invention,

【図5】  従来のマイクロプロセッサシステムのブロ
ック図である。
FIG. 5 is a block diagram of a conventional microprocessor system.

【符号の説明】[Explanation of symbols]

1はマイクロプロセッサ、2はROM、3は2ポートR
AM、4はアドレスデータ、5は論理和回路である。
1 is microprocessor, 2 is ROM, 3 is 2 port R
AM, 4 is address data, and 5 is an OR circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  マイクロプロセッサ1 とROM2 
と2ポートRAM3 からなり外部I/Oを制御するマ
イクロプロセッサシステムにおいて、該マイクロプロセ
ッサからのアドレスとI/O制御信号(I/OREQ)
との論理和をとる回路5 を具え、該回路の出力をデコ
ードし前記2ポートRAMのデータのアドレスとするこ
とにより, レジスタイメージのI/O制御の役割をす
る一つの2ポートRAM3 がマイクロプロセッサ1 
のプログラム実行時のワーク用RAMをも兼ねることを
特徴としたマイクロプロセッサシステム。
[Claim 1] Microprocessor 1 and ROM 2
In a microprocessor system that controls external I/O, the address and I/O control signal (I/OREQ) from the microprocessor is
One 2-port RAM 3 is provided with a circuit 5 that performs the logical sum of the two-port RAM 3 and performs the role of I/O control of the register image by decoding the output of the circuit and using it as the data address of the 2-port RAM. 1
A microprocessor system that also serves as a work RAM when executing a program.
JP3005462A 1991-01-22 1991-01-22 Microprocessor system Withdrawn JPH04237346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3005462A JPH04237346A (en) 1991-01-22 1991-01-22 Microprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3005462A JPH04237346A (en) 1991-01-22 1991-01-22 Microprocessor system

Publications (1)

Publication Number Publication Date
JPH04237346A true JPH04237346A (en) 1992-08-25

Family

ID=11611898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3005462A Withdrawn JPH04237346A (en) 1991-01-22 1991-01-22 Microprocessor system

Country Status (1)

Country Link
JP (1) JPH04237346A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998036333A1 (en) * 1997-02-13 1998-08-20 Siemens Aktiengesellschaft Control device, specially for use in a motor vehicle
KR100344217B1 (en) * 2000-07-04 2002-07-20 주식회사 케이이씨메카트로닉스 Commnication interface circuit using dual port memory
US8764005B2 (en) 2012-04-27 2014-07-01 Seiko Epson Corporation Recording medium feeding device and recording apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998036333A1 (en) * 1997-02-13 1998-08-20 Siemens Aktiengesellschaft Control device, specially for use in a motor vehicle
KR100344217B1 (en) * 2000-07-04 2002-07-20 주식회사 케이이씨메카트로닉스 Commnication interface circuit using dual port memory
US8764005B2 (en) 2012-04-27 2014-07-01 Seiko Epson Corporation Recording medium feeding device and recording apparatus

Similar Documents

Publication Publication Date Title
US5416916A (en) Structure for enabling direct memory-to-memory transfer with a fly-by DMA unit
JPH04237346A (en) Microprocessor system
JPS581451B2 (en) Data transfer method
JPS6330658B2 (en)
JPS62186344A (en) address mapped register
JPS6350995A (en) Stack memory device
JPH02207363A (en) Data transfer system, device controller, and memory controller
JPS5886623A (en) Memory control system
JPS63206855A (en) Data transmission equipment
JPS61233860A (en) Data transfer method
JPS61206066A (en) Memory address setting method
JPS60192040U (en) Control processing unit for input/output devices
JPS6121541A (en) Storage circuit
JPH02310738A (en) Microprocessor ic
JPS62224849A (en) data processing system
JPS63174157A (en) Microprocessor device
JPS61133465A (en) How to switch CPU
JPS63159966A (en) Single-chip microcomputer
JPH064406A (en) Data processor having cache memory
JPH0362248A (en) Memory controller
JPS63298888A (en) Memory access system
JPS5885987A (en) Address setting system for vector table of computer
JPS60218146A (en) Storage device address control system
JPS63257044A (en) Programmable memory mapping system
JPH0322163A (en) Computer system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514