JPH04333954A - Information processor - Google Patents

Information processor

Info

Publication number
JPH04333954A
JPH04333954A JP10574091A JP10574091A JPH04333954A JP H04333954 A JPH04333954 A JP H04333954A JP 10574091 A JP10574091 A JP 10574091A JP 10574091 A JP10574091 A JP 10574091A JP H04333954 A JPH04333954 A JP H04333954A
Authority
JP
Japan
Prior art keywords
bus
signal
bit
data
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
JP10574091A
Other languages
Japanese (ja)
Inventor
Miki Nagano
幹 長野
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP10574091A priority Critical patent/JPH04333954A/en
Publication of JPH04333954A publication Critical patent/JPH04333954A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To connect the data buses of various bit widths without being conscious of them in the manner of a software by apparently connecting more than two bus lines with the various bit widths as the same bus line. CONSTITUTION:When a command is inputted from a command signal 111 from a 2N bus, a bus control circuit 106 inverts an address signal 109 and outputs it as an address signal 110, and a command signal 112 outputs the command signal 111. Therefore, an N bus performs access to a memory inverting the address 109 and when the access is completed, a latch signal 107 or 108 corresponding to the address 110 is outputted. Next, the address signal 110 is recovered, the command signal 112 is outputted, and data are read from the N bus. At such a time, correspondent data are respectively outputted from bus buffers 101 and 102.

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 apparatus having a data bus control circuit for connecting data buses having different bit widths.

【0002】0002

【従来の技術】従来、データバスのビット幅が異なるバ
スを接続する場合には、ビット幅の小さい方のバスをビ
ット幅の大なるバスの上位バスまたは下位バスにのみ接
続していた。このため、ビット幅の小さく設計されてい
るオプション機器をビット幅の大なるシステムにおいて
使用するには、ビット幅が異なることを前提としてソフ
ト的に複数回のデータ転送手段を発生させて接続しなけ
ればならなかった。
2. Description of the Related Art Conventionally, when data buses having different bit widths are connected, the bus with the smaller bit width is connected only to the upper or lower bus of the bus with the larger bit width. Therefore, in order to use an optional device designed with a small bit width in a system with a large bit width, it is necessary to generate data transfer means multiple times in software and connect it, assuming that the bit width is different. I had to.

【0003】0003

【発明が解決しようとする課題】しかし、データバスの
ビット幅が大きくなるごとにデータバスのビット幅の小
さいオプション装置を使用するには、ソフト的に複数回
のデータ転送を発生させなければならない。その結果、
データ転送効率が悪くなってしまう。
[Problem to be Solved by the Invention] However, as the bit width of the data bus increases, in order to use an optional device with a smaller bit width of the data bus, data must be transferred multiple times using software. . the result,
Data transfer efficiency deteriorates.

【0004】そこで、本発明の目的は、ビット幅の異な
るデータバスをバスのアクセスを分割してアクセスし、
ビット幅の異なるデータバスをソフト的に意識せずに接
続することにある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to access data buses with different bit widths by dividing the bus access.
The purpose is to connect data buses with different bit widths without being aware of it using software.

【0005】[0005]

【課題を解決するための手段】本発明は、中央演算処理
装置と前記中央演算処理装置からの信号を伝達するバス
ラインを備えた情報処理装置において、前記バスライン
はビット幅の異なる2以上のバスラインと、前記バスラ
イン間を接続する複数個のバスバッファ回路と、前記バ
スバッファ回路を制御するバス制御回路とを備えており
、前記ビット幅の異なる2以上のバスラインを見掛け上
、同一のバスラインとして接続する手段を有しているこ
とを特徴とし、さらに、前記情報処理装置はnビットバ
スラインと、m個のバスバッファ回路と、前記m個のバ
スバッファ回路のラッチ制御信号を制御するためのバス
制御回路と、前記nビットバスラインとmnビットバス
ラインとを見かけ上、同一バスラインとして接続する手
段と、を備えていることを特徴とする。
[Means for Solving the Problems] The present invention provides an information processing device comprising a central processing unit and a bus line for transmitting signals from the central processing unit, wherein the bus line has two or more lines having different bit widths. The device includes a bus line, a plurality of bus buffer circuits that connect the bus lines, and a bus control circuit that controls the bus buffer circuit, so that two or more bus lines having different bit widths appear to be the same. The information processing device further comprises means for connecting n-bit bus lines, m bus buffer circuits, and latch control signals of the m bus buffer circuits. The present invention is characterized in that it comprises a bus control circuit for controlling, and means for connecting the n-bit bus line and the mn-bit bus line apparently as the same bus line.

