JPH0535896B2 - - Google Patents
Info
- Publication number
- JPH0535896B2 JPH0535896B2 JP61241624A JP24162486A JPH0535896B2 JP H0535896 B2 JPH0535896 B2 JP H0535896B2 JP 61241624 A JP61241624 A JP 61241624A JP 24162486 A JP24162486 A JP 24162486A JP H0535896 B2 JPH0535896 B2 JP H0535896B2
- Authority
- JP
- Japan
- Prior art keywords
- event
- state
- event information
- code
- register
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は伝送制御用プロセツサに関し、特に伝
送制御手順を実行する伝送制御用プロセツサに関
する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a transmission control processor, and more particularly to a transmission control processor that executes a transmission control procedure.
従来、伝送制御手順は汎用CPU、例えば、
8086、68000等を用いソフトウエアによるプログ
ラムで実現していた。しかしながらソフトウエア
での実現は処理速度において限界があり、高速伝
送の要求にはなかなか応えられない。又、ソフト
ウエア開発にかかる工数も非常に大きいものであ
る。
Traditionally, transmission control procedures are performed using a general-purpose CPU, e.g.
This was achieved through a software program using the 8086, 68000, etc. However, implementation using software has a limit in processing speed, making it difficult to meet the demands for high-speed transmission. Furthermore, the number of man-hours required for software development is extremely large.
それに対して、最近伝送制御手順を実行する専
用LSIなどが出現し、開発期間の短縮、高速伝送
の実現が可能になつてきた。 In contrast, dedicated LSIs that execute transmission control procedures have recently appeared, making it possible to shorten the development period and realize high-speed transmission.
しかしながら、現時点ではCCITT標準のX.25
のレベル2までの下位レイヤしか実現されておら
ず、上位レイヤの実現が望まれるが、パラメータ
が非常に多いため困難であるといわれている。
又、下位レイヤでも、専用LSIとして実現されて
いるものはCCITTで標準化されているX.25のフ
レームレイヤのみで、その他の伝送手順に対する
専用LSIは未開発である。 However, currently the CCITT standard X.25
Only the lower layers up to level 2 have been realized, and although it is desired to realize the upper layers, it is said to be difficult because there are so many parameters.
Also, in the lower layers, the only thing that has been implemented as a dedicated LSI is the X.25 frame layer standardized by CCITT, and dedicated LSIs for other transmission procedures have not yet been developed.
伝送制御手順の構造を調べると、イベントと現
時点での状態に対応して、定められた処理を行な
い、同時に新らたな状態に遷移するという構造を
もつている。
Examining the structure of the transmission control procedure, it has a structure in which predetermined processing is performed in response to an event and the current state, and at the same time a transition is made to a new state.
汎用プロセツサを用いた場合、if分を用いてど
のイベントが起り、どの状態であるのかを識別す
るのであるが、イベント数および状態数が多いと
識別にかかる時間が非常に長くなるという問題点
がある。又、この部分にバグが存在すると、たま
におかしな結果を出し、どのところにバグがある
かを見つけだすのに多くの工数を要するという問
題点がある。 When using a general-purpose processor, the if code is used to identify which event has occurred and which state it is in, but the problem is that when the number of events and states is large, the time required for identification becomes extremely long. be. Furthermore, if there is a bug in this part, there is a problem in that strange results are sometimes produced and it takes a lot of man-hours to find out where the bug is.
本発明の目的は、どの状態にどのイベントが起
つたかを瞬時に識別することができる伝送制御用
プロセツサを提供することにある。 An object of the present invention is to provide a transmission control processor that can instantly identify which event has occurred in which state.
本発明の伝送制御用プロセツサは、第1のイベ
ント情報のみをセツトするイベントレジスタと、
複数の第2のイベント情報とイベントコードを対
にして記憶し、前記第1のイベント情報と一致す
る前記第2のイベント情報に対応する前記イベン
トコードを出力する連想メモリと、現時点での状
態の第1の状態コードのみをセツトするステイト
レジスタと、処理ルーチンへのポインタの次に遷
移すべき状態の第2の状態コードを内容とし前記
連想メモリの出力と前記第1の状態コードをアド
レスとする記憶回路とを有している。
The transmission control processor of the present invention includes an event register for setting only first event information;
an associative memory that stores a plurality of second event information and event codes in pairs and outputs the event code corresponding to the second event information that matches the first event information; A state register in which only the first state code is set, and a second state code of the state to which the pointer to the processing routine should transition next is set as contents, and the output of the associative memory and the first state code are used as addresses. It has a memory circuit.
次に、本発明の実施例について図面を参照して
説明する。
Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例を示すブロツク図で
ある。 FIG. 1 is a block diagram showing one embodiment of the present invention.
第1図において、イベントレジスタ100には
第1のイベント情報のみセツトされるもので、具
体的にはパケツトヘツダやタイマイベントが書込
まれる。 In FIG. 1, only first event information is set in the event register 100, specifically, packet headers and timer events are written.
連想メモリ101には起りうる複数の第2のイ
ベント情報とイベントコードが対になつて記憶さ
れており、イベントレジスタ100の第1のイベ
ント情報を検索データとして連想メモリ101に
記憶されている第2のイベント情報に対応する全
ワードの一致検索を全ワード同時に行ない、検索
された第2のイベント情報に対応するイベントコ
ードを出力する。 The associative memory 101 stores a plurality of possible second event information and event codes in pairs, and uses the first event information of the event register 100 as search data to search for the second event information stored in the associative memory 101. A match search for all words corresponding to the event information is performed simultaneously for all words, and an event code corresponding to the retrieved second event information is output.
このようにすることにより、例えば第1のイベ
ント情報が歯抜けの不連続のような多数のビツト
構成からなる情報で構成されていたとしてもその
出力として得られる、RAM102のアドレスの
一つとして使用されるイベントコードは、第1の
イベント情報そのものに比べて縮小されたビツト
構成のイベントコードを使用することが出来る。
使用する連想メモリのビツト容量が「(イベント
情報のビツト数+イベントコードのビツト数)×
イベント情報の数」だけのわずかなメモリ容量で
瞬時にイベントコードを得ることが出来る。この
イベントコードはシステムにより変更設定が自由
なパラメータ情報を使用することができ、不透明
で不確定なイベント情報の変化、変更にも融通性
を富む使用が出来る。 By doing this, for example, even if the first event information is composed of information consisting of a large number of bits such as a non-continuous discontinuity, the information obtained as the output can be used as one of the addresses of the RAM 102. The event code to be displayed can be an event code with a reduced bit structure compared to the first event information itself.
The bit capacity of the associative memory used is ``(number of bits of event information + number of bits of event code) x
Event codes can be obtained instantly with a small memory capacity corresponding to the number of event information. This event code can use parameter information that can be freely changed and set depending on the system, and can be used flexibly even when changing or changing opaque and uncertain event information.
ステイトレジスタ103は現時点での状態の第
1の状態コードをセツトする。 State register 103 sets the first state code of the current state.
RAM102はジヤンプ先のアドレスと次にと
るべき状態の第2の状態コードを内容とし、連想
メモリ101の出力のイベントコードとステイト
レジスタ103の第1の状態コードとをアドレス
とする。 The contents of the RAM 102 are the jump destination address and the second state code of the next state to be taken, and the addresses are the event code output from the associative memory 101 and the first state code of the state register 103.
これによつて、イベントと現時点での状態か
ら、瞬時に新たな状態と処理ルーチンへのポイン
タが得られる。 This allows instantaneous pointers to new states and processing routines from events and current states.
しかも、連想メモリ101およびRAM102
の内容はプログラムではなく、テーブルとして表
現されているので、デバツグが非常に容易であ
る。 Moreover, associative memory 101 and RAM 102
Since the contents of are expressed as a table rather than a program, debugging is very easy.
次に、汎用レジスタ104、演算器105、プ
ログラムカウンタ106、実行制御回路107、
命令バツフア108及び入出力制御回路109は
市販の汎用CPUに備えられており、以下に、簡
単に説明する。 Next, a general-purpose register 104, an arithmetic unit 105, a program counter 106, an execution control circuit 107,
The instruction buffer 108 and the input/output control circuit 109 are included in a commercially available general-purpose CPU, and will be briefly explained below.
汎用レジスタ104は複数の演算及び転送のた
めの一時記憶回路である。 General purpose register 104 is a temporary storage circuit for multiple operations and transfers.
演算器105は汎用CPU内の演算器と同じ演
算を行なう。 The arithmetic unit 105 performs the same arithmetic operations as the arithmetic unit in the general-purpose CPU.
プログラムカウンタ106は次に実行すべき命
令のポインタを示す。 Program counter 106 indicates a pointer to the next instruction to be executed.
実行制御回路107は命令バツフア108にあ
る命令を取出し、解読して、演算及び転送などを
実行するように演算器105、汎用レジスタ10
4、プログラムカウンタ106を制御する。 The execution control circuit 107 extracts the instructions from the instruction buffer 108, decodes them, and sends them to the arithmetic unit 105 and the general-purpose register 10 to execute operations, transfers, etc.
4. Control the program counter 106.
入出力制御回路109は外部メモリのアドレス
を指示するためのアドレス信号ADとデータDT
の入出力信号を制御し、命令を命令バツフア10
8へ送込む。 The input/output control circuit 109 receives an address signal AD and data DT for instructing the address of the external memory.
Controls the input/output signals of the command buffer 10
Send to 8.
実行制御回路107はプログラムカウンタ10
6の示すポインタを入出力制御回路109を通じ
てアドレス信号ADとして出力し、そのアドレス
が示すところの命令のデータDTを入出力制御回
路109から取込み、命令バツフア108へ送
り、同時にプログラムカウンタ106の値を1つ
カウントアツプする。 The execution control circuit 107 is a program counter 10
The pointer indicated by 6 is output as an address signal AD through the input/output control circuit 109, the data DT of the instruction indicated by the address is fetched from the input/output control circuit 109, and sent to the instruction buffer 108, and at the same time, the value of the program counter 106 is read. Count up by one.
実行制御回路107は命令バツフア108にあ
る命令を取出し、解読して、入出力制御回路10
9、汎用レジスタ104及び演算器105を用い
て外部のメモリと汎用レジスタ104との間のデ
ータの転送及びデータの演算を実行させる。 The execution control circuit 107 takes out the instructions in the instruction buffer 108, decodes them, and sends them to the input/output control circuit 10.
9. Transfer data between the external memory and the general-purpose register 104 and perform data operations using the general-purpose register 104 and the arithmetic unit 105.
命令バツフア108にある命令がイベント情報
を取込む命令であつたならば、入出力制御回路1
09を通して外部からイベント情報を取込み、第
1のイベント情報としてイベントレジスタ100
へ転送する。 If the instruction in the instruction buffer 108 is an instruction to capture event information, the input/output control circuit 1
Event information is taken in from the outside through the event register 100 as the first event information.
Transfer to.
その結果、上述したようにRAM102から出
力される状態コードを第1の状態コードとしてス
テイトレジスタ103にセツトし、ジヤンプ先の
アドレスをプログラムカウンタ106にセツトす
る。その次からは、セツトされたアドレスから同
様の動作が行なわれる。 As a result, as described above, the state code output from the RAM 102 is set in the state register 103 as the first state code, and the jump destination address is set in the program counter 106. From then on, similar operations are performed from the set address.
以上説明したように本発明の伝送制御用プロセ
ツサは、あら状態にあるイベントが起つたときに
処理すべきことをテーブルによつて瞬時に判断す
るハードウエアを付加することにより、伝送制御
手順の開発が短縮でき、かつ、高速処理が可能に
なるという効果がある。
As explained above, the transmission control processor of the present invention is capable of developing transmission control procedures by adding hardware that instantaneously determines what should be processed when an event in an abnormal state occurs using a table. This has the effect that the time can be shortened and high-speed processing is possible.
第1図は本発明の一実施例を示すブロツク図で
ある。
100……イベントレジスタ、101……連想
メモリ、102……RAM、103……ステイト
レジスタ、104……汎用レジスタ、105……
演算器、106……プログラムカウンタ、107
……実行制御回路、108……命令バツフア、1
09……入出力制御回路。
FIG. 1 is a block diagram showing one embodiment of the present invention. 100...Event register, 101...Associative memory, 102...RAM, 103...State register, 104...General-purpose register, 105...
Arithmetic unit, 106...Program counter, 107
...Execution control circuit, 108...Instruction buffer, 1
09...Input/output control circuit.
Claims (1)
トレジスタと、複数の第2のイベント情報とイベ
ントコードを対にして記憶し、前記第1のイベン
ト情報と一致する前記第2のイベント情報に対応
する前記イベントコードを出力する連想メモリ
と、現時点での状態の第1の状態コードのみをセ
ツトするステイトレジスタと、処理ルーチンへの
ポインタと次に遷移すべき状態の第2の状態コー
ドを内容とし前記連想メモリの出力と前記第1の
状態コードをアドレスとする記憶回路とを有する
伝送制御用プロセツサ。1 An event register for setting only first event information, storing a plurality of second event information and event codes in pairs, and storing a plurality of second event information and event codes corresponding to the second event information that matches the first event information. An associative memory that outputs an event code, a state register that sets only the first state code of the current state, and a state register that stores the pointer to the processing routine and the second state code of the next state. A transmission control processor having a memory output and a storage circuit whose address is the first status code.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61241624A JPS6395542A (en) | 1986-10-09 | 1986-10-09 | Processor for transmission control |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61241624A JPS6395542A (en) | 1986-10-09 | 1986-10-09 | Processor for transmission control |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6395542A JPS6395542A (en) | 1988-04-26 |
| JPH0535896B2 true JPH0535896B2 (en) | 1993-05-27 |
Family
ID=17077090
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61241624A Granted JPS6395542A (en) | 1986-10-09 | 1986-10-09 | Processor for transmission control |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6395542A (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5478041A (en) * | 1977-12-05 | 1979-06-21 | Hitachi Ltd | Communication controller |
| JPS5559554A (en) * | 1978-10-30 | 1980-05-06 | Hitachi Ltd | Program control system |
-
1986
- 1986-10-09 JP JP61241624A patent/JPS6395542A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6395542A (en) | 1988-04-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0118781A2 (en) | Control flow parallel computer system | |
| EP0220682B1 (en) | Data processing system | |
| JPH0133854B2 (en) | ||
| JP2559868B2 (en) | Information processing device | |
| JPH034936B2 (en) | ||
| JPH0535896B2 (en) | ||
| JPH0831033B2 (en) | Data processing device | |
| JPS6052449B2 (en) | Interrupt processing method | |
| JPS62279438A (en) | Tracking circuit | |
| JPS6242301B2 (en) | ||
| JPH0217541A (en) | Stack system micro-computer | |
| JPS60134937A (en) | address extender | |
| JPS5826043B2 (en) | Processor reset method | |
| JP2918570B2 (en) | Central processing unit | |
| JPH01316826A (en) | Register file address circuit | |
| JPH03290741A (en) | Error logging method | |
| JPS60193046A (en) | Instruction exception detection method | |
| JPS63120336A (en) | Switching system for memory access mode | |
| JPS6339945B2 (en) | ||
| JP2000122882A (en) | Multi-thread processor and debug device | |
| JPH02109130A (en) | Arithmetic circuit | |
| JPH01204150A (en) | Information processor | |
| JPH01310444A (en) | Parallel arithmetic processor | |
| JPS6345671A (en) | Logic circuit simulation method | |
| JPH03282625A (en) | Data processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |