JPS6126699B2 - - Google Patents

Info

Publication number
JPS6126699B2
JPS6126699B2 JP56070287A JP7028781A JPS6126699B2 JP S6126699 B2 JPS6126699 B2 JP S6126699B2 JP 56070287 A JP56070287 A JP 56070287A JP 7028781 A JP7028781 A JP 7028781A JP S6126699 B2 JPS6126699 B2 JP S6126699B2
Authority
JP
Japan
Prior art keywords
memory
memory bank
bank
cpu
dma controller
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.)
Expired
Application number
JP56070287A
Other languages
Japanese (ja)
Other versions
JPS57185552A (en
Inventor
Seijiro Hirayama
Shinji Yamane
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP56070287A priority Critical patent/JPS57185552A/en
Publication of JPS57185552A publication Critical patent/JPS57185552A/en
Publication of JPS6126699B2 publication Critical patent/JPS6126699B2/ja
Granted 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/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Description

【発明の詳細な説明】 本発明はマイクロコンピユータシステムに関す
るものであつて特に、CPUの同一のメモリ空間
(アドレス空間)に複数のメモリバンクを有する
と共に前記CPUの他にDMAコントローラ(直接
メモリアクセスコントローラ)を備えて前記
CPU又はDMAコントローラによつてメモリバン
クの選択が行われるシステムにおける前記バンク
の切換装置を提供するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microcomputer system, and in particular, it has a plurality of memory banks in the same memory space (address space) of a CPU, and a DMA controller (direct memory access controller) in addition to the CPU. ) with the above
The present invention provides a bank switching device in a system where memory bank selection is performed by a CPU or a DMA controller.

本発明では前記のようなシステムにあつて
CPUとDMAコントローラの各チヤネルがメモリ
バンクを個別に夫々選択できる構成となし、
CPU(或はDMAコントローラ)がメモリバンク
をセレクトしている状態でもDMAコントローラ
(或はCPU)が別に独立してメモリバンクのセレ
クトができるつまりCPUとDMAコントローラの
各チヤネルがメモリバンクをマルチ的に選択でき
るように成したものである。
The present invention applies to the above system.
The configuration allows each channel of the CPU and DMA controller to select a memory bank individually,
Even when the CPU (or DMA controller) is selecting a memory bank, the DMA controller (or CPU) can independently select a memory bank.In other words, each channel of the CPU and DMA controller can select a memory bank in multiple ways. It is made so that you can choose.

最近のマイクロコンピユータシステムにおいて
はこのシステムが拡大しつつあり、これに応じて
メモリの拡張も要求されるものである。
In recent microcomputer systems, this system is expanding, and memory expansion is also required accordingly.

例えばA0からA15の16ビツトのアドレスバスを
備えるCPU(Z―80)又はDMAコントローラで
は最大64Kバイトのメモリ空間を直接アクセスす
ることができる。しかし、このメモリ構成を更に
拡張して前記64Kバイトのメモリ(バンク1)の
他に32Kバイトのメモリ(バンク2)を追加構成
した場合にはその全メモリ容量は96Kバイトにな
り、このCPUが持つ最大メモリ空間(64Kバイ
ト)を越えることになる。
For example, a CPU (Z-80) or DMA controller equipped with a 16-bit address bus from A0 to A15 can directly access a memory space of up to 64K bytes. However, if this memory configuration is further expanded to include 32K bytes of memory (bank 2) in addition to the 64K bytes of memory (bank 1), the total memory capacity will be 96K bytes, and this CPU will This will exceed its maximum memory space (64K bytes).

これがため、CPU又はDMAコントローラから
64Kバイトのメモリバンク1と32Kバイトのメモ
リバンク2に対するデータのリード/ライトはメ
モリバンク1とメモリバンク2とを適宜切換制御
してセレクトする必要があつた。
This causes the CPU or DMA controller to
In order to read/write data to the 64 Kbyte memory bank 1 and the 32 Kbyte memory bank 2, it was necessary to select the memory bank 1 and the memory bank 2 by appropriately switching control.

