JPH03164848A - I/o access system - Google Patents

I/o access system

Info

Publication number
JPH03164848A
JPH03164848A JP30210689A JP30210689A JPH03164848A JP H03164848 A JPH03164848 A JP H03164848A JP 30210689 A JP30210689 A JP 30210689A JP 30210689 A JP30210689 A JP 30210689A JP H03164848 A JPH03164848 A JP H03164848A
Authority
JP
Japan
Prior art keywords
data
access
cpu
control
lsi
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
JP30210689A
Other languages
Japanese (ja)
Inventor
Kenichi Saito
賢一 斎藤
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 JP30210689A priority Critical patent/JPH03164848A/en
Publication of JPH03164848A publication Critical patent/JPH03164848A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the I/O access speed by holding data from a central processing unit (CPU) and continuously writing data in a register in an I/O device with one access from the CPU to the I/O device. CONSTITUTION:After data A is outputted to a data bus 31, an I/O control signal generating circuit 201 outputs an I/O write signal (IOWC1) 22 to write data A in an I/O device LSI 17. The I/O control signal generating circuit 201 outputs the I/O write signal (IOWC1) 22 while data B is outputted to a data bus 31, and data B is written in the I/O device LSI 17. In the same manner, the I/O control signal generating circuit 201 outputs the I/O write signal (IOWC1) 22 while data C is outputted to the data bus 31, and data C is written in the I/O device LSI 17. Thus, data is written in the I/O device LSI 17 three times with one access of a CPU 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はパーソナルコンビエータや端末等の情報処理装
置に係り、特に、高性能なCPUを用い九際のI/Oア
クセス万式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to information processing devices such as personal combinators and terminals, and particularly relates to universal I/O access using a high-performance CPU.

〔従来の技術〕[Conventional technology]

近年、工/Oデバイスの高性能化、高機能化が進み、多
種多様なLSIが開発されている。これらのLSIは、
高機能化のために、数多くの内部レジスタをもっている
0例えば、■日立製作断裂・画像処理用LSI@HD1
53/O9(3チヤネル6ビツトDAコンバータ内蔵カ
ラーパレツトLSI)では、26万色中の256色を同
時に表示できる。これは、赤、緑、青の各色を6ビツト
ずつで表現し、この18ビツト(6ビツトX3)のレジ
スタを256個内蔵し、26万色中の256色を同時に
表示できるようにしている。
In recent years, the performance and functionality of engineering/output devices have improved, and a wide variety of LSIs have been developed. These LSIs are
For high functionality, it has a large number of internal registers.For example, Hitachi's LSI for image processing@HD1
53/O9 (color palette LSI with built-in 3-channel 6-bit DA converter) can display 256 out of 260,000 colors simultaneously. This expresses each color of red, green, and blue with 6 bits each, and has 256 built-in 18-bit (6 bits x 3) registers, allowing 256 out of 260,000 colors to be displayed simultaneously.

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

上記LSIは、パッケージのピン数ヲ少なくするため、
データバス幅を8ビツトとしていることが多い。また、
LSIのすべての内部レジスタを設定するためには、第
5図のように、すなわち、赤データの設定、緑データの
設定、背データの設定というI/Oアクセスをミロと、
CPUの内部レジスタへのデータ転送をミロの計六回の
処理を256回繰り返し行う必要がある。これは、LS
Iのデータバス幅が8ビツトのため、−回のI/Oアク
セスで、赤、緑、青データを設定できないからである。
In the above LSI, in order to reduce the number of pins on the package,
The data bus width is often 8 bits. Also,
In order to set all internal registers of the LSI, as shown in Figure 5, I/O accesses such as setting red data, setting green data, and setting back data must be performed as shown in Figure 5.
It is necessary to transfer data to the internal registers of the CPU by repeating Miro's processing six times in total, 256 times. This is LS
This is because the data bus width of I is 8 bits, so red, green, and blue data cannot be set in -times of I/O access.

そのため、へピッ)CPTJを用いても、第3図のよう
な高性能な32ビツトCPt1を用いても、LSIへの
データ設定処理時間がほとんど変わらないという問題が
あった。
Therefore, there is a problem in that the data setting processing time for the LSI is almost the same even when using the CPTJ or the high-performance 32-bit CPt1 shown in FIG. 3.

