JPH0553906A - Register access system - Google Patents

Register access system

Info

Publication number
JPH0553906A
JPH0553906A JP24283791A JP24283791A JPH0553906A JP H0553906 A JPH0553906 A JP H0553906A JP 24283791 A JP24283791 A JP 24283791A JP 24283791 A JP24283791 A JP 24283791A JP H0553906 A JPH0553906 A JP H0553906A
Authority
JP
Japan
Prior art keywords
data
memory
processor
registers
address
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
JP24283791A
Other languages
Japanese (ja)
Inventor
Tsuneo Fujiwara
常雄 藤原
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 Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP24283791A priority Critical patent/JPH0553906A/en
Publication of JPH0553906A publication Critical patent/JPH0553906A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To shorten time for accessing plural registers from a processor by temporarily holding data to be written in the plural registers in a memory and simultaneously writing these data in the plural registers. CONSTITUTION:This system is equipped with a processor 10, memory 20, address counter 30, clock control circuit 40 and registers 50 and 60. By using a data bus 001 connected to the processor 10, memory 20 and registers 50 and 60, addresses 002 and 003, basic clock 004, memory write clock 005, data write signal 006, select signal 007, data write clock 008 and control signal 010, the data written in the memory 20 are simultaneously written in the registers 50 and 60.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は情報処理装置に関し、特
にレジスタの書込み方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing device, and more particularly to a register writing system.

【0002】[0002]

【従来の技術】従来、この種の情報処理装置におけるレ
ジスタのデータ書込み方式としては、プロセッサから各
レジスタに対するデータの書込みが各レジスタ毎に行う
という方式が一般的であった。
2. Description of the Related Art Conventionally, as a method of writing data to a register in an information processing apparatus of this type, a method of writing data from a processor to each register has been generally used.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のレジス
タのデータ書込み方式では、プロセッサから各レジスタ
に対する書込みが1つずつ順次行われるため、レジスタ
の数が多い場合には、プロセッサがレジスタの書込みに
占有されてしまい、また処理上、複数のレジスタに対し
同じデータを書込む場合等で効率が悪くなり、処理能力
が問題となってくる。
In the above-described conventional register data writing method, the processor sequentially performs writing to each register one by one. Therefore, when the number of registers is large, the processor does not write the registers. It will be occupied, and in processing, when writing the same data to a plurality of registers, the efficiency will be poor and the processing capacity will be a problem.

【0004】本発明の目的は、プロセッサからレジスタ
に対するデータ書込み処理が効率よく行えるレジスタア
クセス方式を提供することにある。
It is an object of the present invention to provide a register access system which allows a processor to efficiently write data to a register.

【0005】[0005]

【課題を解決するための手段】前記目的を達成するた
め、本発明に係るレジスタアクセス方式においては、プ
ロセッサを有する情報処理装置において、プロセッサか
ら書込み可能な複数の制御レジスタと、該各制御レジス
タに書込むデータを記憶するメモリと、該メモリのアド
レスを切り換えるアドレスカウンタと、前記制御レジス
タに対するデータ書込み制御を行うクロック制御回路
と、前記プロセッサと前記各制御レジスタと、前記メモ
リに共通に接続されるデータバスと、前記アドレスカウ
ンタと前記クロック制御回路に入力されるプロセッサク
ロック信号と前記プロセッサから出力されるアドレス信
号と前記アドレスカウンタの出力を選択し、その出力が
前記メモリのアドレスとなるセレクタとを有し、前記メ
モリに書いてあるデータを一度に複数のレジスタに書込
むものである。
In order to achieve the above object, in a register access method according to the present invention, in an information processing apparatus having a processor, a plurality of control registers writable by the processor and the respective control registers are provided. A memory for storing data to be written, an address counter for switching an address of the memory, a clock control circuit for controlling data writing to the control register, the processor, the control registers, and the memory are commonly connected. A selector for selecting a data bus, a processor clock signal input to the address counter and the clock control circuit, an address signal output from the processor, and an output of the address counter, and the output of which is an address of the memory. The data stored in the memory The one in which writing to the plurality of registers at once.

【0006】[0006]

【作用】本発明では複数のレジスタに書込むデータをメ
モリに一時保持し、これらのデータを複数のレジスタに
一度に書込むため、プロセッサからレジスタに対するデ
ータ書込み処理が効率よく行えるようにしたものであ
る。
According to the present invention, data to be written to a plurality of registers is temporarily stored in the memory and these data are written to a plurality of registers at once, so that the processor can efficiently write data to the registers. is there.

【0007】[0007]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0008】図1は、本発明の一実施例を示すブロック
図である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0009】本実施例では、プロセッサ10から書込み
可能な複数の制御レジスタ50,60と、各制御レジス
タ50,60に書込むデータを記憶するメモリ20と、
メモリ20のアドレスを切り換えるアドレスカウンタ3
0と、制御レジスタ50,60に対するデータ書込み制
御を行うクロック制御回路40と、プロセッサ10と制
御レジスタ50,60とメモリ20に共通に接続される
データバス001とアドレスカウンタ30とクロック制
御回路40に入力されるプロセッサクロック信号とプロ
セッサ10から出力されるアドレス信号とアドレスカウ
ンタ30の出力を選択し、その出力がメモリ20のアド
レスとなるセレクタ70とを有している。
In the present embodiment, a plurality of control registers 50 and 60 writable by the processor 10 and a memory 20 for storing data to be written in each control register 50 and 60,
Address counter 3 for switching the address of the memory 20
0, a clock control circuit 40 for controlling data writing to the control registers 50 and 60, a data bus 001 commonly connected to the processor 10, the control registers 50 and 60, and the memory 20, an address counter 30, and a clock control circuit 40. It has a selector 70 that selects an input processor clock signal, an address signal output from the processor 10, and an output of the address counter 30, and that output becomes an address of the memory 20.

【0010】図1において、002はメモリアドレス、
003はカウンタ出力アドレス、004はプロセッサ用
基本クロック、005はメモリ書込クロック、006は
データ書込み指示信号、007はセレクト信号、00
8,009はレジスタ50,60用のデータ書込クロッ
ク、010はレジスタ選択及びレジスタデータ書込クロ
ックを含む制御信号である。
In FIG. 1, 002 is a memory address,
003 is a counter output address, 004 is a processor basic clock, 005 is a memory write clock, 006 is a data write instruction signal, 007 is a select signal, and 00.
8, 009 is a data write clock for the registers 50, 60, and 010 is a control signal including a register selection and register data write clock.

【0011】本実施例では、プロセッサ10が2つのレ
ジスタ50,60に対しデータを書込場合について説明
するる尚、任意の数のレジスタを持つ場合にも同様な動
作となる。
In this embodiment, the case where the processor 10 writes data to the two registers 50 and 60 will be described. Note that the same operation is performed when the processor 10 has an arbitrary number of registers.

【0012】通常はプロセッサ10からレジスタ50,
60に対しデータが書込まれる場合、書込まれるデータ
がデータバス001に出力され、制御信号010内のレ
ジスタ選択信号及びデータ書込クロックによりレジスタ
50又は60に書込まれる。
Normally, from the processor 10 to the register 50,
When data is written to 60, the written data is output to the data bus 001 and written to the register 50 or 60 by the register selection signal in the control signal 010 and the data write clock.

【0013】プロセッサ10からレジスタ50,60に
対して、一度にデータを書込む必要が生じた場合の動作
は以下のようになる。
When it is necessary to write data from the processor 10 to the registers 50 and 60 at once, the operation is as follows.

【0014】予め、アドレス002の番地とレジスタ5
0,60は一対一に対応させている。この例では、アド
レスの0番地に対してレジスタ50、アドレスの1番地
に対しレジス60が対応している。
Address 002 and register 5
0 and 60 correspond one to one. In this example, the register 50 corresponds to the address 0 and the register 60 corresponds to the address 1.

【0015】プロセッサ10は、予めメモリ20のアド
レスに対応したレジスタに対してアドレス002を用い
てデータバス001にデータを出力し、メモリ書込クロ
ック005により、メモリ20のアドレス0番地及び1
番地に対し、レジスタ50,60に書込むデータを書込
んでおく。
The processor 10 outputs data to the data bus 001 using the address 002 to the register corresponding to the address of the memory 20 in advance, and the memory write clock 005 causes the address 0 and 1 of the memory 20 to be output.
The data to be written in the registers 50 and 60 is written in the address.

【0016】プロセッサ10から各レジスタに対しデー
タを書込む必要が生じると、プロセッサ10はセレクト
信号007をカウンタ出力アドレス003側に切換えデ
ータ書込み指示信号006により指示を行う。
When it is necessary to write data from the processor 10 to each register, the processor 10 issues a select data write instruction signal 006 to the select output signal 007 to the counter output address 003 side.

【0017】基本クロック004によりカウンタ30が
インクリメントされ、メモリ20のアドレスが順次切り
換わり、メモリ20からアドレス002の番地に対応す
るレジスタ50,60に書込むデータが順番に出力され
る。
The counter 30 is incremented by the basic clock 004, the addresses of the memory 20 are sequentially switched, and the data to be written in the registers 50 and 60 corresponding to the address of the address 002 are sequentially output from the memory 20.

