JPS62226345A - Lsi for input output memory access - Google Patents

Lsi for input output memory access

Info

Publication number
JPS62226345A
JPS62226345A JP6990486A JP6990486A JPS62226345A JP S62226345 A JPS62226345 A JP S62226345A JP 6990486 A JP6990486 A JP 6990486A JP 6990486 A JP6990486 A JP 6990486A JP S62226345 A JPS62226345 A JP S62226345A
Authority
JP
Japan
Prior art keywords
memory
input
read
output
write
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
JP6990486A
Other languages
Japanese (ja)
Inventor
Yuji Watabe
渡部 勇二
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP6990486A priority Critical patent/JPS62226345A/en
Publication of JPS62226345A publication Critical patent/JPS62226345A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable highly efficient accessing when accessing an input-output memory sequentially by using an LSI for memory access and thereby simplifying circuit configuration. CONSTITUTION:Initial value of count is set to counters (UCNTR/MCNTR/ LCNTR) 1-3 by data inputted from outside. Increment or decrement from the initial value of count is started by clocks (CKU.CKM.CKL) and count up/down signals (UP/DOWN) given from outside and the value is outputted. Memory address for higher rank and memory address for lower rank correspond respectively to counters 1-3. When READ/WRITE is made to input-output ports allotted beforehand to counters 1-3, a decoder 4 decodes addresses and outputs specified signals to a specified counter block. When READ/WRITE of data is made to the input-output port itself, a READ/WRITE of data is made to the input-output port itself, a READ/WRITE signal for a memory is outputted, and READ/WRITE is performed actually to the memory.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、マイクロコンピュータシステムに用いて好適
な入出力メモリアクセス用LSIに関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to an LSI for input/output memory access suitable for use in a microcomputer system.

(従来の技術) CPUが直接アクセス可能なメモリ空間より大きい実メ
モリ(拡張メモリ)を必要とするマイクロコンピュータ
システムでは、メモリの一部を入出力空間にマツピング
し、入出力ポートにメモリアドレスを書き込むことでア
クセスする方法が通常用いられている。
(Prior art) In microcomputer systems that require real memory (extended memory) that is larger than the memory space that can be directly accessed by the CPU, a part of the memory is mapped to the input/output space and a memory address is written to the input/output port. The method of access is usually used.

(発明が解決しようとする問題点) しかしながら上記し九従来の方法では、アドレスを指定
され友人出力ポートにデータとして畜き込むため、デー
タバス幅によっては1つのアドレスを指定するのに2〜
3回の入出力■ITE 9作を必要とし、メモリアクセ
ス実行時間を遅くするという欠点があっto一方、この
問題をいくらか改善したものとして、メモリアドレス生
成入出力ポートにカウンタ回路を備え、ある番地から連
続してメモリをアクセスする時には、最初のアドレスを
指定すれば、次に続くアドレスはカウンタでインクリメ
ントすることによりアクセスするという方法もあつ友。
(Problems to be Solved by the Invention) However, in the nine conventional methods described above, an address is specified and stored as data in the friend output port.
3 times of input/output■ ITE 9 operations are required, which has the disadvantage of slowing down memory access execution time.On the other hand, as a way to somewhat improve this problem, a counter circuit is provided at the memory address generation input/output port, and a certain address When accessing memory consecutively, it is also possible to specify the first address and then access the following addresses by incrementing the counter.

しかしながらこの場合には、カウンタ用ICを必要とす
るため基板の集積化に難があっ友。
However, in this case, since a counter IC is required, it is difficult to integrate the board.

本発明はこのことに鑑みてなされ次ものであり、メモリ
アクセス時間に影醤せず、且つ基板の集積化全実現する
メモリアクセス用LSIを提供することを目的とする。
The present invention has been made in view of this, and an object of the present invention is to provide an LSI for memory access that does not affect the memory access time and achieves full integration of the board.

