JPS62231364A - Electronic equipment - Google Patents

Electronic equipment

Info

Publication number
JPS62231364A
JPS62231364A JP7355486A JP7355486A JPS62231364A JP S62231364 A JPS62231364 A JP S62231364A JP 7355486 A JP7355486 A JP 7355486A JP 7355486 A JP7355486 A JP 7355486A JP S62231364 A JPS62231364 A JP S62231364A
Authority
JP
Japan
Prior art keywords
port
address
data
output
signal
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
JP7355486A
Other languages
Japanese (ja)
Inventor
Yoshihisa Hirota
慶尚 廣田
Akihiro Yamanaka
章弘 山中
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7355486A priority Critical patent/JPS62231364A/en
Publication of JPS62231364A publication Critical patent/JPS62231364A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To set an I/O address in an address space with a simplified constitution, by providing a logic circuit that outputs a signal which controls the input/ output of data to a storage device, and an I/O to be connected to a peripheral equipment. CONSTITUTION:A CPU1 has address ports 50-59 which designate an address to store the data, and a read signal port 60 which reads the data, and is connected to a RAM2 and a ROM3 which have an output enable (OE) port 85 which enables the data to be outputted. Also, the CPU1 is connected to an I/O4 which is connected to a peripheral equipment 5, and having a chip selector CS86 which enables the data to be outputted. When the CPU1 designates a specific address, and accesses to the RAM2 or the ROM3, only the storage device whose address is designated, is enabled to operate, and another storage device and the I/O4 are disabled to operate, by an inversion circuit 9, and OR circuits 6 and 8. When the I/O4 is accessed, the input of the data is diabled at the I/O4 and the operations of the RAM2 and the ROM3 are disabled, by the circuit 8 and the CS86.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、メモリーを有し、周辺機器とデータのやりと
りを行うコンピューターやプリンタ等の電子機器に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to electronic devices such as computers and printers that have a memory and exchange data with peripheral devices.

従来の技術 近年、コンピューター等の電子機器は広く普及し、大き
な記憶容量を持つものや多数の周辺機器が接続されたも
のがある。
BACKGROUND OF THE INVENTION In recent years, electronic devices such as computers have become widespread, and some have large storage capacities and others have many peripheral devices connected to them.

一般に電子機器は、演算を行う中央処理装置(以下、C
PUと略称する。)及びプログラムやデータを記憶する
リードオンリーメモリー(以下、ROMと略称する。)
及びデータを随時格納するランダムアクセスメモリー及
び周辺機器に接続されたインプットアウトプットポート
(以下、Iloと略称する。)等を備えている。
Generally, electronic devices are equipped with a central processing unit (hereinafter referred to as C
It is abbreviated as PU. ) and read-only memory (hereinafter abbreviated as ROM) that stores programs and data.
and a random access memory for storing data at any time, and an input/output port (hereinafter abbreviated as Ilo) connected to peripheral devices.