【0018】また、クロック制御回路40にデータバス
001よりデータが入力され、データには、レジスタに
書込むかどうかの指示するビットを持っており、その指
示をクロック制御回路40内にて判断する。
Further, data is input to the clock control circuit 40 from the data bus 001, and the data has a bit for instructing whether to write to the register, and the instruction is judged in the clock control circuit 40. ..

【0019】そして、レジスタ書込み信号008,00
9が基本クロック004に同期してレジスタ50及び6
0に対して順次書込まれることになる。
The register write signal 008,00
9 synchronizes with the base clock 004 and registers 50 and 6
It will be written to 0 sequentially.

【0020】[0020]

【発明の効果】以上説明したように本発明は複数のレジ
スタに書込むデータをメモリに一時保持し、これらのデ
ータを複数のレジスタに一度に書込むため、プロセッサ
からレジスタに対するデータ書込み処理が効率よく行え
る。
As described above, according to the present invention, data to be written in a plurality of registers is temporarily held in a memory, and these data are written in a plurality of registers at once, so that the processor can efficiently write data to the registers. You can do it well.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10 プロセッサ 20 メモリ 30 アドレスカウンタ 40 クロック制御回路 50 レジスタ 60 レジスタ 70 セレクタ 001 データバス 002 メモリアドレス 003カウンタ出力アドレス 004 基本クロック 005 メモリ書込みクロック 006 データ書込み指示信号 007 セレクト信号 008 データ書込みクロック 009 データ書込みクロック 010 制御信号 10 processor 20 memory 30 address counter 40 clock control circuit 50 register 60 register 70 selector 001 data bus 002 memory address 003 counter output address 004 basic clock 005 memory write clock 006 data write instruction signal 007 select signal 008 data write clock 009 data write clock 010 control signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサを有する情報処理装置におい
て、プロセッサから書込み可能な複数の制御レジスタ
と、 該各制御レジスタに書込むデータを記憶するメモリと、 該メモリのアドレスを切り換えるアドレスカウンタと、 前記制御レジスタに対するデータ書込み制御を行うクロ
ック制御回路と、 前記プロセッサと前記各制御レジスタと、前記メモリに
共通に接続されるデータバスと、 前記アドレスカウンタと前記クロック制御回路に入力さ
れるプロセッサクロック信号と前記プロセッサから出力
されるアドレス信号と前記アドレスカウンタの出力を選
択し、その出力が前記メモリのアドレスとなるセレクタ
とを有し、前記メモリに書いてあるデータを一度に複数
のレジスタに書込むことを特徴とするレジスタアクセス
方式。
1. An information processing apparatus having a processor, a plurality of control registers writable by the processor, a memory for storing data to be written in each control register, an address counter for switching an address of the memory, and the control. A clock control circuit for controlling data writing to a register, the processor, the control registers, a data bus commonly connected to the memory, a processor clock signal input to the address counter and the clock control circuit, and An address signal output from a processor and an output of the address counter are selected, and the selector has a selector whose output is an address of the memory, and the data written in the memory is written in a plurality of registers at a time. Characteristic register access method.
JP24283791A 1991-08-28 1991-08-28 Register access system Pending JPH0553906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24283791A JPH0553906A (en) 1991-08-28 1991-08-28 Register access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24283791A JPH0553906A (en) 1991-08-28 1991-08-28 Register access system

Publications (1)

Publication Number Publication Date
JPH0553906A true JPH0553906A (en) 1993-03-05

Family

ID=17095033

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24283791A Pending JPH0553906A (en) 1991-08-28 1991-08-28 Register access system

Country Status (1)

Country Link
JP (1) JPH0553906A (en)

Similar Documents

Publication Publication Date Title
JPS6334795A (en) Semiconductor storage device
JPH0553906A (en) Register access system
JPH1091593A (en) Data processor provided with microprocessor and optional calculation unit
US4775929A (en) Time partitioned bus arrangement
JPH0512883A (en) Sequential memory
JPH04243445A (en) Register data writing system for information processor
JPH0743668B2 (en) Access control device
JP2758745B2 (en) Memory circuit
KR100827130B1 (en) Multiple register interface device for cdma modem
JPH04333953A (en) Bank memory control system
JPS607676A (en) Memory writing circuit
JPH05128863A (en) Memory control circuit
JPH0756807A (en) Automatic memory bank switching system
JPH04270430A (en) Address extending system
JPH03260728A (en) Register data writing system
JPH01263819A (en) Integrated circuit
JPH02146641A (en) Memory device
JPS6327795B2 (en)
JPS61246848A (en) Operation hysteresis storage circuit
JPH0435966A (en) Printing data writing method
JPS6081660A (en) Data transfer system
JPH08237084A (en) Timing signal generating circuit
JPH0512068A (en) Trace and memory control circuits
JPH06103179A (en) Bus tracer device
JPS646491B2 (en)