[発明の構成] (問題点を解決する九めの手段) 本発明は上述し九目的を実現する九めに、メモリアクセ
ス用LSIを初期値が設定さn1外部から与えらnるク
ロックに従かいカウントアツプダウンを行なういくつか
のカウンタと、外部から与えられる入出力ポ−ドアドレ
スならびにREAD7■ITE信号をデコードし上記カ
ウンタの選択され友ものに対しカウントクロックを更に
あらかじめ割付けられている入出力ポートに対しメモ1
.I READ廓I TE信号を供給するデコーダで構
成した。
[Structure of the Invention] (Ninth Means for Solving the Problems) The present invention achieves the above-mentioned nine objects by providing a memory access LSI with an initial value set according to a clock n1 given from the outside. There are several counters that perform quick counting up and down, input/output port addresses given from the outside, and input/output that decodes the READ7■ITE signal and assigns count clocks to selected companions of the above counters in advance. Note 1 for port
.. It consists of a decoder that supplies the I READ and I TE signals.

[作用] 上述した構成により、まず、外部から与えられる入出力
V/RITB信号と入出力ポ−ドアドレスをデコーダに
てデコードし、データバス上のデータをカウンタにロー
ドして初期値を設定する。更に、外部から与えられる入
出力■ITE信号と入出力ポートアト9レスをデコード
することによってメモリWRITE信号をアクティブと
し、カラ/りによって出力されるアドレスに従がい、外
部メモリの所定アドレスにデータのREAQ/WRIT
E i行なう。又、このとき、デコーダよりカウントク
ロックが出力され、カウンタにあらかじめ設定され九カ
ウントアツプ/ダウン信号により指定方向にアドレスの
更新が行なわれる。
[Operation] With the configuration described above, first, the input/output V/RITB signal and input/output port address given from the outside are decoded by the decoder, and the data on the data bus is loaded into the counter to set the initial value. . Furthermore, by decoding the input/output ■ITE signal given from the outside and the input/output port address, the memory WRITE signal is made active, and according to the address output by the color/receiver, data is read and output at a predetermined address in the external memory. /WRIT
E I will do it. Also, at this time, a count clock is output from the decoder, and the address is updated in the designated direction by the nine count up/down signals set in advance in the counter.

(実施例) 以下、図面を使用して本発明実施例につき詳細に説明す
る。第1図は本発明の実施例を示すブロック図である。
(Example) Hereinafter, examples of the present invention will be described in detail using the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention.

図において、1〜3はカウンタ(UCNTR/ MCN
TR/ LCNTR)であり、外部から入力されたデー
タによりカウントの初期値が設定される。また外部から
与えられるクロック(CKU″CKM −CKL )及
びカウントアツプ/ダウン信号(UP/DOWN )に
より上述しtカウント初期値からインクリメントもしく
はデクリメントを開始し、その値を出力する。メモリア
ドレス上位用、中位用、下位用がそnぞれカウンタ1.
2.3に対応する。
In the figure, 1 to 3 are counters (UCNTR/MCN
TR/LCNTR), and the initial value of the count is set by externally input data. Also, it starts incrementing or decrementing from the above-mentioned t count initial value using a clock (CKU''CKM-CKL) and a count up/down signal (UP/DOWN) applied from the outside, and outputs that value. Counters 1 and 1 for middle and low rank respectively.
Corresponds to 2.3.