ここで前記CPU又はDMAコントローラによる
一般的なメモリバンクの切換構成を第1図に示
し、この第1図AではCPUとDMAコントローラ
の最大メモリ空間(64Kバイト)に対応した64K
バイトのメモリバンク1(BK1)と、同じく
64Kバイトのメモリバンク2(BK2)とを備え
てCPU或はDMAコントローラが夫々バンクの全
メモリ空間(斜線で示す領域)毎にバンク1と2
を相互に切換え得る例を示している。この場合に
はメモリバンク1と2にはシステムの基本的な制
御プログラムであるオペレーテイング・システム
OSを夫々備える必要がある。
Here, a general memory bank switching configuration by the CPU or DMA controller is shown in Fig. 1. In Fig. 1A, 64K
Same as Byte's memory bank 1 (BK1)
A 64K byte memory bank 2 (BK2) is provided, and the CPU or DMA controller controls banks 1 and 2 for each bank's entire memory space (shaded area).
An example is shown in which the two can be mutually switched. In this case, memory banks 1 and 2 contain the operating system, which is the basic control program for the system.
It is necessary to prepare each OS.

また第1図Bでは前記オペレーテイング・シス
テムOSをバンク1とバンク2に備えることなし
に、共通エリア部分としてメモリバンク1(BK
1)の前部メモリ空間(32Kバイトの容量)を
構成してここにオペレーテイング・システムOS
を備えると共にメモリバンク1(BK1)をセレ
クトした時には前部メモリ空間と後部メモリ空
間が対応しまたメモリバンク2(BK2)をセ
レクトした時には前部メモリ空間とメモリ空間
が対応し、CPU或はDMAコントローラがこの
バンク1と2を相互に切換えるものである。これ
は第1図Aよりもメモリを有効に利用できるもの
となつている。
In addition, in FIG. 1B, the operating system OS is not provided in banks 1 and 2, but the memory bank 1 (BK
1) Configure the front memory space (capacity of 32K bytes) and store the operating system OS here
When memory bank 1 (BK1) is selected, the front memory space and rear memory space correspond, and when memory bank 2 (BK2) is selected, the front memory space and memory space correspond, and the CPU or DMA A controller switches between banks 1 and 2. This makes it possible to use memory more effectively than in FIG. 1A.

ところが、前記第1図A及びBのいずれのメモ
リバンクの切換え構成においても、CPUとDMA
コントローラのメモリバンクセレクトは例えば
CPUがメモリバンク1でプログラム実行中であ
ると前記CPUのプログラム実行を終了しないと
DMAコントローラによるセレクト動作ができ
ず、同様にDMAコントローラがメモリバンク1
で処理実行中であるとCPUは前記DMAコントロ
ーラの処理実行が終了しないとセレクト動作を行
うことができず、システムの効率が非常に悪いも
のであつた。
However, in both the memory bank switching configurations shown in FIG. 1A and B, the CPU and DMA
For example, the controller's memory bank selection is
If the CPU is executing a program in memory bank 1, the program execution of the CPU must be finished.
Select operation by the DMA controller is not possible, and the DMA controller also selects memory bank 1.
When processing is in progress, the CPU cannot perform a select operation until the processing of the DMA controller is completed, resulting in a very inefficient system.

本発明は前記従来システムの問題を解決するた
めに提案されたものであり、第2図に本発明によ
るメモリバンク切換状態の動作概念図を示す。
The present invention has been proposed to solve the problems of the conventional system, and FIG. 2 shows a conceptual diagram of the operation of the memory bank switching state according to the present invention.

第2図AはCPUにメモリバンクの切換動作を
示し、該CPUに対してはバンク1のセレクトで
前部メモリ空間と後部メモリ空間が対応する
と共にバンク2のセレクトで前部メモリ空間と
バンク2側のメモリ空間が対応する。第2図
ではDMAコントローラによるメモリバンク切換
動作を示し、該DMAコントローラに対してはバ
ンク1のセレクトでその全領域(前、後部メモリ
空間,)が対応しまたバンク2のセレクトで
その全領域(前、後部メモリ空間,)が対応
するものとなつている。
FIG. 2A shows the memory bank switching operation for the CPU. For the CPU, when bank 1 is selected, the front memory space and rear memory space correspond to each other, and when bank 2 is selected, the front memory space and bank 2 correspond to each other. The side memory space corresponds. FIG. 2 shows the memory bank switching operation by the DMA controller. For the DMA controller, selecting bank 1 corresponds to the entire area (front, rear memory space, etc.), and selecting bank 2 corresponds to the entire area (front, rear memory space, etc.). The front and rear memory spaces, ) correspond to each other.