本発明の目的はLSIなどのI/OデバイスへのI/O
アクセスを高速に行うことにある。
The purpose of the present invention is to provide I/O to I/O devices such as LSI.
The purpose is to provide high-speed access.

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

上記目的を達成するために、本発明は、中央処理装置と
複数の工/Oデバイスをもち、前記中央処理装置と前記
I/Oデバイス間でデータの受け渡しを行う情報処理装
置において、前記中央処理装置からのデータを保持する
保持手段と、前記保持手段で保持したデータを選択する
選択手段と、前記保持手段と選択手段とI/Oデバイス
へのアクセスを制御する制御手段を備え、前記中央処理
装置から前記I/Oデバイスへの一回のアクセスで、工
/Oデバイス内のレジスタに連続してデータの薔き込み
を行うものである。
In order to achieve the above object, the present invention provides an information processing apparatus that has a central processing unit and a plurality of I/O devices and that exchanges data between the central processing unit and the I/O devices. a holding means for holding data from the apparatus; a selection means for selecting data held by the holding means; and a control means for controlling access to the holding means, the selection means, and the I/O device; One access from the device to the I/O device allows data to be continuously loaded into the registers in the I/O device.

〔作用〕[Effect]

本発明による工/Oアクセス万式では、保持手段はCP
UからI/OデバイスI、IIへの書き込みデータを保
持する。また、選択手段は保持手段で保持したデータの
うち、工/OデバイスLSIに与えるデータを選択する
。ま念、制御手段は。
In the construction/O access universal type according to the present invention, the holding means is the CP
Holds write data from U to I/O devices I and II. Further, the selection means selects data to be given to the E/O device LSI from among the data held by the holding means. Seriously, what is the control method?

保持手段のデータ保持動作と選択手段のデータ選択動作
を制御する。それとともに、I/OデバイスLSIへの
アクセスをも制御する。つま)、CPuからI/Oデバ
イスLSIへの書き込みが行なわれると、CPUからの
書き込みデータを保持するように保持手段を制御する。
The data holding operation of the holding means and the data selection operation of the selection means are controlled. At the same time, it also controls access to the I/O device LSI. Finally, when writing from the CPU to the I/O device LSI is performed, the holding means is controlled to hold the write data from the CPU.

同時に、I/Oライト信号(xowc信号)がCPLI
から出力されると、制御手段は、CPUに対して、ウェ
イト信号(WAI’l’信号)を出力して、アクセスを
引き延す。I/OデバイスLSIへのデータの書き込み
は、第6図のタイムチャートのように、連続して行うよ
う制御手段が、選択手段やI/OデバイスLSIを制御
する。すなわち、CPt1からの一回のアクセスで、デ
ータA、B、Cを連続してI / OデバイスLSIに
書き込む。
At the same time, the I/O write signal (xowc signal)
When the control means outputs a wait signal (WAI'l' signal) to the CPU, the access is postponed. The control means controls the selection means and the I/O device LSI so that writing of data to the I/O device LSI is performed continuously as shown in the time chart of FIG. That is, data A, B, and C are successively written to the I/O device LSI with one access from CPt1.

従って、CPUの一回のアクセスでx/Oデバイスに複
数のデータを書き込むことができる。
Therefore, multiple pieces of data can be written to the x/O device with one access from the CPU.

これKよシ、従来技術に比べ、I/Oデバイスに対して
高速にデータを書き込むことができる。その上、書き込
み処理プログラムも、第4図のように、従来に比べ約1
15に低減することができる。
In addition, data can be written to the I/O device at a higher speed than in the prior art. Moreover, the writing processing program is also about 10% lower than the conventional one, as shown in Figure 4.
It can be reduced to 15.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図、第2図、第6図よシ
説明する。1GはCPUである。11゜’2115.1
4はデータバス、15はアドレスバスである。16はc
ptz oから出力されるI/Oライト信号(IOwc
)である。17はI/OデバイスLSIである。20は
制御手段で、I/O制御制御発生回路201、ラッチ信
号発生回路202%選択手段制御回路203から構成さ
れる。21は、CPu/Oへのウェイト信号(WAIT
)である、22は、I/OデバイスLS117へのI/
Oライト信号(Iowcl)である。
An embodiment of the present invention will be explained below with reference to FIGS. 1, 2, and 6. 1G is a CPU. 11゜'2115.1
4 is a data bus, and 15 is an address bus. 16 is c
I/O write signal (IOwc) output from ptz o
). 17 is an I/O device LSI. Reference numeral 20 denotes a control means, which is composed of an I/O control control generation circuit 201, a latch signal generation circuit 202, and a % selection means control circuit 203. 21 is a wait signal (WAIT
), 22 is the I/O device LS117.
This is an O write signal (Iowcl).