4はデコーダである。デコーダ4は、カウンタ1〜3に
あらかじめ割りつけられている入出力ポートにREAI
)/WRITEを行うと、アドレスをデコードし、図中
の所定のカウンタブロックにクロック信号等、所定の信
号を出力する。また、入出力ポート自身へy’ −夕t
 READ/vRITE j ル(!: メモ!J 用
(D READ/WRI TE信号が出力され、笑顔に
メモリへのREAD/WRI TEが行われる。尚、5
はデータバス、6はアドレスバスである。
4 is a decoder. Decoder 4 sends REAI to input/output ports assigned in advance to counters 1 to 3.
)/WRITE, the address is decoded and a predetermined signal such as a clock signal is output to a predetermined counter block in the figure. Also, to the input/output port itself y' - t
READ/vRITE j le (!: Memo! J (D READ/WRI TE signal is output, and READ/WRI TE to the memory is performed with a smile. In addition, 5
is a data bus, and 6 is an address bus.

以下、動作について詳細に説明する。The operation will be explained in detail below.

まず、入出力ポート(カウンタ1)へ上位メモリアドレ
スをデータとして書き込む。具体的には、入出力■IT
E信号(IOW’r )と入出力ポ−ドアドレス(l0
ADR)−をデコーダ4でデコードし、データロード信
号(LDU −LDM −LDL )のうち、上位用(
LDU )をアクティブにするとデータバス5上のデー
タがカウンタ1にロードされ、この1直がカウント初期
値として設定される。同時にこの値は上位メモリアドレ
スとしてアドレスバス6上に出力される。同様にして、
中位アドレス、下位アドレスがカウンタ2,3に設定さ
れメモりのアドレス設定が終了する。
First, the upper memory address is written as data to the input/output port (counter 1). Specifically, input/output■IT
E signal (IOW'r) and input/output port address (l0
ADR)- is decoded by the decoder 4, and among the data load signals (LDU-LDM-LDL), the upper one (
When LDU) is activated, the data on the data bus 5 is loaded into the counter 1, and this 1st shift is set as the initial count value. At the same time, this value is output onto the address bus 6 as an upper memory address. Similarly,
The middle address and the lower address are set in counters 2 and 3, and the memory address setting is completed.

次に、メモリデータのREAD/WRITEがポートを
介して行われる。ポートへデータを■ITEすると、こ
こでは入出力WRITE信号(l0WT )と入出力ポ
ートアドレスエδADR’iiデコー)’ シ、メモリ
ライト信号(WRITE ) ’iアクティブにする。
Next, READ/WRITE of memory data is performed via the port. When data is sent to the port, the input/output WRITE signal (10WT), input/output port address address δADR'ii decoding) and memory write signal (WRITE)'i are activated.

このことにより、図示されない外部メモリにWRITE
信号とアドレス(アドレスバス6)から所定のアドレス
にデータバス5上のデータを書き込むことができる。
This allows WRITE data to be stored in an external memory (not shown).
Data on the data bus 5 can be written to a predetermined address from the signal and address (address bus 6).

READの場合も同様に行なわれる。The same applies to READ.

また、入出力ポートへのRIi:AD/WRITE時に
はカウントクロック信号(CKU −CKM −CKL
 )が出力され、カウンタ1〜3はあらかじめ設定され
たカウントアツプ/グラン信号(UP/DOWN )に
より指定された方向に、カウントアツプ又はダウンを行
なう。従がって、メモリへのリード/ライトが1回終了
すると、メモリアドレスは自動的に次のアドレスが設定
され友状態になっている。ここで、最初にアクセスした
メモリ番地から連続的にメモリ全アクセスする場合は、
このアドレス自動カウントアツプ/ダウン機能を利用し
、入出力ポートへのデータREAD/WRITEを行う
だけでメモリへのm7■ITE動作を央行できる。
In addition, at the time of RIi:AD/WRITE to the input/output port, the count clock signal (CKU - CKM - CKL
) is output, and counters 1 to 3 count up or down in the direction specified by the preset count up/down signal (UP/DOWN). Therefore, once reading/writing to the memory is completed, the next address is automatically set as the memory address and the memory is in a friend state. Here, if you want to access all memory continuously from the first accessed memory address,
Using this address automatic count up/down function, m7 ITE operations to the memory can be performed centrally by simply performing data READ/WRITE to the input/output port.

尚、’rct  、’re2はターミナルカウント信号
であり、カウントアツプ/ダウンの結果、カウント1直
が最大又は最小になっ几ことを知らせる。この信号が一
段上のカウンタ(それぞれ2,1)へイネーブル信号と
して入力され九時だけそのカウンタはクロックに同期し
、カウントを行う。その結果、カウンタ1〜3は全体と
して1個のカウンタとして動作する。CLRは、カウン
タ及びデコーダのイニシャライズ信号である。
Note that 'rct' and 're2 are terminal count signals, which inform that the count 1 shift has reached the maximum or minimum as a result of count up/down. This signal is input as an enable signal to the next higher counter (2 and 1, respectively), and the counter synchronizes with the clock and performs counting only at 9 o'clock. As a result, counters 1 to 3 operate as one counter as a whole. CLR is a counter and decoder initialization signal.

[発明の効果] 以上説明の様に、入出力メモリヲ必要とするシステムで
は本発明によるメモリアクセス用LSIを使用すること
により回路構成を簡単にでき、基板の集積化が行える。
[Effects of the Invention] As explained above, by using the memory access LSI according to the present invention in a system requiring an input/output memory, the circuit configuration can be simplified and the board can be integrated.

また、本発明に従えば、入出力メ七すをシーケンシャル
にアクセスする場合Fi特に効率のよいアクセスが可能
である。
Furthermore, according to the present invention, particularly efficient access to Fi is possible when sequentially accessing the input/output menus.

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

第1図は本発明の実施例を示すブロック図である。 1.2.3・・・カウンタ、4・・・デコーダ、5・・
・データバス、6・・・アドレスバス。
FIG. 1 is a block diagram showing an embodiment of the present invention. 1.2.3... Counter, 4... Decoder, 5...
・Data bus, 6...address bus.

Claims (1)

【特許請求の範囲】[Claims] 初期値が設定され、外部から与えられるクロックに従が
ってカウントアップ/ダウンを行なういくつかのカウン
タと、外部から与えられる入出力ポートアドレス及びR
EAD/WRITE信号をデコードし、上記カウンタの
選択されたものに対しカウントクロックを、更にあらか
じめ割付けられている入出力ポートの選択されたものに
対しメモリREAD/WRITE信号を出力するデコー
ダとを備え、このデコーダにより出力されるメモリRE
AD/WRITE信号と上記カウンタにより出力される
アドレスに基づき外部接続されるメモリのREAD/W
RITEを行なうことを特徴とする入出力メモリアクセ
ス用LSI。
Some counters have initial values set and count up/down according to externally applied clocks, as well as externally applied input/output port addresses and R.
a decoder that decodes the EAD/WRITE signal and outputs a count clock to the selected one of the counters and a memory READ/WRITE signal to the selected one of the input/output ports allocated in advance; Memory RE output by this decoder
READ/W of the externally connected memory based on the AD/WRITE signal and the address output by the above counter.
An input/output memory access LSI characterized by performing RITE.
JP6990486A 1986-03-28 1986-03-28 Lsi for input output memory access Pending JPS62226345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6990486A JPS62226345A (en) 1986-03-28 1986-03-28 Lsi for input output memory access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6990486A JPS62226345A (en) 1986-03-28 1986-03-28 Lsi for input output memory access

Publications (1)

Publication Number Publication Date
JPS62226345A true JPS62226345A (en) 1987-10-05

Family

ID=13416149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6990486A Pending JPS62226345A (en) 1986-03-28 1986-03-28 Lsi for input output memory access

Country Status (1)

Country Link
JP (1) JPS62226345A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764854A (en) * 1993-08-11 1995-03-10 Koninkl Ptt Nederland Nv Arrangement apparatus for connection of processor to memory as well as system provided with processor and with arrangement apparatus for connection of memory to processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764854A (en) * 1993-08-11 1995-03-10 Koninkl Ptt Nederland Nv Arrangement apparatus for connection of processor to memory as well as system provided with processor and with arrangement apparatus for connection of memory to processor

Similar Documents

Publication Publication Date Title
JP2735173B2 (en) One-chip memory device
JPH0146946B2 (en)
US5317750A (en) Microcontroller peripheral expansion bus for access to internal special function registers
JPH0221616B2 (en)
JPS62226345A (en) Lsi for input output memory access
US4807119A (en) Memory address mapping mechanism
JPS5960488A (en) Data writing unit for color graphic memory
JPS60189561A (en) Memory access control system
JP2968636B2 (en) Microcomputer
JP2595992B2 (en) Electronic musical instrument
JPS6330658B2 (en)
JPH0855204A (en) Ic card with cpu and accessible address limiting method of ic card with cpu
JPH0542525Y2 (en)
JP3514771B2 (en) Data transfer method
KR930009061B1 (en) Memory access unit
JPH04237346A (en) Microprocessor system
JPH0520474A (en) One chip microcomputer
JP2680013B2 (en) External I / O control circuit of programmable controller
JPS61161560A (en) Memory device
KR910006792B1 (en) Access memory expansion circuit of direcrt memory access controller
JPS61241851A (en) Reading circuit
JPH05334506A (en) Ic memory card
JPS62151953A (en) Memory device
JPS6121541A (en) Storage circuit
JPH04186449A (en) Main storage key access control system