JPH01185737A - Shift path circuit for ram - Google Patents

Shift path circuit for ram

Info

Publication number
JPH01185737A
JPH01185737A JP63009506A JP950688A JPH01185737A JP H01185737 A JPH01185737 A JP H01185737A JP 63009506 A JP63009506 A JP 63009506A JP 950688 A JP950688 A JP 950688A JP H01185737 A JPH01185737 A JP H01185737A
Authority
JP
Japan
Prior art keywords
address
data
ram
register
write
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
JP63009506A
Other languages
Japanese (ja)
Inventor
Shinichi Ishikawa
伸一 石川
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 Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP63009506A priority Critical patent/JPH01185737A/en
Publication of JPH01185737A publication Critical patent/JPH01185737A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform a fast continuous operation on a RAM by performing the designation of an address after setting an initial address by a shift operation by incrementing data set at an address register automatically. CONSTITUTION:A shift lock counter circuit 103 is counted up at every output of one shift clock, and at a time when the number arrives equivalent to the number of bits of one word of the RAM20, a write pulse issuing circuit 105 issues a write pulse to the RAM20, and write data held at a write data register 16 is written on the designated address of the RAM20. Next, the address register 12 is set at an enable state by an address register enable circuit 102, and also, address data set already by an address increment circuit 104 is incremented, and the address data is held at the address register 12. In such a way, it is possible to write continuous data at high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は評価時にシフトパスを使用してRAMへのデー
タの書き込みまたは読み出しを行う計算機システムのR
AM用シフトパス回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an R computer system that writes data to or reads data from a RAM using a shift path during evaluation.
This invention relates to an AM shift path circuit.

〔従来の技術〕[Conventional technology]

シフトパスを使用する計算機システムは種々存在するが
、そのうちでR、A、 Mをアクセスするために一般的
に使用されている方式は次のようなものである。すなわ
ち、RAMにデータを書き込む際にはRAMのアドレス
、書込データをあらかじめシフトパスによって設定し、
その後にシフトモードラ解除し、ついでシステムクロッ
クを発行して書込パルスを生成し、RAMにデータを書
き込む。
There are various computer systems that use shift paths, but among them, the following methods are commonly used to access R, A, and M. That is, when writing data to RAM, the RAM address and write data are set in advance by a shift pass,
After that, the shift mode is released, and then a system clock is issued to generate a write pulse to write data to the RAM.

またデータの読み出し時を同様にあらかじめシフトパス
によってRAMのアドレスを設定し、次にシフトモード
を解除し、システムクロックを発行してRAMの読出デ
ータを保持した後、再度シフトモードにしてシフトクロ
ックを発行し読み出す方式であった。
Also, when reading data, the RAM address is set in advance using a shift pass, then the shift mode is canceled, the system clock is issued and the read data of the RAM is held, and then the shift mode is set again and the shift clock is issued. This method was used to read out the data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のシフトパスを使用したR、 A Mの読
出・書込方式では1回のアクセスを行うごとにアドレス
を設定しなければならず、またシフトモードのオン・オ
フが必要であり、さらにシステムクロックを発行しなけ
ればならない。したがって連続したデータの書き込み、
読み出しに時間がかかり、1つのアドレスをアクセスす
るのにシフトパスに接続された総しジスタ分のビット数
のシフトクロックを発行しなければならないという問題
があった。
In the above-mentioned conventional read/write method for R and AM using a shift path, an address must be set for each access, the shift mode must be turned on and off, and the system A clock must be issued. Therefore, writing continuous data,
There is a problem in that reading takes time, and in order to access one address, it is necessary to issue shift clocks for the number of bits equal to the total number of registers connected to the shift path.