【0006】[0006]

【作用】ビット幅の異なるデータバスをラッチ可能なバ
スバッファにより接続し、バスバッファおよびバスのア
クセスを分割して行なうアクセス制御回路を用い、ビッ
ト幅の小さいバスをアクセスする場合に一度のアクセス
を何度かに分割してビット幅の小さいバスに対して分割
アクセスを行なう。この時、アクセスごとに分割してデ
ータをラッチするデータバスバッファを用いることによ
りビット幅の異なるバスをアクセスした場合でも同じビ
ット幅のデータバスをアクセスした時とソフト的に同様
のアクセスが可能となる。
[Operation] Data buses with different bit widths are connected by latchable bus buffers, and an access control circuit that divides the bus buffer and bus access is used, allowing one access when accessing a bus with a small bit width. The bus is divided into several parts and a divided access is performed to a bus with a small bit width. At this time, by using a data bus buffer that divides and latches data for each access, even if buses with different bit widths are accessed, it is possible to perform the same access in terms of software as when accessing a data bus with the same bit width. Become.

【0007】[0007]

【実施例】【Example】

(実施例1)図1に本発明を実現するためのシステムの
ブロック図を示す。nビット・バス103はバス・バッ
ファ101、102により2nビット・バス104、1
05に接続される。この時バス・バッファのラッチ制御
信号107、108はバス制御回路106より駆動され
る。また、アドレス信号109はバス制御回路106を
通してnビット・バス103のアドレス信号110に接
続される。コマンド信号111も同様にバス制御回路1
06を通してnビット・バス103のコマンド信号11
2に接続される。このシステムでは、2Nバスからのコ
マンド信号111からコマンドが入力されるとバス制御
回路106はアドレス信号109を反転させてアドレス
信号110として出力する、コマンド信号112はコマ
ンド信号111を出力する。これによりNバスはアドレ
ス109が反転したメモリにアクセスを行なう、このア
クセスが終了するとアドレス110に対応したラッチ信
号107または108が出力される、次に、アドレス信
号110を元に戻しコマンド信号112を出力してNバ
スよりデータを読みだす。このとき、バスバッファ、1
01、102からは、それぞれ対応したデータが出力さ
れる。
(Embodiment 1) FIG. 1 shows a block diagram of a system for realizing the present invention. The n-bit bus 103 is connected to the 2n-bit bus 104, 1 by the bus buffers 101, 102.
Connected to 05. At this time, bus buffer latch control signals 107 and 108 are driven by bus control circuit 106. Address signal 109 is also connected to address signal 110 of n-bit bus 103 through bus control circuit 106 . Similarly, the command signal 111 is also sent to the bus control circuit 1.
Command signal 11 on n-bit bus 103 through 06
Connected to 2. In this system, when a command is input from the command signal 111 from the 2N bus, the bus control circuit 106 inverts the address signal 109 and outputs it as an address signal 110, and the command signal 112 outputs the command signal 111. As a result, the N bus accesses the memory whose address 109 has been inverted. When this access is completed, the latch signal 107 or 108 corresponding to address 110 is output. Next, the address signal 110 is returned to its original state and the command signal 112 is output. Output and read data from the N bus. At this time, bus buffer 1
From 01 and 102, corresponding data is output.

