JPS6135585B2 - - Google Patents

Info

Publication number
JPS6135585B2
JPS6135585B2 JP55105252A JP10525280A JPS6135585B2 JP S6135585 B2 JPS6135585 B2 JP S6135585B2 JP 55105252 A JP55105252 A JP 55105252A JP 10525280 A JP10525280 A JP 10525280A JP S6135585 B2 JPS6135585 B2 JP S6135585B2
Authority
JP
Japan
Prior art keywords
address
register
line connection
line
connection adapter
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
Application number
JP55105252A
Other languages
Japanese (ja)
Other versions
JPS5730027A (en
Inventor
Takeshi Nakayama
Kunio Tabata
Kenichiro Kunikata
Tatsuo Kimura
Takashi Nakamura
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10525280A priority Critical patent/JPS5730027A/en
Publication of JPS5730027A publication Critical patent/JPS5730027A/en
Publication of JPS6135585B2 publication Critical patent/JPS6135585B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

Description

【発明の詳細な説明】 本発明は、通信制御装置の処理能力を増大し、
回線接続アダプタのレジスタを選択するときも、
早急に選択可能とする通信制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention increases the processing capacity of a communication control device,
When selecting the register for the line connection adapter,
The present invention relates to a communication control device that enables quick selection.

従来の情報処理システムの例を第1図に示す。
中央処理装置CPUにより制御される通信制御装
置CCUは、変復調装置MDMを介し通信回線CL
と接続されている。通信制御装置CCU内にはマ
イクロプロセツサPU、ランダムアクセスメモリ
MEM、インタフエースIF、回線接続機構LCFを
有している。回線接続機構LCFは、各回線対応
に例えば16個の回線接続アダプタLCAを搭載し
ている。各回線接続アダプタLCAは変復調装置
とのインタフエースの制御、送受信データの直並
列変換と、プロセツサとのインタフエース制御を
行うため、プロセツサから制御可能なレジスタ
RGを第1図では8個RG0〜RG7使用し、各機
能に応じてその内の所定の数のレジスタを制御用
として使用する。また回線接続アダプタLCA内
にはデコーダDECを有し、プロセツサPUからバ
スB1に載せられ送られてくるレジスタ選択用ア
ドレス情報をデコードし、前記レジスタRGを選
択E0〜E7する。バスB2は双方向性のデータ
バスで、信号線C2により転送方向を示してい
る。例えばC2が“0”のときは読出しで外部か
らプロセツサへ、C2が“1”のときは書込みで
プロセツサから外部へ転送されることを示す。ま
たB2情報の有効性をC1が示し、更に回線接続
機構LCFとインタフエースIFからプロセツサPU
への割込みはC3が示している。このときメモリ
MEMに対するアドレス割付と格納情報は第2図
に示すようになつている。アドレスは16進符号で
X“0000”からX“FFFF”で示す。LCWは回
線制御語を示し、LCW0乃至LCW15の16回線
〓〓〓〓〓
分がX“0000”からX“00FF”までの256バイト
を使用している。各回線制御語LCWは16バイト
で構成され、その内容は第2図の左側に示してあ
る。零バイト目のLMDは回線の動作モード、回
線接続アダプタの種類などの指定を中央処理装置
からの初期設定で行うもの、1バイト目のPCD
は回線の伝送制御手順を指定するバイトで、
LMDと同様に初期設定を行うもの、2バイト目
のPYNは音声アダプタについての回線番号を示
す。3バイト目のCMDは回線のコマンドコード
を格納するバイトで中央処理装置から指令が発せ
られる毎に書替わる。次のアドレスX“0100”乃
至X“FEFF”には制御プログラムCTPを格納
し、更に次のX“FF00”乃至X“FF7F”まで
は回線接続アダプタLCAレジスタに対する制御
情報を、レジスタRG0〜RG7と対応させて領域
R0〜R7に格納している。プロセツサはこの番
地のレジスタに対応するアドレスをアクセスする
ことにより、第1図のバスB2の情報をレジスタ
へ、また逆にレジスタの情報をバスに載せること
ができる。そしてX“FF80”乃至X“FFFF”
はプロセツサPUとインタフエースIF関係の制御
レジスタとして使用可能である。
An example of a conventional information processing system is shown in FIG.
The communication control unit CCU, which is controlled by the central processing unit CPU, connects the communication line CL via the modem device MDM.
is connected to. The communication control unit CCU contains a microprocessor PU and random access memory.
It has MEM, interface IF, and line connection facility LCF. The line connection mechanism LCF is equipped with, for example, 16 line connection adapters LCA for each line. Each line connection adapter LCA is a register that can be controlled from the processor in order to control the interface with the modem, serial/parallel conversion of transmitted and received data, and control the interface with the processor.
In FIG. 1, eight RGs RG0 to RG7 are used, and a predetermined number of registers among them are used for control according to each function. Further, the line connection adapter LCA includes a decoder DEC, which decodes the register selection address information sent from the processor PU on the bus B1, and selects the registers E0 to E7. Bus B2 is a bidirectional data bus, and a signal line C2 indicates the transfer direction. For example, when C2 is "0", the data is read from the outside to the processor, and when C2 is "1", the data is written from the processor to the outside. In addition, C1 indicates the validity of B2 information, and furthermore, C1 indicates the validity of B2 information.
The interrupt to is indicated by C3. At this time memory
Address assignment and storage information for MEM are as shown in Figure 2. Addresses are indicated in hexadecimal codes from X"0000" to X"FFFF". LCW indicates line control word, 16 lines from LCW0 to LCW15〓〓〓〓〓
The minute uses 256 bytes from X"0000" to X"00FF". Each line control word LCW consists of 16 bytes, the contents of which are shown on the left side of FIG. The 0th byte LMD specifies the line operation mode, line connection adapter type, etc. through initial settings from the central processing unit, and the 1st byte PCD
is a byte that specifies the line transmission control procedure,
Similar to LMD, initial settings are performed, and the second byte, PYN, indicates the line number for the audio adapter. The third byte, CMD, is a byte that stores the line command code and is rewritten every time a command is issued from the central processing unit. The control program CTP is stored in the next addresses X "0100" to X "FEFF", and the control information for the line connection adapter LCA registers is stored in registers RG0 to RG7 from the next addresses They are stored in areas R0 to R7 in correspondence. By accessing the address corresponding to the register at this address, the processor can load information on bus B2 in FIG. 1 to the register, and conversely, load information in the register onto the bus. and X “FF80” to X “FFFF”
can be used as a control register related to the processor PU and interface IF.

プロセツサPUが、回線接続アダプタLCA内の
レジスタをアクセスする時は、当該アダプタ
LCAに対応する回線制御語LCWから、その第2
バイトPYNの内容即ち回線番号と、当該アダプ
タについてのレジスタの番号とから目的とする回
線のレジスタに対応するメモリアドレスを作成
し、そのアドレスをプロセツサPU内に通常設け
られているインデツクスレジスタに設定する。そ
してインデツクスレジスタの内容をアドレスとす
る命令を作成・実行することにより、LCAレジ
スタのアクセスが可能となる。前記メモリアドレ
スを作成すること、即ちインデツクスレジスタを
用いてアクセスすることはそれだけプロセツサ
PUの負荷を増大させることになる。例えば第6
図に示す回線接続アダプタにおける指定アドレス
はプロセツサが作成したアドレスについて、イン
デツクスレジスタを使用するアドレス修飾回路
IDXが実アドレスを得るように修飾する必要があ
り、回線接続アダプタLCAを指定する毎にすべ
てアドレス零番地からの所定値に変換しているか
ら、これらのアドレス作成などが頻繁に行われる
と、送受信文字の1文字の制御に要する処理時間
の約半分までを要することもある。
When the processor PU accesses the registers in the line connection adapter LCA, the adapter
From the line control word LCW corresponding to LCA, its second
Create a memory address corresponding to the register of the target line from the contents of the byte PYN, that is, the line number, and the register number of the adapter in question, and set that address in the index register normally provided in the processor PU. do. By creating and executing an instruction that uses the contents of the index register as an address, the LCA register can be accessed. Creating the memory address, that is, accessing it using the index register, requires only a processor.
This will increase the load on the PU. For example, the 6th
The specified address in the line connection adapter shown in the figure is an address modification circuit that uses an index register for the address created by the processor.
It is necessary to qualify the IDX to obtain a real address, and every time the line connection adapter LCA is specified, it is converted to a predetermined value starting from address zero, so if these addresses are created frequently, It may take up to about half of the processing time required to control one transmitted/received character.

本発明の目的は前述の欠点を改善し、通信制御
装置内の構成を追加することにより処理能力を増
大させて、回線接続アダプタのレジスタ選択を短
時間で処理できるようにした通信制御装置を提供
することにある。
An object of the present invention is to provide a communication control device that improves the above-mentioned drawbacks, increases processing capacity by adding configurations within the communication control device, and enables register selection of a line connection adapter to be processed in a short time. It's about doing.

以下図面に示す本発明の実施例について説明す
る。第3図は本発明の実施例において使用するメ
モリのアドレス割付を第2図と対応して示す図で
ある。第4図は第3図に示すアドレス割付のされ
たメモリを使用する通信制御装置の構成を第1図
と対応して示す図である。また第7図は第6図と
対応して示す本発明実施例におけるアドレス修飾
の説明図であつて、第4図の説明を判り易く示す
図である。
Embodiments of the present invention shown in the drawings will be described below. FIG. 3 is a diagram corresponding to FIG. 2 showing the address allocation of the memory used in the embodiment of the present invention. FIG. 4 is a diagram corresponding to FIG. 1, showing the configuration of a communication control device using the memory to which the addresses shown in FIG. 3 are assigned. Further, FIG. 7 is an explanatory diagram of address modification in the embodiment of the present invention shown in correspondence with FIG. 6, and is a diagram illustrating the explanation of FIG. 4 in an easy-to-understand manner.

第3図に示すメモリのアドレス割付けとして、
本発明においては第2図に示す回線接続アダプタ
の個別レジスタ制御情報LCA0〜LCA15の領
域を設けずに、従来、制御レジスタとして使用し
ていた領域EXRを下記の構成としている。即ち
回線接続アダプタ制御用のレジスタに対応する仮
アドレス領域を1箇所設け、第3図ではアドレス
X“FF80”〜X“FF87”の領域について各アダ
プタのレジスタに共用する制御情報を格納する部
分R0〜R7と、X“FF88”〜X“FF8F”の
領域について或るアダプタを特定する情報を格納
する部分LCNとを示している。これらの領域を
アクセスするアドレスについて、仮アドレスと称
するのは、回線接続アダプタLCAにおける実際
の各レジスタのアドレス(絶対番地)と1対1に
対応していないため、仮アドレスという。
As the memory address assignment shown in Figure 3,
In the present invention, the area EXR, which was conventionally used as a control register, has the following configuration without providing an area for the individual register control information LCA0 to LCA15 of the line connection adapter shown in FIG. That is, one temporary address area is provided corresponding to the register for controlling the line connection adapter, and in FIG. 3, a part R0 is provided for storing control information shared by the registers of each adapter for the area from addresses X "FF80" to X "FF87". ~R7, and a partial LCN that stores information specifying a certain adapter for the area from X"FF88" to X"FF8F". The addresses for accessing these areas are called temporary addresses because they do not have a one-to-one correspondence with the actual addresses (absolute addresses) of each register in the line connection adapter LCA.

プロセツサPUの制御プログラムが、回線接続
アダプタのレジスタをアクセスするときは、アク
セスに先立つて、修飾回路IDX内のレジスタ(第
4図でLCNRと示す)に回線制御語LCW中の回
線番号の内容をセツトする。次にプロセツサPU
において前述のメモリについて、仮アドレスを作
成してメモリをアクセスし、所定内容を格納す
る。領域LCNにはレジスタLCNRの内容を、領域
R0〜R7には当該アダプタの各レジスタの制御
内容を格納する。次に実際にレジスタをアクセス
するとき、アドレスのうちの下位4ビツト(可変
部)は直接に実メモリをアクセスすためのアドレ
〓〓〓〓〓
スとなり、上位3ビツトはレジスタLCNRの内容
として修飾回路IDXにおいて修飾アドレスを得て
いる。そのため、メモリの領域EXRについての
仮アドレスを発するのみで、レジスタLCNRの内
容と仮アドレスに下位4ビツトの可変部とで得ら
れるアドレス情報により任意のレジスタLCAを
早急にアクセスできる。若し、同じ回線接続アダ
プタについてそのレジスタを異なるものに指定替
えするときは、LCNのセツトは変えずに、メモ
リアドレスX“FF80”乃至X“FF87”までを可
変とする。
When the control program of the processor PU accesses the register of the line connection adapter, it stores the contents of the line number in the line control word LCW in the register (shown as LCNR in Figure 4) in the modifier circuit IDX before accessing. Set. Next, the processor PU
In the above-mentioned memory, a temporary address is created, the memory is accessed, and predetermined contents are stored. The area LCN stores the contents of the register LCNR, and the areas R0 to R7 store the control contents of each register of the adapter. Next, when actually accessing the register, the lower 4 bits (variable part) of the address are used to directly access the real memory.
The upper 3 bits obtain the modified address in the modification circuit IDX as the contents of the register LCNR. Therefore, by simply issuing a temporary address for the memory area EXR, any register LCA can be quickly accessed using the address information obtained from the contents of the register LCNR and the variable part of the lower 4 bits of the temporary address. If the register of the same line connection adapter is to be changed to a different register, the memory addresses X "FF80" to X "FF87" are made variable without changing the LCN set.

第4図は前述の動作を行う装置の具体的例を示
す図で、LCNRは回線番号選択レジスタ、A1,
A2,A3はアンド回路を示している。プロセツ
サPUがメモリアドレスのX“FF88”をアクセス
したときに、バスB2のうちD4乃至D7ビツトが
レジスタLCNRにセツトされ、バスB1における
アドレス情報と、C1,C2とにより信号S1が
デコーダDECにより得られる。デコーダDECの
具体例は第5図に示す論理回路となつている。信
号S2はX“FF80”乃至X“FF87”のいずれか
のアドレスがアクセスされたこと、及びC1の条
件を入れて判断した結果で、回線接続機構LCF
の回線接続アダプタLCAの選択信号となる。ま
た信号S3はX“FF80”乃至X“FF87”のいず
れかのアドレスがアクセスされたことを示す。信
号S1とバスB2の情報によりアンド回路A1を
介してレジスタLCNRがセツトされ、回線番号を
表すビツトがバスB4に現われる。バスB3はバ
スB1の下位3ビツトMA13乃至MA15を示
し、信号S3によりアンド回路A3を介し、バス
B5において可変部アドレスが得られ、レジスタ
RGの選択番地とする。バスB6は信号S3によ
りバスB4の内容である回線番号を示し、結局バ
スB7にLCAの回線番号とレジスタ番号が得ら
れる。レジスタLCNR内に回線番号をセツトして
とき、毎回のアドレス設定のとき仮アドレス・ア
クセスのみで、自動的にLCNRにセツトした回線
番号が頭に付いたレジスタ番号が得られる。
FIG. 4 is a diagram showing a specific example of a device that performs the above-mentioned operation, where LCNR is a line number selection register, A1,
A2 and A3 indicate AND circuits. When the processor PU accesses the memory address X "FF88", bits D4 to D7 of the bus B2 are set in the register LCNR, and the signal S1 is obtained by the decoder DEC based on the address information on the bus B1 and C1 and C2. It will be done. A specific example of the decoder DEC is a logic circuit shown in FIG. The signal S2 is the result of judgment that one of the addresses from X"FF80" to
This is the selection signal for the line connection adapter LCA. Further, the signal S3 indicates that any one of the addresses from X"FF80" to X"FF87" has been accessed. Register LCNR is set via AND circuit A1 by the information on signal S1 and bus B2, and a bit representing the line number appears on bus B4. Bus B3 indicates the lower 3 bits MA13 to MA15 of bus B1, and the variable part address is obtained on bus B5 by signal S3 via AND circuit A3, and the register
Set it as the selected address of RG. The bus B6 indicates the line number, which is the content of the bus B4, by the signal S3, and eventually the LCA line number and register number are obtained on the bus B7. When a line number is set in the register LCNR, a register number prefixed with the line number set in the LCNR is automatically obtained by accessing the temporary address each time the address is set.

このようにして本発明によると、回線接続アダ
プタのレジスタの絶対番地選択に際し、その都度
アドレス全部を得る処理を行うことなく、少なく
とも回線番号についての情報を別個に得ているか
ら、レジスタについてのアドレスは短時間に得ら
れ、通信制御装置の動作として、他の処理のでき
る時間が多くなり、処理能力が大幅に向上でき
る。プロセツサのインデツクスレジスタを使用す
ることがなく、またプログラム作成が容易となる
効果を有する。
In this way, according to the present invention, when selecting the absolute address of the register of the line connection adapter, at least the information about the line number is obtained separately without having to obtain the entire address each time. can be obtained in a short time, and the communication control device has more time for other processing, and its processing capacity can be greatly improved. This method does not require the use of the index register of the processor, and has the effect of facilitating program creation.

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

第1図は従来の情報処理システムの例を示すブ
ロツク図、第2図は第1図のメモリにおけるアド
レス割付と格納情報を示す図、第3図は本発明の
実施例におけるメモリのアドレス割付と格納情報
を示す図、第4図は本発明の実施例装置を示す
図、第5図は第4図中デコーダの具体的回路図、
第6図は第1図に示す構成のアドレス修飾を説明
する図、第7図は第4図におけるアドレス変換を
説明するための図である。 CPU……中央処理装置、CCU……通信制御装
置、MDM……変復調装置、LCF……回線接続機
構、LCA……回線接続アダプタ、PU……マイク
ロプロセツサ、MEM……メモリ、DEC……デコ
ーダ、RG0,RG1,………RG7……レジス
タ、LCNR……回線番号選択レジスタ。 〓〓〓〓〓
FIG. 1 is a block diagram showing an example of a conventional information processing system, FIG. 2 is a diagram showing address allocation and stored information in the memory of FIG. 1, and FIG. A diagram showing stored information, FIG. 4 is a diagram showing an embodiment of the present invention, and FIG. 5 is a specific circuit diagram of the decoder in FIG. 4.
FIG. 6 is a diagram for explaining address modification in the configuration shown in FIG. 1, and FIG. 7 is a diagram for explaining address conversion in FIG. 4. CPU: central processing unit, CCU: communication control unit, MDM: modem, LCF: line connection mechanism, LCA: line connection adapter, PU: microprocessor, MEM: memory, DEC: decoder , RG0, RG1, ......RG7... register, LCNR... line number selection register. 〓〓〓〓〓

Claims (1)

【特許請求の範囲】[Claims] 1 中央処理装置により制御され変復調装置を介
し通信回線と接続される情報処理システムの通信
制御装置において、該通信制御装置にメモリ・情
報処理装置・回線接続アダプタを具備し、前記メ
モリにおける情報処理装置制御プログラムのアク
セス可能なアドレス空間の任意領域に回線接続ア
ダプタ制御用レジスタに対応する仮アドレス領域
を1個所設け、該領域をアクセスして回線接続ア
ダプタの番号を選択しているアドレス情報と、前
記仮アドレス領域に関する可変部アドレス情報と
を得て、それらを組合せることにより、制御プロ
グラムによる仮アドレス領域のアクセスのみで複
数の回線接続アダプタ及び当該アダプタ内の制御
用レジスタを選択することを特徴とする通信制御
装置。
1. In a communication control device of an information processing system controlled by a central processing unit and connected to a communication line via a modem device, the communication control device is equipped with a memory, an information processing device, and a line connection adapter, and the information processing device in the memory One provisional address area corresponding to the line connection adapter control register is provided in an arbitrary area of the address space accessible by the control program, and the address information is accessed to select the number of the line connection adapter; By obtaining the variable part address information regarding the temporary address area and combining them, a plurality of line connection adapters and control registers in the adapters can be selected simply by accessing the temporary address area by the control program. communication control device.
JP10525280A 1980-07-31 1980-07-31 Communication controller Granted JPS5730027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10525280A JPS5730027A (en) 1980-07-31 1980-07-31 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10525280A JPS5730027A (en) 1980-07-31 1980-07-31 Communication controller

Publications (2)

Publication Number Publication Date
JPS5730027A JPS5730027A (en) 1982-02-18
JPS6135585B2 true JPS6135585B2 (en) 1986-08-13

Family

ID=14402456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10525280A Granted JPS5730027A (en) 1980-07-31 1980-07-31 Communication controller

Country Status (1)

Country Link
JP (1) JPS5730027A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4494194A (en) * 1982-09-30 1985-01-15 Burroughs Corporation Line support processor for data transfer system

Also Published As

Publication number Publication date
JPS5730027A (en) 1982-02-18

Similar Documents

Publication Publication Date Title
US4037211A (en) Address extending control unit
US5404474A (en) Apparatus and method for addressing a variable sized block of memory
CA1262493A (en) Multi processor system
JP3513291B2 (en) Data transfer device
KR920006615B1 (en) Method and apparatus having both the direct mapping and bank mapping schemes
US6023750A (en) Microcontroller having dedicated hardware for memory address space expansion via auxilliary address signal generation
JPS6135585B2 (en)
JPS60205644A (en) Memory address extension system
JPS6152506B2 (en)
JPS60150146A (en) Main memory selector of electronic computer
KR100207015B1 (en) Interface chip and internal register accessing method
JPH0347616B2 (en)
JPH07334420A (en) Extended memory control circuit
KR920003845B1 (en) Rom region expansion system for users of pc
JP2874230B2 (en) Memory addressing method of microcomputer
JP2518461B2 (en) Data verification method
JPS613243A (en) Varying method of arithmetic state
JPH05108477A (en) Memory access system
JP2953584B2 (en) Memory protection method for each memory board in a multiprocessor system
JP2522063B2 (en) Single-chip micro computer
JP3265026B2 (en) I / O data exchange method
JPS6217261B2 (en)
JPH0795315B2 (en) Data transfer control method
JP2954988B2 (en) Information processing device
JPS5913766B2 (en) Address control method