JPS60201460A - I/O device access method - Google Patents
I/O device access methodInfo
- Publication number
- JPS60201460A JPS60201460A JP59057664A JP5766484A JPS60201460A JP S60201460 A JPS60201460 A JP S60201460A JP 59057664 A JP59057664 A JP 59057664A JP 5766484 A JP5766484 A JP 5766484A JP S60201460 A JPS60201460 A JP S60201460A
- Authority
- JP
- Japan
- Prior art keywords
- input
- output device
- address
- transmitted
- clock period
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4204—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
- G06F13/4221—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
- G06F13/423—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with synchronous protocol
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】
(al 発明の技術分野
本発明は情報処理システムに係り、特に高速で動作する
中央処理装置から低速で動作する入出力装置にアクセス
可能とする入出力装置アクセス方式に関す。DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to information processing systems, and in particular to an input/output device access method that allows a central processing unit that operates at high speed to access input/output devices that operate at low speed. .
(b) 技術の背景
情報処理システムにおいて、通信回線に対する情報伝送
を制御する回線制御ユニット等の入出力装置は、高速の
クロック信号により動作する中央処理装置および主記憶
装置に比し、遥かに低速で動作する。(b) Background of the technology In information processing systems, input/output devices such as line control units that control information transmission over communication lines operate at a much lower speed than central processing units and main storage devices that operate using high-speed clock signals. It works.
(C1従来技術と問題点
第1図は従来ある1バイトのアクセス命令を用いる入出
力装置アクセス方式の一例を示す図である。第1図にお
いて、クロック信号φ1およびφ2により動作するマイ
クロプロセッサMPUが、低速の入出力装置の一種であ
る回線制御部■0に対しデータを書込む場合には、プロ
グラムカウンタpcに設定された回線制御部IO内の所
要のレジスタのアドレスaをアドレスバスABを経由し
て回線制御部■0に伝達する。該アドレスaを受信した
回線制御部10は、マイクロプロセッサMPUの内蔵す
るアキュムレータからデータバスDBを経由して伝達さ
れるデータdを前記レジスタに書込む。以上の動作速度
は、総てクロック信号φ1およびφ2の周期により定ま
る。(C1 Prior Art and Problems FIG. 1 is a diagram showing an example of a conventional input/output device access method using a 1-byte access command. In FIG. 1, a microprocessor MPU operated by clock signals φ1 and φ2 is , when writing data to the line control unit 0, which is a type of low-speed input/output device, write the address a of the required register in the line control unit IO set in the program counter pc via the address bus AB. The line control unit 10 receives the address a and writes the data d transmitted from the accumulator built in the microprocessor MPU via the data bus DB into the register. The above operating speeds are all determined by the cycles of clock signals φ1 and φ2.
以上の説明から明らかな如く、従来ある入出力装置アク
セス方式においては、マイクロプロセッサMPUが低速
で動作する入出力装置に対してアクセスする為には、ク
ロック信号φ1およびφ2の速度を入出力装置の動作速
度迄低下させない限り不可能であった。然しクロック信
号の速度を低下させることは、当該情報処理システムの
処理速度が総て低下し、延いては処理能力が低下するこ
ととなり、実現不可能であった。As is clear from the above explanation, in the conventional input/output device access method, in order for the microprocessor MPU to access the input/output device that operates at low speed, the speed of the clock signals φ1 and φ2 must be adjusted to the speed of the input/output device. This was not possible unless the operating speed was reduced. However, reducing the speed of the clock signal has been unfeasible because it would reduce the overall processing speed of the information processing system and, in turn, reduce the processing capacity.
+d+ 発明の目的
本発明の目的は、前述の如き従来ある入出力装置アクセ
ス方式の欠点を除去し、中央処理装置の動作速度を低下
させること無く低速で動作する入出力装置にアクセス可
能とする手段を実現することに在る。+d+ OBJECTS OF THE INVENTION The object of the present invention is to provide means for eliminating the drawbacks of the conventional input/output device access methods as described above, and making it possible to access input/output devices that operate at low speeds without reducing the operating speed of the central processing unit. It is about realizing.
(Ql 発明の構成
この目的は、高速で動作する中央処理装置と、低速で動
作する入出力装置とを具備する情報処理システムにおい
て、前記入出力装置に対する2バイトのアクセス命令を
実行する前記中央処理装置が第一クロック周期で送出す
るアドレスを保持し、第二クロック周期で送出するアド
レスを無効とする手段と、第一クロック周期で送出する
イネーブル信号を無効とし、第二クロック周期で送出す
るイネーブル信号を有効とする手段とを設け、前記中央
処理装置から前記入出力装置に対するアクセスを可能と
することにより達成される。(Ql Structure of the Invention) This object is to provide an information processing system that includes a central processing unit that operates at high speed and an input/output device that operates at low speed, in which the central processing unit executes a 2-byte access command to the input/output device. Means for holding an address that the device sends out in a first clock cycle and invalidating an address that it sends out in a second clock cycle; and an enable signal that invalidates the enable signal that the device sends out in the first clock cycle and sends out in the second clock cycle. This is accomplished by providing means for validating a signal to enable access from the central processing unit to the input/output device.
即ち本発明においては、中央処理装置が2バイトのアク
セス命令を2クロック周期に亙って実行する間に、低速
で動作する入出力装置に一回アクセスすることにより、
中央処理装置の動作速度を低下させること無く、低速の
入出力装置にアクセスが可能となる。That is, in the present invention, by accessing the input/output device operating at low speed once while the central processing unit executes a 2-byte access instruction over 2 clock cycles,
It becomes possible to access low-speed input/output devices without reducing the operating speed of the central processing unit.
ffl 発明の実施例 以下、本発明の一実施例を図面により説明する。ffl Embodiments of the invention An embodiment of the present invention will be described below with reference to the drawings.
第2図は本発明の一実施例による入出力装置アクセス方
式を示す図であり、第3図は第2図における各種信号波
形を例示する図である。なお、全図を通じて同一符号は
同一対象物を示す。第2図においては、マイクロプロセ
ッサMPUと回線制御部■0との間には、回線制御部I
Oにアクセスする為に2ハイドのアクセス命令を実行す
るマイク 4、ロプロセソサMPUが第一クロック周期
で送出するアドレスa1を保持し、第二クロック周期で
送出するアドレスa2 (−al+1)を無効とする手
段としてデコーダDCR1制御回路CAおよびランチ回
路LBが設けられ、また前記マイクロプロセッサMPU
が第一クロック周期で送出するイネーブル信号を無効と
し、第二クロック周期で送出するイネーブル信号を有効
とする手段としてランチ回路LAおよび制御回路CBと
が設けられている。第2図および第3図において、回線
制御部10のアクセス対象とするレジスタ(アドレスa
1)に1バイトのデータd1を書込む為に、マイクロプ
ロセッサMPUは、プログラムカウンタPCにアドレス
a1を、また2バイトのデータを蓄積可能なインデクス
レジスタIXの上位1バイトには任意の無効データdO
を、また下位1バイトにはデータd1を蓄積し、2バイ
トのアクセス命令を実行開始する。第一クロック周期t
lにおいて、マイクロプロセッサMPUはプログラムカ
ウンタPCからアドレスa1をアドレスバスABに送出
する。該アドレスa1は、アドレスバスABを経由して
デコーダDCRおよびラッチ回路LBに伝達される。デ
コーダDCRは、受信したアドレスa1を入出力装置選
択信号Sに変換し、制御回路CAおよびランチ回路LA
に伝達する。入出力装置選択信号Sを受信した制御回路
CAは、ラッチ回路LBにアドレスバスABから伝達さ
れているアドレスa1を保持させると共に、デコーダD
CRの状態を第二クロック周期t2の間保持させる。ラ
ッチ回路LBは、アドレスバスABを経由して伝達され
るアドレスalを保持し、入出力装置アドレスcaとし
て回線制御部10に伝達する。一方ランチ回路LAは、
第二クロック周期t2が開始される迄、入出力装置選択
信号csを出力しない。なおマイクロプロセッサMPU
は、第一クロック周期t1の後半になるとインデクスレ
ジスタTXの上位1バイトから無効データdOをデータ
バスDBに送出する。該無効データdOは、データバス
DBを経由して回線制御ユニソ)LCUに伝達されるが
、回線制御ユニットLCUは第一クロック周期t1の間
、入出力装置選択信号C8を受信しない為、データバス
DBから伝達される無効データdOを受信しない。第二
クロック周期t2の開始前に、マイクロプロセッサMP
Uはアドレスa1に1を加算したアドレスa2 (−a
1+1)をプログラムカウンタPCに蓄積する。FIG. 2 is a diagram showing an input/output device access method according to an embodiment of the present invention, and FIG. 3 is a diagram illustrating various signal waveforms in FIG. 2. Note that the same reference numerals indicate the same objects throughout the figures. In FIG. 2, there is a line control unit I between the microprocessor MPU and the line control unit
Microphone that executes the 2-hide access command to access O 4. The processor MPU holds the address a1 sent out in the first clock cycle, and invalidates the address a2 (-al+1) sent out in the second clock cycle. A decoder DCR1 control circuit CA and a launch circuit LB are provided as means, and the microprocessor MPU
A launch circuit LA and a control circuit CB are provided as means for invalidating the enable signal sent out in the first clock period and validating the enable signal sent out in the second clock period. 2 and 3, the register to be accessed by the line control unit 10 (address a
1), the microprocessor MPU writes the address a1 to the program counter PC and any invalid data dO to the upper 1 byte of the index register IX, which can store 2 bytes of data.
, data d1 is stored in the lower 1 byte, and execution of a 2-byte access instruction is started. first clock period t
At l, the microprocessor MPU sends the address a1 from the program counter PC onto the address bus AB. The address a1 is transmitted to the decoder DCR and the latch circuit LB via the address bus AB. The decoder DCR converts the received address a1 into an input/output device selection signal S, and sends it to the control circuit CA and the launch circuit LA.
to communicate. The control circuit CA that has received the input/output device selection signal S causes the latch circuit LB to hold the address a1 transmitted from the address bus AB, and also causes the decoder D to hold the address a1 transmitted from the address bus AB.
The state of CR is held for a second clock period t2. The latch circuit LB holds the address al transmitted via the address bus AB, and transmits it to the line control unit 10 as an input/output device address ca. On the other hand, the launch circuit LA is
The input/output device selection signal cs is not output until the second clock cycle t2 starts. Furthermore, the microprocessor MPU
In the latter half of the first clock cycle t1, the input data dO is sent to the data bus DB from the upper 1 byte of the index register TX. The invalid data dO is transmitted to the line control unit LCU via the data bus DB, but since the line control unit LCU does not receive the input/output device selection signal C8 during the first clock period t1, the data bus Do not receive invalid data dO transmitted from DB. Before the start of the second clock period t2, the microprocessor MP
U is address a2 (-a
1+1) is stored in the program counter PC.
第二クロック周期t2において、マイクロプロセッサM
PUはプログラムカウンタPCからアドレスa2をアド
レスバスABに送出する。該アドレスa2は、アドレス
バスABを経由してデコーダDCRおよびランチ回路L
Bに伝達されるが、デコーダDCRは制御回路CAから
の制御により、第二クロック周期t2の間も入出力装置
選択信号Sの出力状態を維持している為、アドレスa2
の変換動作を行わない。またラッチ回路LBも、第一ク
ロック周期t1においてアドレスバスABから伝達され
たアドレスa1を保持した状態に維持され、第二クロッ
ク周期t2においてアドレスバスABを経由して伝達さ
れるアドレスa2は保持しない。従ってランチ回路LB
は第二クロック周期t2の間も、アドレスa1を入出力
装置アドレスCaとして回線制御部10に伝達し続ける
。一方ランチ回路LAは、第二クロック周期t2が開始
されると入出力装置選択信号csを出力し、回線制御部
IOおよび制御回路CBに伝達する。制御回路CBは、
ランチ回路LAから入出力装置選択信号csを伝達され
る間、マイクロプロセッサMPUから伝達される書込状
態に設定された書込続出信号rwを入出力装置書込続出
信号crwとして回線制御部Toに伝達する。第二クロ
ック周期t1の後半になると、マイクロプロセッサMP
UはインデクスレジスタIXの下位1バイトから有効デ
ータd1をデータバスDBに送出する。該有効データd
1は、データバスDBを経由して回線制御部10に伝達
される。今回は、回線制御部■0は入出力装置選択信号
csおよび書込状態に設定された入出力装置書込続出信
号CrWを受信している為、データバスDBから伝達さ
れる有効データd1を、ラッチ回路LBから伝達される
入出力装置アドレスca(=al)に書込む。At the second clock period t2, the microprocessor M
PU sends address a2 from program counter PC to address bus AB. The address a2 is sent to the decoder DCR and the launch circuit L via the address bus AB.
However, since the decoder DCR maintains the output state of the input/output device selection signal S during the second clock period t2 under the control from the control circuit CA, the address a2
No conversion operation is performed. The latch circuit LB is also maintained in a state where it holds the address a1 transmitted from the address bus AB in the first clock period t1, and does not hold the address a2 transmitted via the address bus AB in the second clock period t2. . Therefore, launch circuit LB
continues to transmit the address a1 to the line control unit 10 as the input/output device address Ca during the second clock period t2. On the other hand, when the second clock cycle t2 starts, the launch circuit LA outputs the input/output device selection signal cs and transmits it to the line control unit IO and the control circuit CB. The control circuit CB is
While the input/output device selection signal cs is transmitted from the launch circuit LA, the write continuation signal rw set to the write state transmitted from the microprocessor MPU is sent to the line control unit To as the input/output device write continuation signal crw. introduce. In the second half of the second clock period t1, the microprocessor MP
U sends valid data d1 from the lower 1 byte of index register IX to data bus DB. The valid data d
1 is transmitted to the line control unit 10 via the data bus DB. This time, since the line control unit 0 has received the input/output device selection signal cs and the input/output device write continuation signal CrW set to the write state, the valid data d1 transmitted from the data bus DB is Write to the input/output device address ca (=al) transmitted from the latch circuit LB.
以上の説明から明らかな如く、本実施例によれば、マイ
クロプロセッサMPUが2バイトのアクセス命令を実行
する過程において、第一クロック周期t1に送出したア
ドレスa1と、第二クロック周期t2に送出した有効デ
ータd1とが回線制御部■0に伝達され、第二クロック
周期t2において回線制御部■0に伝達される入出力装
置選択信号csおよび入出力装置書込続出信号crwに
より書込まれる。従って回線制御部10は、マイクロプ
ロセッサMPUを動作させるクロック信号φ1およびφ
2の1/2の低速で動作することとなり、マイクロプロ
セッサMPUの動作速度を回線制御部IOと同程度に低
下させる必要が無くなる。As is clear from the above description, according to this embodiment, in the process of executing a 2-byte access instruction by the microprocessor MPU, the address a1 sent out in the first clock period t1 and the address a1 sent out in the second clock period t2. The valid data d1 is transmitted to the line control unit (2)0, and is written in by the input/output device selection signal cs and the input/output device write continuation signal crw that are transmitted to the line control unit (20) in the second clock period t2. Therefore, the line control unit 10 uses clock signals φ1 and φ to operate the microprocessor MPU.
Since the microprocessor MPU operates at a low speed of 1/2 of 2, there is no need to reduce the operating speed of the microprocessor MPU to the same level as that of the line control unit IO.
なお、第2図および第3図はあく迄本発明の一実施例に
過ぎず、例えば本発明の適用はマイクロプロセッサMP
Uから回線制御部10に書込む場合に限定されることは
無く、回線制御部IOがら読出す場合に適用しても本発
明の効果は変わらない。またマイクロプロセッサMPU
がアクセスする入出力装置は回線制御部roに限定され
ることは無く、他に幾多の変形が考慮されるが、何れの
場合にも本発明の効果は変らない。Note that FIGS. 2 and 3 are only one embodiment of the present invention, and for example, the present invention is applied to a microprocessor MP.
The present invention is not limited to writing to the line control unit 10 from U, and the effects of the present invention do not change even if it is applied to reading from the line control unit IO. Also microprocessor MPU
The input/output device accessed by the user is not limited to the line control unit ro, and many other modifications may be considered, but the effects of the present invention remain the same in any case.
(a 発明の効果
以上、本発明によれば、前記情報処理システムにおいて
、中央処理装置の動作速度を低下させること無く低速で
動作する入出力装置にアクセス可能となり、当該情報処
理システムの処理能力の低下が防止される。(a) Effects of the Invention According to the present invention, in the information processing system, input/output devices that operate at low speed can be accessed without reducing the operating speed of the central processing unit, and the processing capacity of the information processing system can be increased. Deterioration is prevented.
第1図は従来ある1バイトのアクセス命令を用いる入出
力装置アクセス方式の一例を示す図、第2図は本発明の
一実施例による入出力装置アクセス方式を示す図、第3
図は第2図における各種信号波形を例示する図である。
図において、a、alおよびa2はアドレス、ABはア
ドレスバス、CAおよびCBは制御回路、caは入出力
装置アドレス、crwは入出力装置書込読出信号、C3
は入出力装置選択信号、DBはデータバス、DCRはデ
コーダ、10は回線制御部、IXはインデクスレジスタ
、LAおよびLBはランチ回路、MPUはマイクロプロ
セッサ、PCはプログラムカウンタ、rwは書込読出信
号、Sは入出力装置選択信号、tlは第一クロック周期
、t2は第二クロック周期、φ1およびφ2はクロック
信号、を示す。
1
算 1 a
年 Z ロFIG. 1 is a diagram showing an example of an input/output device access method using a conventional 1-byte access command, FIG. 2 is a diagram showing an input/output device access method according to an embodiment of the present invention, and FIG.
The figure is a diagram illustrating various signal waveforms in FIG. 2. In the figure, a, al and a2 are addresses, AB is an address bus, CA and CB are control circuits, ca is an input/output device address, crw is an input/output device write/read signal, and C3
is an input/output device selection signal, DB is a data bus, DCR is a decoder, 10 is a line control unit, IX is an index register, LA and LB are launch circuits, MPU is a microprocessor, PC is a program counter, rw is a write/read signal , S represents an input/output device selection signal, tl represents a first clock period, t2 represents a second clock period, and φ1 and φ2 represent clock signals. 1 arithmetic 1 a year Z b
Claims (1)
装置とを具備する情報処理システムにおいて、前記入出
力装置に対する2バイトのアクセス命令を実行する前記
中央処理装置が第一クロック周期で送出するアドレスを
保持し、第二クロック周期で送出するアドレスを無効と
する手段と、第一クロック周期で送出するイネーブル信
号を無効とし、第二クロック周期で送出するイネーブル
信号を有効とする手段とを設け、前記中央処理装置から
前記入出力装置に対するアクセスを可能とすることを特
徴とする入出力装置アクセス方式。In an information processing system comprising a central processing unit that operates at high speed and an input/output device that operates at low speed, the central processing unit that executes a 2-byte access command to the input/output device sends it in a first clock cycle. Means for holding the address and invalidating the address transmitted in the second clock cycle, and means for invalidating the enable signal transmitted in the first clock cycle and validating the enable signal transmitted in the second clock cycle are provided. . An input/output device access method, characterized in that the input/output device can be accessed from the central processing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59057664A JPH0769887B2 (en) | 1984-03-26 | 1984-03-26 | Information processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59057664A JPH0769887B2 (en) | 1984-03-26 | 1984-03-26 | Information processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS60201460A true JPS60201460A (en) | 1985-10-11 |
JPH0769887B2 JPH0769887B2 (en) | 1995-07-31 |
Family
ID=13062167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59057664A Expired - Fee Related JPH0769887B2 (en) | 1984-03-26 | 1984-03-26 | Information processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0769887B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5471536A (en) * | 1977-11-18 | 1979-06-08 | Hitachi Ltd | Processor |
-
1984
- 1984-03-26 JP JP59057664A patent/JPH0769887B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5471536A (en) * | 1977-11-18 | 1979-06-08 | Hitachi Ltd | Processor |
Also Published As
Publication number | Publication date |
---|---|
JPH0769887B2 (en) | 1995-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5608881A (en) | Microcomputer system for accessing hierarchical buses | |
US5526508A (en) | Cache line replacing system for simultaneously storing data into read and write buffers having multiplexer which controls by counter value for bypassing read buffer | |
GB2213294A (en) | Data processor | |
KR920008448B1 (en) | Data processor | |
JPH04363746A (en) | Microcomputer system having dma function | |
EP3765956B1 (en) | Data computing system | |
JPS60201460A (en) | I/O device access method | |
JPH0222748A (en) | Non-volatile memory control circuit | |
JP2599184B2 (en) | DMAC read transfer controller | |
JP2581144B2 (en) | Bus control device | |
JPS6130300B2 (en) | ||
JP2570986B2 (en) | Data transfer control device and method | |
JPS59218558A (en) | Information processing device | |
JPS62241057A (en) | Circuit for increasing input/output processing speed | |
JPS6118058A (en) | Data transfer system | |
JPH01315858A (en) | Data transfer control method and device | |
JPH0120460B2 (en) | ||
JPH03260854A (en) | Attached bus access control method | |
JPH05314059A (en) | Memory access control circuit | |
JPS63217461A (en) | Digital signal processor | |
GB2184574A (en) | Using 8-bit modules in a 16-bit microprocessor system | |
JPH0437946A (en) | Communication system | |
JPH0727510B2 (en) | Asynchronous transfer control device | |
JP2001155006A (en) | Bus control circuit and microcomputer system using the same | |
JPH04245556A (en) | Instruction memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |