JPS59114657A - Memory interface circuit of microcomputer - Google Patents

Memory interface circuit of microcomputer

Info

Publication number
JPS59114657A
JPS59114657A JP22520482A JP22520482A JPS59114657A JP S59114657 A JPS59114657 A JP S59114657A JP 22520482 A JP22520482 A JP 22520482A JP 22520482 A JP22520482 A JP 22520482A JP S59114657 A JPS59114657 A JP S59114657A
Authority
JP
Japan
Prior art keywords
memory
counter
microprocessor
signal
microcomputer
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
JP22520482A
Other languages
Japanese (ja)
Inventor
Kimio Anai
穴井 貴実雄
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 JP22520482A priority Critical patent/JPS59114657A/en
Publication of JPS59114657A publication Critical patent/JPS59114657A/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

Landscapes

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

Abstract

PURPOSE:To process the information of a large capacity in a short time by using a specific address signal as a chip selection signal of a memory and using an external counter for addresses of the memory. CONSTITUTION:A memory system 241 consists of a counter clock generating circuit 31, a counter 32 and a memory 33. The selection signals produced by a memory address decoder 22 are supplied to the circuit 31 and memory 33 of the system 241. The memory 33 uses the selection signal as a chip selection signal CS and then transfers data with a microprocessor 21 by means of the address signal of the counter 32, the selection signal of the decoder 22 and the RD and WR signals of the processor 21.

Description

【発明の詳細な説明】 〔発明の技術分野〕 こノ発明は、マイクロコンピュータにおけるマイクロプ
ロセッサとメモリとの間に設けられるインターフェイス
回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an interface circuit provided between a microprocessor and a memory in a microcomputer.

〔発明の技術的背景〕[Technical background of the invention]

従来の8ビツトマイクロプロセツサの最大メモリ空間は
64にバイトであシ、64にバイト以上のメモリ容量を
使用する方法にバンク(BANK)切シ換えがあった。
The maximum memory space of a conventional 8-bit microprocessor is 64 bytes, and a method for using memory capacity greater than 64 bytes is bank switching.

第1図はバンク切シ換えを使用した時のメモリ空間の割
シ付けの例を示したものである。この図においてバンク
切シ換えで切シ換わるメモリ空間はバンクf2とf3で
あり、この切シ換えに必要な信号はI10回路から供給
される。バンクf1とf2がアクセス可能な領域の時、
バンクf3はアクセス不可能な領域であり、バンク12
.13間のデータ転送はバンク11のメモリ空間を利用
してデータを一時記憶させ、マイクロプロセッサの出力
命令を使ってI10回路でバンク切シ換え信号を発生さ
せ、バンク12とバンクf3を切り換えた後で転送先の
バンクのメモリ空間にデータを移す方法がとられる。し
かしながら、この方法はバンク切シ換え信号のための出
力命令の実行時間が、転送データが大情報の場合、長く
なるという欠点がある。
FIG. 1 shows an example of memory space allocation when bank switching is used. In this figure, the memory spaces switched by bank switching are banks f2 and f3, and the signals necessary for this switching are supplied from the I10 circuit. When banks f1 and f2 are accessible areas,
Bank f3 is an inaccessible area, and bank 12
.. Data transfer between bank 13 uses the memory space of bank 11 to temporarily store data, generates a bank switching signal in I10 circuit using the output command of the microprocessor, and switches between bank 12 and bank f3. The method used is to move the data to the memory space of the destination bank. However, this method has the disadvantage that the execution time of the output command for the bank switching signal becomes long when the transferred data is large.

また、バンク切シ換えはマイコンのOUT命令を使用し
ているため、切り換えられるバンクの個数が有限となシ
、使用できるメモリの容量に限界がある。
Further, since bank switching uses the microcomputer's OUT command, the number of banks that can be switched is limited, and there is a limit to the usable memory capacity.

〔発明の目的〕[Purpose of the invention]

この発明の目的は、実質的に無限の容量のメモリを持つ
ことができ、大容量の情報を短時間で処理することの可
能なマイクロコンピュータのメモリ用インタフェイス回
路を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a memory interface circuit for a microcomputer that can have a memory of virtually unlimited capacity and can process a large amount of information in a short time.

