JPS61175748A - Address decoding system for microprocessor - Google Patents

Address decoding system for microprocessor

Info

Publication number
JPS61175748A
JPS61175748A JP1542485A JP1542485A JPS61175748A JP S61175748 A JPS61175748 A JP S61175748A JP 1542485 A JP1542485 A JP 1542485A JP 1542485 A JP1542485 A JP 1542485A JP S61175748 A JPS61175748 A JP S61175748A
Authority
JP
Japan
Prior art keywords
microprocessor
address
decoder
write
read
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
JP1542485A
Other languages
Japanese (ja)
Inventor
Hirohisa Nagayama
長山 浩久
Koichi Miyabe
宮部 幸一
Toru Miyazaki
宮崎 亨
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1542485A priority Critical patent/JPS61175748A/en
Publication of JPS61175748A publication Critical patent/JPS61175748A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To decrease the number of output bits of an address decoder by distributing a read-only device and a write-only device into the same address space of a microprocessor. CONSTITUTION:An address decoder 2 decodes a high-order address signal 7 of a microprocessor 1 and delivers four selection signals 12-15. The selection signals 13-15 are connected to the read/write devices 4 and 5 as well as to a write-only device 6. While the selection signal 12 is connected to both a read- only device 3 and a write-only device 16. Therefore the same address space is allocated to both devices 3 and 16. When the processor 1 reads the signals given from the device 3, both devices 3 and 16 are selected by the decoder 2. Then the signals sent from the device 3 are read by a read control signal 11. In the same way, the decoder 2 selects both devices 3 and 16 and writes signals to the device 16 by a write control signal 10.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はマイクロプロセッサ応用回路におけるアドレス
デコード方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an address decoding method in a microprocessor application circuit.

(従来の技術) 従来、マイクロプロセッサのアドレスデコーダは、マイ
クロプロセッサのアドレス信号の上位数ビットをデコー
ドし、各々の信号を各装置(ROM、RAM、I10ポ
ート等)の選択信号として用いる。つまり1つの連続し
たアドレス空間に対し、1つの装置が対応する構成が一
般的であった・ 第2図に従来のデコーダ回路を示す。同図において、マ
イクロプロセッサ1のアドレス出力の内。
(Prior Art) Conventionally, an address decoder of a microprocessor decodes several high-order bits of an address signal of the microprocessor, and uses each signal as a selection signal for each device (ROM, RAM, I10 port, etc.). In other words, it was common for one device to correspond to one continuous address space. Figure 2 shows a conventional decoder circuit. In the figure, among the address outputs of the microprocessor 1.

上位の数ビットをアドレスデコーダ2でデコードして選
択信号12〜15を発生し、各装置3〜6を選択し入出
力を行なう。
The upper several bits are decoded by the address decoder 2 to generate selection signals 12-15, which select each device 3-6 for input/output.

(発明が解決しようとする問題点) しかし、装置の数がおおくて、全装置が全アドレス空間
に割り当て切れない場合はアドレスの下位ビットもデコ
ードするためにデコーダ回路が複雑になる。また装置の
数がデコーダICの出力ビツト数を越えるとデコーダI
Cの数を増さざるを得ないという欠点がある。
(Problems to be Solved by the Invention) However, if the number of devices is large and all the devices cannot be allocated to the entire address space, the decoder circuit becomes complicated because it also decodes the lower bits of the address. Also, if the number of devices exceeds the number of output bits of the decoder IC, the decoder I
There is a drawback that the number of Cs has to be increased.

第2図の例において、アドレスデコーダ2の出カビット
数が4しか無い場合、又は、アドレスデコーダがすでに
マイクロプロセッサの全アドレス空間をデコードしてし
まっている場合に、さらに選択信号No、5が必要にな
った時には、アドレスデコーダ2を増設する必要がある
In the example shown in Figure 2, if the number of output bits of address decoder 2 is only 4, or if the address decoder has already decoded the entire address space of the microprocessor, selection signals No. 5 are additionally required. When this happens, it is necessary to add an address decoder 2.

