JPH0310977B2 - - Google Patents

Info

Publication number
JPH0310977B2
JPH0310977B2 JP59236045A JP23604584A JPH0310977B2 JP H0310977 B2 JPH0310977 B2 JP H0310977B2 JP 59236045 A JP59236045 A JP 59236045A JP 23604584 A JP23604584 A JP 23604584A JP H0310977 B2 JPH0310977 B2 JP H0310977B2
Authority
JP
Japan
Prior art keywords
memory access
storage devices
data
storage device
processing
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 - Lifetime
Application number
JP59236045A
Other languages
Japanese (ja)
Other versions
JPS61115153A (en
Inventor
Yoshiharu Taki
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP23604584A priority Critical patent/JPS61115153A/en
Publication of JPS61115153A publication Critical patent/JPS61115153A/en
Publication of JPH0310977B2 publication Critical patent/JPH0310977B2/ja
Granted legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02BINTERNAL-COMBUSTION PISTON ENGINES; COMBUSTION ENGINES IN GENERAL
    • F02B75/00Other engines
    • F02B75/02Engines characterised by their cycles, e.g. six-stroke
    • F02B2075/022Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle
    • F02B2075/025Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle two

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、データ処理装置に関し、特にデータ
処理装置のメモリアクセスに関連した改良に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to data processing devices, and more particularly to improvements related to memory access in data processing devices.

〔発明の背景〕[Background of the invention]

一般に従来のデータ処理装置では、1つのメモ
リアクセス回路により記憶装置をアクセスして命
令のリード、データのリードまたはライトを行う
ため、命令の実行時間は記憶装置のアクセス時間
とアクセス回数との積および内部処理時間により
決定される。そこで、多段先行制御などによる内
部処理の高速化、およびキヤツシユメモリの導入
によるメモリアクセス時間の短縮により、処理の
高速化を図つている。しかし、一層の高速化が望
まれている。なお、このようなデータ処理装置に
関しては、例えば(株)産報、萓島興二著「電子計算
機の方式設計」の第3章に詳細な記述がみられ
る。
In general, in conventional data processing devices, one memory access circuit accesses the storage device to read instructions, read data, or write data, so the instruction execution time is calculated by multiplying the storage device access time by the number of accesses. Determined by internal processing time. Therefore, efforts are being made to speed up the processing by speeding up internal processing through multi-stage advance control and by shortening memory access time by introducing cache memory. However, even higher speeds are desired. A detailed description of such a data processing device can be found, for example, in Chapter 3 of ``System Design of Electronic Computers'' by Koji Hajima, published by Sanpo Co., Ltd.

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

本発明の目的は、データ処理装置の一層の高速
化を実現する手段を提供することにある。
An object of the present invention is to provide a means for realizing further speeding up of a data processing device.

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

本発明によるデータ処理装置は、一層の処理の
高速化を実現するため、プログラムから見て同一
メモリ空間の記憶装置を物理的に分離可能とし、
各々、独立のメモリアクセス回路を設けたことを
骨子とする。
In order to further speed up processing, the data processing device according to the present invention enables storage devices in the same memory space to be physically separated from the perspective of a program.
The main point is that each is provided with an independent memory access circuit.

ところで、記憶装置の分離によつては、該記憶
装置の分離損が生じることがある。そこで、本発
明では、記憶装置の分離、統合を識別する手段
と、メモリアクセス回路間を相互接続することを
可能とする手段と、メモリアクセス回路の競合整
理を行う手段を設けて、処理能力がそれほど必要
としない場合には、記憶装置を統合することによ
つて経済的なシステムを達成できるようにしたも
のである。
By the way, depending on the separation of the storage device, separation loss of the storage device may occur. Therefore, in the present invention, processing capacity is increased by providing means for identifying separation and integration of storage devices, means for interconnecting memory access circuits, and means for resolving conflicts among memory access circuits. If not so much is needed, an economical system can be achieved by integrating storage devices.

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

以下、本発明の実施例について図面を参照しつ
つ説明する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明の一実施例を示す概略ブロツ
ク図である。この図において、1は処理装置
(CPU)であり、順序制御部(SEQ)1−1、演
算部(ALU)1−2および制御部(CTL)1−
3から成る。2と3は同一メモリ空間(プログラ
ムから見て)の物理的に分離された記憶装置
(MM)である。本実施例においては、第2図に
示されるように、一方の記憶装置(MM)2にプ
ログラムの命令が格納され、データは他方の記憶
装置(MM)3に格納される。処理装置1は記憶
装置2から命令を読み込み、その命令のオペラン
ドアドレスで指定されたデータ(記憶装置3内)
に対して、命令の命令コードで示される演算など
を実行する。
FIG. 1 is a schematic block diagram showing one embodiment of the present invention. In this figure, 1 is a processing unit (CPU), including a sequence control unit (SEQ) 1-1, an arithmetic unit (ALU) 1-2, and a control unit (CTL) 1-
Consists of 3. 2 and 3 are physically separate storage devices (MM) in the same memory space (from the perspective of the program). In this embodiment, as shown in FIG. 2, program instructions are stored in one memory device (MM) 2, and data are stored in the other memory device (MM) 3. Processing device 1 reads an instruction from storage device 2 and stores the data (in storage device 3) specified by the operand address of the instruction.
, executes the operation indicated by the instruction code of the instruction.

再び第1図において、順序制御部1−1は、プ
ログラムの実行番地を指定するプログラムカウン
タ、その更新回路、プログラムカウンタにより指
定される記憶装置2の番地から命令を読み出すメ
モリアクセス回路4などから成る。演算部1−2
は記憶装置2から読み込まれた命令を実行する部
分であり、アキユムレータ、演算器、記憶装置3
にデータを読み書きするメモリアクセス回路5な
どから成る。制御部1−3は、処理装置1内の各
種タイミングを発生する回路、記憶装置2から読
み込まれた命令を解読する命令デコーダ、順序制
御部1−1と演算部1−2の制御回路などから成
り、処理装置1の全体を制御する。
Referring again to FIG. 1, the order control unit 1-1 includes a program counter that specifies the execution address of a program, an update circuit for the program counter, a memory access circuit 4 that reads instructions from the address of the storage device 2 specified by the program counter, and the like. . Arithmetic unit 1-2
is a part that executes instructions read from the storage device 2, and includes an accumulator, an arithmetic unit, and a storage device 3.
It consists of a memory access circuit 5 for reading and writing data. The control unit 1-3 includes a circuit that generates various timings in the processing device 1, an instruction decoder that decodes instructions read from the storage device 2, a control circuit for the order control unit 1-1 and the calculation unit 1-2, etc. and controls the entire processing device 1.

第3図は、処理装置1の命令実行タイミングを
示している。この図を参照しながら説明すれば、
命令の実行は最小タイミングであるサイクルSo
So+1,So+2により行われ、サイクル時間は処理装
置1の内部処理時間である。記憶装置2,3はア
クセスタイムがサイクル時間より短い記憶装置が
選ばれている。各サイクルにおいて、順序制御部
1−1はメモリアクセス回路4によつて番地n,
n+1,n+2,…の命令を記憶装置2から順次
読み込み(命令リード)、演算部1−2はそれら
命令の内部処理を行い、メモリアクセス回路5に
より記憶装置3に対しデータの読み出しまたは書
き込みを行う(データリード/ライト)。第3図
より明らかなように、命令リードから内部処理ま
では周知のパイプライン制御であり、一方プログ
ラム・データのリード/ライトは内部処理と同一
サイクルで実行される。したがつて、実質的に命
令を1サイクルで実行でき、処理速度を大幅に向
上できる。
FIG. 3 shows the instruction execution timing of the processing device 1. If you explain while referring to this diagram,
The execution of the instruction is the cycle S o with the minimum timing,
The cycle time is the internal processing time of the processing device 1 . As the storage devices 2 and 3, storage devices whose access time is shorter than the cycle time are selected. In each cycle, the order controller 1-1 uses the address n,
Instructions n+1, n+2, ... are sequentially read from the storage device 2 (instruction read), the arithmetic unit 1-2 performs internal processing of these instructions, and the memory access circuit 5 reads or writes data to the storage device 3. (data read/write). As is clear from FIG. 3, well-known pipeline control is used from instruction reading to internal processing, while program data reading/writing is executed in the same cycle as internal processing. Therefore, an instruction can be executed substantially in one cycle, and processing speed can be greatly improved.

さて、前述のように、記憶装置を物理的に分割
ると高速処理が可能であるが、記憶装置が1台の
場合に比べ装置が高価になりやすく、また記憶装
置の分割損が生じることがある。したがつて、高
速性を必要としない場合は、記憶装置を1台に統
合してデータ処理を実行できる構成が望まれる。
本実施例は、そのような構成になつている。これ
について第4図により説明する。
Now, as mentioned above, high-speed processing is possible when the storage device is physically divided, but the device tends to be more expensive than when there is only one storage device, and there is a risk of loss due to partitioning of the storage device. be. Therefore, if high speed is not required, a configuration is desired in which data processing can be performed by integrating storage devices into one device.
This embodiment has such a configuration. This will be explained with reference to FIG.

第4図は、処理装置1内部の記憶装置と関連す
る部分の概略ブロツク図である。この図におい
て、6はメモリアクセス回路4,5からのメモリ
アクセス要求の競合を整理するための競合回路で
ある。この競合回路6の入力端子7は、記憶装置
が第1図に示されるように分離している場合に
“1”レベルが与えられ、記憶装置が1つに統合
されている場合(第4図の場合)に“0”レベル
が与られる。順序制御部1−1には、アドレス用
のスリーステート・ドライバ8と、リードデータ
用のバツフア9が設けられている。同様に演算部
1−2には、アドレス用のスリーステート・ドラ
イバ11、ライトデータ用のドライバ12、およ
びリードデータ用のバツフア13が設けられてい
る。アドレス用ドライバ8,11をスリーステー
ト型にしたのは、後述のように記憶装置を統合す
る場合に相互に結線できるようにするためであ
る。
FIG. 4 is a schematic block diagram of the storage device and related parts inside the processing device 1. As shown in FIG. In this figure, reference numeral 6 denotes a competition circuit for sorting out competition between memory access requests from memory access circuits 4 and 5. The input terminal 7 of this competition circuit 6 is given a "1" level when the storage devices are separated as shown in FIG. ) is given a “0” level. The order control unit 1-1 is provided with a three-state driver 8 for addresses and a buffer 9 for read data. Similarly, the arithmetic unit 1-2 is provided with a three-state driver 11 for addresses, a driver 12 for write data, and a buffer 13 for read data. The address drivers 8 and 11 are of a three-state type so that they can be interconnected when integrating storage devices as will be described later.