【0008】(実施例2)次に、具体的に32ビットバ
スと16ビットバスを接続する場合について述べる。図
2にこのシステムのブロック図を示す。この具体例のタ
イムチャートを図3に示す。16ビット・バス203は
バス・バッファ201、202により32ビット・バス
204、205に接続される。この時バス・バッファの
ラッチ制御信号207、208はバス制御回路206よ
り制御信号207はアドレス信号210がLowの時ア
クティブになり制御信号208はアドレス信号210が
Highの時アクティブになる。また、アドレス信号2
10として16ビットバス側のアドレスSA1を接続す
る。このシステムでは、32ビットバスからのコマンド
がコマンド信号211から入力され、コマンド開始信号
213が入力されるとバス制御回路206はアドレス信
号210にLOWを出力する。また、コマンド信号21
2と16ビットバスに対するコマンド開始信号214を
生成して出力する。これにより16ビットバス側ではア
ドレス信号SA1がLOWのメモリに対してのアクセス
が行なわれる。このアクセスが終了すると16ビットバ
スよりコマンド終了信号216がバス制御回路206に
入力される。バス制御回路206は、制御信号208に
データラッチ信号を出力し、32ビットバスの下位16
ビットのデータをバスバッファ202にラッチする。
(Embodiment 2) Next, a case in which a 32-bit bus and a 16-bit bus are connected will be specifically described. Figure 2 shows a block diagram of this system. A time chart of this specific example is shown in FIG. 16-bit bus 203 is connected to 32-bit buses 204, 205 by bus buffers 201, 202. At this time, the bus buffer latch control signals 207 and 208 are sent from the bus control circuit 206. The control signal 207 becomes active when the address signal 210 is Low, and the control signal 208 becomes active when the address signal 210 is High. Also, address signal 2
As 10, the address SA1 on the 16-bit bus side is connected. In this system, a command from a 32-bit bus is input as a command signal 211, and when a command start signal 213 is input, the bus control circuit 206 outputs a LOW address signal 210. In addition, the command signal 21
A command start signal 214 for the 2 and 16 bit buses is generated and output. As a result, on the 16-bit bus side, the memory whose address signal SA1 is LOW is accessed. When this access is completed, a command end signal 216 is input to the bus control circuit 206 from the 16-bit bus. The bus control circuit 206 outputs a data latch signal as a control signal 208, and outputs a data latch signal as a control signal 208, and
The bit data is latched into the bus buffer 202.

【0009】バス制御回路206として図4に示す回路
を用いる。この回路は、ステータス信号401をコマン
ド開始信号402によりアドレス反転信号403として
取り込む。アドレス反転信号403がHIGHの時には
アドレス信号405にはアドレス信号404の反転信号
が出力され、コマンド終了信号407はアドレス反転信
号403により「High」に固定され、コマンド終了
信号406は出力されない。コマンド終了信号406の
立ち上がりにより、アドレス反転信号403は「Low
」になり、アドレス信号405にはアドレス信号404
が出力され、コマンド終了信号407にはコマンド終了
信号406が出力される。これにより、バス制御回路2
06は、コマンド終了信号216に対応して32ビット
バスにコマンド終了信号215の出力を行わずに、制御
回路206はアドレス信号210にHIGHを出力し、
再びコマンド信号212とコマンド開始信号214を出
力する。
A circuit shown in FIG. 4 is used as the bus control circuit 206. This circuit takes in a status signal 401 as an address inversion signal 403 using a command start signal 402. When the address inversion signal 403 is HIGH, the inversion signal of the address signal 404 is output as the address signal 405, the command end signal 407 is fixed at "High" by the address inversion signal 403, and the command end signal 406 is not output. With the rise of the command end signal 406, the address inversion signal 403 goes low.
”, and the address signal 404 is set to the address signal 405.
is output, and the command end signal 406 is output as the command end signal 407. As a result, the bus control circuit 2
06, the control circuit 206 outputs HIGH to the address signal 210 without outputting the command end signal 215 to the 32-bit bus in response to the command end signal 216,
The command signal 212 and command start signal 214 are output again.

【0010】これにより16ビットバス上でアドレスS
A1が「High」のメモリに対してアクセスが行なわ
れる。このアクセスが終了すると16ビットバスよりコ
マンド終了信号216がバス制御回路206に入力され
る。バス制御回路206は、制御信号207にデータラ
ッチ信号を出力し、32ビットバスの上位16ビットの
データをバスバッファ201にラッチする。これにより
、データバス204,205にはそれぞれ対応したデー
タを出力することができる。また、このコマンド終了信
号216に対応してバス制御回路206は32ビットバ
スにコマンド終了信号215を出力し、32ビットバス
にアクセスの終了を知らせる。これにより32ビットバ
スは正しいデータの読み出しが可能となる。このように
32ビットのアクセスを16ビットのアクセス2回に分
割して行なう手段を用いて32ビット幅のバスから16
ビット幅のバスへのアクセスを行うことが可能になる。
[0010] As a result, the address S on the 16-bit bus
The memory where A1 is "High" is accessed. When this access is completed, a command end signal 216 is input to the bus control circuit 206 from the 16-bit bus. The bus control circuit 206 outputs a data latch signal as a control signal 207, and latches the upper 16 bits of data of the 32-bit bus into the bus buffer 201. As a result, corresponding data can be output to the data buses 204 and 205, respectively. Further, in response to this command end signal 216, the bus control circuit 206 outputs a command end signal 215 to the 32-bit bus to notify the 32-bit bus of the end of access. This makes it possible to read correct data from the 32-bit bus. By using this method of dividing a 32-bit access into two 16-bit accesses, 16 bits can be accessed from a 32-bit wide bus.
It becomes possible to access a bit-wide bus.

