Data communication control device

Abstract: A data communication control device is constructed to control data transmission between a network bus (NB) and a system bus (SB). The data communication control device includes a network bus interface (10) connected to the network bus (NB), a system bus interface (60) connected to the system bus (SB), an FIF o /RAM (90) including a two-port memory (70) for storing transmission data, a direct memory access (50) for executing access of the two-part memory (70) in the FIF o /RAM (90), a microprocessor (20) for controlling the network bus interface (10), system bus interface (60), FIF o /RAM (90), and direct memory access (50) on data transmission. A port 1 of the two-port memory (70) in the FIF o /RAM (90) is connected to the network bus interface (10), microprocessor (20), direct memory access (50) through a first bus (B₄). A port 2 of the two-port memory (70) in the FIF o /RAM (90) is connected to the direct memory access (50) through a second bus (B₅). The micorprocessor (20) is connected to the system bus interface (60) through a third bus (B₆). The direct memory access (50) is connected to the system bus interface (60) through a fourth bus (B₇).

Description: The present invention relates to a data communication control device according to the preamble of claims 1 and 4, respectively. A data communication control device of this kind is known from WO-A-8810469. Description of the Prior Art A data communication control device for controlling data transmission between a network bus NB and a system bus SB of a host processor is well known. Before the explanation on the data communication control device in the prior art, a role of the data commmunication control device in the entire body of a system concerned is described. As shown in Fig. 1, the system includes a host processor 100, a data communication control device 200 connected between a system bus SB connected to the host processor 100 and a network bus NB, a read-only memory (ROM) 300 in which is stored a data communication procedure for controlling the data communication control device 200, a random access memory (RAM) 400 for containing data to be transmitted and received through the system bus SB, and a terminal 500 connected to the network bus NB. In the transmission mode, data contained in the RAM 400 are transmitted to the network bus NB from the system bus SB by the data communication control device 200. While, in the reception mode, data derived from the terminal 500 are received in the RAM 400 through the system bus SB from the network bus NB by the data communication control device 200. Namely, according to the above construction, transmission control of data is carried out between the system bus SB and the network bus NB by the data communication control device 200. Next, a construction of a data communication control device according to the prior art will be explained with reference to Fig. 2. As shown in Fig. 2, the data communication control device is composed of a network bus interface (NBI) 10, a microprocessor 20 for controlling data transmission, a control logic circuit portion 30, a two-port memory 40 for holding transmission data, a direct memory access (DMA) portion 50 for carrying out access of the two-port memory, a system bus interface (SBI) 60 and a switch 70. Incidentally, reference character NB shows a net work bus and SB shows a system bus of a host processor. Moreover, a port 1 of the two-port memory 40, a buffer 2 of the SBI 60 and the microprocessor 20 are connected by a data bus B 3 , and a port 2 of the two-port memory 40 and the switch 70 are connected by a data bus B 4 , further the switch 70 and NBI 10 and DMA 50 are respectively connected by data buses B 1 and B 2 . In the system, the switch 70 is switched under control of the control logic circuit portion 30 to alternately connect the data buses B 1 , B 2 to the data bus B 4 connected to the port 2 of the two-port memory 40. Next, operation of the data communication control device of the prior art with the construction as mentioned above will be described. First, the transmission mode from the system bus SB to the network bus NB is explained. When a command of data transmission is transmitted to the data communication control device from the host processor 100 through the system bus SB, the command is transmitted to the buffer 2 of the SBI 60, then is given to the microprocessor 20 through the data bus B 3 . Then, transmission data are transmitted to the buffer 1 of the SBI 60 from the RAM 400 through the system bus SB, then are given to the switch 70 through the DMA 50 and the data bus B 2 . At the time, a part of the transmission data from the RAM 400 are given to the buffer 2 of the system bus interface (SBI) 60, then transmitted to the port 1 of the two-port memory 40 through the data bus B 3 . The switch 70 is switched in accordance with control of the microprocessor 20 which received the transmission command and the control logic circuit portion 30 so as to connect the data bus B 2 and the data bus B 4 , then the transmission data are inputted to the port 2 of the two-port memory 40 through the data bus B 4 . Thereafter, the two-port memory 40 changes or arranges the transmission data in accordance with control of the microprocessor 20 and the control logic circuit portion 30, and a part of the transmission data arranged and the transmission data transmitted to the port 1 are transmitted to the switch 70 through the data bus B 4 . Then, the switch 70 is switched under control of the microprocessor 20 and the control logic circuit portion 30 so as to connect the data bus B 4 and the data bus B 1 , and the transmission data are transmitted to the network bus NB through the data bus B 1 and the NBI 10. Next, the reception mode of data from the network bus NB to the system bus SB is described. First, a command of data reception is transmitted to the buffer 2 of the SBI 60 from the host processor 100 through the system bus SB, and given to the microprocessor 20 through the data bus B 3 . Then, reception data are transmitted to the NBI 10 from the terminal 500 through the network bus NB, thereafter given to the switch 70 through the data bus B 1 . The switch 70 is switched under control of the microprocessor 20 which received the reception command and the control logic circuit portion 30 so as to connect the data bus B 1 and the data bus B 4 . Thereafter, the reception data are inputted to the port 2 of the two-port memory 40 through the data bus B 4 . Then, the two-port memory 40 changes or arranges the reception data in accordance with control of the microprocessor 20 and the control logic circuit portion 30, and the reception data arranged are transmitted to the switch 70 through the data bus B 4 from the port 2. The switch 70 is switched under control of the microprocessor 20 and the control logic circuit portion 30 so as to connect the data bus B 4 and the data bus B 2 , and the reception data are transmitted to the system bus SB through the data bus B 2 , DMA 50 and SBI 60. However, in the data communication control device according to the prior art as shown in Fig. 2, the switch 70 is provided on the side of the port 2 in the two-port memory 40 so as to switch the data buses B 1 and B 2 under control of the control logic circuit portion 30 on each transmission or reception of data. Accordingly, elevation of the operational speed of the switch 70 is so limited that it is difficult to realize high-speed data transmission. Moreover, since the buffer 2 of the SBI 60, the microprocessor 20 and the port 1 of the two-port memory 40 are connected by the one line of data bus B 3 , competition on use of the data bus B 3 is caused between the port 1 of the two-port memory 40, microprocessor 20 and SBI 60. Thus, the operation of the microprocessor 20 is restricted. For example, in the transmission mode, the command from the system bus SB is transmitted to the microprocessor 20 through the system bus interface (SBI) 60 and the data bus B 3 as well as a part of the transmission data from the system bus SB are transmitted to the port 1 of the two-port memory 40 through the system bus interface (SBI) 60 and the data bus B 3 . Accordingly, the utilization rate of factor of the data bus B 3 is very high. As the result, it is difficult to carry out high-speed data transmission or high-speed data communication in the data communication control device according to the prior art, which has a bus construction for switching the connection between the port 2 of the two-port memory 40 and the data bus B 1 or B 2 through the switch 70 and causing the competition on use of the data bus B 3 on the side of the port 1 in the memory 40. From "Dual Port Static RAMs Can Remedy Contention Problems", in "Computer Design", vol. 23, no. 9, August 1984, the use of "DMA controllers between a dual port RAM and a parallel system bus and a small computer system interface bus is known. This document does, however, not relate to competition problems in a two-way branched bus. SUMMARY OF THE INVENTION This invention is given to solve the problem as mentioned above, therefore it is an object thereof to provide a data communication control device having an uncompetitive bus construction which enables high-speed data communication. According to the invention this object is solved as defined claim 1 and claim 4, respectively. Accordingly, in the data communication control device of the present invention, the switch employed in the prior art is omitted, and the bus construction is composed by directly connecting a data bus on the side of a port 1 of a two-port memory in an FIF o /RAM to an NBI, a DMA and a microprocessor as well as directly connecting a data bus on the side of a port 2 of the two-port memory in the FIF o /RAM to the DMA, and a system bus interface and the microprocessor are connected through a data bus independently so as not to cause the competition on use of the bus on the side of the port 1 of the two-port memory. Thus, in the data communication control device according to the present invention, it is not necessary to switch the data bus by a switch on the side of the port 2 of the two-port memory as described in the example in the prior art. Moreover, since the competition on use of the data bus on the side of the port 1 in the two-port memory is not caused, it becomes possible to carry out high-speed data communication. Incidentally, since it is not necessary to switch the data bus by a switch in the present invention, the control operation of the switch can be omitted. These and other objects, features and advantages of the present invention will be more apparent from the following description of a preferred embodiment, taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a full constructional diagram of a system in which a data communication control device is used; Fig. 2 is a constructional diagram of a data communication control device according to the prior art; Fig. 3 is a constructional diagram of an embodiment of a data communication control device according to the present invention; Fig. 4 is a constructional diagram of another embodiment of a data communication control device according to the present invention. DETAILED DESCRIPTION OF THE EMBODIMENT Fig. 3 shows an embodiment of a data communication control device according to the present invention. In the same drawing, the same reference numerals and reference characters respectively show the same meanings as shown in Fig. 1. As shown in Fig. 3, the data communication control device includes a network bus interface (NBI) 10 connected to a network bus NB, a system bus interface (SBI) 60 connected to a system bus SB, and FIF o /RAM 90 which includes a two-port memory 70 for storing transmission data and a control logic circuit portion 80 for controlling the two-port memory 70, a direct memory access (DMA) 50 for executing access of the FIF o /RAM 90 including the two-port memory 70, and a microprocessor 20 for controlling the network bus interface (NBI) 10, system bus interface (SBI) 60, FIF o /RAM 90 and direct memory access (DMA) 50 on data transmission. Moreover, the NBI 10, a port 1 in the two-port memory 70, the DMA 50 and the microprocessor 20 are connected by a bus B 4 , and a port 2 of the two-port memory 70 and the DMA 50 are connected by a bus B 5 . While, the microprocessor 20 and the SBI 60 are connected by a bus B 6 , and the DMA 50 and the SBI are connected by a bus B 7 , further the SBI 60 and the system bus SB are connected by a bus B 8 . Additionally, the NBI 10 and the network bus NB are connected by a bus B 9 . Next, operation of the data communication control device according to the present invention having the construction as mentioned above is explained. First, the data transmission mode from the system bus SB to the network bus NB is described with reference to Figs. 1 and 3. When a command of data transmission is transmitted from the host processor 100 to the data communication control device through the system bus SB, the command is given to the SBI 60 through the bus B 8 , then is transmitted to the microprocessor 20 through the bus B 6 . Then, transmission data are transmitted from the RAM 400 to the SBI 60 through the system bus SB, and given to the port 2 of the two-port memory 70 through the bus B 7 , the DMA 50, and the bus B 5 . The two-port memory 70 changes or arranges the transmission data in accordance with control of the microprocessor 20 which received the transmission command and the control logic circuit portion 80. Then, the transmission data arranged are given from the port 1 to the NBI 10 through the bus B 4 . Thereafter, the transmission data are transmitted from the NBI 10 to the network bus NB through the bus B 9 . Next, the data reception mode from the network bus NB to the system bus SB is described. First, a command of data reception is transmitted from the host processor 100 to the SBI 60 through the system bus SB and the bus B 8 , and is given to the microprocessor 20 through the bus B 6 . Then, reception data are transmitted to the NBI from the terminal 500 through the network bus NB and the bus B 9 , and given to the port 1 of the two-port memory 70 through the bus B 4 . The two-port memory 70 changes or arranges the reception data in accordance with control of the microprocessor 20 having received the reception command and the control logic circuit portion 80, then the reception data arranged are transmitted from the port 2 of the two-port memory 70 to the system bus SB through the bus B 5 , DMA 50, bus B 7 , SBI 60 and bus B 8 . In this embodiment, as described above, since switching means for switching the connection of the bus to the two-port memory is not included in the bus construction, it is not necessary to switch the connection of the bus on each transmission or reception of data. As the result, high-speed data transmission can be carried out. Moreover, as shown in the embodiment in Fig. 3, since the FIF o /RAM 90 including the two-port memory 70 and the NBI are connected through the bus B 4 , and the FIF o /RAM 90 and the DMA 50 are connected through the bus B 5 independently and directly as well as the switch means is omitted, transmission of data through the buses B 4 and B 5 can be carried out at the same time or in parallel. Accordingly, high-speed data transmission can be realized certainly. Additionally, in this embodiment, since the microprocessor 20 and the SBI 60 are connected by the bus B 6 independently differently from the above example according to the prior art shown in Fig. 2, the competition which is caused by the command from the host processor in the example of the prior art can be avoided. For example, in the system construction, when the communication speed is 4Mbps, the clock frequency is 8MHz, the microprocessor 20 is a 16-bit microprocessor and the bus B 4 is a 16-bit bus, the utilization rate of the internal bus B 4 in accordance with the microprocessor 20 based on our calculation by simulation is about 30%. Thus, the processing capacity of the system is sufficient even for the full operation of the microprocessor 20. Accordingly, even when the microprocessor is fully operated and the data transmission to the DMA is carried out at a relatively high speed, the competition is not generated so that it is becomes possible to carry out high-speed data communication as a whole. Fig. 4 shows another embodiment of a data communication control device according to the present invention. In the same drawing, the same reference numerals and characters show the same meanings as those in Fig. 3. In this embodiment, the internal buses B 4 , B 6 respectively connected to the microprocessor 20 of Fig. 3 are commonized into an internal bus B 10 , and a microprocessor 20 and an SBI 60 are connected through the internal bus B 10 . Since the construction of this embodiment other than the part described above is the same as shown in Fig. 3, detailed description on the same portion is omitted. Also, in the internal bus construction of the embodiment shown in Fig. 4, the same effect or high-speed operation as described in Fig. 3 can be achieved. Namely, under the same conditions of the system construction as described in the embodiment of Fig. 3, i.e., under the communication speed of 4Mbps, clock frequency of 8MHz, 16-bit microprocessor as the microprocessor 20 and 16-bit bus as the bus B 4 , the utilization rate of the internal bus B 10 between the NBI 10 and the FIF o /RAM 90 is about 12.5%, while the utilization rate of the bus B 10 in accordance with the microprocessor 20 is about 30% as described above. As the result, since the sum of both the utilization rates is only about 42.5%, the same effect as the embodiment shown in Fig. 3 can be obtained even when the internal buses B 4 and B 6 are commonized into the bus B 10 . As stated above, in the embodiments of a data communication control device according to the present invention, by omitting the switching means as seen in the prior art for the two-port memory and directly connecting the port 1 of the two-port memory to at least the microprocessor and the DMA, the data transmission between the port 2 of the two-port memory and the system bus through the DMA can be carried out at a relatively high speed. Moreover, since the competition on use of the internal bus between the microprocessor and the port 1 of the two-port memory can be avoided in the internal bus construction of these embodiments, the microprocessor can be fully operated. As the result, high-speed data transmission can be realized stably so much. Various modifications will become possible for those skilled in the art after receiving the teachings of the present disclosure without departing from the scope thereof.