そして、前記のようにセレクト動作できる
CPUとDMAコントローラが独立してメモリバン
クのセレクト動作をすることができるように成し
たものであり、そのため第2図Cは第2図Dの様
なCPUとDMAコントローラのセレクト状態を得
ることができる。この第2図で右上りの斜線は
CPUのセレクト領域、左上りの斜線はDMAコン
トローラのセレクト領域を示している。
Then, you can perform the select operation as described above.
The CPU and DMA controller are designed to be able to perform memory bank selection operations independently, and therefore, Figure 2C is able to obtain the selection state of the CPU and DMA controller as shown in Figure 2D. can. In this second figure, the diagonal line at the top right is
The CPU select area, and the diagonal line at the top left indicates the DMA controller select area.

即ち、本発明ではCPUとDMAコントローラの
各チヤネルが夫々独立してバンクセレクトができ
るように成しており、前記第2図Cの様にCPU
がバンク1をセレクトした状態でDMAコントロ
ーラがバンク2をセレクトすることができ、また
逆にDMAコントローラのあるチヤネルがDMA実
行中でも他のDMAチヤネル及びCPUのバンクセ
レクトが自由にできるようにしたものである。
That is, in the present invention, each channel of the CPU and DMA controller is configured to be able to perform bank selection independently, and as shown in FIG.
The DMA controller can select bank 2 while the DMA controller has bank 1 selected, and conversely, the DMA controller can freely select banks of other DMA channels and the CPU even while DMA is being executed. be.

このための制御構成を第3図に示しており、以
下この第3図について説明する。
A control configuration for this purpose is shown in FIG. 3, and FIG. 3 will be explained below.

この第3図においてDMAコントローラは2チ
ヤネルを備えまたメモリバンクはメモリバンク1
(BK1)とメモリバンク2(BK2)を備える例
を示す。
In this figure, the DMA controller has two channels and the memory bank is memory bank 1.
An example including memory bank 2 (BK1) and memory bank 2 (BK2) is shown.

フリツプフロツプF1はCPUのバンクセレクト
状態を保持するもので、バンクセレクト指示信号
C1によりセツト、リセツトされる。該F1はリ
セツトでメモリバンク1がセレクトされまたセツ
トでメモリバンク2がセレクトされる。
The flip-flop F1 holds the bank select state of the CPU, and is set and reset by the bank select instruction signal C1. When F1 is reset, memory bank 1 is selected, and when it is set, memory bank 2 is selected.

即ち、前記F1のセツト出力とメモリバンクの
前部メモリ空間と後部メモリ空間との区別を示す
信号AB15と、DMAコントローラによるデータ
転送中でない時に“H”レベルとなる信号
とがナンドゲートG1へ入力されている。
That is, the set output of F1 , the signal AB15 indicating the distinction between the front memory space and the rear memory space of the memory bank, and a signal that becomes "H" level when data is not being transferred by the DMA controller are input to the NAND gate G1. has been done.

フリツプフロツプF2はDMAコントローラのチ
ヤネル1のバンクセレクト状態を保持するもの
で、DMAコントローラよりのバンクセレクト指
示信号C2によりセツト、リセツトされる。該
F2のリセツトでメモリバンク1がセレクトされ
またセツトでメモリバンク2がセレクトされる。
Flip-flop F2 holds the bank select state of channel 1 of the DMA controller, and is set and reset by a bank select instruction signal C2 from the DMA controller. Applicable
Memory bank 1 is selected when F2 is reset, and memory bank 2 is selected when F2 is set.