次に、記憶装置を統合した場合の動作を設明す
る。この場合、図示のように、順序制御部1−1
のアドレス出力端子15と演算部1−2のアドレ
ス出力端子16、および順序制御部1−1のリー
ドデータ入力端子17と演算部1−2のリードデ
ータ入力端子18はそれぞれ結線L1,L2さ
れ、統合記憶装置30のアドレス入力端子とデー
タ出力端子に共通接続される。ライトデータ出力
端子19は統合記憶装置30のデータ入力端子に
接続される。また、端子7には“0”レベルが印
加される。
Next, the operation when storage devices are integrated will be explained. In this case, as shown in the figure, the order control unit 1-1
The address output terminal 15 of and the address output terminal 16 of the calculation section 1-2, and the read data input terminal 17 of the order control section 1-1 and the read data input terminal 18 of the calculation section 1-2 are connected by wires L1 and L2, respectively. It is commonly connected to the address input terminal and data output terminal of the integrated storage device 30. The write data output terminal 19 is connected to a data input terminal of the integrated storage device 30. Furthermore, a “0” level is applied to the terminal 7.

メモリアクセス回路4,5は、メモリアクセス
要求が生じると競合回路6への信号4−1,5−
1をそれぞれオンする。例えば一方の信号4−1
(または5−1)だけがオンしたとする。この場
合、競合回路6は、統合記憶装置30のアクセス
が可能となつた時点で、要求が発生している一方
のメモリアクセス回路4(または5)に対する信
号4−2(または5−2)をオンし、そのメモリ
アクセス要求を許可する。許可されたメモリアク
セス回路4(または5)は信号4−3(または5
−3)をオンし、アドレス用バツフア8(または
11)を活性化し、アドレスを統合記憶装置30
へ送出する。メモリアクセス要求がデータリード
要求の場合は、統合記憶装置30からのリードデ
ータはバツフア9(または13)を通じて順序制
御部1−1(または演算部1−2)に読み込まれ
る。メモリアクセス回路5の要求が許可され、そ
の要求がデータライト要求の場合は、ドライバ1
2を介してライトデータが統合記憶装置30に与
えられ書き込まれる。
The memory access circuits 4 and 5 send signals 4-1 and 5- to the contention circuit 6 when a memory access request occurs.
1 respectively. For example, one signal 4-1
(or 5-1) is turned on. In this case, the contention circuit 6 transmits the signal 4-2 (or 5-2) to the memory access circuit 4 (or 5) for which the request is occurring at the time when the integrated storage device 30 becomes accessible. Turn on and allow the memory access request. Permitted memory access circuit 4 (or 5) receives signal 4-3 (or 5).
-3), activates the address buffer 8 (or 11), and transfers the address to the unified storage device 30.
Send to. When the memory access request is a data read request, read data from the integrated storage device 30 is read into the order control unit 1-1 (or the calculation unit 1-2) through the buffer 9 (or 13). If the request from the memory access circuit 5 is granted and the request is a data write request, the driver 1
The write data is applied to the integrated storage device 30 via 2 and written therein.