Claims: A data communication control device for controlling data transmission between a network bus (NB) and a system bus (SB), comprising a system bus interface (60) connected to the system bus (SB), a network bus interface (10) connected to the network bus (NB), a two-port memory (78) having first and second ports for storing transmission data, a microprocessor (20) for controlling said system bus interface (60), network bus interface (10), two-port memory (78) on data transmission, and a direct memory access (50) for executing access of the two-port memory; characterized by (a) a first bus (B4) for connecting said first port (71) to the network bus interface (10), microprocessor (20), direct memory access (50), respectively; (b) a second bus (B5) for connecting said second port (72) to said direct memory access (50); (c) a third bus (B6) for connecting said microprocessor (20) to said system bus interface (60); and (d) a fourth bus (B7) for connecting said direct memory access (50) to said system bus interface (60). The data communication control device as claimed in claim 1, wherein in a data transmission mode from the system bus (SB) to the network bus (NB), a command of data transmission from the system bus is transmitted to the system bus interface and transmitted to the microprocessor (20) through the third bus (B6), transmission data from the system bus are transmitted to the system bus interface (60) and given to the second port (72) through the fourth bus (B7), direct memory access (50), and second bus (B5), the two-port memory (70) arranges the transmission data in accordance with control of the microprocessor (20) which received the transmission command, then, the transmission data arranged are given from the first port (71) to the network bus interface (10) through the first bus (B4), thereafter, the transmission data are transmitted from the network bus interface (10) to the network bus (NB). The data communication control device as claimed in claim 2, wherein in a data reception mode from the network bus (NB) to the system bus (SB), a command of data reception from the system bus is transmitted to the system bus interface (60) and transmitted to the microprocessor (20) through the third bus (B6), reception data from the network bus (NB) are transmitted to the network bus interface (10), and given to the first port (71) of the two-port memory (70) through the first bus (B 4 ), the two-port memory (70) arranges the reception data in accordance with control of the microprocessor (20) having received the reception command, then the reception data arranged are transmitted from the second port (72) to the system bus (SB) through the second bus (B5), direct memory access (50), fourth bus (B7), system bus interface (60). A data communication control device for controlling data transmission between a network bus (NB) and a system bus (SB), comprising: A network bus interface (10) connected to the network bus (NB); a system bus interface (60) connected to the system bus (SB); a FIFo/RAM (90) including a two-port memory (70) for storing transmission data, a first port (71) and a second port (72); a direct memory access (50) for executing access of the two-port memory (70) in the FIFo/RAM; a microprocessor (20) for controlling the network bus interface (10), system bus interface (60), FIFo/RAM (90), and direct memory access (50) on data transmission; characterized by a first bus (B10) for connecting the first port (71) to the network bus interface (10), microprocessor (20), direct memory access (50), and system bus interface (60); a second bus (B5) for connecting the second port (72) to the direct memory access (50), and a third bus (B7) for connecting the direct memory access (50) to the system bus interface (60).

Inventors: KANUMA AKIRA, KATSUMATA EIICHI, NISHIKAWA AKIHITO, TANAKA KOICHI, YAGUCHI TOSHIYUKI, KANUMA, AKIRA, KATSUMATA, EIICHI, NISHIKAWA, AKIHITO, TANAKA, KOICHI, YAGUCHI, TOSHIYUKI
Applicants: TOSHIBA KK, KABUSHIKI KAISHA TOSHIBA
Application year: 1990
Main classification: G06F13
IPC codes: G06F13, H04L29