JPH0261742A - Peripheral controller - Google Patents

Peripheral controller

Info

Publication number
JPH0261742A
JPH0261742A JP21421188A JP21421188A JPH0261742A JP H0261742 A JPH0261742 A JP H0261742A JP 21421188 A JP21421188 A JP 21421188A JP 21421188 A JP21421188 A JP 21421188A JP H0261742 A JPH0261742 A JP H0261742A
Authority
JP
Japan
Prior art keywords
data
peripheral
system bus
host
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
JP21421188A
Other languages
Japanese (ja)
Inventor
Yuko Takahashi
優子 高橋
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 JP21421188A priority Critical patent/JPH0261742A/en
Publication of JPH0261742A publication Critical patent/JPH0261742A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To reduce the load on a microprocessor to shorten the processing time by changing addressing to transfer data from the host system bus side to the peripheral system bus side. CONSTITUTION:A microprocessor on the host side writers data in an input register 4. At this time, data of the lower address and data of the upper address are written in the upper part and the lower part of the register 4 respectively. The host side instructs a screen controller 1 by a command to output data written in the register to a bus on the peripheral side. The screen controller 1 takes data inputted to the input register 4 into a data converting circuit 2 and converts data in accordance with a control signal 3. Data is outputted from an output buffer 5 to the area indicated by an address generator of the picture controller 1.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は周辺コントローラに関する。[Detailed description of the invention] [Industrial application field] The present invention relates to peripheral controllers.

[従来の技術] 最近のマイクロプロセッサシステムにおいては、マイク
ロプロセッサの多機能・高性能化に伴い、16ヒツトあ
るいはそれ以上のビット数を持つシステムバスを用いる
ことが多くなりつつある。ところが現状のシステム中の
メモリは1バイト(=8ビット)単位でアドレッシング
されるものがほとんどである。その結果、例えば16ビ
ツトのシステムバスを持つシステムを見ると、マイクロ
プロセッサの性質により、システムバスの上位バイトに
奇数アドレスを割り付ける場合(第2図(a)参照)と
、上位バイトに偶数アドレスを割り付ける場合(第2図
(b)参照)との、アドレスの割り付けかたが異なる2
通りのシステムが存在している。
[Prior Art] In recent microprocessor systems, system buses having 16 bits or more are increasingly being used as microprocessors become more multi-functional and high-performance. However, most memories in current systems are addressed in units of 1 byte (=8 bits). As a result, for example, when looking at a system with a 16-bit system bus, depending on the nature of the microprocessor, there are cases in which odd addresses are assigned to the upper byte of the system bus (see Figure 2 (a)) and cases in which even addresses are assigned to the upper byte. The method of address allocation is different from the case of allocation (see Figure 2 (b)).
There is a street system.

一方、例えば画像コントローラのような周辺コントロー
ラではシステムバス側から画像メモリバス側へ周辺コン
トローラ自身をスルーして、データの転送を行うという
機能を持っているものがある。この際、従来の周辺コン
トローラではシステムバス側と画像メモリバス側とで前
述したアドレスの割り付けかたが異なっていてもシステ
ムバス側から周辺コントローラに入力されたときのアド
レス割り付けのままで画像メモリバス側へ出力していた
。このため、ホスト側のマイクロプロセッサがホスト側
のマイクロプロセッサの命令を実行することにより、上
位バイトと下位バイトとの交換を行っていた。
On the other hand, some peripheral controllers such as image controllers have a function of transferring data from the system bus side to the image memory bus side through the peripheral controller itself. At this time, with conventional peripheral controllers, even if the address assignment method described above is different between the system bus side and the image memory bus side, the address assignment remains the same as that when input from the system bus side to the peripheral controller. It was outputting to the side. For this reason, the host-side microprocessor executes instructions from the host-side microprocessor to exchange the upper byte and the lower byte.

