JPS62205451A - Repeatedly reading memory - Google Patents

Repeatedly reading memory

Info

Publication number
JPS62205451A
JPS62205451A JP4973086A JP4973086A JPS62205451A JP S62205451 A JPS62205451 A JP S62205451A JP 4973086 A JP4973086 A JP 4973086A JP 4973086 A JP4973086 A JP 4973086A JP S62205451 A JPS62205451 A JP S62205451A
Authority
JP
Japan
Prior art keywords
memory
output
register
read
data
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
JP4973086A
Other languages
Japanese (ja)
Inventor
Hiroko Midorikawa
緑川 博子
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4973086A priority Critical patent/JPS62205451A/en
Publication of JPS62205451A publication Critical patent/JPS62205451A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a reading time by holding input data having a reading starting address value and a repeating frequency value and providing a register, etc., to hold the input data to designate the destination address of the read data. CONSTITUTION:Input data INLD has the reading starting address A0 of the upper-most layer of social data and a value (repeating frequency) to show what social data the data are, a reading starting address A1 is outputted to a multiplexer 15 and a repeating frequency 2 is outputted to a comparator 18. When an input request signal IRQ comes to be 0, counting is started by a clock CLK. The second memory 16 reads an output signal IN1 of a register 11, namely, the data processing to the reading starting address in the input data. The comparator 18 compares the output of a counter 9 and a repeating frequency value. Until the output of the comparator comes to be 0, the reading contents of the memory come to be the reading address and the action to read the memory one more time is repeated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は反復読み出しメモリに関し、特にデータフロー
型のプロセッサによりアクセスされるメモリに関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to repetitive read memories, and more particularly to memories accessed by dataflow type processors.

〔従来の技術〕[Conventional technology]