本発明はこのような事情に鑑みてなされたものであり、
連続したデータをRAMに対して高速に読み出しまたは
書き込みを行うことができるRAM用シフトパス回路を
提供することを目的とするものである。
The present invention was made in view of these circumstances, and
It is an object of the present invention to provide a shift path circuit for RAM that can read or write continuous data to or from RAM at high speed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記目的を達成するために、評価時にシフトパ
スを使用してRAMへのデータの書き込みまたは読み出
しを行う計算機システムにおいて、RAMのアクセスす
べきアドレスが設定され、こノアトレスデータを保持す
るアドレスレジスタと、RAMへの書込データを保持す
る書込データレジスタと、RAMから読み出されたデー
タを保持する読出データレジスタと、書込データレジス
タまたは読出データレジスタにシフトアウトを切り換え
るシフトアウトデータ切換回路を、書き込みまたは読み
出しの指示に応じてシフトアウトデータ切換回路を切換
制御し、書き込み時には1ワード分の書込データを書込
データレジスタにシフトセットし、RAMに対して書込
パルスを福行して書込データをRAMの指定アドレスに
セットした後、前記アドレスレジスタに設定されたアド
レスをインクリメントし、これら一連の動作を必要ワー
ド数分、繰り返すと共に、読み出し時にはRAMの指定
アドレスの読出データを読出データレジスタにセットし
た後、この読出データをシフトアウトし、ついで前記指
定アドレスをインクリメントし、これら一連の動作を必
要ワード数分繰り返す制御手段とを有することを特徴と
するものである。
In order to achieve the above object, the present invention provides a computer system in which data is written to or read from RAM using a shift path during evaluation. A register, a write data register that holds data written to RAM, a read data register that holds data read from RAM, and a shift-out data switch that switches shift out to the write data register or read data register. The circuit controls the shift-out data switching circuit according to write or read instructions, and when writing, shifts and sets one word of write data to the write data register, and sends a write pulse to the RAM. After setting the write data to the specified address of RAM, the address set in the address register is incremented, and this series of operations is repeated for the required number of words, and when reading, the read data of the specified address of RAM is incremented. The present invention is characterized by comprising a control means for shifting out the read data after setting it in the read data register, incrementing the designated address, and repeating this series of operations for the required number of words.

本発明によればRAMにアクセスする際に初期アドレス
を設定した後は、アクセスを行うごとにアドレスの指定
を行う必要がなく、アドレスをインクリメントするだけ
でよく、更にシフトモードのオン・オフ、システムクロ
ックの発行が不要となるので、連続したデータの書き込
みまたは読み出しをRAMに対して高速に行うことがで
きる。
According to the present invention, after setting the initial address when accessing the RAM, there is no need to specify the address each time an access is made, and it is only necessary to increment the address. Since it is not necessary to issue a clock, continuous data can be written to or read from the RAM at high speed.

〔実施例〕〔Example〕

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

第1図には本発明に係わるRAM用シフトパス回路の一
実施例の構成が示されている。同図においてシフトパス
回路は制御部lOと、アドレスレジスタ12と、アドレ
スインクリメント回路14と、書込データレジスタ16
と、読出データレジスタ18と、シフトアウトデータ切
換回路30とから構成されている。
FIG. 1 shows the configuration of an embodiment of a RAM shift path circuit according to the present invention. In the figure, the shift path circuit includes a control unit lO, an address register 12, an address increment circuit 14, and a write data register 16.
, a read data register 18 , and a shift-out data switching circuit 30 .

制御部10は読み出しまたは書き込みの指示が外部入力
により設定される読出・書込設定回路100と、アドレ
スレジスタ12に設定するアドレスを選択するアドレス
入力切換回路101と、アドレスレジスタ12をイネー
ブル状態にするアドレスレジスタイネーブル回路102
と、シフトクロックを発行しこのシフ、トクロックをR
AM20の1ワード分のビット数だけカウントするシフ
トクロックカウント回路103と、RAM20からデー
タを読み出す際に読出データレジスタ18に対してデー
タ人力をイネーブル状態にする読出データレジスタイネ
ーブル回路104と、RAM20にデータを書き込む際
にRAM20に対して書込パルスを発行する書込パルス
発行回路105とから構成されている。
The control unit 10 enables a read/write setting circuit 100 in which read or write instructions are set by external input, an address input switching circuit 101 that selects an address to be set in the address register 12, and the address register 12. Address register enable circuit 102
, issues a shift clock and sets this shift clock to R.
A shift clock count circuit 103 counts the number of bits for one word of the RAM 20, a read data register enable circuit 104 enables data input to the read data register 18 when reading data from the RAM 20, and and a write pulse issuing circuit 105 that issues a write pulse to the RAM 20 when writing.

アドレスレジスタ12はRAM20をアクセスする際に
指定されたアドレスのアドレスデータを保持するレジス
タであり、アドレスレジスタ12に指定アドレスが初期
設定された後はRAM20に1ワード分のデータの書き
込みまたは読み出しが終了するごとに、アドレスインク
リメント回路14により前記指定アドレスが自動的にイ
ンクリメントされることによりアドレス指定が行われる
ようになっている。
The address register 12 is a register that holds the address data of the address specified when accessing the RAM 20, and after the specified address is initialized in the address register 12, writing or reading of one word of data to the RAM 20 is completed. Each time the specified address is specified, the specified address is automatically incremented by the address increment circuit 14, thereby specifying the address.

書込データレジスタ16はシフトクロックカウント回路
103より出力されるシフトクロックにより外部より入
力された書込データがシフトセットされ、書込データを
保持するレジスタである。
The write data register 16 is a register in which write data inputted from the outside is shifted and set by a shift clock output from the shift clock count circuit 103, and holds the write data.

読出データレジスタ18はRAM20から読み出された
データを保持するレジスタである。シフトアウトデータ
切換回路30は読み出し時には読出データレジスタ18
のシフトアウトデータを、また書き込み時には書込デー
タレジスタ16のシフトアウトデータを選択するセレク
タである。
The read data register 18 is a register that holds data read from the RAM 20. The shift-out data switching circuit 30 selects the read data register 18 during reading.
This selector selects the shift-out data of the write data register 16 during writing.

上記構成において、制御部10はRAM20に対するア
クセスがデータの読み出しかまたは書き込みかを読出・
書込設定回路100により判定し、その判定結果に基づ
いてシフトアウトデータ切換回路30を切換制御する。
In the above configuration, the control unit 10 determines whether the access to the RAM 20 is to read or write data.
The write setting circuit 100 makes a determination, and the shift-out data switching circuit 30 is controlled to switch based on the determination result.

次にアドレス入力切換回路101によってRAM20に
アクセスすべきアドレスの指定を外部入力端に切り換え
られ、アドレスレジスタ12はアドレスレジスタイネー
ブル回路102によりイネーブル状態にさせられる。
Next, the address input switching circuit 101 switches the designation of the address to be accessed to the RAM 20 to the external input terminal, and the address register 12 is enabled by the address register enable circuit 102.

この結果、外部よりRAMに対してアクセスすべきアド
レスの初期設定が行われる。ついでアドレス人力切換回
路101によりアドレスレジスタ12の入力はアドレス
インクリメント回路側に切り換えられる。
As a result, the address to be accessed from the outside to the RAM is initialized. Then, the input of the address register 12 is switched to the address increment circuit side by the address manual switching circuit 101.

RAM20にデータを書き込む際には読出・書込設定回
路100の出力信号によりシフトアウト切換回路30は
書込データレジスタ16側に切り換えられるとともに、
シフトクロックカウント回路103はシフトクロックを
発行し書込データレジスタ16に書込データをシフトセ
ットする。このシフトクロックカウント回路103は1
個のシフトクロックを出力するごとにカウントアツプし
ていきその数がRAM20の1ワード分のビット数に等
しくなった時点で、書込パルス発行回路105は書込パ
ルスをRAM20に対して発行し、書込データレジスタ
16に保持されている書込データがRAM20の指定さ
れたアドレスに書き込まれる。ついでアドレスレジスタ
12がアドレスレジスタイネーブル回路102によりイ
ネーブル状態にされるとともに、アドレスインクリメン
ト回路14により既に設定されているアドレスデータが
インクリメントされ、このインクリメントされたアドレ
スデータがアドレスレジスタ12により保持される。こ
れらの一連の動作を必要ワード数分だけ繰り返すことに
よりRAM20に連続したデータが順次書き込まれる。
When writing data to the RAM 20, the shift-out switching circuit 30 is switched to the write data register 16 side by the output signal of the read/write setting circuit 100, and
The shift clock count circuit 103 issues a shift clock and shifts and sets write data in the write data register 16. This shift clock count circuit 103 is 1
The write pulse issuing circuit 105 counts up each time it outputs a shift clock, and when the number becomes equal to the number of bits for one word of the RAM 20, the write pulse issuing circuit 105 issues a write pulse to the RAM 20, The write data held in the write data register 16 is written to the designated address of the RAM 20. Next, the address register 12 is enabled by the address register enable circuit 102, the address data already set is incremented by the address increment circuit 14, and the incremented address data is held by the address register 12. By repeating these series of operations for the required number of words, continuous data is sequentially written into the RAM 20.