〔発明の概要〕[Summary of the invention]

この発明に係るインタ−7エイース回路は、マイクロプ
ロセッサからの特定のアドレス信号をメモリのチップセ
レクト信号に使用し、メモリのアドレスは外部のカウン
タを用いることで、大容量のメモリを持つマイクロコン
ピュータを実現させることを基本的な特徴としている。
The Inter7Ace circuit according to the present invention uses a specific address signal from a microprocessor as a memory chip select signal, and uses an external counter to determine the memory address. Its basic feature is to make it happen.

この場合、特定のアドレス信号とそのタイミングをとる
ための制御信号で、カウンタC二必要なりロック信号を
作シ出し、メモリのアクセス時間を短かくしている。ま
た、マイクロプロセッサからの指令(二基いてカウンタ
な制御する回路を設け、メモリの任意のアドレス9間の
アクセスも可能にしている。
In this case, a specific address signal and a control signal for determining its timing are used to generate a lock signal for the counter C2, thereby shortening the memory access time. Furthermore, a circuit for controlling commands (two units and counters) from a microprocessor is provided to enable access between arbitrary addresses 9 in the memory.

〔発明の効果〕〔Effect of the invention〕

この発明によれば、マイクロコンピュータで従来不可能
とされていた大容量の情報の処理が可能となるばかシで
なく、大容量のデータを演算処理しデータ転送を行なう
場合、従来のバンク切り換えを使用したものよシ、高速
で転送することが可能となる。
According to this invention, it is possible to process large amounts of information that was previously considered impossible with a microcomputer, and when performing arithmetic processing and data transfer on large amounts of data, conventional bank switching is no longer required. It becomes possible to transfer the used items at high speed.

〔発明の実施例〕[Embodiments of the invention]

第2図は本発明の一実施例に係る8ピツトマイクロコン
ピユータのメモリ用インターフェイス回路の構成をブロ
ック図で示したものである。
FIG. 2 is a block diagram showing the configuration of a memory interface circuit of an 8-pit microcomputer according to an embodiment of the present invention.

8ビット吋イクロプロセッサ21はシングルボードマイ
コン等の機能をもつもので、システム内部にCPU、メ
モリ、各種インタフェイス回路等を含んだものである。
The 8-bit microprocessor 21 has functions such as a single board microcomputer, and includes a CPU, memory, various interface circuits, etc. inside the system.

メモリ用アドレスデコーダ22はマイクロプロセッサ2
1のA。
The memory address decoder 22 is the microprocessor 2
1 A.

〜fi11のアドレス信号と、そのタイミングをとるた
めの制御信号によってメモリシステム241.24.・
・・、24nのチップセレクト信号を作っている。
~fi11 address signals and control signals for timing them, the memory systems 241.24.・
..., 24n chip select signal is generated.

第3図は第2図の要部の構成を更C二詳しく示したもの
である。
FIG. 3 shows the configuration of the main parts of FIG. 2 in more detail.

第2図のメモリシステム24□はカウンタ用クロック発
生回路31、カウンタ32、メモリ33で構成される。
The memory system 24□ in FIG. 2 is composed of a counter clock generation circuit 31, a counter 32, and a memory 33.

メモリ用アドレスデコーダ22で作られたセレクト信号
はメモリシステム241において、カウンタ用クロック
発生回路31とメモリ33に入力される。メモリ33で
はこの信号をチップセレクト信号O8(:用いている。
The select signal generated by the memory address decoder 22 is input to the counter clock generation circuit 31 and the memory 33 in the memory system 241. The memory 33 uses this signal as the chip select signal O8.

カウンタ用クロック発生回路34では、この信号とマイ
クロプロセッサ21の制御信号から、カウンタ320力
ウント動作とデータバスI)BのD0〜D、のデータを
カウンタ値に設定するためのロード動作に必要なりロッ
クを作っている。これらのカウント動作、ロード動作、
そしてカウンタ値をオール60”にするリセット動作は
、カウンタ用制御信号発生回路23を用いて、マイクロ
プロセッサ21でコントロールをする。
The counter clock generation circuit 34 uses this signal and the control signal of the microprocessor 21 to perform the counter 320 output count operation and the load operation for setting the data on D0 to D of data bus I)B to the counter value. making rock. These count operations, load operations,
The reset operation to set all the counter values to 60'' is controlled by the microprocessor 21 using the counter control signal generation circuit 23.