メモリアクセス回路4,5で同時にメモリアク
セス要求が発生し、信号4−1,5−1が同時に
オンした場合は、競合回路6は両要求の競合を整
理し、一方のメモリアクセス回路4または5に対
してだけ信号4−2または5−2をオンして要求
を許可する。
When memory access requests occur simultaneously in the memory access circuits 4 and 5 and the signals 4-1 and 5-1 are turned on at the same time, the conflict circuit 6 sorts out the conflicts between the two requests and requests one of the memory access circuits 4 or 5. The request is permitted by turning on the signal 4-2 or 5-2 only for the request.

このように記憶装置を統合した場合、メモリア
クセス回路4,5は同時にはメモリアクセスを実
行できない。したがつて命令の実行タイミングは
第5図に示すようになり、命令実行時間は2サイ
クル時間となる。
When the storage devices are integrated in this way, the memory access circuits 4 and 5 cannot perform memory access at the same time. Therefore, the instruction execution timing is as shown in FIG. 5, and the instruction execution time is 2 cycle time.

記憶装置を第1図に示すように分離する場合、
順序制御部1−1のアドレス出力端子15とリー
ドデータ入力端子17は一方の記憶装置2に接続
され、演算部1−2のアドレス出力端子16、ラ
イトデータ出力端子19およびリードデータ入力
端子18は他方の記憶装置3に接続され、競合回
路6の入力端子には“1”レベルが与えられる。
この場合、競合回路6は信号4−2,5−2を常
にオンする。したがつて、各メモリアクセス回路
4,5は常時メモリアクセスを許可された状態に
なり、したがつて、それぞれ独立に記憶装置2,
3を随時アクセスし得る。
When separating the storage devices as shown in Figure 1,
The address output terminal 15 and read data input terminal 17 of the order control section 1-1 are connected to one of the storage devices 2, and the address output terminal 16, write data output terminal 19 and read data input terminal 18 of the calculation section 1-2 are connected to one of the storage devices 2. It is connected to the other storage device 3, and a "1" level is applied to the input terminal of the competition circuit 6.
In this case, the competition circuit 6 always turns on the signals 4-2 and 5-2. Therefore, each memory access circuit 4, 5 is in a state where memory access is always permitted, and therefore, each memory access circuit 4, 5 independently accesses the memory device 2, 5.
3 can be accessed at any time.

