JPH03103936A - Evaluating system for input/output control program - Google Patents
Evaluating system for input/output control programInfo
- Publication number
- JPH03103936A JPH03103936A JP1240852A JP24085289A JPH03103936A JP H03103936 A JPH03103936 A JP H03103936A JP 1240852 A JP1240852 A JP 1240852A JP 24085289 A JP24085289 A JP 24085289A JP H03103936 A JPH03103936 A JP H03103936A
- Authority
- JP
- Japan
- Prior art keywords
- input
- control program
- output control
- output
- simulation
- 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
Links
- 238000004088 simulation Methods 0.000 claims abstract description 22
- 230000006870 function Effects 0.000 claims description 7
- 238000000034 method Methods 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 description 7
- 240000002853 Nelumbo nucifera Species 0.000 description 5
- 235000006508 Nelumbo nucifera Nutrition 0.000 description 5
- 235000006510 Nelumbo pentapetala Nutrition 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、データ処理装置のメモリに収容された入出力
制御プログラムを実際に実行してその評価を行う入出力
制御プログラムの評価方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input/output control program evaluation method for actually executing and evaluating an input/output control program stored in a memory of a data processing device.
データ処理装置のバスに制御アダブクを介して接続され
た人出力装置を制御する入出力制御プログラムの新規開
発時或いは改良時、その入出力制御プログラムの評価を
行って、所望の機能を果たすか否かが調べられるが、従
来、そのような評価は、実際の入出力装置と制御アダプ
タとをデータ処理装置に実装した上で、入出力制御プロ
グラムを実際に実行することで行われていた。When developing or improving an input/output control program that controls a human output device connected to the bus of a data processing device via a control adapter, evaluate the input/output control program to determine whether it fulfills the desired function. Conventionally, such evaluations have been performed by mounting actual input/output devices and control adapters on a data processing device and then actually executing an input/output control program.
上述した従来の評価方式では、実際の入出力装置と制御
アダプタとが既に存在する場合にはそれほど問題は生じ
ないが、それらの仕様は決定されているが実際のものが
未だ完威されていないような状況下では、人出力制御プ
ログラムの評価を全く行えないといった問題点があった
。With the conventional evaluation method described above, there are not many problems if the actual input/output devices and control adapters already exist, but although their specifications have been determined, the actual ones have not yet been fully utilized. Under such circumstances, there was a problem in that the human output control program could not be evaluated at all.
そこで、本発明は、実際の入出力装置や制御アダプタを
使用することなく入出力制御プログラムの評価を行うこ
とができる入出力制御プログラムの評価方式を提供する
ことにある。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an evaluation method for an input/output control program that can evaluate an input/output control program without using actual input/output devices or control adapters.
〔課題を解決するための手段]
本発明は上記の目的を達或するために、データ処理装置
のメモリに収容された入出力制御プログラムを前記デー
タ処理装置上で実際に実行してその評価を行う方式にお
いて、前記入出力制御プログラムから出力される入出力
アクセスにかかる命令の機能をシミュレー卜するシξユ
レーションソフトウェアを実行するパーソナルコンピュ
ータと、前記入出力制御プログラムの実行により前記デ
ータ処理装置のバスに出力されたアクセス命令を前記シ
ミュレーションソフトウェアに適する形式に変換して前
記パーソナルコンピュータに与え、前記シミュレーショ
ンソフトウェアのシミュレーション結果を前記バスに出
力するシミュレーション用パッケージとを設け、前記入
出力制御プログラムが制御対象とする制御アダプタと入
出力装置とを接続することなく、前記入出力制御プログ
ラムの評価を行う。[Means for Solving the Problems] In order to achieve the above object, the present invention actually executes an input/output control program stored in the memory of a data processing device on the data processing device and evaluates the program. In this method, a personal computer that executes simulation software that simulates the functions of instructions related to input/output access output from the input/output control program, and a simulation package that converts an access command output to a bus into a format suitable for the simulation software and provides it to the personal computer, and outputs a simulation result of the simulation software to the bus, the input/output control program controlling the The input/output control program is evaluated without connecting the target control adapter and the input/output device.
本発明の入出力制御プログラムの評価方式においては、
入出力制御プログラムの実行に伴い、入出力にかかるI
N命令やOUT命令がデータ処理装置のバスに出力され
ると、シミュレーション用パッケージがその出力された
アクセス命令をシミュレーションソフトウェアに適した
形式に変換してパーソナルコンピュータに与え、パーソ
ナルコンピュータ上のシミュレーションソフトウェアが
そのアクセス命令の機能をシくユレートし、シミュレー
ション用パッケージがそのシくユレーション結果をバス
に出力することで、実際の制御アダプタや入出力装置が
実装されている如く入出力制御プログラムに見せ掛け、
人出力制御プログラムが制御対象とする制御アダプタと
人出力装置とを実際に接続することなく入出力制御プロ
グラムの評価が行われる。In the input/output control program evaluation method of the present invention,
Due to the execution of the input/output control program, I/O related to input/output
When an N command or an OUT command is output to the bus of the data processing device, the simulation package converts the output access command into a format suitable for simulation software and provides it to the personal computer, and the simulation software on the personal computer The function of the access command is simulated, and the simulation package outputs the simulation result to the bus, making it appear as if the actual control adapter and input/output device are implemented in the input/output control program.
The input/output control program is evaluated without actually connecting the control adapter to be controlled by the human output control program and the human output device.
次に、本発明の実施例について図面を参照して詳細に説
明する。Next, embodiments of the present invention will be described in detail with reference to the drawings.
第1図は本発明の入出力制御プログラムの評価方式を適
用したデータ処理装置の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of a data processing device to which the input/output control program evaluation method of the present invention is applied.
同図に示すように本実施例は、入出力制御プログラム2
を収容したメモリ1とプロセッサ11とを含むデータ処
理装置のバス3に、シミュレーション用パッケージ4を
接続し、更にこのシミュレーション用パッケージ4にパ
ーソナルコンピュータ(以下パソコンと略す)8を接続
している。As shown in the figure, in this embodiment, the input/output control program 2
A simulation package 4 is connected to a bus 3 of a data processing device that includes a memory 1 and a processor 11, and a personal computer (hereinafter abbreviated as a personal computer) 8 is connected to this simulation package 4.
パソコン8には、外部記録装置10が接続されており、
そこからシごユレーションソフトウェア9が事前にロー
ドされ、実行可能な状態になっている。このシミュレー
ションソフトウエア9は、人出力制御プログラム2の制
御対象となる制御アダプタの仕様に従い、どのI/Oア
ドレスにIN命令が出されると何をデータ処理装置の人
出力制御プログラム2に通知するかといった機能や、I
/O命令が出されるとその出力データを指定のI/Oア
ドレスに擬似的に格納し何を応答として返すかといった
機能等がプログラくソグされている。An external recording device 10 is connected to the personal computer 8.
From there, the simulation software 9 is preloaded and ready for execution. This simulation software 9 determines what to notify the human output control program 2 of the data processing device when an IN command is issued to which I/O address, according to the specifications of the control adapter to be controlled by the human output control program 2. Functions such as
When the /O command is issued, functions such as storing the output data in a pseudo manner at a specified I/O address and returning what as a response are programmed.
他方、シミュレーション用パッケージ4は、バスインタ
フェイス回路5と変換回路6とRS232Cインタフェ
イス回路7とを含み、バスインクフェイス回路5によっ
てバス3と接続され、RS232Cインタフェイス回路
7によってパソコン8と接続される。ここで、変換回路
6は、人出力制御プログラム2の実行に伴ってバス3に
出力されたアクセス命令をバスインタフェイス回路5よ
り受け取ってシξユレーションソフトウェア9に適した
形式、具体的にはアクセス命令の内容をI/Oアドレス
とデータとIN/OUT命令の区別の情報とに変換し、
それをRS232Cインクフェイス回路7を介してパソ
コン8に送り、またパソコン8からRS232Cインタ
フエイス回路7を介して受け取ったシミュレーション結
果をアクセス命令の結果としてハスインクフエイス回路
5を介してハス3に出力する回路である。On the other hand, the simulation package 4 includes a bus interface circuit 5, a conversion circuit 6, and an RS232C interface circuit 7, and is connected to the bus 3 by the bus ink face circuit 5, and connected to the personal computer 8 by the RS232C interface circuit 7. Ru. Here, the conversion circuit 6 receives the access command outputted to the bus 3 along with the execution of the human output control program 2 from the bus interface circuit 5, and converts it into a format suitable for the simulation software 9. Converts the contents of the access command into an I/O address, data, and information distinguishing between IN/OUT commands,
It sends it to the personal computer 8 via the RS232C ink face circuit 7, and outputs the simulation result received from the personal computer 8 via the RS232C interface circuit 7 to the lotus 3 via the lotus ink face circuit 5 as the result of the access command. It is a circuit.
次に、このように構威された本実施例の動作を説明する
。Next, the operation of this embodiment configured in this manner will be explained.
評価を行う為にメモリ1に収容された人出力制御プログ
ラム2を実際に実行している際に、その入出力制御プロ
グラム2からIN命令がバス3に出されると、そのIN
命令はバス3およびシミュレーション用パ・冫ケージ4
のバスインタフェイス回路5を通して変換回路6に通知
される。変換回路6は、この人出力制御プログラム2か
ら指示されたIN命令を、IN命令であることを示す情
報とI/Oアドレスとに変換し、RS232Cインクフ
ェイス回路7を通してパソコン8に伝達する。When the input/output control program 2 issues an IN command to the bus 3 while actually executing the human output control program 2 stored in the memory 1 for evaluation, the IN command
Instructions are sent to bus 3 and simulation package 4.
The conversion circuit 6 is notified through the bus interface circuit 5. The conversion circuit 6 converts the IN command instructed by the human output control program 2 into information indicating that it is an IN command and an I/O address, and transmits the information to the personal computer 8 through the RS232C ink face circuit 7.
パソコン8上のシミュレーションソフトウェア9は、R
S232Cインクフェイス回路7を通して上記の情報が
伝達されると、制御アダプタの仕様に従って事前にプロ
グラミングされた内容に従って当該I/OアドレスのI
N命令に対して何を通知すべきかを求めるシコユレーシ
ョンを行い、その結果をRS232Cインクフェイス回
路7を通してシミュレーション用パッケージ4の変換回
路6に伝達する。The simulation software 9 on the personal computer 8 is R.
When the above information is transmitted through the S232C ink face circuit 7, the I/O address of the concerned I/O address is programmed in accordance with the specifications of the control adapter.
A synthesis is performed to determine what should be notified in response to the N command, and the result is transmitted to the conversion circuit 6 of the simulation package 4 through the RS232C ink face circuit 7.
変換回路6は、その伝達された内容をハスインクフェイ
ス回路5を通してハス3に出力し、入出力制御プログラ
ム2に前記IN命令に対する応答を返す。The conversion circuit 6 outputs the transmitted contents to the lotus 3 through the lotus ink face circuit 5, and returns a response to the IN command to the input/output control program 2.
以上のようなシミュレーションが行われる結果、入出力
制御プログラム2からは恰も実際の制御アダプタおよび
入出力装置に対しIN命令を出力しているように見える
。上記の例はIN命令についてのものであるが、人出力
制御プログラム2がOUT命令を出した場合も同様にシ
ミュレーションが行われる。従って、入出力制御プログ
ラム2の振る舞いを従来と同様な方法で観察することに
より、入出力制御プログラム2の評価が可能になるもの
である。As a result of the above-described simulation, the input/output control program 2 appears to be outputting an IN command to the actual control adapter and input/output device. Although the above example concerns an IN command, a similar simulation is performed when the human output control program 2 issues an OUT command. Therefore, by observing the behavior of the input/output control program 2 in the same manner as in the past, it is possible to evaluate the input/output control program 2.
以上説明したように、本発明の入出力制御プロダラムの
評価方式によれば、データ処理装置のバスに接続したシ
ミュレーション用パッケージと、更にこれに接続したパ
ーソナルコンピュータとによって、入出力制御プログラ
ムから出されたアクセス命令の機能をシミュレートして
その結果を入出力制御プログラムに返すことができ、実
際の制御アダプタや入出力装置を使用することなく入出
力制御プログラムの評価を行うことが可能となる。As explained above, according to the evaluation method of the input/output control program of the present invention, the simulation package connected to the bus of the data processing device and the personal computer further connected to the simulation package are used to evaluate the output from the input/output control program. It is possible to simulate the functions of access commands and return the results to the input/output control program, making it possible to evaluate the input/output control program without using actual control adapters or input/output devices.
【図面の簡単な説明】
第l図は本発明の入出力制御プログラムの評価方式を適
用したデータ処理装置の一例を示すブロック図である。
図において、
1・・・メモリ
2・・・入出力制御プログラム
3・・・ハス
4・・・シξユレーション用パッケージ5・・・バスイ
ンクフェイス回路
6・・・変換回路
7・・・RS232Cインクフエイス回路・・・パーソ
ナルコンピュータ(パソコン)・・・シミュレーション
ソフトウェア
0・・・外部記録装置
■・・・プロセッサBRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an example of a data processing device to which the input/output control program evaluation method of the present invention is applied. In the figure, 1... Memory 2... Input/output control program 3... Lotus 4... ξ Package for simulation 5... Bus ink face circuit 6... Conversion circuit 7... RS232C Inkface circuit...Personal computer (PC)...Simulation software 0...External recording device...Processor
Claims (1)
ラムを前記データ処理装置上で実際に実行してその評価
を行う方式において、 前記入出力制御プログラムから出力される入出力アクセ
スにかかる命令の機能をシミュレートするシミュレーシ
ョンソフトウェアを実行するパーソナルコンピュータと
、 前記入出力制御プログラムの実行により前記データ処理
装置のバスに出力されたアクセス命令を前記シミュレー
ションソフトウェアに適する形式に変換して前記パーソ
ナルコンピュータに与え、前記シミュレーションソフト
ウェアのシミュレーション結果を前記バスに出力するシ
ミュレーション用パッケージとを設け、 前記入出力制御プログラムが制御対象とする制御アダプ
タと入出力装置とを接続することなく、前記入出力制御
プログラムの評価を行うことを特徴とする入出力制御プ
ログラムの評価方式。[Claims] A method of actually executing and evaluating an input/output control program stored in the memory of a data processing device on the data processing device, comprising: input/output access output from the input/output control program; a personal computer that executes simulation software that simulates the functions of the instructions related to the input/output control program; a simulation package that is applied to a personal computer and outputs simulation results of the simulation software to the bus, and the input/output control program is configured to control the input/output without connecting the control adapter and the input/output device to be controlled by the input/output control program. An input/output control program evaluation method characterized by evaluating a control program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1240852A JPH03103936A (en) | 1989-09-19 | 1989-09-19 | Evaluating system for input/output control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1240852A JPH03103936A (en) | 1989-09-19 | 1989-09-19 | Evaluating system for input/output control program |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03103936A true JPH03103936A (en) | 1991-04-30 |
Family
ID=17065672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1240852A Pending JPH03103936A (en) | 1989-09-19 | 1989-09-19 | Evaluating system for input/output control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03103936A (en) |
-
1989
- 1989-09-19 JP JP1240852A patent/JPH03103936A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7366650B2 (en) | Software and hardware simulation | |
US5363501A (en) | Method for computer system development verification and testing using portable diagnostic/testing programs | |
US4924383A (en) | Method and apparatus for measuring performance of a multiprocessor | |
US4995037A (en) | Adjustment method and apparatus of a computer | |
EP0294487A1 (en) | System for controlling coprocessors | |
JPH03103936A (en) | Evaluating system for input/output control program | |
JP3212709B2 (en) | Logic simulation device | |
JPH02121039A (en) | Load prediction simulation system for computer system | |
JP2570558B2 (en) | Hardware emulator | |
US6553328B1 (en) | Non-intrusive memory access for embedded processors | |
JPH0368037A (en) | Program developing device | |
US20030033131A1 (en) | System level simulation method and device | |
JP2621492B2 (en) | Microprocessor simulator device | |
JP2908337B2 (en) | VHDL simulation execution system for multi-process | |
JPH0328936A (en) | Diagnostic test system for information processor | |
JPH0821043B2 (en) | Simulation method | |
JPH01307837A (en) | Mpu simulation method and mpu simulator | |
JPS62115548A (en) | Measuring value simulation information generating system | |
JPH01305444A (en) | Logic simulation system | |
JPH02224141A (en) | Logical simulation system | |
JPH02118849A (en) | Simulation system for input output device | |
JPS63126043A (en) | Logic simulator | |
JPH02284205A (en) | Simulation system for pc | |
JPH01305443A (en) | Logic simulation system | |
JPH03130839A (en) | On-line simulation system |