以下に第3図を用いてROMについて説明する。第3図
(C)に示すようにROM29にはアドレス*30.デ
ータ線31、ROM29を活性化するためのチップイネ
ーブル(以下、CEと略称する。〉信号線32、出力を
可能にするためのアウトプットイネーブル(以下、OE
と略称する。)信号線33があり、’ROM29からデ
ータを読みだす場合には第4図に示すようにまずアドレ
ス信号線30に読み出したいデータのある番地を指定し
、同時にCE信号線32及びOE信号線33に信号を入
力する必要がある。そのやりかたとしては先ず第3図(
a)に示すようにCE信号線32はグランドに接続して
常に有効状態にしておき、OE信号線33を制御してデ
ータを読み出すものや、第3図(b)に示すようにOE
信号線33をグランドに接続しGE信号線32を制御し
てデータを読み出すものや、さらにOE信号線33とC
E信号線32を同時に制御してデータを取り出すものが
あった。
The ROM will be explained below using FIG. As shown in FIG. 3(C), the address *30. Data line 31, chip enable (hereinafter referred to as CE) for activating the ROM 29; signal line 32, output enable (hereinafter referred to as OE) for enabling output.
It is abbreviated as. ) There is a signal line 33, and when reading data from the ROM 29, as shown in FIG. It is necessary to input a signal to To do this, first see Figure 3 (
As shown in FIG. 3(a), the CE signal line 32 is connected to the ground and kept in a valid state at all times, and the OE signal line 33 is controlled to read data, or as shown in FIG.
There are those that connect the signal line 33 to the ground and control the GE signal line 32 to read data, and those that connect the OE signal line 33 and C
There was one that simultaneously controlled the E signal line 32 and extracted data.

また一般にROMの記憶容量はアドレス信号線の本数を
Nとすると2のN乗ビットに構成されている。
Generally, the storage capacity of a ROM is configured to be 2 to the Nth power bits, where N is the number of address signal lines.

以上のように説明したROMの他に電子機器に周辺機器
とやりとりを行うためのIloを設ける場合、Iloの
アドレスはROMのアドレスとは別のアドレスに割当て
る必要があった。
When an electronic device is provided with an Ilo for communicating with peripheral devices in addition to the ROM described above, the Ilo address needs to be assigned to an address different from the ROM address.

す゛ 発明肉解決しようとする問題点 しかしながら上記従来の構成では、Iloを接続しよう
とするとアドレス線の本数が増えてしまい、広いアドレ
ス空間をザポートできる中央処理装置を使用しな(では
ならないという問題点を有していた。
Problems to be Solved by the Invention However, in the conventional configuration described above, when attempting to connect Ilo, the number of address lines increases, and the problem is that a central processing unit that can support a wide address space must be used. It had

ここで広いアドレス空間をザポートできる中央処理装置
を用いることなくIloを接続しようとすると、ROM
の容量は離散的に作られているため、ROMの個数を増
やしてIloに対応するアドレスを除いたアドレス空間
を作る必要があるが、この場合ROMの個数が増加しコ
ストが上昇するという問題点を有していた。
If you try to connect Ilo without using a central processing unit that can port a wide address space, the ROM
Since the capacity of is made discretely, it is necessary to increase the number of ROMs to create an address space excluding the address corresponding to Ilo, but in this case, the problem is that the number of ROMs increases and the cost increases. It had

問題点を解決するための手段 本発明は、アドレスポート及び読み込み信号ポートに接
続され中央処理装置が特定のアドレスを指定しデータの
読み込みを行おうとした場合、メモリーのCEポートに
データの出力を不可能にする信号を出力し、Iloのチ
ップセレクタにデータ= 3− の出力を可能にする信号を出力する論理回路を備えたも
のである。
Means for Solving the Problems The present invention provides a system that prevents the output of data to the CE port of the memory when the central processing unit connected to the address port and the read signal port designates a specific address and attempts to read data. It is equipped with a logic circuit that outputs a signal that enables the output of data = 3- to the chip selector of Ilo.

作用 上記構成により、中央処理装置のアドレス空間を増加す
ることな(、かつメモリーの個数を増やすことなく、ア
ドレス空間の中にIloのアドレスを設けることができ
る。
Effect: With the above configuration, the address of Ilo can be provided in the address space without increasing the address space of the central processing unit (and without increasing the number of memories).

実施例 第1図は本発明の一実施例における電子機器の回路図で
ある。図において1は演算を行うCPUであり、CPU
1にはアドレスポート5o〜59、データポート70.
リード信号ポート60、ライト信号ポート61を有して
いる。2はCEポート81及びOEポート82及び書き
込み可能な状態にするWEポートを有し、アドレスポー
ト50〜59及びデータポート70に信号線で接続され
たRAM13は反転回路9を介してアドレスポート50
に接続されたCEポート84及び○Eポート85を有し
アドレスポート50〜59及びデータポート70に接続
されたROM、4はデー夕の入力を可能にするチップセ
レクタ(以下、C8と略称する。)を有し周辺機器に接
続された■10.5はIloに接続された周辺機器、6
は反転回路9を介してアドレスポート50に接続され、
またアドレスポート51〜57に接続された論理和回路
、7は論理和回路6の出力及びリード信号ポート60の
状態が反転回路10を介して入力される論理積回路であ
り、論理積回路7の出力はOEポート85に接続されて
いる。8は論理和回路6の出力及びリード信号ポート6
0の状態が入力される論理和回路であり、論理和回路8
の出力はC886に接続されている。
Embodiment FIG. 1 is a circuit diagram of an electronic device according to an embodiment of the present invention. In the figure, 1 is a CPU that performs calculations, and the CPU
1 has address ports 5o to 59, data ports 70.
It has a read signal port 60 and a write signal port 61. 2 has a CE port 81, an OE port 82, and a WE port to enable writing, and a RAM 13 connected to address ports 50 to 59 and a data port 70 by signal lines is connected to the address port 50 via an inverting circuit 9.
A ROM 4 has a CE port 84 and an ○E port 85 connected to the address ports 50 to 59 and a data port 70, and a chip selector 4 (hereinafter abbreviated as C8) that enables data input. ) and connected to a peripheral device ■10.5 is a peripheral device connected to Ilo, 6
is connected to the address port 50 via the inverting circuit 9,
Further, the OR circuit 7 connected to the address ports 51 to 57 is an AND circuit to which the output of the OR circuit 6 and the state of the read signal port 60 are inputted via the inverting circuit 10. The output is connected to OE port 85. 8 is the output of the OR circuit 6 and the read signal port 6
This is a logical sum circuit to which the state of 0 is input, and the logical sum circuit 8
The output of is connected to C886.

次にCPUIのアクセスするメモリー空間について説明
する。
Next, the memory space accessed by the CPUI will be explained.

第2図(a)に示すようにメモリー空間80にはRAM
、81にはIlo、82にはROMが割当てられている
As shown in FIG. 2(a), the memory space 80 includes RAM.
, 81 are assigned Ilo, and 82 is assigned a ROM.

以上のように構成された本実施例の電子機器について、
以下にその動作について説明する。
Regarding the electronic device of this embodiment configured as above,
The operation will be explained below.

まずCPUIがRAM2をアクセスする場合にはメモリ
ー空間80のアドレスを指定する。このとき°アドレス
ポート50はO[V](以下、Lレベルと略称する。)
となり、RAM2のCEポート81にチップイネーブル
信号が入力されRAM2はアクセス可能な状態となる。
First, when the CPUI accesses the RAM 2, the address of the memory space 80 is designated. At this time, the address port 50 is O[V] (hereinafter abbreviated as L level).
Then, a chip enable signal is input to the CE port 81 of the RAM 2, and the RAM 2 becomes accessible.

次にCPUIはOEポート82またはWEポート83に
信号を出力し、データの読み書きを行う。
Next, the CPUI outputs a signal to the OE port 82 or the WE port 83 to read and write data.

このときアドレスポート50の状態は反転回路9により
反転されて、CEポート84は+5[■](以下、Hレ
ベルと略称する。)となり、ROM3は動作しない。ま
た論理和回路6には反転回路9を介してアドレスポート
50からHレベルの信号が入力され、その出力は論理和
回路8を介してCSポートにHレベルの信号として入力
されるためl104はデータを出力しない。
At this time, the state of the address port 50 is inverted by the inversion circuit 9, the CE port 84 becomes +5 [■] (hereinafter abbreviated as H level), and the ROM 3 does not operate. Further, an H level signal is input to the OR circuit 6 from the address port 50 via the inverting circuit 9, and its output is input as an H level signal to the CS port via the OR circuit 8, so l104 is the data. is not output.

次にIloをアクセスする場合、第2図(b)の表に示
すアドレスが指定されると、論理和回路6の出力がLレ
ベルになり、ROM3のCEポート84はHレベルとな
りROM3は動作不可能な状態となる。またl104の
CSポート86はLレベルとなり周辺機器がらのデータ
の入力が可能となる。
When accessing Ilo next, when the address shown in the table of FIG. 2(b) is specified, the output of the OR circuit 6 goes to L level, the CE port 84 of ROM3 goes to H level, and ROM3 becomes inoperable. becomes possible. Further, the CS port 86 of l104 becomes L level, allowing input of data from peripheral devices.

次にCPUIがROM3をアクセスする場合、CPUI
はアドレスを指定し、リード信号ポート60に信号を出
力しデータを読み込む。このとき第2図(b)の表に示
すようにアドレスポート50はHレベルとなっているた
め、RAM2のCEポートはHレベルとなりRAM2は
動作せず、l104のCSポート86は論理和回路6及
び8によりHレベルとなっているためl104はデータ
を出力しない。
Next, when the CPUI accesses ROM3, the CPU
specifies an address, outputs a signal to the read signal port 60, and reads data. At this time, since the address port 50 is at H level as shown in the table of FIG. 1104 does not output data because it is at the H level due to 1 and 8.

発明の効果 本発明は、アドレスポート及び読み込み信号ポートに接
続され、中央処理装置が特定のアドレスを指定しデータ
の読み込みを行おうとした場合、メモリーのCEポート
にデータの出方を不可能にする信号を出力し、Iloの
チップセレクタにデータの出力を可能にする信号を出力
する論理回路を備え、メモリーのアドレス空間の中にI
loに対応するアドレスを設けることができるため、I
loを新たに設けても広いアドレス空間を・す゛ポート
できるCPUを用いる必要がなく、またメモリーの個数
も増加しない。
Effects of the Invention The present invention is connected to an address port and a read signal port, and when the central processing unit specifies a specific address and attempts to read data, it becomes impossible to output data to the CE port of the memory. It is equipped with a logic circuit that outputs a signal that enables output of data to the chip selector of Ilo, and has an Ilo in the address space of the memory.
Since an address corresponding to lo can be provided, I
Even if a new lo is provided, there is no need to use a CPU that can port a wide address space, and the number of memories does not increase.

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

第1図は本発明の一実施例における電子機器の回路図、
第2図(a)は同メモリーマツプ、第2図(b)は同各
メモリーまたはIloを選択したときのアドレスポート
の状態を示す表、第3図(a)、第3図(b)、第3図
(c)はROMの使用状態を示す平面図、第4図はRO
Mの使用時のタイミングチャートである。 1 ・CP U 、        3 ・ROM 。 4・・・l101     6.8・・・論理和回路、
7・・・論理積回路、    9.1o・・・反転回路
、50〜59・・・アドレスポート、 60・・・リード信号ポート、85・・・OEポート、
86・・・CEポート 代理人の氏名 弁理士 中尾敏男 ほか1名噂 き−一−−1 : → : : 柩ニ 1  習 ) 第2図 (広) (b)
FIG. 1 is a circuit diagram of an electronic device in an embodiment of the present invention,
Figure 2 (a) is the memory map, Figure 2 (b) is a table showing the address port status when each memory or Ilo is selected, Figure 3 (a), Figure 3 (b), Figure 3(c) is a plan view showing the usage state of ROM, Figure 4 is RO
It is a timing chart when M is used. 1.CPU, 3.ROM. 4...l101 6.8...OR circuit,
7...AND circuit, 9.1o...Inversion circuit, 50-59...Address port, 60...Read signal port, 85...OE port,
86...Name of CE Port agent Patent attorney Toshio Nakao and 1 other person rumored -1-1 : → : : Hitsugi ni 1 Xi ) Figure 2 (wide) (b)