本発明は上記欠点を改善することを目的とする。The present invention aims to improve the above-mentioned drawbacks.

(問題点を解決するための手段) 上記目的を達成するための本発明の特徴は、マイクロプ
ロセッサ及び該マイクロプロセッサとの間でデータの送
受を行なう複数の外部装置を有し、マイクロプロセッサ
からのアドレス信号のデコードにより外部装置が選択さ
れるマイクロプロセッサのアドレスデコード方式におい
て、前記外部装置のうち、マイクロプロセッサにデータ
を送出する読み出し専用装置と、マイクロプロセッサか
らデータを受信する書き込み専用装置とを、マイクロプ
ロセッサの同一アドレス空間に割り当てることにある。
(Means for Solving the Problems) A feature of the present invention for achieving the above object is that it includes a microprocessor and a plurality of external devices that transmit and receive data to and from the microprocessor. In a microprocessor address decoding method in which an external device is selected by decoding an address signal, a read-only device that sends data to the microprocessor and a write-only device that receives data from the microprocessor are selected from among the external devices. The purpose is to allocate them to the same address space of microprocessors.

(作用) ROMのような読み出し専用装置と出力ポートのような
書き込み専用装置には同一のアドレス空間が割り当てら
れて、両者は同時に選択される。
(Operation) The same address space is assigned to a read-only device such as a ROM and a write-only device such as an output port, and both are selected at the same time.

、しかしマイクロプロセッサは読み出しと書き込みを同
時に行なうことはないので同一アドレスの2つの装置が
干渉することはなく、2つの装置は全く正常に動作する
。従って、少ないアドレス空間に多数の外部装置を接続
することができる。
However, since the microprocessor does not read and write at the same time, two devices with the same address will not interfere, and the two devices will operate perfectly normally. Therefore, a large number of external devices can be connected to a small address space.

(実施例) 第1図に本発明によるデコーダ回路を示す、マイクロプ
ロセッサ1の上位アドレス信号7をデコードするアドレ
スデコーダ2は4本の選択信号12−Isを出力し、一
方、5個の外部装置3,4゜5.6及び16が接続され
る0選択信号13.14.15は、従来の技術と同様に
、読み出し/書き込み両用機4,5及び書き込み専用装
置6に接続される。
(Embodiment) FIG. 1 shows a decoder circuit according to the present invention. An address decoder 2 that decodes a high-order address signal 7 of a microprocessor 1 outputs four selection signals 12-Is, while five external devices The 0 selection signals 13.14.15 to which 3, 4.degree.

選択信号12は、読み出し専用装置3と書き込み専用装
置16の両方に接続され、従って装置3と16には同一
のアドレス空間が割り当てられる。
The selection signal 12 is connected to both the read-only device 3 and the write-only device 16, so that the devices 3 and 16 are assigned the same address space.

マイクロプロセッサ1が装置3からの信号を読み取ると
きは、デコーダ2により装置3と16の両方を選択した
後、読み出し制御信号11により装置3からの信号を読
み取る。同様に、装置16に信号を書き込むときは、デ
コーダ2により装置3と16の両方を選択した後、書き
込み制御信号10により装置16に信号を書き込む。
When the microprocessor 1 reads a signal from the device 3, the decoder 2 selects both devices 3 and 16, and then the read control signal 11 reads the signal from the device 3. Similarly, when writing a signal to device 16, after selecting both devices 3 and 16 by decoder 2, the signal is written to device 16 by write control signal 10.

読み出し制御信号11と書き込み制御信号10が同時に
出力されることはないので、2つの装置3と16は、同
じアドレスを割り当てられているにもかかわらず、干渉
しあうことはない。
Since the read control signal 11 and the write control signal 10 are never output at the same time, the two devices 3 and 16 do not interfere with each other even though they are assigned the same address.