23は、保持手段25へのラッチ信号である。23 is a latch signal to the holding means 25.

24は選択手段26の選択制御信号である。51は、選
択手段26から出力されるデータのバスである。また、
第2図の204はラッチ信号発生回路202、選択手段
制御回路203への制御4M号で、I/O制御制御発生
回路201より出力される。
24 is a selection control signal of the selection means 26. 51 is a bus for data output from the selection means 26. Also,
Reference numeral 204 in FIG. 2 is a control number 4M to the latch signal generation circuit 202 and the selection means control circuit 203, which is output from the I/O control control generation circuit 201.

次に、本実施例の動作を説明する。これは、32ビツト
のcpaloから8ビツトI / OデバイスLS11
7に対し、データをミロ連続して沓き込む必要がある場
合について説明する。
Next, the operation of this embodiment will be explained. This converts the 32-bit cpalo to the 8-bit I/O device LS11
7, a case where it is necessary to import data continuously will be explained.

まず、CPu/OからI/OデバイスLS117に対し
て書き込みのアクセスを行う。アクセスが開始されると
、CPTJloはアドレス、データをそれぞれアドレス
バス15、データバス11゜12.15.14に出力す
るとともに、I / Oライト信号(xowc)t−出
力する。出力された工/Oライト信号(IOWC)16
が制御手段20に入力すると、内部のI / O制御信
号発生口路201がウェイト信号(WA11′)21を
出力して、CPt1/Oに対し、アクセスを引き延す、
それとともに、制御信号204をラッチ信号発生回路2
02に出力する。ラッチ信号発生回路202はこの制御
信号204を基に1保持手段25へのラッチ信号23を
生成する。保持手段25はこのラッチ信号23でデータ
バス11.12.13のデータA、B、C(第6図)を
保持する。tた、選択手段制御回路205は、制御信号
24を出力し、データバス31にデータAが出力される
よう選択手段26を制御する。データAがデータバス3
1に出力された後、I/O制御制御発生回路201は、
I/Oライト信号(Iowct)22f:出力し、デー
タAをI/OデバイスLS117に書き込む。次に1選
択手段制御回路203は制御信号24を出力し、データ
バス31にデータBが出力されるよう選択手段26t−
制御する。データBがデータバス31に出力されている
間に、エフ0制御信号発生回路201は、I/Oライト
信号(IOWCl)22を出力し、データBt−I/O
デバイスLS117に書き込む。同様に1選択手段制御
回路203は制御信号24を出力し、データバス31に
データCが出力されるよう、選択手段26を制御する。
First, the CPU/O performs write access to the I/O device LS117. When an access is started, CPTJlo outputs the address and data to the address bus 15 and data bus 11, 12, 15, and 14, respectively, and also outputs an I/O write signal (xowc) t-. Output work/O light signal (IOWC) 16
is input to the control means 20, the internal I/O control signal generation port 201 outputs a wait signal (WA11') 21 to postpone access to CPt1/O.
At the same time, the control signal 204 is transmitted to the latch signal generation circuit 2.
Output to 02. The latch signal generation circuit 202 generates a latch signal 23 to the 1 holding means 25 based on this control signal 204. The holding means 25 uses this latch signal 23 to hold data A, B, and C (FIG. 6) on the data buses 11, 12, and 13. Additionally, the selection means control circuit 205 outputs the control signal 24 and controls the selection means 26 so that the data A is outputted to the data bus 31. Data A is data bus 3
1, the I/O control generation circuit 201
I/O write signal (Iowct) 22f: Output and write data A to the I/O device LS117. Next, the 1 selection means control circuit 203 outputs the control signal 24 so that the selection means 26t-
Control. While the data B is being output to the data bus 31, the F0 control signal generation circuit 201 outputs the I/O write signal (IOWCl) 22, and the data Bt-I/O
Write to device LS117. Similarly, the 1 selection means control circuit 203 outputs a control signal 24 and controls the selection means 26 so that data C is output to the data bus 31.

データCがデータバス31に出力されている間に、I/
O制御制御発生回路201は、I/Oライト信号(IO
WCl)22を出力し、データCt−I /Oデバイス
LS117に書き込む、データCの書き込みを終了する
と、I/O制御制御発生回路201は、CPTJloへ
のウェイト信号(WAIテ)を解除し、アクセスを終了
する。このように、CPTJloの一回のアクセスで、
I/OデバイスLS117ヘデータを三回書き込める。
While data C is being output to the data bus 31,
The O control control generation circuit 201 generates an I/O write signal (IO
WCl) 22 and writes the data Ct-I/O device LS117. When the writing of data C is completed, the I/O control control generation circuit 201 releases the wait signal (WAIte) to CPTJlo and accesses end. In this way, with one access to CPTJlo,
Data can be written to the I/O device LS117 three times.

CPTJloに16ビツトのcpu%または、64ビツ
トのCPUを用いても同等の効果を得ることができる。
The same effect can be obtained by using a 16-bit CPU% or a 64-bit CPU for CPTJlo.

また、連続して三回または、四回以上データを書き込む
必要のあるI/Oデバイス17、例えば、DMAコント
ローラなどを用いても本発明を適用できることは言うま
でもない。
It goes without saying that the present invention can also be applied to an I/O device 17 that requires data to be written three or four times or more consecutively, such as a DMA controller.

次に、この実施例における効果を第4図、第5図の70
−チャートを用いて説明する。第4図は本発明を用いて
、X/OデバイスLSIにデータをミロ連続して書き込
む場合の70−チャートである。第5図は、従来技術を
用いて、I/OデバイスLSIにデータをミロ連続して
薔き込む場合の70−チャートである。
Next, the effects of this example will be explained at 70 in FIGS. 4 and 5.
-Explain using a chart. FIG. 4 is a 70-chart when data is continuously written to the X/O device LSI using the present invention. FIG. 5 is a 70-chart when data is continuously written into the I/O device LSI using the conventional technique.

第5図の従来技術では、I/OデバイスLSIに対して
、データを書き込む場合には、CPTJ内部のレジスタ
へのデータ転送を三回% I/OデバイスLSIへのデ
ータ書き込みを三回行う必要がある。
In the conventional technology shown in Fig. 5, when writing data to the I/O device LSI, it is necessary to transfer data to the register inside the CPTJ three times. There is.

それに対して、第4図の本発明では、I/OデバイスL
SIに対して、データを書き込む場合には、CPU内部
のレジスタへのデータ転送は一同で済み、CPUからI
/OデバイスLSIへのデータ書き込みは、見かけ上−
回で済む、そのため、従来技術に比べ、CPU内部のレ
ジスタへのデータ転送命令を三回、X/OデバイスLS
Iへのデータ書き込み命令を三回実行する必要がないの
で高速にI/OデバイスLSIに対しデータt−書き込
むことができる。
On the other hand, in the present invention shown in FIG.
When writing data to the SI, all data needs to be transferred to the registers inside the CPU, and the data is transferred from the CPU to the I
Writing data to the /O device LSI appears to be -
Therefore, compared to the conventional technology, the data transfer command to the register inside the CPU is executed three times, and the X/O device LS
Since it is not necessary to execute the data write command to I three times, data t- can be written to the I/O device LSI at high speed.

また、書き込みのためのプログラムも従来技術に比べ、
約173に低減することができる。
In addition, the writing program is also different from conventional technology.
It can be reduced to about 173.

、〔発明の効果〕 本発明によれば、I/OデバイスLSIへのデータ書き
込みを連続して行う場合、CPUからの一回のアクセス
で行うことができ、高速アクセスが可能となった・ また、書き込みプログラムも従来に比べ大幅に低減する
ことができる。
, [Effects of the Invention] According to the present invention, when data is continuously written to the I/O device LSI, it can be performed with one access from the CPU, and high-speed access is possible. Also, the number of writing programs can be significantly reduced compared to the conventional method.

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

第1図は、本発明の一実施例のブロック図、第2図は第
1図の制御手段のブロック図、第3図は従来技術を示す
ブロック図、第4図、第5図は。 第1図の実施例の効果を説明するフローチャート、第6
図は、第1図の動作のタイミングチャートである。 /O・・・CPU、201・・・I / O制御信号発
生回路、20・・・制御手段、202・・・ラッチ信号
発生回路、21・・・ウェイト信号、203・・・選択
手段制御回路、 25・・・・・・保持手段、 26・・・・・・選択手段。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a block diagram of the control means in FIG. 1, FIG. 3 is a block diagram showing the prior art, and FIGS. 4 and 5 are block diagrams. Flowchart explaining the effect of the embodiment of FIG. 1, No. 6
The figure is a timing chart of the operation of FIG. 1. /O... CPU, 201... I/O control signal generation circuit, 20... Control means, 202... Latch signal generation circuit, 21... Wait signal, 203... Selection means control circuit , 25... Holding means, 26... Selection means.

Claims (1)

【特許請求の範囲】[Claims] 1、中央処理装置と複数のI/Oデバイスを有し、前記
中央処理装置と前記I/Oデバイス間でデータの受け渡
しを行う情報処理装置において、前記中央処理装置から
のデータを保持する保持手段と、前記保持手段で保持し
たデータを選択する選択手段と、前記保持手段と前記選
択手段と前記I/Oデバイスへのアクセスを制御する制
御手段とを備え、前記中央処理装置から前記I/Oデバ
イスへの一回のアクセスで、前記I/Oデバイス内のレ
ジスタに連続してデータの書き込みを行うことを特徴と
するI/Oアクセス方式。
1. In an information processing apparatus that includes a central processing unit and a plurality of I/O devices and that exchanges data between the central processing unit and the I/O devices, a holding unit that holds data from the central processing unit. a selection means for selecting data held by the holding means; a control means for controlling access to the holding means, the selection means, and the I/O device; An I/O access method characterized in that data is continuously written to a register in the I/O device by one access to the device.
JP30210689A 1989-11-22 1989-11-22 I/o access system Pending JPH03164848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30210689A JPH03164848A (en) 1989-11-22 1989-11-22 I/o access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30210689A JPH03164848A (en) 1989-11-22 1989-11-22 I/o access system

Publications (1)

Publication Number Publication Date
JPH03164848A true JPH03164848A (en) 1991-07-16

Family

ID=17905006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30210689A Pending JPH03164848A (en) 1989-11-22 1989-11-22 I/o access system

Country Status (1)

Country Link
JP (1) JPH03164848A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7782512B2 (en) 2007-09-04 2010-08-24 Sony Corporation Light irradiation device, fine particle analyzing apparatus, and light irradiation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7782512B2 (en) 2007-09-04 2010-08-24 Sony Corporation Light irradiation device, fine particle analyzing apparatus, and light irradiation method

Similar Documents

Publication Publication Date Title
JPS5925254B2 (en) Digital data processing equipment
JPH0552989B2 (en)
JPH03164848A (en) I/o access system
JPS6334658A (en) Dma controller for image processor
JPH01318140A (en) Multiprocessor system
JPS62221059A (en) Central processing unit
JP2521535B2 (en) Data transfer circuit
JPH07141288A (en) Dma transfer system
JPH10334038A (en) Data transfer device
JPH10171654A (en) Fast data arithmetic processor
JPS6271084A (en) Semiconductor integrated circuit
JPH0520031A (en) Arithmetic control system
JPS6369326A (en) Data converter
JPS6344235A (en) Data processor
JPS62219153A (en) Dma controller
JPH03144842A (en) Data transfer controller
JPH01315845A (en) Picture direct memory access device
JPH0243216B2 (en)
JPS62274426A (en) Coordinate converting device
JPH11265341A (en) Input/output bus bridge device
JPH0424854A (en) Data processor
JPH04346150A (en) Data transfer processing system
JPH03266160A (en) Dma control system
JPH027139A (en) Store data register selecting system
JPH04170663A (en) Direct memory access controller