メモリ33は、上述のコントロールによって出力される
カウンタ32のアドレス信号と、メモリ用アドレスデコ
ーダ22のセレクト信号と、マイクロプロセッサ21の
RD、WRの信号を用いて、マイクロプロセッサ21と
データの受は渡しを行う。
The memory 33 receives and receives data from the microprocessor 21 using the address signal of the counter 32 outputted by the above-mentioned control, the select signal of the memory address decoder 22, and the RD and WR signals of the microprocessor 21. I do.

例えばマイクロプロセッサ)二”8085”のCPUを
用いたシステムのタイミングを第4図に示す。
For example, FIG. 4 shows the timing of a system using two (8085) CPUs (microprocessors).

図中41は、第3図のカウンタ32のロード動作を示す
タイミング図でアリ、IO用C8がuO”の状態で立ち
上がるカウンタ用UKを利用してカウンタ35にり。−
D、のデータが書き込まれる。42は第3図のメモリ3
3のデータの書きこみと読み出しを示すタイミング図で
あり、メモリ33と8ピットマイクa7°ot;、g−
21との間で、データの受は渡しが終了した後にカウン
タ用OKが立ち上がシ、カウンタ32の値が自動的に1
つ進むようにしている。このためカウンタ用OKを発生
させる時間をメモリとのアクセス時間内に納められるの
で、連続してアクセスする場合には、マイクロプロセッ
サ21の内部メモリのアクセス時間と同じスピードでア
クセスすることができる。
Reference numeral 41 in the figure is a timing diagram showing the loading operation of the counter 32 in FIG.
The data of D is written. 42 is memory 3 in Figure 3.
3 is a timing diagram showing the writing and reading of data in memory 33 and 8-pit microphone a7°ot;, g-
21, the counter OK goes up after the data transfer is completed, and the value of the counter 32 automatically changes to 1.
I'm trying to move forward. Therefore, the time for generating the counter OK can be accommodated within the access time with the memory, so that when accessing continuously, the access can be made at the same speed as the access time of the internal memory of the microprocessor 21.

また第3図のメモリ33は、従来のメモリ用インタフェ
イスを用いて、簡単に大容量化を実現できる。第5図は
その一例である。
Further, the memory 33 shown in FIG. 3 can be easily increased in capacity by using a conventional memory interface. FIG. 5 is an example.

端子51には第3図のカウンタ32から出力されるアド
レス信号が入力される。このアドレスの下位アドレスは
メモリ55..55.、・・・、55にのアドレス入力
(1使われ、上位アドレスはデコーダ54によシ各メモ
+)551.55゜、・・・、55にのチップセレクト
信号に変換される。このチップセレクトのための上位ア
ドレスは、第3図のカウンタ32で増やすことが可能で
あるため、容易に大容量化が出来る。端子52には第2
図のマイクロプロセッサ21のRD、WR倍信号入力さ
れ、端子53のデータバスDBによってデータの受は渡
しが行われる。
An address signal output from the counter 32 in FIG. 3 is input to the terminal 51. The lower address of this address is memory 55. .. 55. . Since this upper address for chip selection can be increased by the counter 32 shown in FIG. 3, the capacity can be easily increased. The terminal 52 has a second
The RD and WR multiplied signals of the microprocessor 21 shown in the figure are inputted, and data is received and passed through the data bus DB of the terminal 53.

次に上述したことをふまえて第2図の構成、作用を説明
する。
Next, the configuration and operation of FIG. 2 will be explained based on the above.