従来、この種の反復読み出しメモリはアドレスポインタ
で何階層にも間接的に指定されるデータをアクセスする
場合、プロセッサ上のソフ)−ウェアにより複数回メモ
リをアクセスして最終的に必要なメモリの内容を読み出
していた。
Conventionally, in this type of repetitive read memory, when accessing data that is indirectly specified in many layers by an address pointer, software on the processor accesses the memory multiple times and finally stores the required memory. The contents were being read.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このように従来の方式では必要なメモリの内容を読み出
すのに時間がかかる欠点がある。
As described above, the conventional method has the drawback that it takes time to read the necessary memory contents.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の反復読み出しメモリは、読み出し開始アドレス
値と反復回数値を持つ入力データとを保持するための第
1のレジスタと、読み出したデータの行き先アドレスを
指定する入力データを保持するための第2のレジスタと
、第2のレジスタの出力により参照され新しい行き先ア
ドレスを蓄えた第1のメモリと、外部から与えられたク
ロックによりカウントを行うカウンタと、前記反復回数
値と前記カウンタ出力を比較する比較器と、前記比較器
の出力と前記外部クロックを入力とするアンドゲートと
、第2のメモリと、前記第2のメモリからの読み出しデ
ータを入力し前記アンドゲートの出力をラッチタイミン
グとしてラッチする第2のレジスタと、前記入力レジス
タのうちの読み出し開始アドレスと前記第3のレジスタ
の出力のいずれかを選択し、前記第2のメモリの読み出
しアドレスとして出力するマルチプレクサと、外部から
前記第1のレジスタ、第2のレジスタへの入力制御、前
記カウンタへのカラン)・許可信号、クリア信号制御、
外部への出力制御を行う制御部とを有している。
The repetitive read memory of the present invention includes a first register for holding input data having a read start address value and a repeat count value, and a second register for holding input data specifying a destination address of the read data. a first memory that is referenced by the output of the second register and stores a new destination address, a counter that counts based on an externally applied clock, and a comparison that compares the repeat count value and the counter output. an AND gate which inputs the output of the comparator and the external clock, a second memory, and a second memory which inputs read data from the second memory and latches the output of the AND gate as latch timing. a multiplexer that selects either the read start address of the input registers or the output of the third register and outputs it as the read address of the second memory; , input control to the second register, input to the counter), permission signal, clear signal control,
It has a control section that controls output to the outside.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示し、第2図は本実施例に
おける各部のタイムチャーI・を示す。第1図において
、本実施例は外部からの入力データINLD、INHD
をそれぞれ入力する第1および第2のレジスタ11およ
び12と、第2のレジスタ12に接続され、出力データ
OU T HD 3送出するR OM 13と、マルチ
プレクサ15を介して第1のレジスタ11に接続され、
出力データ0UTLDを送出する第2のメモリ16と、
第2のメモリ16の出力データを入力し、マルチプレク
サ15に出力する第3のレジスタ14と、入力要求信号
IRQおよび出力終了信号0ACKおよびクロックC,
L Kを入力し、出力要求信号ORQおよび入力完了信
号I A CKを送出し、かつ各部を制御する選択信号
SEL、クリア信号CLRおよびカウントイネーブルC
ENを送出する制御部21と、カウントイネーブルCE
NとクロックCLKを入力するアントゲ−I・20と、
アンドゲート20の出力信号を計数し、その出力信号C
0UNTを送出しかつクリア信CLRを入力するカウン
タ1つと、出力信号C0UNTと第1のレジスタ11の
出力信号INIとを比較する比較器18と、クロックC
LKと比較器18の出力信号Gとを入力し、第3のレジ
スタ14に出力するアントゲ−1・とを含む。この実施
例は外部から入力データINHD、INLDが第1.第
2のレジスタ12.11人力され、入力要求信号IRQ
が制御部21が入力される。これにより所定のメモリリ
ード動作を行った後、第1のメモリ(ROM)13は出
力データ0UTHDを、第2のメモリ16は出力データ
DTを、制御部21は出力要求信号ORQを出力する。
FIG. 1 shows an embodiment of the present invention, and FIG. 2 shows time charts of various parts in this embodiment. In FIG. 1, this embodiment uses external input data INLD and INHD.
ROM 13 connected to the second register 12 and outputting the output data OUT HD 3, and connected to the first register 11 via a multiplexer 15. is,
a second memory 16 that sends output data 0UTLD;
A third register 14 inputs the output data of the second memory 16 and outputs it to the multiplexer 15, an input request signal IRQ, an output end signal 0ACK and a clock C,
A selection signal SEL, a clear signal CLR, and a count enable C input the LK, send the output request signal ORQ and the input completion signal IACK, and control each part.
A control unit 21 that sends out EN and a count enable CE
Antogame I.20 which inputs N and clock CLK,
The output signal of the AND gate 20 is counted, and the output signal C
One counter that sends out 0UNT and inputs a clear signal CLR, a comparator 18 that compares the output signal C0UNT and the output signal INI of the first register 11, and a clock C
LK and the output signal G of the comparator 18 are input thereto and output to the third register 14. In this embodiment, input data INHD and INLD from the outside are first . Second register 12.11 input request signal IRQ
is input to the control unit 21. After performing a predetermined memory read operation, the first memory (ROM) 13 outputs output data 0UTHD, the second memory 16 outputs output data DT, and the control unit 21 outputs an output request signal ORQ.

