JPH0245852A - Loop scan circuit - Google Patents
Loop scan circuitInfo
- Publication number
- JPH0245852A JPH0245852A JP63196180A JP19618088A JPH0245852A JP H0245852 A JPH0245852 A JP H0245852A JP 63196180 A JP63196180 A JP 63196180A JP 19618088 A JP19618088 A JP 19618088A JP H0245852 A JPH0245852 A JP H0245852A
- Authority
- JP
- Japan
- Prior art keywords
- loop scan
- loop
- processor
- scan
- memory
- 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
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
チャネルプロセッサ内の2つの装置、例えば、I/Oプ
ロセッサ(IOP)とチャネル装置(CHE)との間に
跨がって構成されるループスキャン回路に関し、
システムの処理時間の短縮を図るため、外部からのアク
セスと内部のアクセスを並行して行い、外部と内部が互
いに独立して処理動作することができるループスキャン
回路を提供することを目的とし、
チャネルプロセッサ内のI/Oプロセッサとチャネル装
置の間に跨がって構成されるループスキャン回路であっ
て、前記I/Oプロセッサ内に、スキャンデータの書込
み/読出しを行いループスキャン動作を行うためのルー
プスキャンメモリと、前記I10プロセッサの内部処理
に用い、互いのメモリアドレスを保護するためのI10
プロセッサ専用のアドレスレジスタと、前記アドレスレ
ジスタと並列に接続され、互いのメモリアドレスを保護
するためのループスキャン動作用のカウンタレジスタと
を備え、I10プロセッサとチャネル装置の両方で前記
ループスキャンメモリを使用するときに、前記ループス
キャンメモリを前記チャネル装置のループ・スキャンの
シフト動作よりも速い周期で動作させ、前記I10プロ
セッサはループスキャンを行わない残余の時間に、前記
ループスキャンメモリを利用して前記アドレスレジスタ
により他の内部処理動作を行うように構成する。Detailed Description of the Invention [Summary] Regarding a loop scan circuit configured across two devices in a channel processor, for example, an I/O processor (IOP) and a channel device (CHE), In order to reduce the processing time of the system, we aim to provide a loop scan circuit that performs external access and internal access in parallel, and allows external and internal processing to operate independently of each other. A loop scan circuit configured to span between an I/O processor and a channel device in a processor, the loop scan circuit having a circuit for writing/reading scan data and performing a loop scan operation in the I/O processor. A loop scan memory and an I10 used for internal processing of the I10 processor and for protecting each other's memory addresses.
A processor-dedicated address register and a counter register connected in parallel with the address register for loop scan operation to protect each other's memory addresses, and both the I10 processor and the channel device use the loop scan memory. In this case, the loop scan memory is operated at a faster cycle than the loop scan shift operation of the channel device, and the I10 processor utilizes the loop scan memory during the remaining time when the loop scan is not performed. The address register is configured to perform other internal processing operations.
チャネルプロセッサ内の2つの装置、例えば、I10プ
ロセッサ(IOP)とチャネル装置(CHE)との間に
構成されるループスキャン回路に関し、特に、ループス
キャンメモリの利用方法において、チャネル装置等の外
部からのループスキャンメモリへの書込み/続出しアク
セスと並行して、I/○プロセッサ内部からも自由にル
ープスキャンメモリを利用することができ、外部と内部
の互いの処理に影響を与えないようにしたループスキャ
ン回路に関する。Regarding the loop scan circuit configured between two devices in the channel processor, for example, the I10 processor (IOP) and the channel device (CHE), especially in the method of using the loop scan memory, The loop scan memory can be used freely from within the I/○ processor in parallel with writing/successive access to the loop scan memory, so that the loop scan memory does not affect each other's processing internally and externally. Regarding scan circuits.
〔従来の技術及び発明が解決しようとする課題〕第4図
は、従来のループスキャン回路のブロック図である。L
SMはループスキャンメモリであり、CNTはカウンタ
レジスタ、BRGはバッファレジスタ、WRGは書込み
レジスタであり、これらはIOP内に設けられる。CH
E内にもループスキャンに用いるラッチ用のレジスタL
がループ状に設けられる。これらのラッチはIOPに接
続されている。[Prior art and problems to be solved by the invention] FIG. 4 is a block diagram of a conventional loop scan circuit. L
SM is a loop scan memory, CNT is a counter register, BRG is a buffer register, and WRG is a write register, which are provided in the IOP. CH
There is also a latch register L in E for loop scanning.
is provided in a loop shape. These latches are connected to the IOP.
ループスキャンは、試験時及び障害時などにCHEのラ
ッチの値を任意に書込み/続出しすることを目的とする
もので、従来のループスキャンメモリは外部のクロック
周期で動作し、外部からアクセスしている最中はその動
作のみにループスキャンメモリは占有されており、内部
の回路からのアクセスは保留される。The purpose of loop scan is to arbitrarily write/output the CHE latch value during testing or in the event of a failure. Conventional loop scan memory operates with an external clock cycle and cannot be accessed from the outside. During the process, the loop scan memory is occupied only by that operation, and access from internal circuits is suspended.
即ち、図に示すように、従来のループスキャン回路は、
データバスDBからバッファレジスタBRGを介してカ
ウンタCNTにループスキャンメモリのアドレスがセッ
トされ、ループスキャンメモリのデータを書込み/続出
している。That is, as shown in the figure, the conventional loop scan circuit is
The address of the loop scan memory is set in the counter CNT from the data bus DB via the buffer register BRG, and data in the loop scan memory is written/output one after another.
しかしながら、カウンタレジスタのみによりループスキ
ャンメモリのアドレスを指定していたために、ループス
キャン動作が行われている時は、ループスキャンメモリ
に対する他の内部のアクセスは処理できず、ループスキ
ャンメモリの有効利用が図れないために内部の動作が遅
れてしまいシステムの実質的な処理速度も遅れていた。However, since the address of the loop scan memory is specified only by the counter register, other internal accesses to the loop scan memory cannot be processed while the loop scan operation is being performed, making it difficult to effectively utilize the loop scan memory. As a result, internal operations were delayed and the actual processing speed of the system was also delayed.
本発明の目的は、システムの処理時間の短縮を図るため
、ループスキャンメモリの使用効率を上げて外部からの
アクセスと内部のアクセスを並行して行うことができる
ようにし、互いに独立して処理動作することができるル
ープスキャン回路を提供することにある。An object of the present invention is to improve the usage efficiency of loop scan memory so that external access and internal access can be performed in parallel, so that processing operations can be performed independently of each other, in order to reduce system processing time. The object of the present invention is to provide a loop scan circuit that can perform the following steps.
第1図は、本発明の、原理構成図である。図に示すよう
に、本発明によれば、チャネルプロセッサ内のI10プ
ロセッサ(IOP)とチャネル装置(CHE)の間に跨
がって構成されるループスキャン回路であって、前記I
10プロセッサ内に、スキャンデータの書込み/読出し
を行いループスキャン動作を行うためのループスキャン
メモリ(LSM)と、前記I10プロセッサの内部処理
に用い、互いのメモリアドレスを保護するための110
プロセツサ界用のアドレスレジスタ(ARG)と、前記
アドレスレジスタと並列に接続され、互いのメモリアド
レスを保護するためのルーフスキャン動作用のカウンタ
レジスタ(CNT)とを備え、I10プロセッサとチャ
ネル装置の両方で前記ループスキャンメモリを使用する
ときに、前記ループスキャンメモリを前記チャネル装置
のループスキャンのシフト動作よりも速い周期で動作さ
せ、前記I10プロセッサはループスキャンを行わない
残余の時間に、前記ループスキャンメモリを利用して前
記アドレスレジスタにより他の内部処理動作を行うよう
にしたことを特徴とする。FIG. 1 is a diagram showing the principle configuration of the present invention. As shown in the figure, according to the present invention, there is provided a loop scan circuit configured astride between an I10 processor (IOP) in a channel processor and a channel device (CHE),
10 processor includes a loop scan memory (LSM) for writing/reading scan data and performing a loop scan operation, and a 110 processor used for internal processing of the I10 processor to protect each other's memory addresses.
It includes an address register (ARG) for the processor world and a counter register (CNT) connected in parallel with the address register for roof scan operation to protect each other's memory addresses, and is used for both the I10 processor and the channel device. When using the loop scan memory, the loop scan memory is operated at a faster cycle than the loop scan shift operation of the channel device, and the I10 processor performs the loop scan during the remaining time when no loop scan is performed. The present invention is characterized in that other internal processing operations are performed by the address register using memory.
このような構成において、もともと外部のクロック周期
は内部のクロック周期よりも長く、しかもループスキャ
ンメモリは内部のクロックによっても動作可能なため、
外部のスキャンアクセス処理を内部のクロック周期によ
り動作させるようにし、ループスキャンの1サイクル内
に処理を終了させ、その1サイクル内に他の内部処理も
行う。In such a configuration, the external clock cycle is originally longer than the internal clock cycle, and since the loop scan memory can also be operated by the internal clock,
External scan access processing is operated in accordance with the internal clock cycle, the processing is completed within one loop scan cycle, and other internal processing is also performed within that one cycle.
そのため、互いのメモリアドレスを保護するために内部
処理用のアドレスレジスタと、スキャン動作用のカウン
タレジスタを設けている。本発明では、外部のスキャン
動作と内部動作の同時処理を実現することにより、シス
テムの処理速度の向上を図ることができる。Therefore, in order to protect each other's memory addresses, an address register for internal processing and a counter register for scan operation are provided. According to the present invention, the processing speed of the system can be improved by realizing simultaneous processing of an external scanning operation and an internal operation.
第2図は、本発明の一実施例ループスキャン回路のブロ
ック構成図である。図に示すように、IOP内に内部処
理用のアドレスレジスタARGトスキャン動作用のカウ
ンタレジスタCNTがデータバスDBに対して並列に設
けられる。チャネル族[CHEはループスキャンをされ
る側であり、I10プロセッサIOPはループスキャン
を取り込む側である。CHE内にはループスキャンのた
めにラッチL (Ll〜Ln)がループ状に接続されて
おり、その両端はIOPに接続されている。FIG. 2 is a block diagram of a loop scan circuit according to an embodiment of the present invention. As shown in the figure, an address register ARG for internal processing and a counter register CNT for scan operation are provided in the IOP in parallel with the data bus DB. The channel family [CHE is the side that is subjected to the loop scan, and the I10 processor IOP is the side that takes in the loop scan. In the CHE, latches L (Ll to Ln) are connected in a loop for loop scanning, and both ends thereof are connected to the IOP.
ループスキャン動作時はこのループを用い、1段ずつラ
ッチ内のデータをシフトさせてIOPにデータを渡し、
IOPではそのデータを受けて処理を進める。即ち、I
OP側ではレジスタ5TGOを経て書込みレジスタ5T
GIに取り込まれ、次にループスキャンメモリLSMに
取り込まれ、レジスタ5TG2を経てその値をCHEに
返す。During loop scan operation, this loop is used to shift the data in the latch one stage at a time and pass the data to the IOP.
The IOP receives the data and proceeds with processing. That is, I
On the OP side, write register 5T via register 5TGO
The value is taken into the GI, then into the loop scan memory LSM, and the value is returned to the CHE via the register 5TG2.
この場合、本発明では、IOP内のクロック周期をCH
E内のクロック周期よりも短くし、IOP側のクロック
周期で動作させるものである。In this case, the present invention changes the clock period in the IOP to CH
The clock cycle is made shorter than that in E, and the clock cycle is operated on the IOP side.
即ち、従来は同一のループ内ではすべてCHEのスキャ
ン用のクロック周期で動作させていたが、本発明では同
一のスキャンループ内であってもIOP側とCHE側で
はクロック周期を変えている。That is, in the past, everything within the same loop was operated at the CHE scan clock cycle, but in the present invention, even within the same scan loop, the clock cycles are different between the IOP side and the CHE side.
IOP内のクロック周期はCHEのスキャン用クロック
周期より充分短いため、CITEスキャンの1サイクル
内でIOP側のCHEスキャン動作は充分に余裕をもっ
て終了することができ、残余の時間でIOP側の他の処
理動作を行うことができる。Since the clock cycle within the IOP is sufficiently shorter than the clock cycle for scanning the CHE, the CHE scan operation on the IOP side can be completed with sufficient margin within one CITE scan cycle, and the remaining time is used to perform other operations on the IOP side. Processing operations can be performed.
CHEのスキャンの取り方は1ビツトずつシフトさせる
方法であり、LSMにも1ビツトずつ書き込んで行く。The method of scanning CHE is to shift one bit at a time, and write to the LSM one bit at a time.
ループスキャンメモリのアドレスは最初にループカウン
タCN Tにセットされ、1つずつデクリメン) (−
1)してその示されたアドレスに書き込まれて行く。こ
れに対してIOP側では毎回メモリのアドレスを与えて
任意のデータを32ビット幅で処理することができる。The address of the loop scan memory is first set in the loop counter CNT, and is decremented one by one) (-
1) and is written to the indicated address. On the other hand, on the IOP side, it is possible to process arbitrary data in a 32-bit width by giving a memory address each time.
このようにIOPが自由にアドレスを設定できるように
新たにアドレスレジスタARGを設け、スキャン用のア
ドレスとは独立させている。In this way, a new address register ARG is provided so that the IOP can freely set an address, and is made independent of the scan address.
第3図は、第2図構成のクロック信号のタイミングチャ
ートである。l0P−CLKはIOPを動作させるクロ
ック、CHE−CLKはCHEを動作させるクロックで
ある。CHEのスキャン時はCHEの通常動作の4倍の
タイミングで行う。FIG. 3 is a timing chart of the clock signal of the configuration shown in FIG. l0P-CLK is a clock that operates the IOP, and CHE-CLK is a clock that operates the CHE. When scanning the CHE, the timing is four times that of the normal operation of the CHE.
IOPからBnable Loop 5hift (
E L S )信号がでるとCHEl、:l;!−A
−CLKと+B−CLKが送られループスキャンが開始
される。Bnable Loop 5hift from IOP (
When the E L S ) signal appears, CHEl, :l;! -A
-CLK and +B-CLK are sent and a loop scan is started.
−A −CLKから+B−CLKO間で通常ノサンプル
動作を行い、+B−CLKがら−A−CLKまでがホー
ルド動作となる。−A−CLKでIoPの5TGOヘデ
ータを渡し、5TGO1,:f−夕が届いた後はIOP
クロックで5TGI、LSMを経て5TG2まで進む。A normal sample operation is performed between -A-CLK and +B-CLKO, and a hold operation is performed from +B-CLK to -A-CLK. -A-CLK passes data to 5TGO of IoP, and after 5TGO1,:f- evening arrives, IOP
The clock progresses through 5TGI and LSM to 5TG2.
そして5TG2からCHEまで+B−CLKでデータを
渡す。このようにしてIOPとCHEとのクロックの相
違をカバーする。Then, data is passed from 5TG2 to CHE using +B-CLK. In this way, the difference in clocks between IOP and CHE is covered.
実使用においては、IOPとCHEの他にAクロックを
発生するクロック発振器CLKA (図示せず)があり
、IOPがCLKAにELS信号を出力すると、CLK
Aは−A−CLKと+B・CLKをCHEに送出するよ
うになっている。この場合クロックは必ず−A・CLK
から送出される。CLKAがCHEに−A−CLKを送
出するタイミングにIOPへ同一の信号を送出し、IO
P側でこの−A−CLKを1τ信号に変換している。In actual use, in addition to IOP and CHE, there is a clock oscillator CLKA (not shown) that generates the A clock, and when IOP outputs the ELS signal to CLKA, CLK
A is designed to send -A-CLK and +B.CLK to CHE. In this case, the clock must be -A・CLK
Sent from At the timing when CLKA sends -A-CLK to CHE, it sends the same signal to IOP, and IO
This -A-CLK is converted into a 1τ signal on the P side.
以上の説明のように、l0PI−!l0P−CLKによ
りすべて動作し、ループスキャンが行われているときは
、タイミングチャート中の“T IIで示すループスキ
ャン中にLSMを占有するタイミングの間のみ、ループ
スキャン動作がLSMを使用する。これ以外のタイミン
グではIOP内部の要求に対応する。この場合、ループ
スキャンがLSMを占有するときの切り換えは−A−C
LKのIOP・1τ信号が5TGIに来た時に行われる
。このタイミング時のみLSMのアドレスはカウンタ側
を選択し、他のタイミングではアドレスレジスタ側を選
択するようになっている。5TG2のタイミングにルー
プアウトのデータをセットする。As explained above, l0PI-! When all operations are performed by l0P-CLK and a loop scan is performed, the loop scan operation uses the LSM only during the timing when the LSM is occupied during the loop scan indicated by "T II" in the timing chart. At other timings, it corresponds to the request inside the IOP.In this case, the switching when the loop scan occupies the LSM is -A-C
This is done when the LK IOP/1τ signal comes to 5TGI. The LSM address selects the counter side only at this timing, and selects the address register side at other timings. 5 Set the loop out data at the timing of TG2.
以上説明したように、本発明によれば、チャネル装置の
ループスキャンがI10プロセッサの内部を占有する時
間が少なくなり、1サイクル中の他の時間はIOPの要
求を実行することができるので、システムの実質的な処
理速度が大幅に向上する。As described above, according to the present invention, the time that the loop scan of the channel device occupies the inside of the I10 processor is reduced, and the IOP request can be executed during the other time in one cycle, so that the system The actual processing speed will be significantly improved.
第1図は、本発明の原理構成図、
第2図は、本発明の一実施例ループスキャン回路図、
第3図は、第2図回路のクロック信号のタイミングチャ
ート、及び
第4図は、従来のループスキャン回路図である。
(符号の説明)
IOP・・・I10プロセッサ、
CHE・・・チャネル装置、
■、SM・・・ループスキャンメモリ、ARG・・・ア
ドレスレジスタ、
CNT・・・カウンタレジスタ、
5TGO,5TGI、5TG2・・・レジスタ、DB・
・・データバスFIG. 1 is a diagram of the principle configuration of the present invention, FIG. 2 is a loop scan circuit diagram of an embodiment of the present invention, FIG. 3 is a timing chart of the clock signal of the circuit in FIG. 2, and FIG. FIG. 2 is a conventional loop scan circuit diagram. (Explanation of symbols) IOP...I10 processor, CHE...channel device, SM...loop scan memory, ARG...address register, CNT...counter register, 5TGO, 5TGI, 5TG2...・Register, DB・
・Data bus
Claims (1)
)とチャネル装置(CHE)の間に跨がって構成される
ループスキャン回路であって、前記I/Oプロセッサ内
に、 スキャンデータの書込み/読出しを行いループスキャン
動作を行うためのループスキャンメモリ(LSM)と、 前記I/Oプロセッサの内部処理に用い、互いのメモリ
アドレスを保護するためのI/Oプロセッサ専用のアド
レスレジスタ(ARG)と、前記アドレスレジスタと並
列に接続され、互いのメモリアドレスを保護するための
ループスキャン動作用のカウンタレジスタ(CNT)と
を備え、I/Oプロセッサとチャネル装置の両方で前記
ループスキャンメモリを使用するときに、前記ループス
キャンメモリを前記チャネル装置のループスキャンのシ
フト動作よりも速い周期で動作させ、前記I/Oプロセ
ッサはループスキャンを行わない残余の時間に、前記ル
ープスキャンメモリを利用して前記アドレスレジスタに
より他の内部処理動作を行うようにしたことを特徴とす
るループスキャン回路[Claims] 1. I/O processor (IOP) in the channel processor
) and a channel device (CHE), the I/O processor includes a loop scan memory for writing/reading scan data and performing a loop scan operation. (LSM), an address register (ARG) dedicated to the I/O processor used for internal processing of the I/O processor and for protecting each other's memory addresses; and a counter register (CNT) for loop scan operation to protect addresses, and when the loop scan memory is used in both an I/O processor and a channel device, the loop scan memory is used in the loop scan operation of the channel device. The I/O processor operates at a faster cycle than the shift operation of the scan, and the I/O processor uses the loop scan memory to perform other internal processing operations with the address register during the remaining time when the loop scan is not performed. A loop scan circuit characterized by
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63196180A JPH0245852A (en) | 1988-08-08 | 1988-08-08 | Loop scan circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63196180A JPH0245852A (en) | 1988-08-08 | 1988-08-08 | Loop scan circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0245852A true JPH0245852A (en) | 1990-02-15 |
Family
ID=16353531
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63196180A Pending JPH0245852A (en) | 1988-08-08 | 1988-08-08 | Loop scan circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0245852A (en) |
-
1988
- 1988-08-08 JP JP63196180A patent/JPH0245852A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0245852A (en) | Loop scan circuit | |
| JPH06124207A (en) | Subroutine branch instruction execution method | |
| JP2634893B2 (en) | Single chip microcomputer | |
| JPH029401Y2 (en) | ||
| JPS59197946A (en) | Memory device | |
| JPH01109425A (en) | Fifo memory | |
| JP2001356960A (en) | Write control device, its method and recording medium | |
| JP2716284B2 (en) | Semiconductor integrated circuit | |
| JPS61137294A (en) | Memory integrated circuit | |
| JP2668215B2 (en) | Micro computer | |
| JPS61103257A (en) | Memory control circuit | |
| JPS601644B2 (en) | Timing pulse generation circuit | |
| JPH04241622A (en) | Microprocessor | |
| JPH03142541A (en) | High speed memory access system | |
| JPH02153451A (en) | Bus control system | |
| JPH04332060A (en) | data calculation device | |
| JPS63163542A (en) | Test circuit | |
| JPH06175910A (en) | Memory access circuit and automatic detecting method for memory access timing | |
| JPH027140A (en) | Memory access system | |
| JPH0637627A (en) | Counter reading system | |
| JPS62296637A (en) | Data sink for serial data | |
| JPH04149655A (en) | Memory card test system | |
| JPS59148191A (en) | Memory driving circuit | |
| JPH04353922A (en) | Data conversion method | |
| JPH022236B2 (en) |