Claims (1)

【特許請求の範囲】[Claims] データの格納アドレスを指定する複数のアドレスポート
及びデータの読み込みを要求する読み込み信号ポートを
有し演算を行う中央処理装置と、データの出力を可能に
するアウトプットイネーブルポートを有しデータを記憶
するメモリーと、データの出力を可能にするチップセレ
クタを有し周辺機器に接続されデータの入出力を行うイ
ンプットアウトプットポートと、前記アドレスポート及
び前記読み込み信号ポートに接続され前記中央処理装置
が特定のアドレスを指定し読み込み信号ポートに信号を
出力した前記アウトプットイネーブルポートにデータの
出力を不可能にする信号を出力し前記チップセレクタに
データの出力を可能にする信号を出力する論理回路を備
えたことを特徴とする電子機器。
A central processing unit that performs calculations and has multiple address ports that specify data storage addresses and a read signal port that requests data reading, and an output enable port that enables data output and stores data. an input/output port that is connected to a peripheral device and has a chip selector that enables data output; and an input/output port that is connected to the address port and the read signal port, and that is connected to the a logic circuit that specifies an address and outputs a signal to the read signal port, outputs a signal disabling data output to the output enable port, and outputs a signal enabling data output to the chip selector; An electronic device characterized by:
JP7355486A 1986-03-31 1986-03-31 Electronic equipment Pending JPS62231364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7355486A JPS62231364A (en) 1986-03-31 1986-03-31 Electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7355486A JPS62231364A (en) 1986-03-31 1986-03-31 Electronic equipment