この制御部21においては出力終了信号0ACKが入力
されると、メモリリード動作が完了したとみなし、入力
完了信号I A CKを出力する。入力データINHD
、INLDと出力データ0tJTHD、0LJTLDは
バスを介して各々別々の外部モジュールに供給されるよ
うに接続され、前段からの入力データが入るとメモリリ
ードを行い、後段へ出力データを出力するというデータ
フロー形式で動作が行われる。前段、後段とのデータの
入出力信号はそれぞれ入力要求信号IRQ、入力完了信
号IACKと出力要求信号ORQ、出力終了信号0AC
Kを用いて行う。入力データINHD、INLDはそれ
ぞれ第1図における第2のレジスタ12.第1のレジス
タ11にラッチされる。このラッチは外部からの入力要
求信号IRQが0゛となり、クロックCL Kが立ち上
るときに行われる。入力データI NHDはR0M13
を参照し、出力データINHDとして、外部出力される
。入力データI N HDは読み出したデータにどの様
な行き先アドレスを付けるかを決めるためのデータで、
あらかじめROM13に、新しい行き先アドレスを蓄え
ておくことにより、対応する行き先アドレスを読み出し
、出力データを0UTHDを送出する。入力データIN
LDは第2図に示すように階層的なデータの最上位層の
読み出し開始、アドレスAOと何階層のデータなのかを
示す値(すなわち反復回数)3をもち、読み出し開始ア
ドレスA1はマルチブレフタ15へ出力され、反復回数
2は比較器18へ出力される。入力要求信号IRQが0
゛になるとカラ〉・り19のカウントイネーブルCEN
が“1゛となり、クロックCLKによりカウントが開始
される。
In this control section 21, when the output end signal 0ACK is input, it is assumed that the memory read operation is completed, and outputs the input completion signal IACK. Input data INHD
, INLD and output data 0tJTHD, 0LJTLD are connected via buses so that they are supplied to separate external modules, and when input data from the previous stage is input, a memory read is performed and output data is output to the subsequent stage. Actions are performed in the form. The data input/output signals for the previous and subsequent stages are an input request signal IRQ, an input completion signal IACK, an output request signal ORQ, and an output end signal 0AC.
This is done using K. The input data INHD and INLD are respectively input to the second register 12. in FIG. It is latched into the first register 11. This latch is performed when the input request signal IRQ from the outside becomes 0' and the clock CLK rises. Input data I NHD is R0M13
is outputted to the outside as output data INHD. Input data I N HD is data for determining what destination address to attach to the read data.
By storing a new destination address in the ROM 13 in advance, the corresponding destination address is read and output data 0UTHD is sent. Input data IN
As shown in FIG. 2, the LD starts reading the top layer of hierarchical data, has an address AO and a value 3 indicating what layer the data is (i.e., the number of repetitions), and the read start address A1 is sent to the multi-brefter 15. The number of iterations 2 is output to the comparator 18. Input request signal IRQ is 0
゛When it becomes empty〉・ri19 count enable CEN
becomes "1", and counting is started by the clock CLK.

またIRQが0゛になり次のクロックCLKの立ち上が
りまでの時間、マルチプレクサ15の選択信号SELが
1°となり、この結果第1の図において第1のレジスタ
11の出力信号INIが選択されメモリアドレスADと
して出力される。
In addition, during the time period from when IRQ becomes 0° until the rise of the next clock CLK, the selection signal SEL of the multiplexer 15 becomes 1°, and as a result, in the first diagram, the output signal INI of the first register 11 is selected and the memory address AD is output as