(発明の効果) この発明は1以上説明したように、読み出し専用装置と
書き込み専用装置を同一アドレス空間に割り当てること
によりアドレスデコーダの出力ビツト数を節減すること
ができる。特にデコーダの出力ビツト数が少しだけ足り
ない場合、又はマイクロプロセッサの全アドレス空間を
デコードしても少しだけ足りない場合に、本方式を使用
すると、デコーダICの削減につながり回路実装上効果
が大きい。
(Effects of the Invention) As described above, the present invention can reduce the number of output bits of an address decoder by allocating a read-only device and a write-only device to the same address space. In particular, when the number of output bits of the decoder is slightly insufficient, or when decoding the entire address space of the microprocessor is only slightly insufficient, using this method reduces the number of decoder ICs and has a large effect on circuit implementation. .

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

第1図は本発明によるデコーダ回路、第2図は従来のデ
コーダ回路である。 1−m−マイクロプロセッサ、 2−m−アドレスデコーダ。 3.4.5,6,16一−−外部装置。 7.8−m−アドレス信号、 9−m−データ信号、1
0−一一書き込み制御信号。 11−一一読み出し制御信号、 12−15−m−選択信号。
FIG. 1 shows a decoder circuit according to the present invention, and FIG. 2 shows a conventional decoder circuit. 1-m-microprocessor, 2-m-address decoder. 3.4.5,6,16--External devices. 7.8-m-address signal, 9-m-data signal, 1
0-11 write control signal. 11-11 read control signal, 12-15-m- selection signal.

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサ及び該マイクロプロセッサとの間で
データの送受を行なう複数の外部装置を有し、マイクロ
プロセッサからのアドレス信号のデコードにより外部装
置が選択されるマイクロプロセッサのアドレスデコード
方式において、前記外部装置のうち、マイクロプロセッ
サにデータを送出する読み出し専用装置と、マイクロプ
ロセッサからデータを受信する書き込み専用装置とを、
マイクロプロセッサの同一アドレス空間に割り当てるこ
とを特徴とする、マイクロプロセッサのアドレスデコー
ド方式。
In an address decoding method for a microprocessor, which has a microprocessor and a plurality of external devices that exchange data with the microprocessor, the external device is selected by decoding an address signal from the microprocessor. Among them, a read-only device that sends data to the microprocessor and a write-only device that receives data from the microprocessor.
A microprocessor address decoding method characterized by assigning to the same address space of the microprocessor.
JP1542485A 1985-01-31 1985-01-31 Address decoding system for microprocessor Pending JPS61175748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1542485A JPS61175748A (en) 1985-01-31 1985-01-31 Address decoding system for microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1542485A JPS61175748A (en) 1985-01-31 1985-01-31 Address decoding system for microprocessor

Publications (1)

Publication Number Publication Date
JPS61175748A true JPS61175748A (en) 1986-08-07

Family

ID=11888386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1542485A Pending JPS61175748A (en) 1985-01-31 1985-01-31 Address decoding system for microprocessor

Country Status (1)

Country Link
JP (1) JPS61175748A (en)

Similar Documents

Publication Publication Date Title
US4695948A (en) Bus to bus converter using a RAM for multiple address mapping
JPS61175748A (en) Address decoding system for microprocessor
JPH08235105A (en) Computer system
JPH0549991B2 (en)
US4388707A (en) Memory selecting system
JPS63255750A (en) Memory system
JPH0562786B2 (en)
JPS63142434A (en) Interrupt control system
JP2692180B2 (en) Microcomputer
JPS59183424A (en) Information processor
JPS61147352A (en) Computer device
JPS6022777B2 (en) Data transfer method
JP2612715B2 (en) Address bus controller
JPH01209535A (en) Microcomputer/emulator
JPH04195895A (en) Ic memory
JPS5844252B2 (en) terminal control device
JPH04168545A (en) Interface circuit
JPH0784937A (en) Microprocessor connecting circuit of peripheral circuit
JPH0370052A (en) Address translation circuit, memory controller, information processor, and recorder
JPS6121541A (en) Storage circuit
JPH0227231U (en)
JPS61234448A (en) Computer
JPH01297758A (en) Data transmission method between microcomputers
JPS63100554A (en) Memory controller
JPS60241144A (en) Memory block selection circuit