Multi-access device

Abstract: A device (MAM) including a common data resource (RAM) to which a first (PR) and several second (LC) stations are coupled. This device includes a first transmission circuit (DB, MD, LD2, LD1, DBU) coupling the common resource and the first station and, for each of the second stations, a second transmission circuit (DB, MD) coupling the common resource and a buffer circuit (LR; LW) and a third transmission circuit (PISO, SO; SI, SIPO) coupling the buffer circuit and the corresponding second station and which is used at predetermined moments (T1, T2, T3; T4). The device also includes a priority circuit (CLC, SG) which grants the highest priority to the requests for the use of the first transmission circuit and the following priorities to the requests for the use of the second transmission circuits in decreasing order of the frequencies (SOS; SIS) of the corresponding predetermined moments.

Description: The present invention relates to a multi-access device including a common data resource to which a first station and at least one second station are coupled for the transmission of data. Because the data resource is common to all the stations it is clear that conflicting situations may occur between the stations when data has to be transmitted to or from this resource. In case there are only two stations this problem may be solved by using a so-called dual access data resource or dual-port memory. However, a drawback of this solution is that such a dual access resource is expensive. Another solution which is also valid when more than two stations are coupled to the common data resource, is to assign to each station a recursive predefined time slot during which a corresponding transmission of data is allowed. A disadvantage of this solution is that, when one or more stations do not require the transmission of data during their allocated time slot, the time then wasted causes the multi-access device to be inefficiently used Furthermore, two or more stations can not transmit simultaneously. The article "A SYSTEM ORIENTED RAM CONTROLLER" of M. Bazes et al., published in IEEE Electro, Vol.7, May 1982, New York, USA, pages 1 to 11 (34/2) discloses the features of the preamble of claim 1. An object of the present invention as claimed is to provide a multi-access device which, while being relatively simple and operating efficiently, nevertheless allows transmission of data between the common data resource and at least two stations without conflict even when at least one of these stations has to transmit, i.e. output or input, data at predetermined time instants. According to the invention this object is achieved due to the fact that said multi-access device further includes : a data buffer circuit; a first data transmission circuit coupling said common data resource and said first station; a second data transmission circuit coupling said common data resource and said data buffer circuit; a third data transmission circuit coupling said data buffer circuit and said second station and used for the transmission of data thereon at predetermined instants; first requesting means to request for the use of said first data transmission circuit for the transmission of data thereon; second requesting means to request for the use of said second data transmission circuit for the transmission of data thereon; and a priority circuit to which said first and second requesting means are coupled and which grants priority to requests of said first requesting means over requests of said second requesting means, in that said first and second data transmission circuits are coupled to said common data resource via multiplexing means and common data access means, and in that, for transferring data from said common data resource to said second station, said second requesting means perform a request a predetermined number of cycles of a clock signal in advance of a forthcoming one of said predetermined instants, said predetermined number of clock cycles being sufficient for Said priority circuit to grant said request of said second requesting means before granting a request of said first requesting means. Hence, although a common data resource is used and the third data transmission circuit is to be used at predetermined instants, no conflicts for using these access means can occur. Indeed, when for instance the second station wants to input data coming from the common data resource at a predetermined instant, the second requesting means formulate a request a time interval before this instant. Then, the required data are transferred to the data buffer circuit via the second data transmission circuit as soon as the request to do so is granted by the priority circuit, i.e. when no transmission of data is requested by the first requesting means. In any way, the time interval corresponding to the predetermined number of clock cycles is so chosen that the transfer of data from the common data resource to the data buffer circuit is accomplished prior to the predetermined instant. Obviously, these data can afterwards be transferred from the data buffer circuit to the second station at the occurence of the predetermined instant even if the first requesting means then simultaneously request for the transmission of data between the first station and the common data resource. Another characteristic feature of the present invention is that, for transferring data from said second station to said common data resource, said second requesting means perform a request a second predetermined number of said clock cycles after a said predetermined instant. Similarly to the above, when at a second predetermined instant the second station wants to output data having the common data resource as destination, the second requesting means request for the use of the second data transmission circuit after the occurence of this second predetermined instant but during the time interval between this second predetermined instant and a forthcoming second predetermined instant. In a preferred embodiment, a plurality of said second stations are coupled to said common data resource each via a said second data transmission circuit, a said data buffer circuit and a said third data transmission circuits, and said second requesting means are able to request for the use of each of said second data transmission circuits. Also another characteristic feature of the present device is that said predetermined instants have constant frequencies which are distinct for each of said second data transmission circuits. Still another characteristic of the present device is that said priority circuit grants the highest priority to the requests of said first requesting means and the following priorities to the requests of said second requesting means in decreasing order of said frequencies at which data are transmitted on said second data transmission circuits. Yet another characteristic feature of the present device is that it further includes : first address generation means to provide to said common data resource the address therein of the location of data transmitted on said first data transmission circuit; a plurality of second address generation means to provide to said common data resource the addresses therein of the locations of data transmitted on said second data transmission circuits; an address buffer circuit; a first address transmission circuit coupling said first address generation means and said common data resource; a second address transmission circuit coupling said plurality of second address generation means and said address buffer circuit; and a third address transmission circuit coupling said address buffer circuit and said common data resource; and in that said first address transmission circuit is used simultaneously with said first data transmission circuit, whilst said third address transmission circuit is used simultaneously with said second data transmission circuit. The address provided by one of said second address generation means is stored in said address buffer circuit prior to the next occurrence of one of said predetermined instants of the corresponding one of said second data transmission circuits. The above mentioned and other objects and features of the invention will become more apparent and the invention itself will be best understood by referring to the following description of art embodiment taken in conjunction with the accompanying drawings wherein : Fig. 1 shows a block diagram of a multi-access device MAM according to the invention and including a Random-Access-Memory RAM associated to a control circuit CC; Figs. 2 and 3 show signals used in the control logic circuit CLC of the control circuit CC of Fig. 1; Fig. 4 is a schematic representation of a signal generator SG included in CLC; and Fig. 5 shows signals used in the signal generator SG of Fig. 4. The multi-access device MAM shown in Fig. 1 forms part of a digital telecommunication exchange which moreover includes a switching network, a plurality of telecommunication line circuits and a processor PR. The MAM includes a Random-Access-Memory RAM with a single data access bus DB and an associated Control Circuit CC coupled to it via a single address bus AB. The memory RAM is used to store digital signals to be sent to 8 telecommunication line circuits mounted on a line card LC and to the processor PR or to be received from these 8 line circuits and this processor. These signals are transmitted on input and output links SI and SO interconnecting MAM and LC and on the bus DBU which interconnects MAM and PR respectively. The signals coming from or going to the 8 line circuits of each line card LC are transmitted on the respective serial links SI and SO according to Time Division Multiplex (TDM) techniques. From now on the line circuits are indicated by LC. Inside the MAM the pair of input and output links SI and SO and the bus DBU are coupled to the RAM so that the processor PR and the 8 line circuits LC are associated to a same RAM. However, in practice the processor PR is generally provided in common for a plurality, e.g. 3, of such RAMs each associated to a distinct line card, i.e. to 8 line circuits. In this case the latch LD2 shown is coupled to these RAMs through a demultiplexer (not shown) and the common access bus DB. The device MAM is controlled by a clock signal C4 (Fig. 2, part a) with a bitrate of 4 Megabits/second and has three main functions : to output data stored in the RAM towards the line circuits LC via the serial output link SO at the clock bitrate of 4 Megabits-second; these data are included in the signal SOUT (Fig. 2, part b) flowing on the serial output link SO and comprising 8 channels OC0 to OC7 which are subdivided into 8 bytes OB0 to OB7 having 8 bits Ob0 to Ob7 each; to input data from the line circuits LC via the serial input link SI at a bitrate of 1 Megabit/second; these data are included in the signal SIN (Fig. 2, part b) flowing on the serial input link SI and comprising 8 channels IC0 to IC7 each constituted by one byte having 8 bits Ib0 to Ib7 of which only a first half Ib0A to Ib7A is effectively used whilst the second half Ib0B to Ib7B is not used and corresponds to a high impedance status; and to read data from and write data into the RAM according to instructions received from the processor PR which operates in an asynchronous way; these data have a bitrate of 4 Megabit/second. It is to be noted that the data outputting and reading are identical operations and that these different words are only used to distinguish between the operations of the line circuits LC and those of the processor PR respectively. The same is true for the distinction between the words input and write. In the present telecommunication system, data from the RAM should be output to the line circuits LC in a synchronous way and also data from these line circuits LC and to be transferred to the RAM should be input in a synchronous way. On the contrary, data transfers from the RAM to the processor PR and vice versa (read and write operations) may occur asynchronously. Moreover, data transfers on the common access bus DB of the RAM towards and from the processor PR should have priority over data transfers on this bus DB towards and from the line circuits LC. These various conditions are fullfilled without conflict in the way described hereafter. The Random-Access-Memory RAM of the device MAM has an associated data input/output buffer IOB, an address decoder ADD, and a restore logic circuit RL, whilst the control circuit CC includes : a data multiplexer MD; an address multiplexer MA; two bidirectional data latches LD1 and LD2; two data latches LR and LW; a parallel-in-serial-out and latch circuit PISO; a serial-in-parallel-out and latch circuit SIPO; three address latches LA1, LA2 and LA3; a control logic circuit CLC; and a 4 Megabits/second synchronizer SYNC. The control circuit CC is coupled to the processor PR via a bidirectional 8 bits parallel data bus DBU already mentioned and PR is coupled to CC via an unidirectional 8 bits parallel address bus ABU and control lines ALE (Address Latch Enable), CS (Chip Select), RD (ReaD) and WR (WRite) on which like-named signals flow respectively. CC is further coupled to the line circuits LC via the serial output link SO and the serial input link SI and to the above mentioned switching network from which it receives, on like-named control lines, a frame signal FR (Fig. 2, part a), the clock signal C4 (Fig. 2, part a) and another clock signal C1. The frame signal FR has a frequency of 8 Kilohertz whilst C4 and C1 have a bitrate of 4 and 1 Megabits/second respectively. It is to be noted that the 1 Megabits/second clock signal C1 is synchronized with and derived from the clock signal C4 in a frequency division circuit well known in the art and is not described here. The data bus DB links the data multiplexer MD to the data input/output buffer IOB of the RAM, whilst an address bus AB links the address multiplexer MA of CC to the address decoder ADD of the RAM. The data bus DBU of the processor PR is connected to the data multiplexer MD via the cascade connection of the two bidirectional data latches LD1 and LD2. MD is further connected to the serial output link SO via the cascade connection of the data latch LR and the parallel-in-serial-out and latch circuit PISO, and the serial input link SI is connected to MD via the cascade connection of the serial-in-parallel-out and latch circuit SIPO and the data latch LW. PISO and SIPO are respectively controlled by the clock signals C4 and C1. The address bus ABU of the processor PR is connected to the address multiplexer MA via the cascade connection of the address latches LA1 and LA2. An internal address bus IBA links the control logic circuit CLC to the address multiplexer MA via the address latch LA3 and carries the addresses of the data of line circuits LC which have to be read from or written into the RAM. The control signals ALE, CS, RD and WR are all supplied from the processor PR to the 4 Megabits/second synchronizer SYNC which synchronizes them with the clock signal C4 and provides a control signal UPA (Processor Active; Fig. 2, parts d an e and Fig. 3, parts b, c and d) which is transmitted to the control logic circuit CLC via a separate control line whilst other control signals are supplied from SYNC to CLC via a second internal bus IBB. The latches LD1, LD2; LR; LW; LA2 and LA3 are controlled by the control logic circuit CLC via respective internal control lines DA, DS; SOA; SIA; ALS and ALI carrying like-named signals. The address latch LA1 is directly controlled by the synchronizer SYNC via an internal control line ALA carrying a like-named signal, whilst the data MD and address MA multiplexers are controlled by the control logic circuit CLC via respective internal selection lines MDS and MAS carrying like-named signals. Also, the circuits PISO and SIPO are controlled by the circuit CLC via respective internal control lines SOS and SIS carrying like-named signals. By making reference to the parts a to e of Fig. 2, the data output and input operations as well as the read and write operations of the multi-access device MAM are first described separately hereafter, i.e. without considering possible interferences of such operations. 1. Transfer of data from the memory RAM to the line circuits LC (data output; Fig. 2, part b). The data bytes OB0/OB7 to be transferred from the RAM to the line circuits LC are stored in this memory RAM at successive addresses provided by a counter CT included in the control logic circuit CLC. Each address is transmitted from CLC to the address latch LA3 via the internal address bus IBA. Under the control of the signal ALI which opens the address latch LA3 and so releases the address stored therein and the selection signal MAS which indicates to the address multiplexer MA that the bus which connects it to LA3 has to be selected, this address is transmitted to the address decoder ADD of the RAM via the address bus AB. When the control signal RMB (RAM Busy) generated by CLC is activated, the data byte stored in the RAM location then indicated by the address in ADD is loaded on the data bus DB. This data byte is then transferred to and stored in the data latch LR selected by the data multiplexer MD according to the selection signal MDS and opened by a control signal SOA (Serial Out Asynchronous). Every 2 microseconds, i.e. at the occurrence of each of the periodic pulses T1, T2, T3 of the control signal SOS (Serial Out Synchronous), the data byte OB0/OB7 in LR is transferred on the serial output link SO via the circuit PISO. Indeed, such a pulse T1/T3 opens the PISO circuit and allows the byte latched in LR to be transferred to the PISO circuit and, therein, this byte OB0/OB7 is converted from the parallel to the serial form and put on the serial output link SO. It is to be noted that the pulses of the control signal SOS are synchronized with the signals C4 and FR and are generated every last bit Ob7 of each output byte OB0/OB7 of the output channels OC0/OC7. 2. Transfer of data from the line circuits LC to the memory RAM (data input; Fig. 2, part b). The bytes of data or channels IC0 to IC7 incoming on the serial input link SI at a bitrate of 1 Megabit/second are first stored in the SIPO circuit. When a complete byte IC0/IC7 is present in this SIPO circuit, i.e. every 16 microseconds, a pulse T4 is generated by CLC. This pulse forms part of the control signal SIS (Serial Input Synchronous). By T4 the SIPO circuit is opened and the byte C0/IC7 of input data stored therein is transferred in a parallel way to the data latch LW wherein it remains until the signal SIA is activated. It is to be noted that the control signal SIS is synchronized with the signals C4 and FR, and thus also with the clock signal C1, and is generated in coincidence with the last bit Ib7, and more particularly with the second half of Ib7B thereof, of each input byte or channel IC0/IC7. In the same way as for the output operation described above, the locations at which the bytes of input data have to be stored in the memory RAM are also at successive addresses. Indeed, these addresses are also supplied to the address decoder ADD of the memory RAM by the counter CT included in the control logic circuit CLC. The address is then transmitted to ADD via the address bus IBA, the address latch LA3, the address multiplexer MA and the address bus AB. When no other operation of the RAM is required, the address is released from LA3 under the control of the signal ALI and is transferred to ADD via the address multiplexer MA under the control of the selection signal MAS. CLC then supplies a control signal SIA (Serial Input Asynchronous) which opens the data latch LW and a selection signal MDS which orders the data multiplexer MD to select the bus connected to this latch LW. The data latched in LW are so released to the input/output buffer IOB of the RAM from where they are stored in the location which is indicated by the address decoder ADD as soon as the control signal RMB is activated. 3. Transfer of data from the processor PR to the memory RAM (data write; Fig. 2, part d). When the processor PR wants to write data into or read data from the memory RAM, it activates the ALE and the CS signals (Fig. 2, part c) which indicate to the device MAM that the corresponding address A is available on the address bus ABU and that the data D will be written onto or read from the memory RAM via the data bus DBU. The signal ALA is then activated by SYNC to open the address latch LA1 in order to receive and store therein the address A then present on the address bus ABU. This address A is then also immediately transferred and stored in the address latch LA2 interconnected with LA1. In this case of a data write operation, a write signal WR (Fig. 2, part d) is supplied by the processor PR. The front edge w1 of WR indicates a forthcoming write operation and orders CLC to activate the signal DA (Data Asynchrone) which opens the data latch LD1. This data latch LD1 is then ready to receive and store the data D which will be loaded on the data bus DBU by the processor PR. The read edge w2 of the signal WR indicates to the control circuit CC that the data D are now on the data bus DBU and thus also stored in the latch LD1. This latter latch LD1 is then closed by the control logic circuit CLC which de-activates the control signal DA. The data D are then also immediately transferred and stores in the data latch LD2 which is interconnected with LD1. At the next occurrence of the clock signal C4, the control signals DS (Data Synchrone) and ALS are activated by CLC and the selection signals MDS and MAS controlling the respective multiplexers MD and MA are set to select the busses DBU and ABU respectively. The data D and the address A of the RAM wherein they have to be stored are then simultaneously provided to this memory RAM, the signal RMB activated by CLC validating this write operation on the address decoder ADD. The indication UW in the signal RMB shown in part d of Fig. 2 means that the latter is activated for a write operation of the processor PR. During this write operation also the signal UPA is activated indicating to the control logic circuit CLC that a write operation of the processor PR indicated by UW in UPA is running and that possible data ouput or input operations of the line circuits LC should be delayed. Such a priority process will be described later. 4. Transfer of data from the memory RAM to the processor PR (data read; Fig. 2, part e). This operation is similar to the data write operation described above. This means that the signals ALE, CS, ALA and ABU shown in Fig. 2, part c are also considered here. Referring to Fig. 2, part e, a read signal RD is supplied to the control circuit CC by the processor PR. The front edge r1 of RD indicates a forthcoming read operation and orders CLC to activate the signal DA which opens the data latch LD1. This data latch LD1 will remain open until the end of this read operation. At the next occurrence of the clock signal C4, the control signals DS and ALS are activated by CLC to open the latches LD2 and LA2 respectively, and the selection signals MDS and MAS are set to select busses DBU and ABU respectively. Simultaneously, the signals UPA and RMB are also activated, UR in Fig. 2 indicating that these signals are activated for a read operation of the processor PR. The read address provided to ADD and valided by the control signal RMB causes the data stored in the memory RAM at that address to be transferred to the data bus DBU. Since the data latches LD2 and LD1 are open, the data are immediately transmitted to the processor PR. The signals DS, ALS, UPA and RMB are then de-activated and the processor PR acknowledges this read operation by de-activating the signal RD whose rear edge r2 causes the control signal DA to be de-activated in turn by CLC. Three examples of simultaneous access to the device MAM are shown in the Fig. 3, parts b, c and d respectively. The signals shown in these examples make reference to the above mentioned signals C4, SOS and SIS and the pulses T1, T2, T3 and T4 of the Fig. 2, parts a and b, and reproduced in the Fig. 3, part a. In a first example (Fig. 3, part b), the signal UPA is permanently de-activated meaning that no operation is required by the processor PR. The signal SOA is activated at moments corresponding to pulses t2 and t3 which occur four clock cycles before the respective pulses T2 and T3 of the signal SOS and when the clock signal C4 is low or at a logical level 0. This delay of four clock cycles is necessary in case the processor PR should require write or read access to the memory RAM. Indeed, since the processor PR has the highest access priority to the memory RAM, the operations that it requires must be executed first and the transfer of data to the data latch LR must then be delayed. This delay in the activation of the signal SOA is of one clock cycle for each operation of the processor PR. By taking into account that the data to output to the line circuits LC must be stored in the data latch LR prior to the next occurrence of the pulses T2, T3 of the signal SOS and by also taking into account the maximum number of consecutive operations that the processor PR can perform, i.e. the maximum number of clock cycles that the activation of the signal SOA can be delayed, it has been found that the delay of 4 clock cycles between the activations of the signals SOA and SOS is sufficient in practice. As mentioned above, the pulses t2 and t3 of the signal SOA indicate that the data latch LR is open and that the data to be output to the line circuits LC via the serial output link SO may be loaded therein. In the present case, the signal SOA and the simultaneously activated signal RMB indicated by SO (Serial Out) need not to be delayed because no operation is required by the processor PR. The output data are thus present in the data latch LR at the de-activation of the signals the SOA and RMB and are ready to be transferred to the PISO circuit at the next occurrence of the signal SOS, i.e. during the pulses T2, T3 which open this PISO circuit. It is to be noted that the SO operation start one half clock cycle before the pulse t2, i.e. when the clock signal C4 is high or at the logical level 1, and the signal RMB stays activated during the whole clock cycle. The signal SIA is activated at a moment corresponding to a pulse t4 to transfer to the RAM the data then present in the data latch LW. These data were previously loaded in LW during a pulse T4 of the signal SIS, i.e. when the SIPO circuit was opened. Since the input frequency SIS (1 Megabit/second) is lower than the output frequency SOS (4 Megabits/second), the pulse t4 of the signal SIA which must occur after the pulse T4 of the signal SIS and when the clock signal C4 is high has a lower priority than the pulse t3 of the signal SOA which must occur before the pulse T3 of the signal SOS and when the clock signal C4 is low. Therefore, the pulse t4 together with the corresponding activation of the signal RMB indicated by SI (Serial In) occur as soon as possible after the pulse T4 but after the pulse t3. In this example, the pulses t3 and t4 are not delayed because no operation is requested by the processor PR, the signal RMB is thus activated one half clock cycle prior to the pulse t3 and stays activated for two consecutive clock cycles corresponding respectively to the successive operations SO and SI of the line circuits LC. In a second example (Fig. 3, part c), additionally to the above data output SO and input SI operations of the line circuits LC, the processor PR requires a read operation UR at a moment o1 and a write operation UW at a moment i1. These read UR and write UW operations of the processor PR both correspond to an activation of the signal UPA for a whole clock cycle and starting when the clock signal C4 is high. In this example, the moment o1 occurs 1.5 clock cycle before the pulse t2 of the signal SOA and the moment i1 occurs immediately after the pulse t3 of the signal SOA and simultaneously with the pulse t4 of the signal SIA. As indicated by UR in the signal RMB, the read operation UR of the processor PR is executed immediately at the moment o1 and is followed by the data output operation SO of the line circuits LC described in the first example and which is not delayed because the preceding operation UR was completed when the operation SO had normally to start. Summarizing, the signal RMB is successively activated from the moment o1 for the two consecutive clock cycles corresponding to the operations UR and SO respectively. Also, the second data output operation SO corresponding to the pulse t3 is not delayed because it does not hinder the following write operation UW of the processor PR starting at the moment i1. However, because the operations of the processor PR have the highest priority, the data input operation SI of the line circuits LC simultaneously required by the pulse t4 of the signal SIA has to be delayed and processed as soon as possible after the completion of the write operation UW of the processor PR. In this case, the activation of the signal SIA is only delayed by one clock cycle so that the data input operation SI of the line circuits LC occurs at a moment corresponding to a pulse t′4 which appears one clock cycle after the pulse t4. The signal RMB is thus successively activated for three clock cycles corresponding to the respective operations SO, UW and SI. Since the next activation of the signal SIS will occur much later, the above delay of one clock cycle of the pulse t4 of the signal SIA will not affect the normal operation of the device MAM. In a third and last example (Fig. 3, part d), additionaly to the data output SO and input SI operations described in the first example, the processor PR requires two times a write operation UW immediately followed by a read operation UR. The first write operation UW starts at a moment i2 occuring an half clock cycle before the pulse t2 of the signal SOA whilst the first read operation UR starts one clock cycle later at a moment o2. Because of the priority allocated to the operations of the processor PR, the data output operation SO which had normally to start an half clock cycle before the pulse t2 will be delayed until the operations UW and UR of the processor PR are completed. In this case the delay is thus of two clock cycles and the pulse t2 of the signal SOA corresponding to the operation SO becomes t′2. The signal RMB is thus activated from the moment i2 for three consecutive clock cycles corresponding to the successive operations UW, UR and SO. It is to be noted that the operation SO although delayed by two clock cycles is completed before the pulse T2 of the signal SOS so that the data to output will be present in the data latch LR at this pulse T2. The data output operation SO to the line circuits LC is thus not hindered by the preceding operations UW and UR of the processor PR. The second write operation UW of the processor PR starts at a moment i3 which occurs an half clock cycle before the pulse t3 of the signal SOA and the second read operation UR starts at a moment o3 which occurs one clock cycle after i3 and corresponds to the pulse t4 of the signal SIA. For the above mentioned reasons, the operations SO and SI are now both delayed by two clock cycles and occur at moments corresponding to the pulses t′3 and t″4 of the signals SOA and SIA respectively. In this case, the signal RMB is activated from the moment i3 for four consecutive clock cycles corresponding to the successive operations UW, UR, SO and SI. As mentioned above and described in these three examples the highest priority is always granted to the write UW or read UR operations of the processor PR and the following priorities are successively granted to the date output operation SO and to the data input operation SI of the line circuits LC. A signal generator SG able to generate the pulses of the signals SOA and SIA by taking into account the above mentioned priorities is included in the control logic circuit CLC of Fig. 1 and is schematically represented in Fig. 4. As already mentioned, to transfer data from the RAM to the line circuits LC, the signal SOA which opens the data latch LR to store therein data coming from the RAM must be activated before the corresponding signal SOS which opens the circuit PISO and allows the data previously stored in LR to be transmitted to these line circuits LC via the circuit PISO. Therefore, a data output request signal ORQ is generated in the control logic circuit CLC in relation with the clock signal C4 and the frame signal FR and in function of a forthcoming pulse T1/T2/T3 of the signal SOS. Similarly, CLC generates a data input request signal IRQ which should activate the signal SIA in order to open the data latch LW. As also mentioned above, this signal IRQ must occur after the pulse T4 of the signal SIS which opens the circuit SIPO. Summarizing, the pulses Q1 and Q2 of the signal ORQ shown in Fig. 5 and activated by the control logic circuit CLC occur five clock cycles before the respective pulses T2 and T3 (not shown in Fig. 5) of the signal SOS. The pulses Q1 and Q2 correspond to a low state of the clock signal C4. On the other hand, the pulse Q3 of the signal IRQ also shown in Fig. 5 and activated by CLC occurs five clock cycles after the pulse T4 of the signal SIS and also when the clock signal C4 is low. In this way and according to the above mentioned bitrates of the signals SOS and SIS, the pulse Q3 occurs one clock cycle after the pulse Q2. These two pulses do thus not hinder each other and the above mentioned priority is respected. The signals ORQ and IRQ are supplied by CLC to the signal generator SG shown in Fig. 4 and which will be described hereinafter in accordance with the signals shown in Fig. 5 and appearing on respective like-named terminals of SG. The signal generator SG has a first input terminal ORQ to which the like-named data output request signal is applied and which is connected to the "Set" input of an RS flip-flop constituted by two logical NOR gates NO1 and NO2 intercoupled as shown. The output INA1 of this RS flip-flop NO1/NO2 is connected to a first input of a NAND gate NA1 whilst the signal UPA is applied to a like-named input terminal of SG which is coupled to a second input UPA of this gate NA1 via an inverter IN1. The output ONA1 of the gate NA1 is coupled to the "Reset" input R1 of the above RS flip-flop NO1/NO2 via the series connection of five inverters IN2, IN3, IN4, IN5 and IN6. The output IIN7 of the inverter IN3 is further connected to a first input of an AND gate AN1 via an inverter IN7 whilst the inverse C4 of the clock signal C4 is supplied to a second input of this gate AN1 which provides, at an output terminal SOA connected to its output, the signal SOA which controls the data latch LR. It is to be noted that the inverter IN3, IN4 and IN5 are controlled by the respective signals C4, C4 and C4. This means that a signal at the input of these inverters only appears, inverted, at its output when the corresponding control signal (C4, C4 ) is high. Then, the output signal remains unchanged as long as this control signal is low and can only be modified when this control signal becomes again high. The signal generator SG has a second input terminal IRQ to which the like-named data input request signal is applied and which is connected to the "Set" input of a second RS flip-flop comprising the NOR gates NO3 and NO4 intercoupled as shown. The output INA2 of this second RS flip-flop NO3/NO4 is connected to a first input of a second NAND gate NA2 which as a second and a third input to which the signals UPA and IIN7 are applied respectively. The output ONA2 of the gate NA2 is coupled to the "Reset" input R2 of the second RS flip-flop NO3/NO4 via the series connection of five inverters IN8, IN9, IN10, IN11 and IN12. As for IN3, IN4 and IN5, the inverters IN9, IN10 and IN11 are controlled by the respective signals C4, C4 and C4. The ouput IIN13 of the inverter IN9 is further connected to a first input of a second AND gate AN2 via an inverter IN13 whilst the clock signal C4 is applied to a second input of this gate AN2. The output of the gate AN2 is connected to an output terminal SIA on which appears the signal SIA which controls the data latch LW. The above mentioned clock signal C4 and its inverse C4 are shown in Fig. 5 and the location of the pulse T2/T4 is indicated in this signal as a reference to the Figs. 2 and 3. In Fig. 5 also the signal UPA is shown and, as an example, a write operation UW is requested by the processor PR at a moment i4 occurring four clock cycles after the pulse T2/T4 and when the clock signal C4 is high. The pulse Q1 normally causes, as will be described below, the signal SOA to be activated as represented by the pulse t2 occurring four clock cycles before the corresponding pulse T2 of the signal SOS and when the clock signal C4 is low. It is to be noted that, when the signal generator SG is at rest, the outputs of the RS flip-flops NO1/NO2 and NO3/NO4 are low or at a logical level 0, i.e. when no signal is applied to their respective "Set" inputs ORQ and IRQ. The output of these flip-flops becomes high or at a logical level 1 when the signal at their "set" input is high, and remains in that state as long as the signal applied to their "Reset" input is low. Since the signal UPA is low during the pulse Q1, its inverse UPA is high and, at the activation of the signal ORQ, the two inputs of the gate NA1 are thus high so that the output signal ONA1 which was previously high becomes low. Because R1 is still low, the signal INA1 and thus also ONA1 remain high after the de-activation of ORQ, i.e. after the pulse Q1. As a consequence, the signal IIN7 which was previously high becomes low with the clock signal C4 going to the logical level 1 and remains low when C4 goes back to the logical level 0. The pulse t2 of the data output signal SOA is then generated at the required moment, i.e. four clock cycles before the pulse T2. One clock cycle after the pulse Q1, a logical level 1 appears at the input R1 of the flip-flop NO1/NO2. The signal INA1 then becomes low and, since UPA is still high, the output ONA1 of NA1 becomes again high. Also the signal IIN7 is reset to high and the signal generator SG is again in its rest state. At the next activation of the signal ORQ, i.e. at the pulse Q2, INA1 becomes high and ONA1 becomes low. At that moment, IIN7 remains high because the clock signal C4 is low. After the pulse Q2 and due to the activation UW of the signal UPA, the signal ONA1 becomes high. As a result, the signal IIN7 remains high and the signal SOA is not activated at the occurrence of the pulse t3 as expected. When the signal UPA returns to the low level, INA1 is still high because the logical level 1 has not been supplied to the terminal R1. OAN1 then becomes low and, because C4 is high, IIN7 becomes low for one clock cycle. A pulse t″3 of the signal SOA appears thus one clock cycle after the expected pulse t3 of this signal. As required, the operation UW of the processor PR is thus executed before the data output operation to the line circuits LC. The pulse Q3 of the signal IRQ causes the signal INA2 to become high and to stay in that state until a logical level 1 is supplied to the terminal R2 of the flip-flop NO3/NO4. due to the signal UPA which is then low, the signal ONA2 remains high and the same is true for the signal IIN13. After the pulse Q3, UPA becomes high but IIN7 becomes low so that ONA2 and thus also IIN13 remain high and that the signal SIA can not be activated at the expected moment corresponding to the pulse t4. A clock cycle after the pulse Q3, the signals IIN7, UPA and INA2 are all three at the logical level 1 so that the signal ONA2 then becomes low. Because the clock signal C4 is then high, the signal IIN13 becomes low and stays in that state for one clock cycle. Simultaneously, the signal SIA is activated for one half clock cycle. This produces the pulse t′4 which appears one clock cycle after the expected pulse t4 of the signal SIA. As mentioned above, this delay of one clock cycle is due to the operation UW of the processor PR. Because of the succession of the pulses UW, t″3 and T′4 of the respective signals UPA, SOA and SIA, the priorities of the operations of the device MAM are respected. Two clock cycles after the pulse Q3 of the signal IRQ, a logical level 1 appears on the terminal R2 of the flip-flop NO3/NO4 whose output signal INA2 is then reset to a logical level 0. The signal generator SG is then back in its rest status. While the principles of the invention have been described above in connection with specific apparatus, it is to be clearly understood that this description is made only by way of example and not as a limitation on the scope of the invention.