第2のメモリ16はレジスタ11の出力信号IN1すな
わち入力データ中の読み出し開始アドレス(第2図中の
AO)に対応するデータ(第2図中DIO>を読み出す
。一方、比較器18はカウンタ9の出力COU N T
と第1のレジスタ11の−・部からの反復回数値を比較
し、不一致のときは信号Gを1゛とする。信号Gが“1
゛でクロックCL Kが立ち上がるときレジスタ14ヘ
ラッチ信号が送られ、この結果、先の第2のメモリ16
からの読み出しデータDIOがラッチされる。この時選
択信号LELは0゛なので、マルチプレクサ15はレジ
スタ14の出力信号IN2を選択し、レジスタ14の出
力がメモリリードアドレスADとして出力される。、メ
モリ16はDIOの内容を読み出しDIIを出力する。
The second memory 16 reads the output signal IN1 of the register 11, that is, the data (DIO> in FIG. 2) corresponding to the read start address (AO in FIG. 2) in the input data. The output of COU N T
and the repetition count value from the - section of the first register 11, and if they do not match, the signal G is set to 1. Signal G is “1”
When the clock CLK rises at '', a latch signal is sent to the register 14, and as a result, the second memory 16
Read data DIO from is latched. At this time, the selection signal LEL is 0', so the multiplexer 15 selects the output signal IN2 of the register 14, and the output of the register 14 is output as the memory read address AD. , the memory 16 reads the contents of DIO and outputs DII.

さらにDIIの値がレジスタ14にラッチされ、DTI
がメモリリードアドレスADとして出力される。したが
って比較器の出・力Gが0°になるまで、メモリのリー
ド内容が、リードアドレスとなってもう一度メモリを読
み出すという動作が繰り返される。この動作が反復日数
分、くりかえされると比較器18の出力Gは°O゛にな
り、レジスタ14へのラッチ信号は、入力されずAD、
DTの値は変化しない、出力要求信号ORQが1゛でG
が0゜であるときクロックCLKの立ち上がりによって
出力要求信号iを“0°とする。これは外部への出力要
求信号に対応する。後段からの出力要求信号丁XτIが
0゛になるとこ立ち上がりによりORQを“1゛としカ
ウンタ19へのクリア信号CLRを出力してカウンタ値
をOとする。カウンタ値がOになると再び信号Gは“1
゛となる。また後段からの出力終了信号OA CK゛0
°の変化に応じて前段へ入力終了信号IAτ玉を0゛と
する、前段からの入力要求信号IRQが1゛になったら
入力完了信号IACKを1°とする。
Furthermore, the value of DII is latched in register 14, and the value of DTI
is output as the memory read address AD. Therefore, the operation of reading the memory again using the read contents of the memory as the read address is repeated until the output G of the comparator reaches 0°. When this operation is repeated for the number of repetition days, the output G of the comparator 18 becomes °O゛, and the latch signal to the register 14 is not inputted to AD,
The value of DT does not change, and when the output request signal ORQ is 1, G
When the clock CLK rises to 0°, the output request signal i is set to 0°. This corresponds to the output request signal to the outside. When the output request signal from the subsequent stage becomes 0°, the rising The ORQ is set to "1" and a clear signal CLR is output to the counter 19 to set the counter value to O. When the counter value reaches O, the signal G becomes “1” again.
It becomes ゛. In addition, the output end signal OACK゛0 from the subsequent stage
The input end signal IAτ ball to the previous stage is set to 0° in accordance with the change in degree. When the input request signal IRQ from the previous stage becomes 1°, the input completion signal IACK is set to 1°.

このように本発明の実施例はメモリから読み出した値を
さらにメモリのリードアドレスとして入力するように、
ループ回路をメモリ内部に設けているため、このループ
を外部から指定された反復回数だけループすることによ
り、何階層にも間接的に指定されるデータの値を、メモ
リとプロセッサの間を何度も行き来することなく読み出
せる。
In this way, the embodiment of the present invention inputs the value read from the memory as the read address of the memory.
Since a loop circuit is provided inside the memory, by repeating this loop the number of times specified from the outside, the value of data that is indirectly specified in many layers can be transferred between the memory and the processor many times. can be read without going back and forth.

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

以上説明したように本発明は、従来のようにプロセッサ
とメモリの間を信号が何度ら往復することがなくなり、
時間が短縮できる効果がある。
As explained above, the present invention eliminates the need for signals to go back and forth between the processor and memory as in the past.
This has the effect of reducing time.

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

第1図は本発明の一実施例を示す図、第2図は一実施例
における信号タイミングを示した図である。 1.2.4・・・レジスタ、13・・・メモリ(ROM
)、15・・・マルチプレクサ、16・・・メモリ、1
7゜20・・・アントゲ−1・、18・・・比較器、1
9・・・カウンタ、21・・・制御部。 購会母こ義口0藝 1. fg
FIG. 1 is a diagram showing one embodiment of the present invention, and FIG. 2 is a diagram showing signal timing in one embodiment. 1.2.4...Register, 13...Memory (ROM)
), 15...Multiplexer, 16...Memory, 1
7゜20...antogame-1, 18...comparator, 1
9...Counter, 21...Control unit. Purchasing mother's mouth 0 arts 1. fg

Claims (1)