フリツプフロツプF3はDMAコントローラのチ
ヤネル2のバンクセレクト状態を保持するもの
で、バンクセレクト指示信号C3によりセツト、
リセツトされると共にリセツトでメモリバンク1
がまたセツトでメモリバンク2がセレクトされ
る。
Flip-flop F3 holds the bank select state of channel 2 of the DMA controller, and is set by bank select instruction signal C3.
Memory bank 1 is reset and reset
is also set and memory bank 2 is selected.

前記F2のセツト出力はDMAコントローラのチ
ヤネル1のデータ転送中の有無を示す信号DACK
1(データ転送中は“H”レベル)と共にアンド
ゲートG2へ入力されている。同様にF3のセツ
ト出力はDMAコントローラのチヤネル2に関す
る前記のような信号DACK2と共にアンドゲート
G3へ入力されている。これらアンドゲートG2
とG3のゲート出力はノアゲートG4を介して今
一つのノアゲートG5の一方へ入力されている。
該ノアゲートG5の他方の入力は上述したナンド
ゲートG1のゲート出力となつている。
The set output of F2 is a signal DACK indicating whether data is being transferred on channel 1 of the DMA controller.
1 (“H” level during data transfer) and is input to the AND gate G2. Similarly, the set output of F3 is input to AND gate G3 together with signal DACK2 as described above for channel 2 of the DMA controller. These and gate G2
The gate outputs of and G3 are input to one side of another NOR gate G5 via a NOR gate G4.
The other input of the NOR gate G5 is the gate output of the above-mentioned NAND gate G1.

そして前記ノアゲートG5の出力そのままをメ
モリバンク2(BK2)のセレクト信号SELB2
となしまたインバータIを介した信号をメモリバ
ンク1(BK1)のセレクト信号SELB1をして
いる。前記セレクト信号SELB1はメモリのリー
ド/ライト制御信号R/Wが一方に入力されたア
ンドゲートG6を介してメモリバンクユニツト
BK1へ導入されまたセレクト信号SELB2もメ
モリのリード/ライト制御信号R/Wが一方に入
力されたアンドゲートG7を介してメモリバンク
ユニツトBK2へ導入されている。
Then, the output of the NOR gate G5 is directly used as the select signal SELB2 of the memory bank 2 (BK2).
In addition, the signal passed through the inverter I is used as the select signal SELB1 for memory bank 1 (BK1). The select signal SELB1 is sent to the memory bank unit via an AND gate G6 to which the memory read/write control signal R/W is input.
The select signal SELB2 is also introduced into the memory bank unit BK2 via an AND gate G7 to which the memory read/write control signal R/W is input.

従つて、今たとえばCPUのバンクセレクト指
示信号C1によつてフリツプフロツプF1をリセ
ツト状態に保持すると、この出力Q1は“L”レ
ベルとなり該ナンドゲートG1の出力は“H”レ
ベルとなる。この時、DMAコントローラ側がデ
ータ転送を行なつていないとすると、DACK1と
DACK2が“L”レベルでノアゲートG4の出力
は“H”レベルに保持された状態にある。このた
め、前記フリツプフロツプF1のリセツトによる
ナンドゲートG1の出力(Hレベル)でノアゲー
トG5の出力は“L”レベルとなり、インバータ
Iを介してセレクト信号SELB1が出力されてメ
モリバンクBK1がセレクトされる。
Therefore, if the flip-flop F1 is held in the reset state by, for example, the bank select instruction signal C1 of the CPU, the output Q1 will go to the "L" level and the output of the NAND gate G1 will go to the "H" level. At this time, assuming that the DMA controller side is not performing data transfer, DACK1 and
When DACK2 is at "L" level, the output of NOR gate G4 is held at "H" level. Therefore, the output of the NAND gate G1 (H level) due to the reset of the flip-flop F1 causes the output of the NOR gate G5 to go to the "L" level, and the select signal SELB1 is outputted via the inverter I to select the memory bank BK1.