メモリシステム241.・・・24nは、メモリ用アド
レスデコーダ22から出力されるセレクト信号が違うだ
けで、第3図に示したメモリシステム24.と全く同じ
構成である。したがって特定の大容量の情報をメモリシ
ステム241で紀憶し、この情報を順番に取9だして演
算処理を行ない、メモリシステム24.にその結果を移
す等のデータ転送を考えてみる。従来システムは前述し
たように、バンク切シ換えのための時間を要するが、本
システムではその時間は必要なく、またメモリの読み出
しや書き込みのために、マイクロプロセッサ21からの
人。〜A、のアドレス信号のうちの特定の2つのアドレ
ス信号しか必要としないため、プログラム自体も簡単に
なシ、実行時間が短くなる。
Memory system 241. . . 24n is different from the memory system 24. . . 24n shown in FIG. 3, except that the select signal output from the memory address decoder 22 is different. It has exactly the same configuration. Therefore, a specific large amount of information is stored in the memory system 241, and this information is sequentially retrieved and subjected to arithmetic processing, and the memory system 24. Let's consider data transfer, such as moving the results to . As mentioned above, the conventional system requires time for bank switching, but this system does not require that time, and also requires time from the microprocessor 21 to read and write to the memory. Since only two specific address signals of the address signals of ~A are required, the program itself is simple and the execution time is shortened.

またメモリシステムの大容量化とメモリシステムの複数
化を用いることによシ、このシステムは従来システムで
なし得なかった容量のメモリを持つことが可能になる。
Furthermore, by increasing the capacity of the memory system and using multiple memory systems, this system can have a memory capacity that was not possible with conventional systems.

第6図ν・まこの発明の他の実施例の構成を示したもの
である。この図において、前記実施例と異なるのは、第
3図のカウンタ用クロック発生回路3ノがメモリシステ
ム24□ 、24.・・・。
FIG. 6 ν/Mako shows the structure of another embodiment of the invention. In this figure, the difference from the previous embodiment is that the counter clock generation circuit 3 in FIG. ....