Publications (1)

Publication Number Publication Date
JPS62231364A true JPS62231364A (en) 1987-10-09

Family

ID=13521575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7355486A Pending JPS62231364A (en) 1986-03-31 1986-03-31 Electronic equipment

Country Status (1)

Country Link
JP (1) JPS62231364A (en)

Similar Documents

Publication Publication Date Title
KR100265263B1 (en) Programmable shared memory system and method
US4617624A (en) Multiple configuration memory circuit
JPH0420492B2 (en)
JPH08756U (en) Device for enabling addresses for memory modules
US20020032829A1 (en) Microprocessor memory device controller
US6601130B1 (en) Memory interface unit with programmable strobes to select different memory devices
JPH0724029B2 (en) Emulation device
JPH09179780A (en) Microprocessor device for supporting burst-enabled and cache-disabled memory access
KR100258833B1 (en) Multimode cache structure
JPS629456A (en) Data transfer unit
JPS62231364A (en) Electronic equipment
KR100220204B1 (en) Memory protection mechanism
JPH07334420A (en) Extended memory control circuit
KR920003845B1 (en) Rom region expansion system for users of pc
JP2687679B2 (en) Program development equipment
JPS63142492A (en) Memory card
JPS6152762A (en) Bus control gate array
KR0174211B1 (en) Data access device for parallel programmable controller
JP2954988B2 (en) Information processing device
JPS6336346A (en) Bank switching circuit
JPS63159966A (en) Single-chip microcomputer
JPS63313251A (en) Addressing circuit
JPS6210751A (en) Microcomputer circuit
JPS62109285A (en) Switching circuit for ram bank of microcomputer
JPH01154272A (en) Multiprocessor device