また、上記状態でフリツプフロツプF1をセツ
トしまた後部メモリ空間の選択指示信号AB15
を“H”レベルとするとも“H”レベルに
あるところからナンドゲートG1の出力は“L”
レベルとなる。このためナンドゲートG5の出力
は“H”レベルとなつてセレクトされる。即ち、
第2図Aで示したCPUのセレクト状態が得られ
る。この場合、CPUによるメモリバンクBK2の
セレクトはメモリバンクBK2の指示(フリツプ
フロツプF1のセツト)とこのメモリバンクBK2
の後部メモリ空間のアドレス指示(選択指示信号
AB15が“H”レベル)との条件でのみ実行さ
れ、前記メモリバンクBK2のセレクト時におい
てはこの前部メモリ空間のアドレス指示つまり選
択指示信号AB15を“L”レベルにするだけで
メモリバンクBK1のセレクトに再び切換えるこ
とができる。これは、CPUがメモリバンクBK1
の前部メモリ空間のプログラム実行中に、メモリ
バンクBK2のデータを参照して再び前記プログ
ラムを続行する場合のバンク切換操作が前記アド
レス指示(AB15の指示信号)だけで簡単にで
きるようにするためである。
Also, in the above state, the flip-flop F1 is set and the rear memory space selection instruction signal AB15 is set.
Even if it is set to "H" level, the output of NAND gate G1 is "L" from the "H" level.
level. Therefore, the output of NAND gate G5 becomes "H" level and is selected. That is,
The CPU selection state shown in FIG. 2A is obtained. In this case, the selection of memory bank BK2 by the CPU is based on the memory bank BK2 instruction (setting of flip-flop F1 ) and this memory bank BK2.
address instruction for the rear memory space (selection instruction signal
AB15 is at "H" level), and when selecting the memory bank BK2, simply setting the address instruction for this front memory space, that is, the selection instruction signal AB15 to "L" level, selects the memory bank BK1. You can switch back to select. This means that the CPU is in memory bank BK1
To enable bank switching operations when referring to data in memory bank BK2 and continuing the program again during execution of a program in the front memory space of the memory bank to be easily performed using only the address instruction (instruction signal of AB15). It is.

他方、DMAコントローラ側のバンクセレクト
動作にあつては、今バンクセレクト指示信号C2
によつてチヤネル1のフリツプフロツプF2がリ
セツト状態に保持されたとする。この場合には
DACK1が“H”レベルとなりDACK2が“L”
レベルとなり、前記F2の出力Q2が“L”レベ
ルであるからアンドゲートG2の出力は“L”レ
ベルであると共にアンドゲートG3も“L”レベ
ルとなつている。
On the other hand, for the bank select operation on the DMA controller side, the current bank select instruction signal C2
Assume that flip-flop F2 of channel 1 is held in the reset state by . In this case
DACK1 becomes “H” level and DACK2 goes “L”
Since the output Q2 of F2 is at the "L" level, the output of the AND gate G2 is at the "L" level, and the AND gate G3 is also at the "L" level.

この時のCPU側は信号が“L”レベルに
なつているのでナンドゲートG1の出力は“H”
レベルに保持されている。
At this time, the signal on the CPU side is at "L" level, so the output of NAND gate G1 is "H".
held at the level.

従つて、ノアゲートG4の出力は“H”レベル
となり、ノアゲートG5の入力はともに“H”レ
ベルであつて該G5の出力は“L”レベルとな
る。これがため、インバータIを介してセレクト
信号SELB1が出力されたメモリバンクBK1が
セレクトされる。
Therefore, the output of NOR gate G4 becomes "H" level, the inputs of NOR gate G5 are both "H" level, and the output of NOR gate G5 becomes "L" level. Therefore, the memory bank BK1 to which the select signal SELB1 is output via the inverter I is selected.

また、前記状態でフリツプフロツプF2をセツ
トすると、アンドゲートG2の出力が“H”レベ
ルとなりノアゲートG4の出力は“L”レベルと
なると共にノアゲートG5の出力は“H”レベル
となる。従つて、SELB2が出力されてメモリバ
ンクBK2がセレクトされる。
Further, when flip-flop F2 is set in the above state, the output of AND gate G2 becomes "H" level, the output of NOR gate G4 becomes "L" level, and the output of NOR gate G5 becomes "H" level. Therefore, SELB2 is output and memory bank BK2 is selected.

この動作はチヤネル2についても同様であり、
第2図Bで示したDMAコントローラのセレクト
状態が得られる。
This operation is the same for channel 2,
The selected state of the DMA controller shown in FIG. 2B is obtained.