以上述べたように、本実施例においては、記憶
装置を分離することにより処理の高速化を達成で
き、また高速化をそれほど必要としない場合は記
憶装置を統合し、経済的なシステムを構成でき
る。
As described above, in this embodiment, processing speed can be achieved by separating the storage devices, and if high speed is not required, the storage devices can be integrated to configure an economical system. .

なお、順序制御部1−1側もデータライトを行
い得るようにしてもよい。この場合、ライトデー
タ用ドライバをスリーステート型とし、記憶装置
の統合時に同ドライバの出力間を統合可能とすれ
ば、前述のような記憶装置の分離・統合を行うこ
とができる。
Note that the order control unit 1-1 side may also be configured to be able to write data. In this case, if the write data driver is of a three-state type and the outputs of the driver can be integrated when the storage devices are integrated, the storage devices can be separated and integrated as described above.

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

以上説明したように、本発明によれば、分離さ
れた記憶装置に対して例えば命令リードとプログ
ラムデータのアクセスを並行して実行できるた
め、命令実行時間の短縮が実現でき、より高速な
データ処理装置の実現が可能となる。また、デー
タ処理装置の処理能力をさほど必要としない場合
には記憶装置の統合により、経済的なシステムが
実現可能となる。
As explained above, according to the present invention, for example, instruction read and program data access can be executed in parallel to a separate storage device, so that instruction execution time can be shortened, and faster data processing can be achieved. It becomes possible to realize the device. Furthermore, if the processing power of the data processing device is not so required, an economical system can be realized by integrating storage devices.

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