【0011】以上の様に、ビット幅の異なるデータバス
をアクセスを分割して行う手段を用いることによりビッ
ト幅の異なるデータバスを接続することが可能となる。
As described above, by using means for dividing and accessing data buses with different bit widths, it becomes possible to connect data buses with different bit widths.

【0012】0012

【発明の効果】本発明により、ビット幅の異なるデータ
バスをソフト的に意識せずに接続することが可能となる
According to the present invention, it is possible to connect data buses having different bit widths without being aware of the software.

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

【図1】本発明によるデータ制御回路のブロック図。FIG. 1 is a block diagram of a data control circuit according to the present invention.

【図2】本発明による32ビットデータバスと16ビッ
トデータバスを接続する場合のブロック図。
FIG. 2 is a block diagram when connecting a 32-bit data bus and a 16-bit data bus according to the present invention.

【図3】本発明によるデータ制御回路のタイムチャート
FIG. 3 is a time chart of the data control circuit according to the present invention.

【図4】本発明のバス制御回路の一例を示す図である。FIG. 4 is a diagram showing an example of a bus control circuit of the present invention.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】中央演算処理装置と前記中央演算処理装置
からの信号を伝達するバスラインを備えた情報処理装置
において、前記バスラインはビット幅の異なる2以上の
バスラインと、前記バスライン間を接続する複数個のバ
スバッファ回路と、前記バスバッファ回路を制御するバ
ス制御回路とを備えており、前記ビット幅の異なる2以
上のバスラインを見掛け上、同一のバスラインとして接
続する手段を有していることを特徴とする情報処理装置
1. An information processing device comprising a central processing unit and a bus line for transmitting signals from the central processing unit, wherein the bus line has two or more bus lines having different bit widths, and a signal between the bus lines. a plurality of bus buffer circuits for connecting the bus buffer circuits; and a bus control circuit for controlling the bus buffer circuits; An information processing device comprising:
【請求項2】前記情報処理装置はnビットバスラインと
、m個のバスバッファ回路と、前記m個のバスバッファ
回路のラッチ制御信号を制御するためのバス制御回路と
、前記nビットバスラインとmnビットバスラインとを
見かけ上、同一バスラインとして接続する手段と、を備
えていることを特徴とする請求項1記載の情報処理装置
2. The information processing device includes an n-bit bus line, m bus buffer circuits, a bus control circuit for controlling latch control signals of the m bus buffer circuits, and the n-bit bus line. 2. The information processing apparatus according to claim 1, further comprising means for connecting the mn bit bus line and the mn bit bus line apparently as the same bus line.
JP10574091A 1991-05-10 1991-05-10 Information processor Pending JPH04333954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10574091A JPH04333954A (en) 1991-05-10 1991-05-10 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10574091A JPH04333954A (en) 1991-05-10 1991-05-10 Information processor

Publications (1)

Publication Number Publication Date
JPH04333954A true JPH04333954A (en) 1992-11-20

Family

ID=14415669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10574091A Pending JPH04333954A (en) 1991-05-10 1991-05-10 Information processor

Country Status (1)

Country Link
JP (1) JPH04333954A (en)

Similar Documents

Publication Publication Date Title
JPH05204820A (en) Microcessor, processing system and bus interface
JPH05334206A (en) Interface controller
JP2563679B2 (en) Bidirectional input / output signal separation circuit
JPH0140366B2 (en)
JPH04333954A (en) Information processor
JPS61223964A (en) Data transfer device
JP2821176B2 (en) Information processing device
JP3473746B2 (en) Data transmission / reception circuit
JPH1031647A (en) Cpu board having data bus width conversion control circuit
JP2563807B2 (en) Direct memory access control circuit
JP3242474B2 (en) Data processing device
JPH0561812A (en) Information processing system
JP3210939B2 (en) Process control device with PIO simulation memory
JPH04160458A (en) Dma controller peripheral circuit
JP3304107B2 (en) Data bus control method
KR19980083459A (en) Databus Sizing Device
JP3217815B2 (en) Address translation method
JPH01191966A (en) Data processing system
JPH11265341A (en) Input/output bus bridge device
JPH0594404A (en) Direct memory access controller
JPH0756758A (en) Data processor
JPH09134325A (en) Dma controller
JPH05143531A (en) Data processor
JPH05265923A (en) Data transfer equipment
JPH03260751A (en) 32-bit input/output device control method for 16-bit bus processor