所でCPUがフリツプフロツプF1をセツトして
メモリバンク2(BK2)をセレクトして処理動
作を実行している時に、DMAコントローラのチ
ヤネル1によつてメモリバンク1(BK1)をセ
レクトしてデータの読出しを行ないたい時には、
DMAコントローラよりCPUへホールド信号を出
力してそしてDACK1を“H”レベルにする。こ
の時、信号とDACK2は“L”レベルとな
る。
Now, when the CPU sets flip-flop F1 and selects memory bank 2 (BK2) to execute a processing operation, channel 1 of the DMA controller selects memory bank 1 (BK1) and stores data. When you want to read,
A hold signal is output from the DMA controller to the CPU, and DACK1 is set to "H" level. At this time, the signal and DACK2 become "L" level.

すると、ノアゲートG5の両入力がともに
“H”レベルとなつてメモリバンク1(BK1)を
セレクトする。同様にCPUがメモリバンク1
(BK1)をセレクトして処理動作を実行している
時にもDMAコントローラによつて他方のメモリ
バンク2(BK2)をセレクトし切換えることと
ができる。
Then, both inputs of NOR gate G5 become "H" level and select memory bank 1 (BK1). Similarly, CPU is memory bank 1
Even when (BK1) is selected and a processing operation is being executed, the other memory bank 2 (BK2) can be selected and switched by the DMA controller.

この動作は第2図C及びDで示したCPUと
DMAコントローラのセレクト状態であり、CPU
とDMAコントローラの各チヤネルが夫々独立し
てメモリバンクのセレクトができるものとなつて
いる。換言すると、CPUがメモリバンク1をセ
レクトしてプログラム等の実行中に、メモリバン
ク2のデータを必要とする時にはDMAコントロ
ーラでメモリバンク2をセレクトさせて切換え、
ここで必要なデータを読出し後再び前記CPUの
を継続させるといつた使い方ができるものであ
る。
This operation is similar to the CPU shown in Figure 2 C and D.
This is the selected state of the DMA controller and the CPU
Each channel of the DMA controller can independently select a memory bank. In other words, while the CPU selects memory bank 1 and executes a program, etc., when data in memory bank 2 is needed, the DMA controller selects memory bank 2 and switches.
After reading the necessary data, the CPU can be used again.

このため、本発明装置ではCPUとDMAコント
ローラの各チヤネルによるメモリバンクの切換え
が効率的に行われてシステム効率が非常によくな
るという特徴を有する。
Therefore, the device of the present invention is characterized in that the memory banks are efficiently switched by each channel of the CPU and the DMA controller, resulting in very high system efficiency.

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

第1図A,Bは従来システムのメモリバンク切
換え状態を示す構成概念図、第2図A,B,C及
びDは本発明システムのメモリバンクの切換え状
態を示す構成概念図、第3図は本発明にかかわる
制御回路構成を示す図である。 BK1及びBK2:メモリバンク、F1〜F3:フ
リツプフロツプF、G1:ナンドゲート、G2及
びG3:アンドゲート、G4及びG5:ノアゲー
ト。
1A and 1B are conceptual diagrams showing the memory bank switching states of the conventional system; FIGS. 2A, B, C, and D are conceptual diagrams showing the switching states of the memory banks of the system of the present invention; and FIG. FIG. 3 is a diagram showing a control circuit configuration according to the present invention. BK1 and BK2: memory bank, F1 to F3 : flip-flop F, G1: NAND gate, G2 and G3: AND gate, G4 and G5: NOR gate.

Claims (1)