Claims: Multi-access device (MAM) including a common data resource (RAM) to which a first station (PR) and at least one second station (LC) are coupled for the transmission of data, characterized in that said multi-access device (MAM) further includes : a data buffer circuit (LR; LW); a first data transmission circuit (DB, MD, LD2, LD1, DBU) coupling said common data resource and said first station (PR); a second data transmission circuit (DB, MD) coupling said common data resource and said data buffer circuit; a third data transmission circuit (PISO, SO; SI, SIPO) coupling said data buffer circuit and said second station (LC) and used for the transmission of data thereon at predetermined instants (T1, T2, T3; T4); first requesting means (PR) to request for the use of said first data transmission circuit for the transmission of data thereon; second requesting means (RQ) to request for the use of said second data transmission circuit for the transmission of data thereon; and a priority circuit (CLC, SG) to which said first and second requesting means are coupled and which grants priority to requests of said first requesting means over requests of said second requesting means, in that said first and second data transmission circuits are coupled to said common data resource via multiplexing means (MD) and common data access means (DB), and in that, for transferring data from said common data resource to said second station, said second requesting means perform a request (Q1, Q2) a predetermined number of cycles of a clock signal (C4) in advance of a forthcoming one of said predetermined instants, said predetermined number of clock cycles being sufficient for said priority circuit to grant said request of said second requesting means before granting a request of said first requesting means. Multi-access device (MAM) according to claim 1, characterized in that, for transferring data from said second station (LC) to said common data resource (RAM), said second requesting means (RQ) perform a request (Q3) a second predetermined number of said clock cycles after one of said predetermined instants (T4). Multi-access device (MAM) according to claim 1 or 2, characterized in that a plurality of said second station (LC) are coupled to said common data resource (RAM) each via a said second data transmission circuit (DB, MD), a said data buffer circuit (LR; LW) and a said third data transmission circuits (PISO, SO; SI, SIPO), and in that said second requesting means (RQ) are able to request for the use of each of said second data transmission circuits. Multi-access device (MAM) according to claim 3, characterized in that said predetermined instants (T1, T2, T3; T4) have constant frequencies (SOS; SIS) which are distinct for each of said second data transmission circuits (DB, MD). Multi-access device (MAM) according to claim 4, characterized in that said priority circuit (CLC, SG) grants the highest priority to the requests of said first requesting means (PR) and the following priorities to the requests of said second requesting means (RQ) in decreasing order of said frequencies (SOS; SIS) at which data are transmitted on said second data transmission circuits (DB, MD). Multi-access device (MAM) according to claim 4, characterized in that the requests of said first requesting means (PR) occur at random instants (o1, o2, o3; i1, i2, i3, i4), whilst the requests of said second requesting means (RQ) occur at instants having constant frequencies (ORQ; IRQ) identical to said constant frequencies (SOS; SIS) of said predetermined instants (T1, T2, T3; T4) of said second data transmission circuits (DB, MD). Multi-access device (MAM) according to claim 3, characterized in that it further includes : first address generation means (PR) to provide to said common data resource (RAM) the address therein of the location of data transmitted on said first data transmission circuit (DB, MD, LD2, LD1, DBU); a plurality of second address generation means (CT) to provide to said common data resource the addresses therein of the locations of data transmitted on said second data transmission circuits (DB, MD); an address buffer circuit (LA3); a first address transmission circuit (ABU, LA1, LA2, MA, AB) coupling said first address generation means and said common data resource; a second address transmission circuit (IBA) coupling said plurality of second address generation means and said address buffer circuit; and a third address transmission circuit (MA, AB) coupling said address buffer circuit and said common data resource; and in that said first address transmission circuit is used simultaneously with said first data transmission circuit, whilst said third address transmission circuit is used simultaneously with said second data transmission circuit. Multi-access device (MAM) according to claim 7, characterized in that the address provided by one of said second address generation means (CT) is stored in said address buffer circuit (LA3) prior to the next occurrence of one of said predetermined instants (T1, T2, T3; T4) of the corresponding one of said second data transmission circuits (DB, MD). Multi-access device (MAM) according to claim 7, characterized in that the data transmitted via one of said second data transmission circuits (DB, MD) are located in said common data resource (RAM) at locations having successive addresses and in that the corresponding one of said second address generation means (CT) includes a counter to provide the next successive address of these data to said common data resource via said second (IBA) and third (MA, AB) address transmission circuits. Multi-access device (MAM) according to the claims 1 and 2, characterized in that a first part (DB, MD) of said second data transmission circuit (DB, MD), a first part (LR) of said data buffer circuit (LR; LW) and a first part (PISO, SO) of said third data transmission circuit (PISO, SO; SI, SIPO) are used for the transmission of data from said common data resource (RAM) to said second station (LC), whilst a second part (DB, MD) of said second data transmission circuit, a second part (LW) of said data buffer circuit and a second part (SI, SIPO) of said third data transmission circuit are used for the transmission of data from said second station to said common data resource. Multi-access device (MAM) according to claim 1, characterized in that said common data resource (RAM) is constituted by a Random-Access-Memory.

Inventors: HASPESLAGH DIDIER RENE, RABAEY DIRK HERMAN LUTGARDIS C, HASPESLAGH, DIDIER RENE, RABAEY, DIRK HERMAN LUTGARDIS CORNELIUS, Haspeslagh, Didier René
Applicants: ALCATEL NV, BELL TELEPHONE MFG, ALCATEL N.V., BELL TELEPHONE MANUFACTURING COMPANY NAAMLOZE VENNOOTSCHAP
Application year: 1988
Main classification: G06F13
IPC codes: G06F13, G06F12, H04Q11