JPS5960647A - Memory access control method - Google Patents
Memory access control methodInfo
- Publication number
- JPS5960647A JPS5960647A JP17200982A JP17200982A JPS5960647A JP S5960647 A JPS5960647 A JP S5960647A JP 17200982 A JP17200982 A JP 17200982A JP 17200982 A JP17200982 A JP 17200982A JP S5960647 A JPS5960647 A JP S5960647A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- index register
- instruction
- address
- operand
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/34—Addressing or accessing the instruction operand or the result ; Formation of operand address; Addressing modes
- G06F9/355—Indexed addressing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Executing Machine-Instructions (AREA)
Abstract
Description
【発明の詳細な説明】
発明の技術分野
本発明は、インデックスレジスタを有するプロセッサに
於て、メモリアクセス命令実行時に、オペランドとして
のオフセット値とインデックスレジスタの内容との演算
結果をメモリのアドレスとしてアクセスするメモリアク
セス制御方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention provides a processor having an index register that accesses the result of an operation between an offset value as an operand and the contents of the index register as a memory address when executing a memory access instruction. This paper relates to a memory access control method.
従来技術と問題点
一定のアルゴリズムに従ってディジタル信号の処理を実
行する例えば音声信号の分析、認識処理を行うプロセッ
サに於ては、従来第1図に要部のみ示す構成によりメモ
リMのアクセスが行われるものであった。即ちインデッ
クスレジスタIDRには予めある値が命令によるセット
信号setでセットされており、メモリMをアクセスす
る命令のとき、オペランドOpとしてオフセット値が与
えられ、このオフセット値とインデックスレジスタID
Rの内容とが演算回路ALUで加算等の演算が行われて
、その演算結果がメモリMのアドレスとなり、メモリM
からテ゛−タDATAが読出される。Prior Art and Problems In a processor that processes digital signals according to a certain algorithm, for example, analyzes and recognizes audio signals, access to the memory M is conventionally performed using the configuration shown only in the main part in FIG. It was something. That is, a certain value is set in advance in the index register IDR by a set signal set by an instruction, and when an instruction accesses the memory M, an offset value is given as an operand Op, and this offset value and the index register ID
The contents of R are subjected to calculations such as addition in the calculation circuit ALU, and the result of the calculation becomes the address of memory M.
Data DATA is read from.
第2図はタイムチャートの一例を示すもので、(alば
命令、fb)はオペランド、(C1は演算回路の出力信
号、(dlはメモリの続出データをそれぞれ示すもので
ある。又#0. #1. #2. ・・・はそれぞれ
対応する内容を示す。メモリMをアクセスする#1の命
令によりオペランドとして#1のオフセツト値が与えら
れると、演算回路ALUは第2図tc+の#lの演算結
果を出力する。その出力信号をアドレスとしてメモリM
のアクセスが行われるのご、メモリMからは、第2図(
diの#lのデータが出力される。tlは演算回路A
L Uの演算による時間であり、又t2はメモリアクセ
ス時間であつ°ζ、オペランドOpが与、えられてから
t l +t 2の時間後にメモリMからのデータが得
られることになる。このようなメモリアクセス動作速度
を高速化する為には、演算回路AI、Uの演算時間tl
及びメモリアクセス時間t2を短縮する必要があるが、
それぞれ一定の限界がある。FIG. 2 shows an example of a time chart, in which (al is an instruction, fb) is an operand, (C1 is an output signal of the arithmetic circuit, (dl is successive data in the memory), and #0. #1, #2, . . . indicate corresponding contents. When the offset value of #1 is given as an operand by the instruction #1 that accesses memory M, the arithmetic circuit ALU reads #l of tc+ in FIG. Outputs the calculation result.The output signal is used as an address to store the memory M
When access is performed, memory M is accessed as shown in Figure 2 (
#l data of di is output. tl is arithmetic circuit A
This is the time due to the operation of L U, and t2 is the memory access time °ζ, and data from the memory M is obtained after a time t l +t 2 after the operand Op is given. In order to increase the speed of such memory access operation, the calculation time tl of the calculation circuits AI and U must be increased.
Although it is necessary to shorten the memory access time t2,
Each has certain limits.
発明の目的
本発明は、メモリのアドレスを先に演算して求めること
により、メモリのアクセスの高速化を図ることを目的と
するものである。以下実施例について詳細に説明する。OBJECTS OF THE INVENTION An object of the present invention is to speed up memory access by first calculating and determining a memory address. Examples will be described in detail below.
発明の実施例
第3図は本発明の実施例の要部ブロック図であり、第1
図と同様にプロセッサとしての各部のケート回路、各種
のレジスタ、演算部等は図示を省略しており、又第1図
と同一符号は同一部分を示す。本発明に於ては、演算回
路A 1. Uの演算結果をインテックスレジスタID
Rにセットし、インデックスレジスタIDRのセ・シト
内容をメモリMのアドレス信号とするものである。この
インデックスレジスタIDRにある値をセットする命令
が実行されると、まずクリア信号clrによりインデッ
クスレジスタIDRがクリアされ、オペランドOpとイ
ンデックスレジスタIDRの内容の0とが演算回路A
L LJに入力され、演算回路ALUで加算する場合、
0と加算するものであるから、その出力はオペランドO
pと同一となり、そのオペランドOpがインデックスレ
ジスタIDRに入力され、セット信号setによりその
オペランドopがインテックスレジスタIDRにセラI
・される。Embodiment of the invention FIG. 3 is a block diagram of main parts of an embodiment of the invention.
Similarly to the figure, the gate circuits, various registers, arithmetic units, etc. of each part of the processor are omitted from illustration, and the same reference numerals as in FIG. 1 indicate the same parts. In the present invention, the arithmetic circuit A1. Intex register ID of operation result of U
R is set, and the contents of the index register IDR are used as the memory M address signal. When an instruction to set a certain value in the index register IDR is executed, the index register IDR is first cleared by the clear signal clr, and the operand Op and the contents of the index register IDR are set to 0 in the arithmetic circuit A.
When input to LJ and added by arithmetic circuit ALU,
Since it is added to 0, its output is the operand O
p, the operand Op is input to the index register IDR, and the operand OP is input to the index register IDR by the set signal set.
・To be done.
メモリMをアクセスする命令のとき、インデックスレジ
スタIDRの内容がメモリN4のアドレス信号となって
メモリMのアクセスが行われる。その一方、インデック
スレジスタIDRの内容とオペランFopとしてのオフ
セット値とが演算回路A L Uの入力となり、演算結
果がインデックスレジスタI I) Rにセット信号s
etによりセットされる。この場合のオフセット値は次
の命令によりメモリMをアクセスするアドレスが得られ
るように選定されているものである。When an instruction is issued to access the memory M, the contents of the index register IDR become an address signal for the memory N4, and the memory M is accessed. On the other hand, the contents of the index register IDR and the offset value as the operan Fop are input to the arithmetic circuit ALU, and the arithmetic result is sent to the index register IDR as a set signal s.
Set by et. The offset value in this case is selected so that the address for accessing the memory M by the next instruction can be obtained.
第4図は本発明の実施例のタイムチャートの一例を示す
ものであり、(1)は命令、(2)はオペランド、(3
)は演算回路ALUの出力信号、(4)はセット信号、
(5)はインデックスレジスタIDRの内容、(6)は
メモリの続出データを示す。又#O,#1. ・・・
ばそれぞれ対応する内容を示す。#1のメモリMをアク
セスする命令が与えられ、(2)のオペラン]・の#1
が次の命令でアクセスすべきアドレスを形成する為のオ
フセット値として与えられたとすると、インテックスレ
ジスタIDRには先にオペランドがセラ1−されている
ので、その内容をアドレスとしてメモリMのアクセスが
行われ、時間t2f&に(6)の#0のデータが読出さ
れ、#1の命令に使用される。この命令実行時間内に演
算回路ALUによる演算が行われ、インデックスレジス
タIDRに(4)の#1のセット信号で次のアクセスア
ドレスとしてセットされる。即ち命令実行時間T内の時
間t1で次の命令の為の演算が行われるので、演算結果
をアドレスとしてメモリアクセスを行う従来例に比較し
て高速アクセスが可能となる。FIG. 4 shows an example of a time chart of the embodiment of the present invention, in which (1) is an instruction, (2) is an operand, and (3) is a time chart.
) is the output signal of the arithmetic circuit ALU, (4) is the set signal,
(5) shows the contents of the index register IDR, and (6) shows the successive data in the memory. Also #O, #1. ...
The corresponding contents are shown in each case. Given an instruction to access memory M in #1, #1 in operan (2)]
is given as an offset value to form the address to be accessed by the next instruction. Since the operand has already been set to intex register IDR, memory M is accessed using its contents as an address. Then, at time t2f&, data #0 in (6) is read out and used for instruction #1. The arithmetic circuit ALU performs an arithmetic operation within this instruction execution time, and the address is set in the index register IDR as the next access address by the #1 set signal in (4). That is, since the calculation for the next instruction is performed at time t1 within the instruction execution time T, faster access is possible compared to the conventional example in which memory access is performed using the calculation result as an address.
発明の詳細
な説明したように、本発明は、インデックスレジスタI
D Rの内容をアドレス信号としてメモリMをアクセ
スするものであり、その命令実行時間内に次のアクセス
アドレスを形成するように、オフセット値とインデック
スレジスタの内容との演算を行って、インデックスレジ
スタにセット信号に従ってセットしておくものであるか
ら、従来例のように、演算結果をその時点のアドレス信
号とする場合に比較して、演算時間分を短縮してメモリ
のアクセスを高速化することができることになる。DETAILED DESCRIPTION OF THE INVENTION As described above, the present invention provides an index register I
The memory M is accessed using the contents of D R as an address signal, and the offset value and the contents of the index register are operated on to form the next access address within the execution time of the instruction. Since it is set according to the set signal, it is possible to shorten the calculation time and speed up memory access compared to the conventional case where the calculation result is used as the address signal at that point. It will be possible.
第1図は従来例の要部ブロック図、第2図は、第1図の
従来例のタイムチー=−1−1第3図は本発明の実施例
の要部ブロック図、第4図は本発明の実施例のタイムチ
ャー1−を示す。
A1.、Uは/1iiW回路、I D Rはインデック
スレデスタ、Mはメモリ、opはオペランド、setは
セット信号、clrはクリア信号である。
特糖出願人 冨士通株式会社
代理人弁理士 玉蟲久五部 外3名
第1図
Or)
第 3 図
第2図
第4図
T −一一一一一ヤ
−+7FIG. 1 is a block diagram of the main part of the conventional example, FIG. 2 is a block diagram of the main part of the conventional example shown in FIG. Figure 1 shows a time chart 1 of an embodiment of the invention. A1. , U is a /1iiW circuit, IDR is an index readestor, M is a memory, op is an operand, set is a set signal, and clr is a clear signal. Tokusou Applicant Fujitsu Co., Ltd. Representative Patent Attorney Gobe Tamamushi and 3 others Figure 1 Or) Figure 3 Figure 2 Figure 4 T -11111Y-+7
Claims (1)
リのアクセス制御方式に於て、オペランドの値と前記イ
ンデックスレジスタの内容との演算を行う演算回路と、
該演算回路の演算結果をセラ1へ信号によりセットし、
クリア信号によりセット内容をクリアする前記インデッ
クスレジスタとを備え、該インデックスレジスタのセッ
ト内容をアドレス信号として前記メモリをアクセスする
ことを特徴とするメモリアクセス制御方式。In a memory access control method in a processor having an index register, an arithmetic circuit that performs an operation between an operand value and the contents of the index register;
Set the calculation result of the calculation circuit to cellar 1 by a signal,
1. A memory access control system, comprising: the index register that clears the set contents by a clear signal, and accesses the memory using the set contents of the index register as an address signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17200982A JPS5960647A (en) | 1982-09-30 | 1982-09-30 | Memory access control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17200982A JPS5960647A (en) | 1982-09-30 | 1982-09-30 | Memory access control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS5960647A true JPS5960647A (en) | 1984-04-06 |
Family
ID=15933827
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17200982A Pending JPS5960647A (en) | 1982-09-30 | 1982-09-30 | Memory access control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5960647A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01151648A (en) * | 1987-12-04 | 1989-06-14 | Naka Ind Ltd | Floor panel supporter |
| JPH01156825A (en) * | 1987-12-15 | 1989-06-20 | Mitsubishi Electric Corp | Generating system for signal processing address |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS54109347A (en) * | 1978-02-15 | 1979-08-27 | Nec Corp | Microprogram sequence control circuit |
-
1982
- 1982-09-30 JP JP17200982A patent/JPS5960647A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS54109347A (en) * | 1978-02-15 | 1979-08-27 | Nec Corp | Microprogram sequence control circuit |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01151648A (en) * | 1987-12-04 | 1989-06-14 | Naka Ind Ltd | Floor panel supporter |
| JPH01156825A (en) * | 1987-12-15 | 1989-06-20 | Mitsubishi Electric Corp | Generating system for signal processing address |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0220682B1 (en) | Data processing system | |
| JPS5960647A (en) | Memory access control method | |
| JPS5826584B2 (en) | data processing equipment | |
| KR940009377B1 (en) | Information processing device | |
| JPS63111535A (en) | Data processor | |
| JP2895892B2 (en) | Data processing device | |
| JPS588011B2 (en) | Microprogram Seigiyohoshiki | |
| JP2576589B2 (en) | Virtual storage access control method | |
| JPH04181454A (en) | Data access controller | |
| JPH0248733A (en) | information processing equipment | |
| JPS60178539A (en) | By-pass control system of information processor | |
| JPS628245A (en) | Virtual memory system | |
| JPH03119424A (en) | Information processing system and its device | |
| JPH059818B2 (en) | ||
| JPH08235135A (en) | Parallel computer with communication register | |
| JPH0419575B2 (en) | ||
| JPH048825B2 (en) | ||
| JPH04245333A (en) | information processing equipment | |
| JPS6146562A (en) | Operation processing system of array element | |
| JPH05204638A (en) | Pipeline processor | |
| JPH01316826A (en) | Register file address circuit | |
| JPH07113891B2 (en) | Pipeline processing equipment | |
| JPS62147545A (en) | Transfer command processing method in information processing equipment | |
| JPH0792902A (en) | Programmable controller | |
| JPH0342721A (en) | Information processor |