第1図は本発明の一実施例を示す概略ブロツク
図、第2図は記憶装置の分離の説明図、第3図は
記憶装置を分離した場合の命令実行タイミングを
示すタイミング図、第4図は処理装置内部の要部
構成を示すブロツク図、第5図は記憶装置を統合
した場合の命令実行タイミングを示すタイミング
図である。 1……処理装置(CPU)、1−1……順序制御
部(SEQ)、1−2……演算部(ALU)、1−3
……制御部(CTL)、2,3……分離された記憶
装置、4,5……メモリアクセス回路、6……競
合回路、8,11……アドレス用スリーステー
ト・ドライバ、9,13……リードデータ用バツ
フア、12……ライトデータ用ドライバ、30…
…統合記憶装置。
FIG. 1 is a schematic block diagram showing one embodiment of the present invention, FIG. 2 is an explanatory diagram of separation of storage devices, FIG. 3 is a timing diagram showing instruction execution timing when storage devices are separated, and FIG. 4 5 is a block diagram showing the configuration of main parts inside the processing device, and FIG. 5 is a timing chart showing instruction execution timing when storage devices are integrated. 1...Processing unit (CPU), 1-1...Sequence control unit (SEQ), 1-2...Arithmetic unit (ALU), 1-3
... Control unit (CTL), 2, 3 ... Separated storage device, 4, 5 ... Memory access circuit, 6 ... Competition circuit, 8, 11 ... Three-state driver for address, 9, 13 ... ...Read data buffer, 12...Write data driver, 30...
...integrated memory.

Claims (1)

【特許請求の範囲】 1 プログラムから見て同一メモリ空間の記憶装
置を分離可能とし、各々、独立のメモリアクセス
回路を設けてなるデータ処理装置であつて、 前記記憶装置の分離、統合を識別する第1の手
段と、前記メモリアクセス回路間を相互接続する
ことを可能とする第2の手段と、前記メモリアク
セス回路間の競合を整理する第3の手段を有する
ことを特徴とするデータ処理装置。
[Scope of Claims] 1. A data processing device that enables storage devices in the same memory space to be separated from each other when viewed from a program, and is provided with an independent memory access circuit for each, the data processing device being capable of identifying separation and integration of the storage devices. A data processing device comprising a first means, a second means for interconnecting the memory access circuits, and a third means for sorting out conflicts between the memory access circuits. .
JP23604584A 1984-11-09 1984-11-09 Data processor Granted JPS61115153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23604584A JPS61115153A (en) 1984-11-09 1984-11-09 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23604584A JPS61115153A (en) 1984-11-09 1984-11-09 Data processor

Publications (2)

Publication Number Publication Date
JPS61115153A JPS61115153A (en) 1986-06-02
JPH0310977B2 true JPH0310977B2 (en) 1991-02-14

Family

ID=16994939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23604584A Granted JPS61115153A (en) 1984-11-09 1984-11-09 Data processor

Country Status (1)

Country Link
JP (1) JPS61115153A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01134546A (en) * 1987-11-19 1989-05-26 Nec Corp Arithmetic processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5374858A (en) * 1976-12-13 1978-07-03 Rca Corp Microprocessor
JPS57203154A (en) * 1981-06-10 1982-12-13 Matsushita Electric Ind Co Ltd Microcomputer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5374858A (en) * 1976-12-13 1978-07-03 Rca Corp Microprocessor
JPS57203154A (en) * 1981-06-10 1982-12-13 Matsushita Electric Ind Co Ltd Microcomputer

Also Published As

Publication number Publication date
JPS61115153A (en) 1986-06-02

Similar Documents

Publication Publication Date Title
US5608881A (en) Microcomputer system for accessing hierarchical buses
JP4226085B2 (en) Microprocessor and multiprocessor system
JPH045216B2 (en)
JPH0248931B2 (en)
JPS6297036A (en) Calculator system
JPS623461B2 (en)
KR910001708B1 (en) Central processing unit
JPH0310977B2 (en)
US4628450A (en) Data processing system having a local memory which does not use a directory device with distributed resident programs and a method therefor
JPH0227696B2 (en) JOHOSHORISOCHI
JPH0330175B2 (en)
JP2883488B2 (en) Instruction processing unit
JPS63240651A (en) Cache memory
JP3006487B2 (en) Emulation device
JPS6232832B2 (en)
JPS60134956A (en) Information processing system
JPS61161560A (en) Memory device
JPS6215645A (en) Central processing unit
JPH0285943A (en) Data processor
JPS6031646A (en) Data processor
JPS63317857A (en) Memory access circuit
JPS6014335A (en) Information processor
JPS635432A (en) Microprocessor
JPH0540686A (en) Memory device
JPS60129855A (en) Signal processor