[発明が解決しようとする問題点コ 上述したように従来の周辺コントローラではホストシス
テムバス側と周辺システムバス側とで前述したアドレス
の割り付けかたが異なると、ホスト側のマイクロプロセ
ッサが、ホスト側のマイクロプロセッサの命令を実行す
ることにより、上位バイトと下位バイトとの交換を行わ
なければならないので、データ量が多くなるほどデータ
加工に要する時間が多くなり、また、マイクロプロセッ
サにかかる負担も大きくなってしまうという欠点がある
[Problems to be Solved by the Invention] As mentioned above, in conventional peripheral controllers, if the address allocation method described above is different between the host system bus side and the peripheral system bus side, the microprocessor on the host side By executing the microprocessor's instructions, the upper byte and lower byte must be exchanged, so the larger the amount of data, the more time it takes to process the data, and the greater the burden on the microprocessor. It has the disadvantage of being

[発明の従来技術に対する相違点、独創性の内容コ上述
した従来の周辺コントローラに対し、本発明はホストシ
ステムバス側から周辺システムバス側へ周辺コントロー
ラ自身をスルーしてデータの転送を行う際に、アドレス
割り付けを変えるという独創的内容を有する。
[Differences and Originality of the Invention from the Prior Art] In contrast to the above-mentioned conventional peripheral controllers, the present invention provides a method for transferring data from the host system bus side to the peripheral system bus side through the peripheral controller itself. , which has the original content of changing address allocation.

[問題点を解決するための手段] 本発明の周辺コントローラはホストシステムバス側から
周辺システムバス側へ自身をスルーしてデータ転送を行
う周辺コントローラにおいて、ホストシステムバス側か
らデータを書き込まれる第1の手段と、前記第1の手段
に格納されたデータを2以上のmビットずつで区切って
n個のビット群とし前記ビット群の順序を並べ変える第
2の手段と、前記第1の手段と第2の手段とを制御する
信号群とを有する。
[Means for Solving the Problems] The peripheral controller of the present invention is a peripheral controller that transfers data from the host system bus side to the peripheral system bus side by passing through itself, and the first peripheral controller to which data is written from the host system bus side. means, a second means for dividing the data stored in the first means into m bits of 2 or more to form n bit groups, and rearranging the order of the bit groups; and a signal group for controlling the second means.

[実施例コ 次に、本発明について実施例を通して説明する。[Example code] Next, the present invention will be explained through examples.

第1図は本発明の一実施例を示す図である。本実施例で
は周辺コントローラとして画像コントローラを示す。実
際の画像コントローラでは図示していない描画用回路や
表示用回路などを含むが、本発明に直接間係がないので
同図では省略する。
FIG. 1 is a diagram showing an embodiment of the present invention. In this embodiment, an image controller is shown as a peripheral controller. An actual image controller includes a drawing circuit, a display circuit, etc., which are not shown, but these are omitted in the figure because they are not directly related to the present invention.

同図において、左側をホスト側、右側を周辺側と呼ぶ。In the figure, the left side is called the host side, and the right side is called the peripheral side.

本実施例ではホスト側、周辺側ともデータバスは16ビ
ツトであるとし、ホスト側は第2(a)で示すアドレス
割り付けがされており、周辺側は第2図(b)で示すア
ドレス割り付けがされているものとする。
In this example, the data buses on both the host side and the peripheral side are 16 bits, and the host side has the address allocation shown in Figure 2(a), and the peripheral side has the address allocation shown in Figure 2(b). It is assumed that

画像コントローラ1は本発明による画像コントローラで
ある。データ変換回路2は入力レジスタ4から入力され
たデータを制御信号3にしたがって変換する回路である
。制御信号3は入力レジスタ4から入力されたデータの
上位バイトと下位バイトとを入れ換えるかどうかを制御
する信号である。出力バッファ5はデータ変換回路2で
変換されたデータを周辺バス側に出力するためのバッフ
ァである。
Image controller 1 is an image controller according to the invention. The data conversion circuit 2 is a circuit that converts data input from the input register 4 in accordance with the control signal 3. The control signal 3 is a signal for controlling whether or not the upper byte and lower byte of the data input from the input register 4 are exchanged. The output buffer 5 is a buffer for outputting the data converted by the data conversion circuit 2 to the peripheral bus side.

次に動作の説明を行う。Next, the operation will be explained.

ホスト側のマイクロプロセッサはホスト側と周辺側との
アドレス割り付は方法にあわせて、制御信号3を予め与
えておく。制御信号3の生成の仕方は、ホスト側からハ
ードウェア信号として与える、コマンドのようにソフト
ウェアとして与える、などの方法があるが本発明では特
定しない。
The microprocessor on the host side is given a control signal 3 in advance according to the address allocation method between the host side and the peripheral side. The control signal 3 can be generated by giving it as a hardware signal from the host side, giving it as a software signal like a command, etc., but this is not specified in the present invention.

ホスト側のマイクロプロセッサは人力レジスタ4にデー
タを書き込む。このとき同図において人力レジスタ4の
上側に下位アドレスのデータ、下側に上位アドレスのデ
ータを書き込むものとする。
The microprocessor on the host side writes data to the manual register 4. At this time, in the figure, it is assumed that the data of the lower address is written in the upper part of the manual register 4, and the data of the higher address is written in the lower part.

次にホスト側のマイクロプロセッサは人力レジスタ4に
書き込んだデータを周辺側のバスに出力するように、画
像コントローラ1にコマンド等で指示する。画像コント
ローラ1は入力レジスタ4に入力されたデータをデータ
変換回路2に取り込み、制御信号3にしたがってデータ
の変換を行う。本実施例ではデータの上位側8ビツトと
下位側の8ビツトとを入れ換えて出力バッファ5へ人力
する。
Next, the microprocessor on the host side instructs the image controller 1 by a command or the like to output the data written in the manual register 4 to the peripheral side bus. The image controller 1 takes the data input into the input register 4 into the data conversion circuit 2, and converts the data according to the control signal 3. In this embodiment, the upper 8 bits and lower 8 bits of the data are exchanged and input to the output buffer 5 manually.

出力バッファ5から画像コントローラ1内邪の図示して
いないアドレス発生器により発生させるアドレスで示さ
れる領域へデータを出力する。このとき本実施例では出
力バッファ5の上側から上位アドレスのデータ、下側か
ら下位アドレスのデータが出力される。
Data is output from the output buffer 5 to an area indicated by an address generated by an address generator (not shown) inside the image controller 1. At this time, in this embodiment, the data of the upper address is output from the upper side of the output buffer 5, and the data of the lower address is output from the lower side.

本実施例でホスト側、周辺側とも第2図(a)で示すア
ドレス割り付けがされている場合には、前述した説明の
中でデータ変換回路2に人力されたデータが制御信号3
により、上位側のデータと下位側のデータとが入れ換え
られないことを除けば同様の動作になる。本実施例で発
明の効果は十分に説明できる。
In this embodiment, when the addresses shown in FIG. 2(a) are assigned to both the host side and the peripheral side, the data inputted manually to the data conversion circuit 2 in the above explanation is transferred to the control signal 3.
Therefore, the operation is the same except that the data on the upper side and the data on the lower side are not interchanged. The effects of the invention can be fully explained in this example.

[発明の効果] 上述したように本発明によればホストシステムバス側と
周辺システムバス側とで前述したアドレスの割り付けか
たが異なっていても、それぞれのアドレス割り付けに対
応して、システムバス側から周辺コントローラに入力さ
れたデータを周辺システムバス側へ出力するのでホスト
側のマイクロプロセッサがホスト側のマイクロプロセッ
サの命令によりデータの変換を実行することなく、ホス
トシステムバス側から周辺コントローラをスルーして周
辺システムバス側へデータ転送を行えるという効果を持
つ。
[Effects of the Invention] As described above, according to the present invention, even if the above-mentioned address assignment methods are different between the host system bus side and the peripheral system bus side, the system bus side Since the data input to the peripheral controller is output from the host system bus side to the peripheral system bus side, the data can be passed through the peripheral controller from the host system bus side without the host side microprocessor executing data conversion according to instructions from the host side microprocessor. This has the effect of allowing data transfer to the peripheral system bus side.

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

第1図は本発明の一実施例を示すブロック図、第2図は
メモリ状で上位バイトと下位バイトに偶数アドレス、奇
数アドレスを割り付けたときのアドレスマツプ図である
。 1 ・ 2 φ 3 ・ 4 ・ 5 ・ 画像コントローラ、 データ変換回路、 制御信号、 入力レジスタ、 出力バッファ。 特許出願人  日本電気株式会社
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is an address map diagram when even and odd addresses are allocated to upper bytes and lower bytes in a memory. 1 ・ 2 φ 3 ・ 4 ・ 5 ・ Image controller, data conversion circuit, control signal, input register, output buffer. Patent applicant: NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] ホストシステムバス側から周辺システムバス側へデータ
転送を行う周辺コントローラにおいて、ホストシステム
バス側からデータを書き込まれる第1の手段と、前記第
1の手段に格納されたデータを2以上のmビットずつで
区切ってn個のビット群とし、前記ビット群の順序を並
べかえる第2の手段と、前記第1の手段と第2の手段と
を制御する信号群とを有することを特徴とする周辺コン
トローラ。
In a peripheral controller that transfers data from the host system bus side to the peripheral system bus side, a first means to which data is written from the host system bus side, and data stored in the first means are written in two or more m bits each. A peripheral controller comprising: a second means for rearranging the order of the bit groups; and a signal group for controlling the first means and the second means. .
JP21421188A 1988-08-29 1988-08-29 Peripheral controller Pending JPH0261742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21421188A JPH0261742A (en) 1988-08-29 1988-08-29 Peripheral controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21421188A JPH0261742A (en) 1988-08-29 1988-08-29 Peripheral controller

Publications (1)

Publication Number Publication Date
JPH0261742A true JPH0261742A (en) 1990-03-01

Family

ID=16652068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21421188A Pending JPH0261742A (en) 1988-08-29 1988-08-29 Peripheral controller

Country Status (1)

Country Link
JP (1) JPH0261742A (en)

Similar Documents

Publication Publication Date Title
JP2774862B2 (en) DMA control device and information processing device
US6463483B1 (en) Low latency input-output interface
JPH0261742A (en) Peripheral controller
KR940004735B1 (en) Graphic processing system
JPH02311050A (en) Data transfer controller
GB2280765A (en) Multitasking data processing apparatus with different bus widths
JP2003186666A (en) Microcomputer and dma control circuit
JPS61234448A (en) Computer
JPH03152651A (en) Information transmission system
JPS61150055A (en) Dma data transfer system
JPH06332851A (en) Data transfer system
JPH10326250A (en) Dma transfer controller
JPS62191982A (en) Graph output control system
JPH0512183A (en) Data transfer system
JPH01282940A (en) Memory clear system
JPH1027155A (en) Data transfer controller
JPH0195350A (en) System for controlling data transferring
JPH03188521A (en) Output control system for image data output device
JP2000181788A (en) File managing method for file system
JPH01250163A (en) Bus controller
JPS63208175A (en) Graphic processor
JPH02171949A (en) Dma transfer system
JPH02166547A (en) Information processor
JPS63137341A (en) Memory data transfer device
JPH03174673A (en) Mapping method to graphic address