【特許請求の範囲】 1 CPUとDMAコントローラの最大メモリ空間
に対応した複数のメモリバンクBK1とBK2を備
えると共に一方のメモリバンクBK1のアドレス
的に前後に2分されるこの前部メモリ空間にオペ
レーテイング・システムを備える共通エリア部分
を構成し、前記CPU及びDMAコントローラによ
つて前記メモリバンクBK1とBK2の選択切換が
行い得るマイクロコンピユータシステムにおい
て、 前記CPUとDMAコントローラの各チヤネルに
夫々対応して配設されると共にその対応する
CPU又はDMAコントローラの各チヤネルからの
メモリバンクのセレクト指示状態を保持する保持
手段と、前記保持手段に設定されたセレクト指示
に基づいてメモリバンクのセレクト信号を出力す
る回路手段とを備え、 更に前記回路手段はCPUからの上記メモリバ
ンクBK2のセレクト指示があるとき、該メモリ
バンクBK2のアドレス的に前後に2分されるこ
の後部メモリ空間のアドレス指示との条件でのみ
該メモリバンクBK2のセレクト信号を出力する
と共に該バンクBK2のセレクト時に前部メモリ
空間のアドレス指示に応答してメモリバンクBK
1のセレクト信号に切換える構成となしたマイク
ロコンピユータシステムにおけるメモリバンクの
切換装置。
[Claims] 1. A plurality of memory banks BK1 and BK2 are provided corresponding to the maximum memory space of the CPU and the DMA controller, and one memory bank BK1 is divided into front and rear memory spaces in terms of addresses. In the microcomputer system, which constitutes a common area portion including a switching system, and in which the selection and switching of the memory banks BK1 and BK2 can be performed by the CPU and the DMA controller, be arranged and correspond to it.
A holding means for holding a state of a memory bank selection instruction from each channel of a CPU or a DMA controller, and a circuit means for outputting a memory bank selection signal based on the selection instruction set in the holding means, further comprising: When there is a select instruction for the memory bank BK2 from the CPU, the circuit means generates a select signal for the memory bank BK2 only under the condition of an address instruction for the rear memory space which is divided into front and rear memory spaces in terms of addresses of the memory bank BK2. At the same time, when the bank BK2 is selected, memory bank BK is output in response to an address instruction of the front memory space.
A memory bank switching device in a microcomputer system configured to switch to a select signal of No. 1.
JP56070287A 1981-05-08 1981-05-08 Switching device for memory bank in microcomputer system Granted JPS57185552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56070287A JPS57185552A (en) 1981-05-08 1981-05-08 Switching device for memory bank in microcomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56070287A JPS57185552A (en) 1981-05-08 1981-05-08 Switching device for memory bank in microcomputer system

Publications (2)

Publication Number Publication Date
JPS57185552A JPS57185552A (en) 1982-11-15
JPS6126699B2 true JPS6126699B2 (en) 1986-06-21

Family

ID=13427111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56070287A Granted JPS57185552A (en) 1981-05-08 1981-05-08 Switching device for memory bank in microcomputer system

Country Status (1)

Country Link
JP (1) JPS57185552A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6015757A (en) * 1983-07-06 1985-01-26 Fujitsu Ltd Memory control circuit
JPS6037057A (en) * 1983-08-04 1985-02-26 Fujitsu Kiden Ltd Memory store system using direct memory access

Also Published As

Publication number Publication date
JPS57185552A (en) 1982-11-15

Similar Documents

Publication Publication Date Title
JPS6027964A (en) Memory access control circuit
JPS6126699B2 (en)
JPH05197619A (en) Memory control circuit for multi-cpu
JPH10187599A (en) Digital signal processor
JPS6126701B2 (en)
KR100262014B1 (en) Input/output port for operating bits
JPS5856885B2 (en) Address control method
JP2680013B2 (en) External I / O control circuit of programmable controller
JP2504535B2 (en) Bus unit configuration method
JPS62297954A (en) Memory control system
JPH03214275A (en) Semiconductor integrated circuit
JPS59206924A (en) Input-output control device
JPH0261749A (en) Data transfer device
JPS60225253A (en) Information processing device
JPH0784963A (en) Semiconductor integrated circuit with cpu
JPH02110758A (en) Dma transfer system
JPS60159954A (en) Memory controlling system
JPH01226052A (en) Memory controller
JPH0338612B2 (en)
JPH01118942A (en) Clear circuit for large-capacity memory
JPS6348688A (en) Memory device
JPH058451B2 (en)
JPH04245556A (en) Instruction memory
JPS6031663A (en) Switching device of memory
JPH0782463B2 (en) Communication control device