またRAM20からデータを読み出す際には同様に読出
・書込設定回路100の出力信号によりシフトアウトデ
ータ切換回路30は読出データレジスタ18側に切り換
えられるとともに、読出データレジスタイネーブル回路
104により読出データレジスタ18がイネーブル状態
にされ、読出データレジスタ18にはRAM20から読
み出されたデータがセットされる。ついでシフトクロッ
クカウント回路103はシフトクロックをRAM20の
1ワード分のビット数だけ発行し、読出データレジスタ
にセットされている読出データをシフトアウトデータ切
換回路30を介してシフトアウトする。この後にアドレ
スレジスタ12がアドレスレジスタイネーブル回路10
2によりイネーブル状態にされるとともに、アドレスイ
ンクリメント回路14によりアドレスデータがインクリ
メントされ、このインクリメントされたアドレスデータ
がアドレスレジスタ12により保持される。これらの一
連の動作を必要ワード数分だけ繰り返すことによりRA
M20に連続したデータが順次読み出される。
Similarly, when reading data from the RAM 20, the shift-out data switching circuit 30 is switched to the read data register 18 side by the output signal of the read/write setting circuit 100, and the read data register enable circuit 104 switches the shift-out data switching circuit 30 to the read data register 18 side. is enabled, and data read from the RAM 20 is set in the read data register 18. Next, the shift clock count circuit 103 issues shift clocks by the number of bits corresponding to one word of the RAM 20, and shifts out the read data set in the read data register via the shift-out data switching circuit 30. After this, the address register 12 is set to the address register enable circuit 10.
2, the address increment circuit 14 increments the address data, and the incremented address data is held by the address register 12. By repeating these series of operations for the required number of words, RA
Continuous data in M20 is sequentially read out.

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

以上説明したように本発明では評価時にシフトバスを用
いてRAMに対してデータの読み出しまたは書き込みを
行う際に初期アドレスの設定を行った後のアドレスの指
定はアドレスレジスタに設定されたデータを自動的にイ
ンクリメントすることにより行い、シフト動作によりデ
ータの書き込みまたは読み出しを行うようにしたので、
RAMに対して高速に連続したデータの書き込みまたは
読み出しを行うことが可能となる。
As explained above, in the present invention, when reading or writing data to RAM using a shift bus during evaluation, the address specification after setting the initial address automatically uses the data set in the address register. This is done by incrementing the data manually, and data is written or read by a shift operation.
It becomes possible to continuously write or read data to or from the RAM at high speed.

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

第1図は本発明に係わるRAM用シフトバス回路の一実
施例の構成を示すブロック図である。 410・・・・・・制御部、 12・・・・・・アドレスレジスタ、 14・・・・・・アドレスインクリメント回路、16・
・・・・・書込データレジスタ、18・・・・・・読出
データレジスタ、20・・・・・・シフトアウトデータ
切換回路。
FIG. 1 is a block diagram showing the configuration of an embodiment of a RAM shift bus circuit according to the present invention. 410...control unit, 12...address register, 14...address increment circuit, 16...
...Write data register, 18...Read data register, 20...Shift-out data switching circuit.

Claims (1)