24nの内部にあシ、クロック信号を作っているのに対
し、第5図では回路規模を小さくするため、メモリシス
テム641  *642  t  e64nの外部で作
シ、カウンタ62(−必要な、クロック部分をクロック
抜き取シ回路61で抜き取っていることである。
In contrast, in Fig. 5, in order to reduce the circuit scale, the counter 62 (- the necessary clock part) is generated outside the memory system 641*642t e64n. is extracted by the clock extraction circuit 61.

アドレス信号へ〇〜A□の上位アドレスはアドレスデコ
ーダ用コントロール回路65に、下位アドレスはアドレ
スデコーダ66に入力され、アドレスデコーダ用コント
ロール回路65で作られた信号を用いて、アドレスデコ
ーダ66がメモリシステム641.64.、・・・64
nのセレクト信号を発生させている。アドレスデコーダ
用コントロール回路65から出力される信号はカウンタ
用クロック発生回路67に入力され、カウンタ用のクロ
ックが出力される。このクロックはメモリシステム64
..64.、・・・。
To the address signal, the upper addresses of 〇 to A□ are input to the address decoder control circuit 65, and the lower addresses are input to the address decoder 66. Using the signals generated by the address decoder control circuit 65, the address decoder 66 is input to the memory system. 641.64. ,...64
n select signals are generated. A signal output from the address decoder control circuit 65 is input to a counter clock generation circuit 67, and a counter clock is output. This clock is the memory system 64
.. .. 64. ,...

64n内のクロック抜き取9回路61で、アドレスデコ
ーダ66から入力されるセレクト信号によってカウンタ
62に必要なりロック部分が抜きとられる。
A clock extracting 9 circuit 61 in the clock extracting circuit 64n extracts a lock portion necessary for the counter 62 in response to a select signal inputted from the address decoder 66.

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

第1図は従来のバンク取シ換えを用いたメモリ壁間の割
シサけを示した図、第2図はこの発明の一実施例の構成
を示すブロック図、第3図は第2図の要部を詳細(二示
す図、第4図は同実施例の動作を示すタノイ・ミンク図
、第5図は第3図におけるメモリの内部構成を示す図、
第6図はこの発明の他の実施例の構成を示す図である。 21・・・8ビツトマイクロプロセツサ、22・・・メ
モリ用アドレスデコーダ、23・・・カウンタ用制筒信
号発生回路、24□〜24 n 、 641〜64n・
・・メモリシステム、31.61・・・カウンタ用クロ
ック発生回路、32.62・・・カウンタ、33.63
・・・メモリ。 出願人代理人 弁理士 鈴 江 武 彦第1図 1
FIG. 1 is a diagram showing allocation between memory walls using conventional bank replacement, FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. Main parts are shown in detail (Figure 2, Figure 4 is a Tanoy-Mink diagram showing the operation of the same embodiment, Figure 5 is a diagram showing the internal structure of the memory in Figure 3,
FIG. 6 is a diagram showing the configuration of another embodiment of the invention. 21... 8-bit microprocessor, 22... address decoder for memory, 23... cylinder control signal generation circuit for counter, 24□-24n, 641-64n.
...Memory system, 31.61...Counter clock generation circuit, 32.62...Counter, 33.63
···memory. Applicant's agent Patent attorney Takehiko Suzue Figure 1 1

Claims (1)

【特許請求の範囲】[Claims] マイクロコンピューター二おけるマイコンプロセッサと
メモリとの間に設けるインターフェース回路であって、
マイクロプロセッサからの特定のアドレス信号を用いて
メモリのチップセレクトを行う手段と、メモリのアドレ
スをカウンタを用いて与える手段と、とのカウンタに必
要なりロックを上記アドレス信号及びこのアドレス信号
のタイミングを取るための制御信号を用いて発生する手
段と、マイクロプロセッサからの指令(二よシカウンタ
の制御を行う手段を備えることを特徴とするマイクロコ
ンピュータのメモリ用イン!’−7エイス回路。
An interface circuit provided between a microcomputer processor and memory in a microcomputer,
means for selecting a memory chip using a specific address signal from a microprocessor; and means for giving a memory address using a counter. An in!'-7 eighth circuit for a memory of a microcomputer, characterized in that it is equipped with means for generating a control signal using a control signal for taking a command from a microprocessor, and means for controlling a command from a microprocessor (second counter).
JP22520482A 1982-12-22 1982-12-22 Memory interface circuit of microcomputer Pending JPS59114657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22520482A JPS59114657A (en) 1982-12-22 1982-12-22 Memory interface circuit of microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22520482A JPS59114657A (en) 1982-12-22 1982-12-22 Memory interface circuit of microcomputer

Publications (1)

Publication Number Publication Date
JPS59114657A true JPS59114657A (en) 1984-07-02

Family

ID=16825605

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22520482A Pending JPS59114657A (en) 1982-12-22 1982-12-22 Memory interface circuit of microcomputer

Country Status (1)

Country Link
JP (1) JPS59114657A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02278444A (en) * 1989-04-20 1990-11-14 Daikin Ind Ltd Method and device for transferring coordinate data
JPH04232546A (en) * 1990-06-06 1992-08-20 Mannesmann Ag Data processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02278444A (en) * 1989-04-20 1990-11-14 Daikin Ind Ltd Method and device for transferring coordinate data
JPH04232546A (en) * 1990-06-06 1992-08-20 Mannesmann Ag Data processing apparatus

Similar Documents

Publication Publication Date Title
US3778776A (en) Electronic computer comprising a plurality of general purpose registers and having a dynamic relocation capability
JPS60160096A (en) Memory rewriting demanding circuit
JPS629456A (en) Data transfer unit
JPS59188764A (en) Memory device
JPS59114657A (en) Memory interface circuit of microcomputer
JPS6232516B2 (en)
JPS6316779B2 (en)
JP2967825B2 (en) Microcomputer
JPS6014435B2 (en) Storage device
JPH07334420A (en) Extended memory control circuit
JPS6020255A (en) Buffer memory control system
JPS5897199A (en) Memory controller
JPH0667846A (en) Semiconductor memory
CA1303748C (en) Tandem priority resolver
JPS6349816B2 (en)
JPS63129438A (en) Memory controller
JP2001273014A (en) Programmable controller
JPS61161560A (en) Memory device
JPS6229813B2 (en)
JPH0721760B2 (en) Digital arithmetic circuit
JPS59121455A (en) Prefixing system
JPS61193245A (en) Memory control system
JPS6145359A (en) Information processor
JPH0243692A (en) Microprocessor and its cache memory
JPS635432A (en) Microprocessor