【特許請求の範囲】[Claims] 読み出し開始アドレス値と反復回数値を持つ入力データ
とを保持するための第1のレジスタと、読み出したデー
タの行き先アドレスを指定する入力データを保持するた
めの第2のレジスタと、該第2のレジスタの出力により
参照され新しい行き先アドレスを蓄えた第1のメモリと
、外部から与えられたクロックによりカウントを行うカ
ウンタと、前記反復回数値と前記カウンタ出力を比較す
る比較器と、該比較器の出力と前記外部クロックを入力
とするアンドゲートと、第2のメモリと、前記第2のメ
モリからの読み出しデータを入力し前記アンドゲートの
出力をラッチタイミングとしてラッチする第3のレジス
タと、前記第1のレジスタのうちの読み出し開始アドレ
スと前記第3のレジスタの出力のいずれかを選択し、前
記第2のメモリの読み出しアドレスとして出力するマル
チプレクサと、外部から前記第1のレジスタ、第2のレ
ジスタへの入力制御、前記カウンタへのカウント許可信
号、クリア信号制御、外部への出力制御を行う制御部と
を含み、外部から入力された読み出し開始アドレスによ
り前記第2のメモリの内容を読み出し、この値をさらに
読み出しアドレスとして前記第2のメモリへ入力し、内
容を読み出すという操作を、外部から与えられた反復回
数値に等しい回数行うことを特徴とする反復読み出しメ
モリ。
a first register for holding input data having a read start address value and a repetition count value; a second register for holding input data specifying a destination address of the read data; a first memory that is referenced by the output of the register and stores a new destination address; a counter that counts based on an externally applied clock; a comparator that compares the repetition count value with the counter output; an AND gate that receives the output and the external clock as input; a second memory; a third register that inputs read data from the second memory and latches the output of the AND gate as latch timing; a multiplexer that selects one of the read start address of the first register and the output of the third register and outputs it as the read address of the second memory; a control unit that controls input to the counter, a count permission signal to the counter, a clear signal control, and an output control to the outside; reads the contents of the second memory according to a read start address input from the outside; A repeat read memory characterized in that the operation of inputting a value as a read address to the second memory and reading the contents is performed a number of times equal to an externally given repeat count value.
JP4973086A 1986-03-06 1986-03-06 Repeatedly reading memory Pending JPS62205451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4973086A JPS62205451A (en) 1986-03-06 1986-03-06 Repeatedly reading memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4973086A JPS62205451A (en) 1986-03-06 1986-03-06 Repeatedly reading memory

Publications (1)

Publication Number Publication Date
JPS62205451A true JPS62205451A (en) 1987-09-10

Family

ID=12839301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4973086A Pending JPS62205451A (en) 1986-03-06 1986-03-06 Repeatedly reading memory

Country Status (1)

Country Link
JP (1) JPS62205451A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS598057A (en) * 1982-07-02 1984-01-17 Matsushita Electric Ind Co Ltd Memory device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS598057A (en) * 1982-07-02 1984-01-17 Matsushita Electric Ind Co Ltd Memory device

Similar Documents

Publication Publication Date Title
EP0212636A2 (en) Bus state control circuit
US5247636A (en) Digital processor clock circuit
JPS62205451A (en) Repeatedly reading memory
JPH051504B2 (en)
JPS63200234A (en) Data processor
JPH06197009A (en) Counter with output latch function
JPH11273380A (en) Lsi operation mode setting signal fetching method and lsi with mode signal fetching function
JPH098611A (en) Pulse generator and data transfer device using the same
JPH05282205A (en) Information processor
SU1642466A1 (en) Logic output control device
JPH03191460A (en) Shared memory system
JPH06197010A (en) Counter with output latch function
JPH0767288B2 (en) Gate pulse controller for thyristor inverter
KR0139966B1 (en) Common device access device
JP2593935B2 (en) Direct memory access device
JPS6154533A (en) Data input interface circuit
JPH0551931B2 (en)
JPS6246017B2 (en)
JPS599744A (en) High speed dma (direct memory access) transfer starting circuit
JPS61161560A (en) Memory device
JPS61175752A (en) Data processor
JPS63271551A (en) Memory control circuit
JPH0242587A (en) Picture processor
JPS6395540A (en) Memory interface circuit
JPH02126355A (en) Address data control circuit