【特許請求の範囲】  評価時にシフトパスを使用してRAMへのデータの書
き込みまたは読み出しを行う計算機システムにおいて、 RAMのアクセスすべきアドレスが設定され、このアド
レスデータを保持するアドレスレジスタと、 RAMへの書込データを保持する書込データレジスタと
、 RAMから読み出されたデータを保持する読出データレ
ジスタと、 書込データレジスタまたは読出データレジスタにシフト
アウトを切り換えるシフトアウトデータ切換回路と、 書き込みまたは読み出しの指示に応じてシフトアウトデ
ータ切換回路を切換制御し、 書き込み時には1ワード分の書込データを書込データレ
ジスタにシフトセットし、RAMに対して書込パルスを
発行して書込データをRAMの指定アドレスにセットし
た後、前記アドレスレジスタに設定されたアドレスをイ
ンクリメントし、これら一連の動作を必要ワード数分繰
り返すとともに、 読み出し時にはRAMの指定アドレスの読出データを読
出データレジスタにセットした後、この読出データをシ
フトアウトし、ついで前記指定アドレスをインクリメン
トし、これら一連の動作を必要ワード数分繰り返す制御
手段とを有することを特徴とするRAM用シフトパス回
路。
[Claims] In a computer system that writes data to or reads data from RAM using a shift path during evaluation, an address to be accessed in RAM is set, and an address register that holds this address data, and A write data register that holds write data, a read data register that holds data read from RAM, a shift-out data switching circuit that switches shift out to the write data register or read data register, and write or read data register. Controls the switching of the shift-out data switching circuit according to instructions, shifts and sets one word of write data to the write data register during writing, issues a write pulse to the RAM, and transfers the write data to the RAM. After setting the specified address in the RAM, the address set in the address register is incremented, and this series of operations is repeated for the required number of words. At the time of reading, after setting the read data of the specified address in the RAM in the read data register, A shift path circuit for a RAM, comprising a control means for shifting out the read data, then incrementing the specified address, and repeating a series of these operations for a required number of words.
JP63009506A 1988-01-21 1988-01-21 Shift path circuit for ram Pending JPH01185737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63009506A JPH01185737A (en) 1988-01-21 1988-01-21 Shift path circuit for ram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63009506A JPH01185737A (en) 1988-01-21 1988-01-21 Shift path circuit for ram

Publications (1)

Publication Number Publication Date
JPH01185737A true JPH01185737A (en) 1989-07-25

Family

ID=11722131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63009506A Pending JPH01185737A (en) 1988-01-21 1988-01-21 Shift path circuit for ram

Country Status (1)

Country Link
JP (1) JPH01185737A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03177936A (en) * 1989-12-07 1991-08-01 Matsushita Electron Corp Checking circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03177936A (en) * 1989-12-07 1991-08-01 Matsushita Electron Corp Checking circuit

Similar Documents

Publication Publication Date Title
US4733346A (en) Data processor with multiple register blocks
EP0356999B1 (en) Memory tester
US4954994A (en) FIFO memory capable of simultaneously selecting a plurality of word lines
US5125011A (en) Apparatus for masking data bits
JPH01185737A (en) Shift path circuit for ram
US5021990A (en) Output pulse generating apparatus
JP2841456B2 (en) Data transfer method and data buffer device
JPS5927624A (en) Integrated circuit possible for logical change
JPH0547174A (en) Multiport memory
SU832598A1 (en) Buffer storage device
JP3107595B2 (en) Memory access control device and memory access control method
KR100205589B1 (en) Memory accessing circuit for time-switch
CA1202727A (en) Microcomputer variable duty cycle signal generator
KR0148182B1 (en) Quadruple bank memory control circuit
US5584021A (en) Binary output signal programmer using stored start and end location and timing signal states
JPH0637351Y2 (en) Logistic pattern Energy generator
SU1725237A1 (en) Device for selecting object attributes
JPH04298882A (en) Dual port memory
SU1753475A1 (en) Apparatus for checking digital devices
RU1817135C (en) Reversible shift register
JPS6111803Y2 (en)
RU1789977C (en) Uniform structure register
SU1083198A1 (en) Operational module
JPS6316329A (en) Data sending circuit for arithmetic unit
JPH0580089A (en) Timer device