WO2010035698A1 - Adjusting circuit, adjusting method used in the adjusting circuit, semiconductor circuit having the adjusting circuit, and digital system - Google Patents

Adjusting circuit, adjusting method used in the adjusting circuit, semiconductor circuit having the adjusting circuit, and digital system Download PDF

Info

Publication number
WO2010035698A1
WO2010035698A1 PCT/JP2009/066308 JP2009066308W WO2010035698A1 WO 2010035698 A1 WO2010035698 A1 WO 2010035698A1 JP 2009066308 W JP2009066308 W JP 2009066308W WO 2010035698 A1 WO2010035698 A1 WO 2010035698A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
output
side device
arbitration
request
Prior art date
Application number
PCT/JP2009/066308
Other languages
French (fr)
Japanese (ja)
Inventor
克典 田中
Original Assignee
日本電気株式会社
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 日本電気株式会社 filed Critical 日本電気株式会社
Priority to JP2010530828A priority Critical patent/JPWO2010035698A1/en
Publication of WO2010035698A1 publication Critical patent/WO2010035698A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • G06F13/364Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control using independent requests or grants, e.g. using separated request and grant lines

Definitions

  • the present invention relates to an arbitration circuit, an arbitration method used in the arbitration circuit, a semiconductor circuit provided with the arbitration circuit, and a digital system, and more particularly, to one slave-side device shared by a plurality of master-side devices.
  • FIG. 13 is a configuration diagram illustrating an example of a digital integrated circuit.
  • cores 11,..., 11 and an inter-core connection circuit 12 are provided.
  • the cores 11,..., 11 are composed of cores (0),..., Core (m-1), cores (m),..., Core (n-1), and clock signals CLK0,. -1), and clock signals CLKm,..., CLK (n-1) are supplied.
  • the inter-core connection circuit 12 is configured by a bus or the like. Data communication is performed via the inter-core connection circuit 12 between the core (0),..., The core (m ⁇ 1) and the core (m),.
  • the inter-core connection circuit 12 has been conventionally designed as a synchronous logic circuit that drives an internal element in synchronization with a rising or falling transition (clock edge) of a clock signal.
  • a global asynchronous / locally synchronous (GALS) system in which the inter-core connection circuit is configured as an asynchronous logic circuit is used.
  • GALS global asynchronous / locally synchronous
  • Integrated circuit design is gaining attention.
  • a handshake signal is used instead of a clock signal to control a storage element in the circuit.
  • a configuration in which a combinational circuit is arranged between flip-flops is the same as that of a synchronous logic circuit, but signals for controlling storage of flip-flops are different.
  • a clock signal supplied from the outside is used as a storage control signal for the flip-flop, and on the assumption that the signals are attached to all the flip-flops, A portion composed of a combinational circuit is designed, and a clock signal distribution circuit designed so that signals are attached to all flip-flops is provided.
  • a storage control circuit is provided to generate a storage control signal for the flip-flop, and by transmitting and receiving a pair of handshake signals (request signal and notification signal) between the storage control circuits, The storage timing of the flip-flop is controlled.
  • the request signal is a signal requesting preparation and data storage for the next data
  • the notification signal is a signal notifying completion of data storage.
  • FIG. 14 is a block diagram showing an example of an asynchronous logic circuit
  • FIG. 15 is a waveform diagram of each part for explaining the operation of the asynchronous logic circuit of FIG.
  • the asynchronous logic circuit includes flip-flops (FF) 20, 21, and 22 and latch control circuits (LC) 30, 31, and 32.
  • the operations shown in 0) to 7) are performed as shown in FIG. 0)
  • the data d0 is stored in the FF 21 by the rising transition of the storage control signal L1.
  • the storage control signal L1 is shifted to “0” to cause the FF 21 to prepare for the next data
  • data d1 is also transmitted in the same procedure as 2) to 5). In FIG. 15, each signal periodically changes, but the asynchronous logic circuit operates in accordance with the procedure even if a delay occurs in any one of 1) to 7).
  • the clock distribution range can be limited to a small size because it is not necessary to synchronize clocks between different functional blocks.
  • the clock frequency of each functional block can be set freely and dynamically, the clock frequency can be reduced to the minimum necessary for the functional block to realize a predetermined operation.
  • the circuit delay can be increased, so that the power supply voltage can be lowered.
  • the power consumption is proportional to the product of the square of the power supply voltage and the clock frequency, the power consumption of the integrated circuit can be greatly reduced by making the inter-core connection circuit between the functional blocks asynchronous. .
  • the drive timing of the synchronous core can be dispersed in time, it is possible to reduce power consumption and electromagnetic wave radiation.
  • the inter-core connection circuit Since the synchronous core is driven by the rising or falling transition (clock edge) of the clock signal, there is a large current change immediately after the clock edge.
  • an asynchronous logic circuit is used as the inter-core connection circuit, the drive timing differs for each core, so that the current in the entire integrated circuit is leveled. As a result, electromagnetic radiation induced by maximum power consumption and current change is reduced.
  • a core that requests data communication is called a “master”, and a core that operates in response to a request from the master is called a “slave”.
  • arbitration is performed between the masters so that these requests arrive at the slaves sequentially. A circuit is required.
  • Non-Patent Document 1 there is an arbitration circuit described in Non-Patent Document 1, for example.
  • This arbitration circuit is used in an asynchronous inter-core connection circuit.
  • the C elements 45 and 46 are Muller (Muller) C elements. When the two input signals have the same value, the outputs are changed and the two input signals have different values. It operates to maintain the logic level of the output signal in the previous state.
  • the output signal Y is “0”, and when the input signal (A, B) is (1, 1), the output signal Y is “1”. "When the input signal (A, B) changes to (0, 1) or (1, 0), the previous value of the output signal Y is maintained. For example, when the input signal (A, B) is (0, 0) and the output signal Y is “0”, even if the input signal (A, B) changes to (1, 0), the output signal Y is “ 0 "is maintained. When the input signal (A, B) changes to (1, 1), the output signal Y changes to “1”, and when the input signal (A, B) returns to (1, 0), the output signal The signal Y remains “1”.
  • a request input signal Ri0 and a notification output signal Ai0 three pairs of a request input signal Ri0 and a notification output signal Ai0, a request input signal Ri1 and a notification output signal Ai1, and a request output signal Ro and a notification input signal Ao are a pair of input / output signals of a handshake signal. It has become. Further, since the data signal is in parallel with the flow of the request signal, the pair of the request input signal Ri0 and the notification output signal Ai0 is set to “0th input” of the arbitration circuit, the request input signal Ri1, and the notification output signal in accordance with the request signal. The pair of Ai1 is called “first input” of the arbitration circuit, and the pair of the request output signal Ro and the notification input signal Ao is called “output” of the arbitration circuit.
  • the four states of the handshake signal are respectively a state in which (Rx, Ax) is (0, 0) in a first phase state, a state in which (Rx, Ax) is (1, 0) in a second phase state, A state in which (Rx, Ax) is (1, 1) is referred to as a third phase state, and a state in which (Rx, Ax) is (0, 1) is referred to as a fourth phase state.
  • a handshake protocol with four phases as one transmission cycle is called a four-phase protocol.
  • the handshake protocol is treated as a four-phase method.
  • the mutual exclusion circuit 41 receives the request input signals Ri0 and Ri1 and outputs the mutual exclusive output usage right signals GE0 and GE1. In this case, when the request input signal (Ri0, Ri1) is (0, 0), the mutual exclusion circuit 41 uses (0, 0) as the mutual exclusion output right signal (GE0, GE1) and the request input signal (Ri0, Ri1).
  • both the request input signals Ri0 and Ri1 change simultaneously from “0” to “1”, and the request input signal (Ri0, Ri1) changes directly from (0,0) to (1,1). Even in such a case, either (1, 0) or (0, 1) is output as the mutual exclusive output use right signal (GE0, GE1).
  • the mutual exclusive output usage right signal (GE0, GE1) of the mutual exclusive circuit 41 is (1, 0)
  • the mutual exclusive circuit 41 gives the right to use the output to the 0th input
  • the exclusive output usage right signal (GE0, GE1) is (0, 1)
  • the mutual exclusion circuit 41 is giving the right to use the output to the first input.
  • arbitration circuit output usage right signal (G0, G1) of this arbitration circuit is (1, 0)
  • the arbitration circuit gives the right to use the output to the 0th input, and the arbitration circuit output is used.
  • the arbitration circuit is giving the right to use the output to the first input.
  • the mutual exclusion circuit 41 uses (1) as the mutual exclusive output use right signal (GE0, GE1). , 0) is output, and the right to use is given to the 0th input (phase C).
  • the arbitration circuit grants the right to use the 0th input (phase D).
  • the request input signal Ri1 is maintained at “1”.
  • the notification output signal is changed to set the notification output signal Ai0 to “1” or the notification output signal Ai1 to “1”.
  • the arbitration circuit output use right signal (G0, G1) is (1, 0)
  • the handshake of the 0th input of the arbitration circuit is the third.
  • a phase state is reached (phase G).
  • the notification output signal Ai1 is maintained at “0” by the C element 46, and the handshake of the first input remains in the second phase state.
  • the arbitration circuit output usage right signal G1 becomes “1”, and the usage right of the output of the arbitration circuit is the first input.
  • the OR element 44 sets the request output signal Ro to “1”, and the handshake of the output of the arbitration circuit enters the second phase state (phase P).
  • the request input signals (Ri0, Ri1) are (0, 0), so that the initial state is restored.
  • the arbitration circuit of FIG. 16 has the following problems. That is, as a function required for the arbitration circuit, there is a burst transmission function in which a plurality of data transmissions are continuously performed.
  • the handshake of the input on the first arrival side of the request input signals Ri0 and Ri1 is completed.
  • the mutual exclusive circuit 41 has given the right to use the output given to the input on the first arrival side to the other input.
  • the right to use the output cannot be given to the input on the first arrival side.
  • this arbitration circuit when one or both of the request input signals Ri0 and Ri1 for starting the handshake arrive continuously, the handshake transmitted from one input side is processed preferentially and continuously. In other words, burst transmission cannot be realized.
  • This arbitration circuit is a circuit used with a data encoding method called a two-wire system.
  • the two-wire system is a configuration system of an asynchronous logic circuit that encodes a request signal with two signals of a handshake signal together with a data signal.
  • the 1-bit data signal d and the request signal Req are encoded into a signal pair (D0, D1) as follows.
  • both signals are used so that the storage control signal generated by arrival of the request signal at the storage control circuit arrives at the latch after the data signal arrives at the latch.
  • the request signal is generated by taking the logical sum of the signal D0 and the signal D1 after the arrival of the signal D0 and the signal D1. Therefore, there is an advantage that it is not necessary to adjust the signal line delay between the signal D0 and the signal D1.
  • FIG. 18 is a configuration diagram of a main part of the arbitration circuit described in Non-Patent Document 2.
  • the arbitration circuit includes a pipeline latch 51, an OR element 52, SR latches 53 and 54, a mutual exclusion circuit (MutEx) 55, inverter and AND elements 56 and 57, It consists of a pipeline latch 58 and an OR element 59.
  • MotEx mutual exclusion circuit
  • a burst termination input signal BEi is input in addition to the data code input signal Di in order to realize the function of holding the arbitration result during burst transmission.
  • the burst termination input signal BEi is transmitted together with the request signal in the same manner as the data signal. Therefore, if the data code input signal Di is (Di0, Di1), the data and the burst end are encoded as follows.
  • Valid data 0 ⁇ (Di0, Di1, BEi) (1, 0, 0)
  • Valid data 1 ⁇ (Di0, Di1, BEi) (0, 1, 0)
  • Burst end ⁇ (Di0, Di1, BEi) (0, 0, 1)
  • Spacer ⁇ (Di0, Di1, BEi) (0, 0, 0)
  • the pipeline latch 51 is composed of a predetermined number of C elements, and when the notification signal Ai0 is “1”, when the spacer is input, the code data is passed, while when the valid data is input. The code data is cut off. Further, when the notification signal Ai0 is “0”, the pipeline latch 51 allows the code data to pass when valid data is input, and blocks the code data when a spacer is input. .
  • the pipeline latch 58 is composed of a predetermined number of C elements, and when the notification signal Ao sent from the next stage is “1”, when the spacer is inputted, the code data is passed. When valid data is input, the code data is blocked. In addition, when the notification signal Ao is “0”, the pipeline latch 51 passes the code data when valid data is input, and blocks the code data when a spacer is input. .
  • the basic arbitration operation is the same as that of the arbitration circuit of FIG. 16, the mutual exclusion circuit 41 in FIG. 16 and the mutual exclusion circuit 55 in FIG. Also, the inverter and AND elements 42 and 43 in FIG. 16 for detecting the completion of handshake and the inverter and AND elements 56 and 57 in FIG. 18 have the same role.
  • SR latches 53 and 54 are added as compared with the arbitration circuit of FIG. In the initial state, spacers are stored in the pipeline latches 51 and 58.
  • the request input signal R0 of the mutual exclusion circuit 55 is maintained at "1", so that the burst termination is transmitted to the pipeline latch 58.
  • the right to use the output of the arbitration circuit does not transfer to the 1st input side.
  • the burst end output signal BEo becomes “1”
  • the input (S, R) becomes (0, 1)
  • the output signal Q becomes “0”.
  • the right to use is released to the output of the arbitration circuit obtained by the 0th input side.
  • the arbitration circuit described in Non-Patent Document 2 has the following problems. That is, in the 1-wire system, the number of signal lines necessary for realizing the asynchronous logic circuit is a value obtained by adding 1 to the number of data bits, whereas in the 2-wire system, it is necessary for realizing the asynchronous logic circuit. There is a problem that the number of signal lines becomes twice the number of bits of data and the circuit scale becomes large.
  • the arbitration circuit of FIG. 18 solves the problem of the arbitration circuit of FIG. 16 in that it has a burst transmission function, but has a problem that the circuit scale is large because it includes a latch inside.
  • the SR latch 53 that holds the arbitration result has both the request signal Ri0 generated from the code stored in the pipeline latch 51 and the burst termination output signal BEo stored in the pipeline latch 58. This is because the two-stage pipeline latches 51 and 53 are required.
  • the 2-wire asynchronous logic circuit with burst transmission function transmits valid data codes and spacers alternately, and maintains the spacers even if data transmission is temporarily stopped due to congestion on the transmission path. It is designed on the assumption that This is because the operations of the latches of adjacent stages on the pipeline are strongly linked to each other. However, since the spacer is not a code indicating valid data, it may disappear when the data transmission is temporarily stopped. Therefore, the spacer is adjacent as in “Fully Decoupled Protocol” described in Non-Patent Document 3. There are protocols that isolate the operation of the stage latch as much as possible. However, in the arbitration circuit of FIG.
  • the present invention has been made in view of the above-described circumstances, has an burst transmission function, and has no restriction on applicable handshake protocols, an arbitration method used in the arbitration circuit, and the arbitration circuit
  • An object of the present invention is to provide a semiconductor circuit and a digital system provided with the above.
  • the first configuration of the present invention is configured such that a request signal for making an operation request from each master device is sent to one slave device shared by a plurality of master devices.
  • an arbitration circuit that arbitrates between conflicts occurring between the request signals, and the slave side device completes the operation in response to the request signals of the master side devices.
  • Each master device receives the notification signal from the slave device via the arbitration circuit and outputs the request signal corresponding to the notification signal.
  • an arbitration result holding signal for instructing the arbitration circuit to hold the arbitration result is output in parallel with the request signal.
  • the arbitration circuit detects the earliest request signal from the request signals output from the master side devices almost simultaneously, and gives priority to the master side device that has output the request signal.
  • the notification signal output from the slave side device is sent to the master side device, and the arbitration result holding signal output from the master side device is in an active mode, and the master side device
  • the arbitration result is held when the arbitration result is held in the non-active mode and the notification signal output from the slave side device indicates the completion of the operation.
  • An arbitration result holding means for releasing the result is provided.
  • a request signal for performing an operation request from each master side device is output almost simultaneously to one slave side device shared by a plurality of master side devices
  • an arbitration method used in an arbitration circuit that arbitrates between conflicts that occur between request signals, in order to notify the slave side device of the completion of operation in response to the request signal of each master side device
  • the notification signal is input from the slave side device via the arbitration circuit, and the request signal is output in response to the notification signal
  • a configuration in which an arbitration result holding signal for instructing the arbitration circuit to hold an arbitration result is output in parallel with the request signal when an operation request is continuously made to the slave device.
  • the arbitration circuit detects the earliest request signal among the request signals output from the master side devices almost simultaneously, and gives priority to the master side device that has output the request signal.
  • the notification signal output from the slave side device is sent to the master side device, and the arbitration result holding signal output from the master side device is in an active mode, and the master side device has priority.
  • the arbitration result is held when given, and when the arbitration result holding signal is in an inactive mode and the notification signal output from the slave side device indicates the completion of the operation, the arbitration result is released. It is characterized by doing.
  • the arbitration result holding unit holds the arbitration result.
  • the arbitration result holding signal is in the non-active mode and the notification signal output from the slave side device indicates the completion of the operation, the arbitration result is released by the arbitration result holding means.
  • the arbitration result holding signal and the request signal input to the arbitration result holding means are sent in parallel from the same master side device, a plurality of master side devices and slave side devices have different handshake protocols. This arbitration circuit can perform arbitration smoothly even if it follows.
  • FIG. 6 is a flowchart illustrating functions of arbitration result holding modules 61 and 63 in FIG. 1. It is a flowchart explaining the function of the mutual exclusion module 62 in FIG. It is a flowchart explaining the function of the handshake completion detection modules 65 and 66 in FIG. It is a flowchart explaining the function of the request signal generation module 68 in FIG. It is a flowchart explaining the function of the notification signal generation modules 64 and 67 in FIG. It is a circuit diagram which shows the electrical structure inside each block for implement
  • FIG. 15 is a waveform diagram of each part for explaining the operation of the asynchronous logic circuit of FIG. 14. It is a block diagram of the principal part of the arbitration circuit described in the nonpatent literature 1.
  • FIG. 17 is a waveform diagram of each part for explaining the operation of the arbitration circuit of FIG. 10 is a configuration diagram of a main part of an arbitration circuit described in Non-Patent Document 2.
  • Arbitration circuit output right-of-use signal for preferentially granting the right of use to the master-side device that outputs the request signal from the request signals that are output almost simultaneously from each master-side device.
  • the notification signal output from the slave side device is sent to the master side device, and the arbitration result holding signal output from the master side device is in the active mode, and the arbitration circuit output use right Holds the arbitration result when the signal is in the active mode, while holding the arbitration result when the arbitration result holding signal is in the non-active mode and the notification signal output from the slave side device indicates the completion of the operation.
  • An arbitration circuit is provided in which means are provided.
  • the arbitration circuit detects the earliest request signal from the request signals output almost simultaneously from the master side devices, and gives priority to use of the request signal.
  • the arbitration result holding means is configured to send a request signal output from the master device to the mutual exclusion means when the arbitration result is in an open state. ing.
  • the arbitration circuit is preferentially given a right to use the first-arrival request signal detected by the mutual exclusion means, and outputs a master side other than the master side device that outputs the request signal.
  • the apparatus has handshake completion detection means for passing the first-arrival request signal and outputting it as the arbitration circuit output use right signal.
  • the arbitration circuit has request signal generation means for sending the arbitration circuit output use right signal output from the handshake completion detection means to the slave side device as the request signal.
  • the arbitration circuit waits for the arbitration circuit output use right signal and the notification signal output from the slave side device, thereby sending the notification signal to the master side device to which priority is given. It has a notification signal generating means for sending out.
  • the arbitration result holding means receives the arbitration circuit output use right signal and the arbitration result holding signal and waits for a negative signal of the notification signal sent from the notification signal generating means, A three-input asymmetric C element that outputs an exclusion request signal for holding the arbitration result, and an OR element that sends the exclusion request signal and the request signal output from the master side device to the mutual exclusion means It is configured.
  • the three-input asymmetric C element sets the exclusion request signal to the non-active mode when the arbitration result holding signal is in the non-active mode and the negative signal of the notification signal is in the non-active mode.
  • the arbitration circuit output usage right signal is in the active mode and the arbitration result holding signal is in the active mode
  • the exclusion request signal is set to the active mode, and the arbitration circuit output usage right signal, the arbitration result holding signal, and the negative signal of the notification signal are other
  • the above-described exclusion request signal is held in the previous state when transitioning to this state.
  • the three-input asymmetric C element includes a first AND element that performs a logical product of the arbitration circuit output use right signal and the arbitration result holding signal and outputs a first output signal; A second AND element that outputs a second output signal by ANDing the arbitration result holding signal and the feedback signal of the exclusion request signal, a negative signal of the notification signal, and a feedback signal of the exclusion request signal
  • the exclusive request is obtained by performing a logical sum of a third AND element that takes a logical product and outputs a third output signal, and the first output signal, the second output signal, and the third output signal.
  • a first OR element that outputs a signal.
  • the mutual exclusion means when two arbitration result holding means are provided, the mutual exclusion means includes two NAND elements that are connected to each other, and the OR element of each of the arbitration result holding means.
  • Each of the exclusive request signal and the request signal to be sent out is composed of a two-input NAND latch, and an illegal signal propagation prevention circuit for preventing propagation when the output signal of each NAND element is illegal.
  • the illegal signal propagation prevention circuit is composed of a multiple-input logic circuit that performs a negative operation on the output signal of each NAND element.
  • the handshake completion detection means performs a negative operation on the notification signal input to a master side device other than the master side device that has output the first-arrival request signal, thereby inverting the notification signal.
  • An AND element that outputs the arbitration circuit output usage right signal by ANDing the first-come-first-request signal, the inversion notification signal, and the usage right signal output from the mutual exclusion means; It is composed of
  • the request signal generating means is composed of an OR element that takes the logical sum of the arbitration circuit output use right signal output from the handshake completion detection means and outputs the logical sum.
  • the notification signal generation means inputs the arbitration circuit output use right signal and waits for the notification signal output from the slave side device, thereby giving priority to the master side. It consists of a two-input symmetric C element that sends the notification signal to the device.
  • the two-input symmetric C element is sent to the master side device when the arbitration circuit output use right signal is in the non-active mode and the notification signal output from the slave side device is in the non-active mode.
  • the notification signal to be sent to the master side device is activated when the arbitration circuit output use right signal is in the active mode and the notification signal output from the slave side device is in the active mode.
  • Mode and the notification signal to be sent to the master device when the arbitration circuit output usage right signal and the notification signal output from the slave device transition to another state are held in the previous state. ing.
  • the two-input symmetric C element outputs a fourth output signal by performing a logical product of the arbitration circuit output use right signal and the feedback signal of the notification signal sent to the master side device.
  • a fourth AND element that performs a logical product of the arbitration circuit output use right signal and the notification signal output from the slave side device, and outputs a fifth output signal; and
  • a sixth AND element that outputs a sixth output signal by ANDing the notification signal output from the slave side device and the feedback signal of the notification signal sent to the master side device; , The fifth output signal, and the sixth output signal, and a second OR element that outputs the notification signal sent to the master side device.
  • FIG. 1 is a block diagram showing the electrical configuration of the main part of the arbitration circuit according to the first embodiment of the present invention.
  • a request signal for making an operation request from each of the master side devices to one slave side device shared by a plurality of (for example, two) master side devices (not shown) When they are output at the same time, arbitration is performed for contention occurring between the request signals.
  • the slave side device responds to the request signals (request input signals Ri0, Ri1) of each master side device as shown in FIG. 1 based on a predetermined handshake protocol.
  • a notification signal (notification input signal Ao) for notifying completion of operation is output.
  • Each master side device inputs a notification signal (notification input signal Ao) from the slave side device as notification output signals Ai0 and Ai1 via the arbitration circuit 60, and based on a predetermined handshake protocol.
  • the request signals (request input signals Ri0, Ri1) are output in response to the notification signals (notification output signals Ai0, Ai1) and continuous operation requests are made to the slave side device, the arbitration is performed.
  • Arbitration result holding signals Li0 and Li1 for instructing the circuit 60 to hold the arbitration result are output in parallel with the request signals (request input signals Ri0 and Ri1).
  • the arbitration circuit 60 detects the first request signal from the request signals (request input signals Ri0, Ri1) that are output almost simultaneously from the master side devices, and sends the request signal to the master side device that has output the request signals. In addition to giving priority, a notification signal (notification input signal Ao) output from the slave side device is sent to the master side device. Further, the arbitration circuit 60, in this embodiment, particularly when the arbitration result holding signals Li0 and Li1 output from the master side device are in the active mode and the master side device is given priority. While holding the result, when the arbitration result holding signals Li0 and Li1 are in the non-active mode and the notification signal (notification input signal Ao) output from the slave side device indicates the operation completion of the slave side device, Release arbitration results.
  • the arbitration circuit 60 inputs and outputs a master-side signal set including request input signals Ri0 and Ri1, notification output signals Ai0 and Ai1, and arbitration result holding signals Li0 and Li1, and also outputs a request output signal.
  • the slave side signal set composed of Ro and the notification input signal Ao is input / output, and arbitration circuit output use right signals G0 and G1 are output.
  • the arbitration circuit 60 includes an arbitration result holding module 61, a mutual exclusion module 62, an arbitration result holding module 63, a notification signal generation module (M) 64, and a handshake (HS) completion detection module.
  • the arbitration result holding modules 61 and 63 are arbitration circuit output usage right signals G0 and G1 for request input signals Ri0 and Ri1, notification output signals Ai0 and Ai1, arbitration result holding signals Li0 and Li1, and handshaking in the master side signal set. It has the following functions. That is, the arbitration result holding modules 61 and 63 output exclusion request signals LE0 and LE1 for requesting the right to use the mutual exclusion module 62 when the handshake of the master-side signal set transits to the second phase.
  • the mutual exclusion module 62 When the mutual exclusion module 62 outputs the exclusive request signals LE0 and LE1 for requesting the right to use the output of the mutual exclusion module 62 from the arbitration result holding modules 61 and 63, the mutual exclusion module 62 receives the request first.
  • use right signals (mutual exclusion module output use right signals GE0, GE1) for giving the use right preferentially are output and maintained until a release request is made.
  • the handshake completion detection modules 65 and 66 are preferentially given the right to use the first request input signal detected by the mutual exclusion module 62, and the master side other than the master side device that has output the request input signal.
  • the first-arrival request input signal is passed and output as the arbitration circuit output use right signals G0 and G1.
  • the handshake completion detection modules 65 and 66 allow one of the request input signals Ri0 and Ri1 to pass when the handshake with the other master side signal set is completed, Block while handshake is incomplete.
  • the passed signals of the request input signals Ri0 and Ri1 are output as arbitration circuit output usage right signals G0 and G1 indicating the status of the usage right of the output of the arbitration circuit 60.
  • the request signal generation module 68 joins the arbitration circuit output usage right signals G0 and G1 output from the handshake completion detection modules 65 and 66, and sends them to the slave side device as the request output signal Ro.
  • the notification signal generation modules 64 and 67 pass the notification input signal Ao input from the slave side device if the right to use the output of the arbitration circuit 60 is given based on the arbitration circuit output usage right signals G0 and G1. On the other hand, if the right to use the output of the tuning stop circuit 60 is not given, the notification input signal Ao is cut off.
  • the notification signal generation modules 64 and 67 wait for the arbitration circuit output usage right signals G0 and G1 and the notification input signal Ao output from the slave side device, and thereby synchronize with the master side device to which priority is given. Notification input signal Ao is transmitted as notification output signals Ai0 and Ai1.
  • FIG. 2 is a flowchart for explaining the functions of the arbitration result holding modules 61 and 63 in FIG. 1
  • FIG. 3 is a flowchart for explaining the functions of the mutual exclusion module 62 in FIG. 1
  • FIG. 4 is a hand in
  • FIG. 5 is a flowchart for explaining the functions of the shake completion detection modules 65 and 66
  • FIG. 5 is a flowchart for explaining the functions of the request signal generation module 68 in FIG. 1
  • FIG. 6 is a notification signal generation module 64 in FIG. 67 is a flowchart for explaining a function 67.
  • the function of the arbitration circuit 60 in FIG. 1 will be described with reference to these drawings.
  • the arbitration result holding signal (Li0, Li1) means designation of arbitration result non-holding (0, 0)
  • the arbitration circuit output use right signal (G0, G1) is in both master side signal sets. It is assumed that (0, 0) means that no usage right is given to the handshake.
  • R0, R1 is (0, 0)
  • the mutual exclusion module 62 means that the right to use the output is not given to either of the handshaking via the arbitration result holding modules 61, 63.
  • the exclusive module output usage right signal (GE0, GE1) is (0, 0).
  • the arbitration result holding modules 61 and 63 receive (1, 1) as exclusive request signals (LE0, LE1) for requesting the mutual exclusive module 62 to use the output of the module 62. ) Is output (step A3 in FIG. 2).
  • the request input signal Ri0 sent from the master device on the 0th side becomes “1” (“Y” in step C2 in FIG. 4), and the right to use the output of the mutual exclusion module 62 And the mutual exclusive module output usage right signal GE0 becomes “1” (“Y” in step C3 in FIG. 4), and the handshake with the first master side signal set is completed and the first
  • the notification output signal Ai1 which means that it has returned to the phase is “0” (“Y” in step C4 in FIG. 4)
  • the arbitration circuit output use right is assigned to the master side signal set of the 0th side.
  • the mutual exclusive module output usage right signal GE1 becomes “1” (“Y” in step C3 in FIG. 4), and the notification output signal Ai0 to the master device on the 0th side is the 1st side.
  • the arbitration circuit output usage right signal G0 is “0” (“N” in step E3 in FIG. 6)
  • the notification output signal Ai0 output to the master device on the 0th side is “0”. Will remain.
  • the notification signal generating module 67 outputs the notification output signal.
  • the arbitration circuit output usage right signal (G0, G1) is one of (1, 0) or (0, 1)
  • the handshake in the master side signal set is in the third phase, the handshake in the other master side signal set remains in the first phase or the second phase. Since the master side apparatus needs to follow the handshake procedure, when the notification output signal Ai0 is “1”, the request input signal Ri0 is “0”, while the notification output signal Ai1 is “1”. In the case of "", the request input signal Ri1 is "0".
  • the arbitration circuit output usage right signal G0 sent from the handshake detection module 65 is “0”. "(" Y “in step D5 in FIG. 5), whether the arbitration circuit output usage right signal G1 sent from the handshake detection module 66 becomes” 0 "(" Y “in step D6 in FIG. 5) ) Or when the arbitration circuit output usage right signal G0 becomes “0” (“Y” in step D5 in FIG. 5), if the arbitration circuit output usage right signal G1 is in the “0” state (FIG.
  • FIG. 7 is a circuit diagram showing an electrical configuration inside each block for realizing the arbitration circuit 60 of FIG.
  • the arbitration result holding module 61 includes an inverter and a three-input asymmetric C element 61a and an OR element 61b.
  • the inverter and the 3-input asymmetric C element 61a receive the arbitration circuit output usage right signal G0 and the arbitration result holding signal Li0, and wait for a negative signal of the notification output signal Ai0 sent from the notification signal generation module 64.
  • An exclusive request signal EX0 for holding the result is output.
  • the OR element 61b sends the exclusion request signal EX0 and the request input signal Ri0 output from the master device on the 0th side to the mutual exclusion module 62 as the exclusion request signal LE0.
  • the arbitration result holding module 63 like the arbitration result holding module 61, includes an inverter and a three-input asymmetric C element 63a and an OR element 63b.
  • the inverter and the three-input asymmetric C element 63a receive the arbitration circuit output usage right signal G1 and the arbitration result holding signal Li1, and wait for a negative signal of the notification output signal Ai1 sent from the notification signal generation module 67.
  • An exclusion request signal EX1 for holding the result is output.
  • the OR element 63b sends the exclusion request signal EX1 and the request input signal Ri1 output from the first master side device to the mutual exclusion module 62 as the exclusion request signal LE1.
  • a mutual exclusion circuit 62a and a notification signal generation module 64 are configured by a two-input symmetric C element 64a.
  • the 2-input symmetric C element 64a receives the arbitration circuit output usage right signal G0 and waits for the notification input signal Ao output from the slave side device, thereby allowing the 0th master side device to be given priority to The notification input signal Ao is transmitted as a notification output signal Ai0.
  • the handshake (HS) completion detection module 65 includes an inverter and a three-input AND element 65a.
  • the inverter performs a negative operation on the notification output signal Ai1 and outputs an inversion notification signal.
  • the AND element The arbitration circuit output usage right signal G0 is output by ANDing the request input signal Ri0, the inversion notification signal and the mutual exclusion module output usage right signal GE0 output from the mutual exclusion module.
  • the handshake (HS) completion detection module 66 includes an inverter and a 3-input AND element 66a. The inverter performs a negative operation on the notification output signal Ai0 and outputs an inversion notification signal.
  • the arbitration circuit output usage right signal G1 is output by taking the logical product of the request input signal Ri1, the inversion notification signal and the mutual exclusion module output usage right signal GE1 output from the mutual exclusion module.
  • the notification signal generation module 67 is configured by a two-input symmetric C element 67a.
  • the 2-input symmetric C element 67a inputs the arbitration circuit output usage right signal G1 and waits for the notification input signal Ao, thereby notifying the first master side device to which the priority is given the notification input signal Ao.
  • the request signal generation module 68 includes a two-input OR element 68a.
  • FIG. 8 is a diagram for explaining the configuration and functions of the inverter constituting the arbitration result holding module 61 in FIG. 7 and the three-input asymmetric C element included in the three-input asymmetric C element 61a.
  • the three-input asymmetric C element 70 inputs an input signal (A, B, C) and outputs an output signal Y.
  • the output signal Y is “0”, and the input signal (A, B, C).
  • the output signal Y of the three-input asymmetric C element 70 depends on the state of the output signal Y in the previous state depending on the combination of the input signals (A, B, C).
  • the 3-input asymmetric C element 70 includes 2-input AND elements 71, 72, 73, an OR element 74, and a feedback loop wiring 75.
  • the AND element 71 calculates the logical product of the input signal A and the input signal B and outputs the output signal ma.
  • the AND element 72 calculates the logical product of the input signal B and the feedback signal of the output signal Y and outputs the output signal mb.
  • the AND element 73 calculates the logical product of the input signal C and the feedback signal of the output signal Y and outputs the output signal mc.
  • the OR element 74 takes the logical sum of the output signal ma, the output signal mb, and the output signal mc, and outputs the output signal Y.
  • the arbitration result holding module 61 the right to use the arbitration circuit is given to the handshake in the master side signal set of the 0th side by the inverter and the 3-input asymmetric C element 61a, and the arbitration circuit output use right signal G0 is “1”.
  • the arbitration result holding signal Li0 sent from the master device on the 0th side is “1”
  • the arbitration result holding module 61 sends the handshake in the master side signal set of the 0th side to the third phase, the notification output signal Ai0 changes to “1”, and is transmitted from the master side device.
  • the arbitration result holding module 61 includes the OR element 61b, so that when the right to use the output of the mutual exclusion module 62 is not occupied by the handshake in one master-side signal set, the conventional result shown in FIG. Similar to the arbitration circuit, the request input signal Ri0 output from the master device on the 0th side is sent to the mutual exclusion module 62.
  • the arbitration result holding module 63 also has the same function as the arbitration result holding module 61.
  • FIG. 9 is a circuit diagram showing an electrical configuration of the mutual exclusion circuit 62a in FIG.
  • the mutual exclusion circuit 62a includes 2-input NAND elements 62b and 62c and 3-input NOR elements 62d and 62e.
  • the NAND elements 62b and 62c are connected to each other and constitute a two-input NAND latch that inputs the exclusive request signal LE0 sent from the arbitration result holding module 61 and the exclusive request signal LE1 sent from the arbitration result holding module 63. is doing.
  • the NOR elements 62d and 62e receive the output signals of the NAND elements 62b and 62c by a plurality of inputs, perform a negative operation on the output signals, and prevent the illegal signal propagation when the output signals are illegal.
  • the NOR elements 62d and 62e perform a negative operation on the output signals of the NAND elements 62b and 62c in order to match the signal state between the input and output of the mutual exclusion circuit 62a.
  • both the input signals of the NAND element 62c are “1”, so that the output signal is “0” and mutual exclusion is performed.
  • the module output usage right signal (GE0, GE1) becomes (0, 1), and the internal state of the mutual exclusion circuit 62a is stabilized. From this state, even if the exclusion request signal (R0, R1) becomes (1, 1), the signal transmitted from the NAND element 62c among the input signals of the NAND element 62b is “0”.
  • the exclusive module output usage right signal (GE0, GE1) remains (0, 1).
  • the mutual exclusion circuit 62a does not use the mutual exclusion module output use right signal. Since the state of (GE0, GE1) can be maintained, arbitration based on the first-come-first-served basis of the exclusive request signal R0 and the exclusive request signal R1 is performed. However, when the exclusion request signal (R0, R1) transitions to (1, 1) from the initial state at approximately the same time, the output signals of the NAND elements 62b and 62c become temporarily unstable.
  • the output signals of the NAND elements 62b and 62c enter the oscillation state.
  • the output signals oscillated by these NAND elements 62b and 62c propagating to the outside of the mutual exclusion circuit 62a, between the output sides of the NAND elements 62b and 62c and the respective output sides of the mutual exclusion circuit 62a.
  • three-input NOR elements 62d and 62e are provided, and the input sides of the NOR elements 62d and 62e are all connected to the output sides of the NAND elements 62b and 62c.
  • the NOR elements 62d and 62e can be replaced by any element or circuit that performs a logical negation operation other than the one-input inverter.
  • the handshake completion detection module 65 uses “0” as the arbitration circuit output usage right signal G0.
  • the request input signal Ri0 is “0”, “0” is output as the arbitration circuit output usage right signal G0.
  • the request input signal Ri1 is “1”
  • the mutual exclusion module output usage right signal GE1 is “1”
  • the notification output signal Ai0 is “0”
  • the handshake completion detection module 66 has an arbitration circuit output usage right signal G1.
  • the request input signal Ri1 is “0”, “0” is output as the arbitration circuit output usage right signal G1.
  • the request signal generation module 68 takes the logical sum of the arbitration circuit output use right signals G0 and G1 by the OR element 68a and outputs the logical sum as the request output signal Ro.
  • the arbitration circuit output use right signal (G0, G1) is a signal state of only one of (0, 0), (1, 0), or (0, 1).
  • G1 is (0, 0)
  • the required output signal Ro is “0”
  • the arbitration circuit output usage right signal (G0, G1) is (1, 0) or (0, 1)
  • the required output signal Ro Becomes “1”.
  • FIG. 10 is a diagram for explaining the configuration and function of the two-input symmetric C element 64a constituting the notification signal generation module 64 in FIG.
  • the two-input symmetric C element 64a inputs an input signal (A, B) and outputs an output signal Y.
  • the output signal Y is “0”, and the input signal (A, B) is (1).
  • the input signal (A, B) is (1).
  • “1” is output as the output signal Y.
  • the input signals (A, B) are in other combinations, the value of the output signal Y is maintained in the previous state.
  • the output signal Y becomes “0” regardless of the previous state, and the input signal (A, B) becomes (0, 1). In this case, the output signal Y is maintained at “0”.
  • the input signal (A, B) becomes (1, 1)
  • the output signal Y becomes “1” regardless of the previous state, and the input signal (A, B) becomes (0, 1). In this case, the output signal Y is maintained at “1”.
  • the output signal of the two-input symmetric C element 64a depends on the state of the output signal Y in the previous state depending on the combination of the input signals (A, B).
  • the 2-input symmetric C element 64a includes 2-input AND elements 81, 82, 83, an OR element 84, and a feedback loop wiring 85 as shown in FIG.
  • the AND element 81 calculates the logical product of the input signal A and the feedback signal of the output signal Y and outputs the output signal na.
  • the AND element 82 calculates the logical product of the input signal A and the input signal B and outputs the output signal nb.
  • the AND element 83 calculates the logical product of the input signal B and the feedback signal of the output signal Y and outputs the output signal nc.
  • the OR element 84 takes the logical sum of the output signal na, the output signal nb, and the output signal nc and outputs the output signal Y.
  • the output signal Y of the OR element 84 is also “ The output signal Y becomes “0” regardless of the previous state.
  • the output signal of the AND element 82 is “1”
  • the output signal Y of the OR element 84 is also “1”
  • the output signal Y is not related to the previous state. “1”.
  • the output signal Y of the OR element 84 is the value in the previous state that is input to the AND elements 81 and 83 via the feedback loop 85. That is, the output signal Y of the OR element 84 is maintained in the same state as the previous state.
  • the notification signal generation module 64 uses the 2-input symmetric C element 64a to acquire the arbitration circuit output usage right by the handshake in the master side signal set on the 0th side, and the arbitration circuit output usage right signal G0 becomes “1”.
  • FIG. 11 is a waveform diagram of each signal for explaining the operation of the arbitration circuit 60 of FIG. 7, where the vertical axis represents the logic level and the horizontal axis represents time (Time).
  • the processing content of the arbitration method used in the arbitration circuit 60 of this example will be described.
  • the earliest request input signal is detected from the request input signals Ri0 and Ri1 that are output almost simultaneously from each master side device, and is used preferentially for the master side device that has output the request input signal.
  • the arbitration circuit output use right signals G0 and G1 for giving the right are outputted, and the notification input signal Ao outputted from the slave side device is sent to the master side device and outputted from the master side device
  • the arbitration result holding signals Li0 and Li1 are in the active mode and the arbitration circuit output usage right signals G0 and G1 are in the active mode
  • the arbitration result is held, while the arbitration result holding signals Li0 and Li1 are in the non-active mode and the notification input
  • the signal Ao indicates the completion of the operation, the arbitration result is released.
  • the arbitration result holding modules 61 and 63, the mutual exclusion circuit 62, the handshake completion detection modules 65 and 66, the request signal generation module 68, and the notification signal generation modules 64 and 67 included in the arbitration circuit 60 are in an initial state.
  • request input signals Ri0 and Ri1 arbitration result holding signals Li0 and Li1, and a notification input signal Ao, which are input from the outside, are “0” (phase P1). From the initial state, it is assumed that the request input signal Ri0 is “1” and the request input signal Ri1 is “1”, the request input signal Ri1 is “1”, and the arbitration result holding signal Li1 is “1”.
  • the right to use the output of the mutual exclusion circuit 62 is given to the handshake in the master side signal set on the 0th side.
  • (1, 0) is output as the mutually exclusive module output use right signal (GE0, GE1) (phase P3).
  • the request input signal Ri0 is “1”
  • the mutual exclusion module output usage right signal GE0 sent from the mutual exclusion circuit 62 is “1”
  • the request input signal Ri1 is “1”
  • the mutual exclusion output use right signal GE1 sent from the mutual exclusion circuit 62 is “0”.
  • the circuit output usage right signal G1 remains “0” (phase P4).
  • the mutual exclusion module output use right signal (GE0, GE1) is set to (0, 0) to return to the initial state (phase P25).
  • the request input signal and the notification output signal (Ri1, Ai1) are transferred to the second phase of the handshake with the master side signal set on the first side.
  • (1, 0) the right to use the arbitration circuit output is obtained, and the arbitration circuit output right to use signal G1 is “1”.
  • the arbitration circuit 60 can provide a burst transmission function.
  • the arbitration circuit 60 is provided in the logic circuit, all handshake protocols can be applied.
  • the arbitration result holding modules 61 and 63 specify the arbitration result holding signal.
  • (arbitration result holding signals Li0 and Li1) are input, the exclusive request signals LE0 and LE1 are maintained and the right to use the output of the mutual exclusion module 62 and the right to use the output of the arbitration circuit 60 are kept.
  • the handshake in the master side signal set of the arbitration circuit 60 is in the third phase, and the arbitration result holding modules 61 and 63 receive signals (arbitration result holding signals Li0 and Li1) that specify arbitration result non-holding. If so, the exclusive request signals (LE0, LE1) are maintained, and the right to use the output of the mutual exclusion module 62 and the right to use the output of the arbitration circuit 60 are released.
  • FIG. 12 is a block diagram showing an electrical configuration of a semiconductor circuit provided with an arbitration circuit according to the second embodiment of the present invention.
  • the semiconductor circuit of this example is a multiprocessor system. As shown in FIG. 12, an arbitration circuit 60, an SRL (set / reset latch) 91, a multiplexer 92, a processor (# 0) 93, a processor ( # 1) It is composed of 94 and a memory 95. Moreover, this multiprocessor system is mounted on the same integrated circuit, for example.
  • the memory 95 is shared by the two processors 93 and 94. That is, request input signals Ri0 and Ri1 and arbitration result holding signals Li0 and Li1 are input to the arbitration circuit 60 from the processors 93 and 94, and notification output signals Ai0 and Ai1 are output from the tuning arbitration circuit 60 to the processors 93 and 94. Is done.
  • the request output signal Ro is output from the arbitration circuit 60 to the memory 95
  • the notification input signal Ao is input from the memory 95 to the arbitration circuit 60.
  • the arbitration circuit 60 outputs arbitration circuit output usage right signals G0 and G1 to the S and R terminals of the SR latch 91, respectively.
  • the output signal sl of the SR latch 91 is input to the control input terminal S of the multiplexer 92. Further, the data d 0 and d 1 from the processors 93 and 94 are input to the data input terminals D 0 and D 1 of the multiplexer 92, respectively, and the data ds is output from the data output terminal Do of the multiplexer 92. The data ds is input to the data input terminal Di of the memory 95.
  • the arbitration circuit output usage right signal (G0, G1) output from the arbitration circuit 60 becomes (0, 0) when there is no input handshake to which the right to use the output of the arbitration circuit 60 is given.
  • the arbitration circuit output usage right signals G0 and G1 are input to the SR latch 91, and the multiplexer 92 is controlled by the output signal sl of the SR latch 91, and the data d0, One of d1 is output to the memory 95 as data ds.
  • the arbitration result holding signal Li0 or the arbitration result holding signal Li1 is input to the arbitration circuit 60 until burst transmission is completed. Meanwhile, the processor that performs the burst transmission holds the right to use the output of the arbitration circuit 60.
  • the embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to the embodiment, and even if there is a design change without departing from the gist of the present invention, Included in the invention.
  • the 3-input NOR elements 62d and 62e in FIG. 9 can obtain substantially the same operations and effects as the above-described embodiment, for example, as 2-input NOR elements, 4-input NOR elements, or NAND elements.
  • the arbitration circuit 60, SR latch 91, multiplexer 92, processor (# 0) 93, processor (# 1) 94, and memory 95 in FIG. 12 are not necessarily mounted on the same integrated circuit or circuit board. Instead, they may be distributed and mounted in different circuits and elements.
  • a mutual exclusion module that detects the first request signal from among the request signals output almost simultaneously from these master side devices is provided, and each module in the arbitration circuit By providing the required number, the same arbitration as in the above embodiment is performed.
  • the present invention can be applied to all arbitration circuits that perform data transmission between cores and functional blocks such as processors and arithmetic circuits.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

Provided is an asynchronous adjusting circuit having the burst transmission function and no limit on a handshake protocol applied. The adjusting circuit (60) detects a request input signal which has arrived earlier among the request input signals Ri0 and Ri1 almost simultaneously outputted from respective master side devices, outputs adjusting circuit output use right signals G0 and G1 for giving the use right to the master side device which has outputted the request input signal with a higher priority, and outputs a report input signal Ao outputted from the slave side device to the master side device.  When adjustment result holding signals Li0 and Li1 outputted from the master side device are in the active mode and the adjusting circuit output use right signals G0 and G1 are in the active mode, the adjustment result is held.  On the other hand, when the adjustment result holding signals Li0 and Li1 are in the non-active mode and the report input signal Ao indicates the operation completion, the adjustment result is released.

Description

調停回路、該調停回路に用いられる調停方法、該調停回路が設けられている半導体回路及びデジタルシステムArbitration circuit, arbitration method used in the arbitration circuit, semiconductor circuit provided with the arbitration circuit, and digital system
 この発明は、調停回路、該調停回路に用いられる調停方法、該調停回路が設けられている半導体回路及びデジタルシステムに係り、特に、複数のマスタ側装置に共有される1つのスレーブ側装置に対して、あるマスタ側装置からデータを連続して伝送するバースト伝送を行う場合に用いて好適な調停回路、該調停回路に用いられる調停方法、該調停回路が設けられている半導体回路及びデジタルシステムに関する。 The present invention relates to an arbitration circuit, an arbitration method used in the arbitration circuit, a semiconductor circuit provided with the arbitration circuit, and a digital system, and more particularly, to one slave-side device shared by a plurality of master-side devices. An arbitration circuit suitable for use in burst transmission in which data is continuously transmitted from a master device, an arbitration method used in the arbitration circuit, a semiconductor circuit provided with the arbitration circuit, and a digital system .
 デジタル集積回路は、同集積回路上に実装される回路素子や配線の微細化の進展により、「コア」と呼ばれるプロセッサやメモリなどの機能ブロックが多数設けられて構成されている。
 図13は、デジタル集積回路の一例を示す構成図である。
 この集積回路1では、同図13に示すように、コア11,…,11と、コア間接続回路12とが設けられている。コア11,…,11は、コア(0),…,コア(m-1)と、コア(m),…,コア(n-1)とから構成され、クロック信号CLK0,…,CLK(m-1)、クロック信号CLKm,…,CLK(n-1)がそれぞれ供給されるようになっている。コア間接続回路12は、バスなどで構成されている。コア(0),…,コア(m-1)と、コア(m),…,コア(n-1)との間では、コア間接続回路12を介してデータ通信が行われる。
A digital integrated circuit is configured by providing a large number of functional blocks such as a processor and a memory called a “core” with the progress of miniaturization of circuit elements and wirings mounted on the integrated circuit.
FIG. 13 is a configuration diagram illustrating an example of a digital integrated circuit.
In this integrated circuit 1, as shown in FIG. 13, cores 11,..., 11 and an inter-core connection circuit 12 are provided. The cores 11,..., 11 are composed of cores (0),..., Core (m-1), cores (m),..., Core (n-1), and clock signals CLK0,. -1), and clock signals CLKm,..., CLK (n-1) are supplied. The inter-core connection circuit 12 is configured by a bus or the like. Data communication is performed via the inter-core connection circuit 12 between the core (0),..., The core (m−1) and the core (m),.
 コア間接続回路12は、従来では、クロック信号の立上りあるいは立下りの遷移(クロック・エッジ)に同期して内部の素子を駆動する同期式論理回路として設計されてきた。ところが、近年では、設計の容易性や消費電力の放射の低減といった効果を得るために、コア間接続回路を非同期式論理回路として構成する大域非同期・局所同期(GALS:Globally Asynchronous Locally Synchronous )方式による集積回路設計が注目されるようになっている。非同期式論理回路では、クロック信号に代えて、ハンドシェイク信号を用いて回路内の記憶素子などを制御するようになっている。非同期式論理回路でも、フリップ・フリップの間に組合せ回路を配置する構成は同期式論理回路と同様であるが、フリップ・フロップの記憶を制御する信号が異なる。 The inter-core connection circuit 12 has been conventionally designed as a synchronous logic circuit that drives an internal element in synchronization with a rising or falling transition (clock edge) of a clock signal. However, in recent years, in order to obtain effects such as ease of design and reduction of power consumption, a global asynchronous / locally synchronous (GALS) system in which the inter-core connection circuit is configured as an asynchronous logic circuit is used. Integrated circuit design is gaining attention. In an asynchronous logic circuit, a handshake signal is used instead of a clock signal to control a storage element in the circuit. Even in an asynchronous logic circuit, a configuration in which a combinational circuit is arranged between flip-flops is the same as that of a synchronous logic circuit, but signals for controlling storage of flip-flops are different.
 すなわち、同期式論理回路では、フリップ・フロップに対する記憶制御信号として、外部から供給されるクロック信号が用いられ、全てのフリップ・フロップに対して信号が同着することを前提に、フリップ・フロップと組合せ回路から成る部分が設計され、また、全てのフリップ・フロップに対して信号が同着するように設計されたクロック信号分配回路が設けられている。一方、非同期式論理回路では、フリップ・フロップに対する記憶制御信号を生成するために記憶制御回路が設けられ、記憶制御回路間で一対のハンドシェイク信号(要求信号及び通知信号)を送受信することにより、フリップ・フロップの記憶タイミングが制御される。上記要求信号は、次のデータに対する準備及びデータ記憶を要求する信号であり、通知信号は、データ記憶完了を通知する信号である。 That is, in the synchronous logic circuit, a clock signal supplied from the outside is used as a storage control signal for the flip-flop, and on the assumption that the signals are attached to all the flip-flops, A portion composed of a combinational circuit is designed, and a clock signal distribution circuit designed so that signals are attached to all flip-flops is provided. On the other hand, in the asynchronous logic circuit, a storage control circuit is provided to generate a storage control signal for the flip-flop, and by transmitting and receiving a pair of handshake signals (request signal and notification signal) between the storage control circuits, The storage timing of the flip-flop is controlled. The request signal is a signal requesting preparation and data storage for the next data, and the notification signal is a signal notifying completion of data storage.
 図14は、非同期式論理回路の一例を示す構成図、及び、図15が、同図14の非同期式論理回路の動作を説明する各部の波形図である。
 この非同期式論理回路は、同図14に示すように、フリップ・フロップ(FF)20,21,22と、ラッチ制御回路(LC)30,31,32とから構成されている。
 この非同期式論理回路では、以下、0)~7)に示す動作が図15に示すように行われる。
 0)まず、FF20にデータd0が記憶されたとすると、同FF20からFF21へデータd0が出力され、それと同時に、同FF20に接続されているラッチ制御回路30から、同FF21に接続されているラッチ制御回路31へ要求信号R0(=1)が出力される。
 1)ラッチ制御回路31では、要求信号R0(=1)を受信することで、接続されているFF21にデータが到着していることが検知されて記憶制御信号L1(=1)が生成され、同記憶制御信号L1の立上り遷移により、FF21にデータd0を記憶させる。
14 is a block diagram showing an example of an asynchronous logic circuit, and FIG. 15 is a waveform diagram of each part for explaining the operation of the asynchronous logic circuit of FIG.
As shown in FIG. 14, the asynchronous logic circuit includes flip-flops (FF) 20, 21, and 22 and latch control circuits (LC) 30, 31, and 32.
In this asynchronous logic circuit, the operations shown in 0) to 7) are performed as shown in FIG.
0) First, assuming that the data d0 is stored in the FF 20, the data d0 is output from the FF 20 to the FF 21, and at the same time, from the latch control circuit 30 connected to the FF 20, the latch control connected to the FF 21 is performed. The request signal R0 (= 1) is output to the circuit 31.
1) The latch control circuit 31 receives the request signal R0 (= 1), detects that data has arrived at the connected FF 21, and generates a storage control signal L1 (= 1). The data d0 is stored in the FF 21 by the rising transition of the storage control signal L1.
 2)FF21でデータd0が記憶されると、ラッチ制御回路31は通知信号A0(=1)をラッチ制御回路30に出力してFF21でのデータ記憶完了を通知すると共に、要求信号R1(=1)をラッチ制御回路32に出力し、FF22でのデータd0の記憶を要求する。
 3)ラッチ制御回路30では、ラッチ制御回路31から送出される通知信号A0(=1)が受信され、FF20から送出される次のデータに対する準備を要求する要求信号R0(=0)がラッチ制御回路31へ出力される。
 4)ラッチ制御回路32では、ラッチ制御回路31から送出される要求信号R1(=1)が受信され、記憶制御信号L2(=1)が生成されてデータd0をFF22に記憶させると共に、通知信号A1(=1)をラッチ制御回路31へ出力する。
2) When the data d0 is stored in the FF 21, the latch control circuit 31 outputs a notification signal A0 (= 1) to the latch control circuit 30 to notify the completion of data storage in the FF 21, and the request signal R1 (= 1). ) Is output to the latch control circuit 32 to request storage of the data d0 in the FF22.
3) In the latch control circuit 30, the notification signal A0 (= 1) transmitted from the latch control circuit 31 is received, and the request signal R0 (= 0) requesting preparation for the next data transmitted from the FF 20 is latch controlled. It is output to the circuit 31.
4) The latch control circuit 32 receives the request signal R1 (= 1) sent from the latch control circuit 31, generates a storage control signal L2 (= 1), stores the data d0 in the FF 22, and sends a notification signal. A1 (= 1) is output to the latch control circuit 31.
 5)ラッチ制御回路31では、ラッチ制御回路32から送出される通知信号A1(=1)の到着によりFF22でのデータd0の受理が検知され、また、ラッチ制御回路30から送出される要求信号R0(=0)の到着により準備要求が検知されることにより、記憶制御信号L1を“0”に遷移させて、FF21に次のデータに対する準備を行わせ、FF21の準備完了を示す通知信号A0(=0)をラッチ制御回路30に送ると共に、FF22のデータ受理準備を要求するR1(=0)をラッチ制御回路32へ送出する。
 6)ラッチ制御回路30では、通知信号A0(=0)が受信されることにより、FF20に次のデータd1を記憶させ、また、ラッチ制御回路32では、要求信号R1(=0)が受信されることにより、FF22へ記憶制御信号L2(=0)を送出し、データd1に対して準備させる。
 7)この非同期式論理回路では、データd1に対しても、上記2)~5)と同様の手順で、伝送が行われる。上記図15では、各々の信号が周期的に遷移しているが、非同期式論理回路は、上記1)~7)のいずれかで遅れが生じても、手順に従って動作する。
5) In the latch control circuit 31, the reception of the data d0 at the FF 22 is detected by the arrival of the notification signal A1 (= 1) sent from the latch control circuit 32, and the request signal R0 sent from the latch control circuit 30 When the preparation request is detected upon arrival of (= 0), the storage control signal L1 is shifted to “0” to cause the FF 21 to prepare for the next data, and the notification signal A0 ( = 0) is sent to the latch control circuit 30, and R1 (= 0) requesting the data reception preparation of the FF 22 is sent to the latch control circuit 32.
6) The latch control circuit 30 receives the notification signal A0 (= 0) to store the next data d1 in the FF 20, and the latch control circuit 32 receives the request signal R1 (= 0). As a result, the storage control signal L2 (= 0) is sent to the FF 22 to prepare the data d1.
7) In this asynchronous logic circuit, data d1 is also transmitted in the same procedure as 2) to 5). In FIG. 15, each signal periodically changes, but the asynchronous logic circuit operates in accordance with the procedure even if a delay occurs in any one of 1) to 7).
 非同期式のコア間接続回路を用いる場合、異なる機能ブロックの間でクロック同期をとる必要がないため、クロック分配範囲を小さく限定できるという利点がある。また、個々の機能ブロックのクロック周波数を自由かつ動的に設定することが可能となるため、クロック周波数を、機能ブロックが所定の動作を実現する必要最低限に低減できる。クロック周波数を低減するとき、回路遅延を大きくすることができるため、電源電圧を下げることが可能となる。消費電力は、電源電圧の2乗とクロック周波数との積に比例するため、機能ブロック間のコア間接続回路を非同期式とすることによって、集積回路の消費電力を大きく低減することが可能となる。さらに、同期式コアの駆動タイミングを時間的に分散させることができるため、消費電力及び電磁波放射を低減することも可能となる。 When using an asynchronous inter-core connection circuit, there is an advantage that the clock distribution range can be limited to a small size because it is not necessary to synchronize clocks between different functional blocks. In addition, since the clock frequency of each functional block can be set freely and dynamically, the clock frequency can be reduced to the minimum necessary for the functional block to realize a predetermined operation. When the clock frequency is reduced, the circuit delay can be increased, so that the power supply voltage can be lowered. Since the power consumption is proportional to the product of the square of the power supply voltage and the clock frequency, the power consumption of the integrated circuit can be greatly reduced by making the inter-core connection circuit between the functional blocks asynchronous. . Furthermore, since the drive timing of the synchronous core can be dispersed in time, it is possible to reduce power consumption and electromagnetic wave radiation.
 同期式コアは、クロック信号の立上りあるいは立下りの遷移(クロック・エッジ)で駆動するため、クロック・エッジの直後に大きな電流変化がある。コア間接続回路として非同期式論理回路を用いると、コア毎に駆動タイミングが異なるため、集積回路全体での電流が平準化される。その結果、最大の消費電力及び電流変化で誘導される電磁波放射が低減される。コア間接続回路を用いた集積回路の設計では、データ通信を要求する側のコアを「マスタ」、及び、同マスタの要求に呼応して動作するコアを「スレーブ」という。コア間接続回路に接続されるマスタが複数存在し、これらのマスタが1つのスレーブに同時にデータ通信要求を行う場合、これらの要求が逐次スレーブに到着するように、マスタの間で調停を行う調停回路が必要となる。 Since the synchronous core is driven by the rising or falling transition (clock edge) of the clock signal, there is a large current change immediately after the clock edge. When an asynchronous logic circuit is used as the inter-core connection circuit, the drive timing differs for each core, so that the current in the entire integrated circuit is leveled. As a result, electromagnetic radiation induced by maximum power consumption and current change is reduced. In designing an integrated circuit using an inter-core connection circuit, a core that requests data communication is called a “master”, and a core that operates in response to a request from the master is called a “slave”. When there are multiple masters connected to the inter-core connection circuit, and these masters simultaneously make data communication requests to one slave, arbitration is performed between the masters so that these requests arrive at the slaves sequentially. A circuit is required.
 この種の関連する技術としては、たとえば非特許文献1に記載された調停回路がある。
 この調停回路は、非同期式コア間接続回路で用いられるものであり、図16に示すように、相互排他回路(MutEx)41と、インバータ及びAND素子42,43と、OR素子44と、C素子45,46とから構成されている。C素子45,46は、マラー(ミュラー:Muller)のC素子であり、2つの入力信号が同一の値になるのを待合せて出力を変化させ、2つの入力信号の値が異なる状態であれば出力信号の論理レベルを前状態に維持するように動作する。すなわち、図示しない入力信号(A,B)が(0,0)のとき、出力信号Yは“0”、入力信号(A,B)が(1,1)のとき、出力信号Yは“1”、入力信号(A,B)が(0,1)あるいは(1,0)に変化したとき、出力信号Yは前の値が維持される。たとえば、入力信号(A,B)が(0,0)で出力信号Yが“0”のとき、入力信号(A,B)が(1,0)に変化しても、出力信号Yは“0”のまま維持される。また、入力信号(A,B)が(1,1)に変化したとき、出力信号Yは“1”に変化し、入力信号(A,B)が(1,0)に戻ったとき、出力信号Yは“1”のまま維持される。
As this type of related technology, there is an arbitration circuit described in Non-Patent Document 1, for example.
This arbitration circuit is used in an asynchronous inter-core connection circuit. As shown in FIG. 16, a mutual exclusion circuit (MutEx) 41, inverter and AND elements 42 and 43, an OR element 44, and a C element 45 and 46. The C elements 45 and 46 are Muller (Muller) C elements. When the two input signals have the same value, the outputs are changed and the two input signals have different values. It operates to maintain the logic level of the output signal in the previous state. That is, when the input signal (A, B) (not shown) is (0, 0), the output signal Y is “0”, and when the input signal (A, B) is (1, 1), the output signal Y is “1”. "When the input signal (A, B) changes to (0, 1) or (1, 0), the previous value of the output signal Y is maintained. For example, when the input signal (A, B) is (0, 0) and the output signal Y is “0”, even if the input signal (A, B) changes to (1, 0), the output signal Y is “ 0 "is maintained. When the input signal (A, B) changes to (1, 1), the output signal Y changes to “1”, and when the input signal (A, B) returns to (1, 0), the output signal The signal Y remains “1”.
 この調停回路では、要求入力信号Ri0と通知出力信号Ai0、要求入力信号Ri1と通知出力信号Ai1、及び要求出力信号Roと通知入力信号Aoの3対が、ハンドシェイク信号の入出力信号の対となっている。また、データ信号が要求信号の流れに並行するため、要求信号に合わせて、要求入力信号Ri0と通知出力信号Ai0との対を調停回路の「0番入力」、要求入力信号Ri1と通知出力信号Ai1との対を調停回路の「1番入力」、及び、要求出力信号Roと通知入力信号Aoとの対を調停回路の「出力」という。 In this arbitration circuit, three pairs of a request input signal Ri0 and a notification output signal Ai0, a request input signal Ri1 and a notification output signal Ai1, and a request output signal Ro and a notification input signal Ao are a pair of input / output signals of a handshake signal. It has become. Further, since the data signal is in parallel with the flow of the request signal, the pair of the request input signal Ri0 and the notification output signal Ai0 is set to “0th input” of the arbitration circuit, the request input signal Ri1, and the notification output signal in accordance with the request signal. The pair of Ai1 is called “first input” of the arbitration circuit, and the pair of the request output signal Ro and the notification input signal Ao is called “output” of the arbitration circuit.
 すなわち、x=i0,i1,oとすると、それぞれのxについて、ハンドシェイク信号の組(Rx、Ax)の状態は、(0,0)→(1,0)→(1,1)→(0,1)→(0,0)と遷移して、調停回路の各入出力と調停回路の外部との間でのハンドシェイクが行われる。上記ハンドシェイク信号の4つの状態のうち、(Rx,Ax)が(0,0)のときは初期状態であり、ハンドシェイクは、要求信号Rxが“1”となることで開始される。また、ハンドシェイク信号の4つの状態をそれぞれ、(Rx,Ax)が(0,0)の状態を第1相状態、(Rx,Ax)が(1,0)の状態を第2相状態、(Rx,Ax)が(1,1)の状態を第3相状態、及び、(Rx,Ax)が(0,1)の状態を第4相状態という。4つの相を1つの伝送サイクルとするハンドシェイク・プロトコルを4相式プロトコルという。以降、ハンドシェイク・プロトコルを、4相式として扱う。 That is, if x = i0, i1, o, the state of the handshake signal set (Rx, Ax) for each x is (0,0) → (1,0) → (1,1) → ( A transition is made from 0, 1) to (0, 0), and a handshake is performed between each input / output of the arbitration circuit and the outside of the arbitration circuit. Of the four states of the handshake signal, when (Rx, Ax) is (0, 0), it is an initial state, and handshaking is started when the request signal Rx becomes “1”. In addition, the four states of the handshake signal are respectively a state in which (Rx, Ax) is (0, 0) in a first phase state, a state in which (Rx, Ax) is (1, 0) in a second phase state, A state in which (Rx, Ax) is (1, 1) is referred to as a third phase state, and a state in which (Rx, Ax) is (0, 1) is referred to as a fourth phase state. A handshake protocol with four phases as one transmission cycle is called a four-phase protocol. Hereinafter, the handshake protocol is treated as a four-phase method.
 相互排他回路41は、要求入力信号Ri0,Ri1を入力して、相互排他出力使用権信号GE0,GE1を出力する。この場合、相互排他回路41は、要求入力信号(Ri0,Ri1)が(0,0)のとき、相互排他出力使用権信号(GE0,GE1)として(0,0)、要求入力信号(Ri0,Ri1)が(1,0)のとき、相互排他出力使用権信号(GE0,GE1)として(1,0)、及び、要求入力信号(Ri0,Ri1)が(0,1)のとき、相互排他出力使用権信号(GE0,GE1)として(0,1)を出力し、要求入力信号(Ri0,Ri1)が(1,1)のとき、前状態の相互排他出力使用権信号(GE0,GE1)を維持するように動作する。つまり、相互排他回路41は、要求入力信号(Ri0,Ri1)が(1,1)のとき、前状態で相互排他出力使用権信号(GE0,GE1)が(1,0)だった場合は、相互排他出力使用権信号(GE0,GE1)として(1,0)を出力し、また、前状態で相互排他出力使用権信号(GE0,GE1)が(0,1)だった場合は、相互排他出力使用権信号(GE0,GE1)として(0,1)を出力する。 The mutual exclusion circuit 41 receives the request input signals Ri0 and Ri1 and outputs the mutual exclusive output usage right signals GE0 and GE1. In this case, when the request input signal (Ri0, Ri1) is (0, 0), the mutual exclusion circuit 41 uses (0, 0) as the mutual exclusion output right signal (GE0, GE1) and the request input signal (Ri0, Ri1). When (Ri1) is (1, 0), the mutually exclusive output use right signal (GE0, GE1) is (1, 0), and when the request input signal (Ri0, Ri1) is (0, 1), mutual exclusion When (0, 1) is output as the output usage right signal (GE0, GE1) and the request input signal (Ri0, Ri1) is (1, 1), the mutual exclusive output usage right signal (GE0, GE1) in the previous state Works to maintain. That is, when the request input signal (Ri0, Ri1) is (1, 1) and the mutual exclusive output use right signal (GE0, GE1) is (1, 0) in the previous state, (1,0) is output as the mutual exclusive output usage right signal (GE0, GE1), and the mutual exclusive output usage right signal (GE0, GE1) is (0, 1) in the previous state. (0, 1) is output as the output usage right signal (GE0, GE1).
 相互排他回路41は、要求入力信号Ri0,Ri1が共に“0”から“1”へ同時に変化し、要求入力信号(Ri0,Ri1)が(0,0)から直接(1,1)となるような場合でも、相互排他出力使用権信号(GE0,GE1)として、(1,0)か(0,1)の一方を出力する。また、相互排他回路41の相互排他出力使用権信号(GE0,GE1)が(1,0)である場合、相互排他回路41が0番入力に出力の使用権を与えている状態、及び、相互排他出力使用権信号(GE0,GE1)が(0,1)である場合、相互排他回路41が1番入力に出力の使用権を与えている状態である。また、この調停回路の調停回路出力使用権信号(G0,G1)が(1,0)である場合、調停回路が0番入力に出力の使用権を与えている状態、及び、調停回路出力使用権信号(G0,G1)が(0,1)である場合、調停回路が1番入力に出力の使用権を与えている状態である。 In the mutual exclusion circuit 41, both the request input signals Ri0 and Ri1 change simultaneously from “0” to “1”, and the request input signal (Ri0, Ri1) changes directly from (0,0) to (1,1). Even in such a case, either (1, 0) or (0, 1) is output as the mutual exclusive output use right signal (GE0, GE1). When the mutual exclusive output usage right signal (GE0, GE1) of the mutual exclusive circuit 41 is (1, 0), the mutual exclusive circuit 41 gives the right to use the output to the 0th input, When the exclusive output usage right signal (GE0, GE1) is (0, 1), the mutual exclusion circuit 41 is giving the right to use the output to the first input. When the arbitration circuit output usage right signal (G0, G1) of this arbitration circuit is (1, 0), the arbitration circuit gives the right to use the output to the 0th input, and the arbitration circuit output is used. When the right signal (G0, G1) is (0, 1), the arbitration circuit is giving the right to use the output to the first input.
 この調停回路では、図17に示すように、初期状態(フェーズA)において、要求入力信号Ri0が“0”、要求入力信号Ri1が“0”、通知入力信号Aoが“0”、通知出力信号Ai0が“0”、通知出力信号Ai1が“0”、要求出力信号Roが“0”、調停回路出力使用権信号G0が“0”、及び、調停回路出力使用権信号G1が“0”である。つまり、調停回路の入力の双方と出力とのハンドシェイクは、全て第1相状態になっている。初期状態(フェーズA)からフェーズBに遷移し、要求入力信号(Ri0,Ri1)として(1,1)が入力され、調停回路が第2相状態になる。このとき、要求入力信号Ri0(=1)が要求入力信号Ri1(=1)に比べてわずかに先着したとすると、相互排他回路41は、相互排他出力使用権信号(GE0,GE1)として(1,0)を出力して、0番入力に使用権を与える(フェーズC)。初期状態では、調停回路の1番入力でのハンドシェイクが行われておらず、通知出力信号Ai1が“0”であるため、インバータ及びAND素子42は、調停回路出力使用権信号G0(=1)を出力し、調停回路が0番入力に使用権を与える(フェーズD)。 In this arbitration circuit, as shown in FIG. 17, in the initial state (phase A), the request input signal Ri0 is “0”, the request input signal Ri1 is “0”, the notification input signal Ao is “0”, and the notification output signal Ai0 is “0”, notification output signal Ai1 is “0”, request output signal Ro is “0”, arbitration circuit output usage right signal G0 is “0”, and arbitration circuit output usage right signal G1 is “0”. is there. That is, the handshaking between both the input and output of the arbitration circuit is in the first phase state. A transition is made from the initial state (phase A) to phase B, (1, 1) is input as the request input signals (Ri0, Ri1), and the arbitration circuit enters the second phase state. At this time, if the request input signal Ri0 (= 1) is slightly ahead of the request input signal Ri1 (= 1), the mutual exclusion circuit 41 uses (1) as the mutual exclusive output use right signal (GE0, GE1). , 0) is output, and the right to use is given to the 0th input (phase C). In the initial state, since the handshake at the first input of the arbitration circuit is not performed and the notification output signal Ai1 is “0”, the inverter and the AND element 42 use the arbitration circuit output usage right signal G0 (= 1). ) And the arbitration circuit grants the right to use the 0th input (phase D).
 調停回路出力使用権信号G0の“1”への遷移に伴い、OR素子44から要求出力信号Ro(=1)が出力され、調停回路の出力のハンドシェイクが第2相状態となる(フェーズE)。なお、非同期式論理回路では、ハンドシェイクの信号遷移手順が逆に戻ることは想定されないので、要求入力信号Ri1が“1”に維持されている。要求出力信号Ro(=1)に対応して、通知入力信号Ao(=1)が調停回路に入力され、同調停回路の出力のハンドシェイクが第3相状態となる(フェーズF)。C素子45,46は、入力される通知入力信号Ao(=1)、及び要求出力信号Ro(=1)の生成の過程での調停結果に応じて、0番入力と1番入力の一方の通知出力信号を変化させ、通知出力信号Ai0を“1”、あるいは通知出力信号Ai1を“1”とする。ここでは、調停回路出力使用権信号(G0,G1)は(1,0)なので、C素子45が通知出力信号Ai0(=1)を出力し、調停回路の0番入力のハンドシェイクが第3相状態となる(フェーズG)。なお、C素子46により、通知出力信号Ai1は“0”のまま維持され、1番入力のハンドシェイクは第2相状態のままである。 With the transition of the arbitration circuit output usage right signal G0 to “1”, the request output signal Ro (= 1) is output from the OR element 44, and the handshake of the output of the arbitration circuit enters the second phase state (phase E ). In the asynchronous logic circuit, it is not assumed that the signal transition procedure of the handshake is reversed, so the request input signal Ri1 is maintained at “1”. In response to the request output signal Ro (= 1), the notification input signal Ao (= 1) is input to the arbitration circuit, and the handshake of the output of the tuning arbitration circuit is in the third phase state (phase F). The C elements 45 and 46 receive one of the 0th input and the 1st input according to the arbitration result in the process of generating the notification input signal Ao (= 1) and the request output signal Ro (= 1). The notification output signal is changed to set the notification output signal Ai0 to “1” or the notification output signal Ai1 to “1”. Here, since the arbitration circuit output use right signal (G0, G1) is (1, 0), the C element 45 outputs the notification output signal Ai0 (= 1), and the handshake of the 0th input of the arbitration circuit is the third. A phase state is reached (phase G). The notification output signal Ai1 is maintained at “0” by the C element 46, and the handshake of the first input remains in the second phase state.
 通知出力信号Ai0(=1)に対応して、調停回路の外部から要求入力信号Ri0(=0)が入力され、同調停回路の0番入力のハンドシェイクが第4相状態となる(フェーズH)。要求入力信号(Ri0,Ri1)が(0,1)となるので、相互排他回路41から相互排他出力使用権信号(GE0,GE1)として(0,1)が出力され、1番入力に使用権が与えられる(フェーズI)。相互排他出力使用権信号GE0が“0”となるので、調停回路出力使用権信号G0は“0”となり、調停回路は0番入力に与えていた出力の使用権を取り戻すが(フェーズJ)、直前の0番入力側のハンドシェイクが第4相状態のままで完了しておらず、通知出力信号Ai0が“1”のままであるため、他方の調停回路出力使用権信号G1は“1”とはならず、調停回路の出力の使用権は、いずれの入力にも与えられていない状態となる(フェーズK)。 In response to the notification output signal Ai0 (= 1), the request input signal Ri0 (= 0) is input from the outside of the arbitration circuit, and the handshake of the 0th input of the tuning arbitration circuit enters the fourth phase state (phase H ). Since the request input signal (Ri0, Ri1) becomes (0, 1), the mutual exclusion circuit 41 outputs (0, 1) as the mutual exclusive output usage right signal (GE0, GE1), and the usage right is input to the first input. (Phase I). Since the mutual exclusive output use right signal GE0 becomes “0”, the arbitration circuit output use right signal G0 becomes “0”, and the arbitration circuit regains the use right of the output given to the 0th input (phase J). The previous handshake on the 0th input side remains in the fourth phase state and is not completed, and the notification output signal Ai0 remains “1”. Therefore, the other arbitration circuit output use right signal G1 is “1”. In other words, the right to use the output of the arbitration circuit is not given to any input (phase K).
 調停回路出力使用権信号G0の“0”への変化に伴い、他方の調停回路出力使用権信号G1は“0”のままであるので、OR素子44から送出される要求出力信号Roが“0”となり、調停回路の出力のハンドシェイクが第4相状態となる(フェーズL)。要求出力信号Ro(=0)に対応して、調停回路の外部から通知入力信号Ao(=0)が入力され、同調停回路の出力のハンドシェイクが第1相状態に戻って完了する(フェーズM)。C素子45は通知出力信号Ai0(=0)を出力し、調停回路の0番入力のハンドシェイクが第1相状態に戻って完了する(フェーズN)。この通知出力信号Ai0(=0)はインバータ及びAND素子43にも入力され、0番入力のハンドシェイクが完了したことが通知される。 With the change of the arbitration circuit output usage right signal G0 to “0”, the other arbitration circuit output usage right signal G1 remains “0”, so that the request output signal Ro sent from the OR element 44 is “0”. ", And the handshake of the output of the arbitration circuit is in the fourth phase state (phase L). In response to the request output signal Ro (= 0), a notification input signal Ao (= 0) is input from the outside of the arbitration circuit, and the handshake of the output of the tuning arbitration circuit returns to the first phase state and is completed (phase M). The C element 45 outputs the notification output signal Ai0 (= 0), and the handshake of the 0th input of the arbitration circuit returns to the first phase state and is completed (phase N). This notification output signal Ai0 (= 0) is also input to the inverter and AND element 43 to notify that the handshake of the 0th input has been completed.
 このとき、相互排他回路41の相互排他出力使用権信号GE1が“1”となっているため、調停回路出力使用権信号G1は“1”となり、調停回路の出力の使用権が1番入力に与えられる(フェーズO)。調停回路出力使用権信号G1の“1”への遷移に伴い、OR素子44は要求出力信号Roを“1”とし、調停回路の出力のハンドシェイクが第2相状態になる(フェーズP)。この後、上記フェーズF~フェーズJ及びフェーズL~フェーズNと同様の動作が行われた後、要求入力信号(Ri0,Ri1)が(0,0)であるため、初期状態に戻る。 At this time, since the mutual exclusive output usage right signal GE1 of the mutual exclusive circuit 41 is “1”, the arbitration circuit output usage right signal G1 becomes “1”, and the usage right of the output of the arbitration circuit is the first input. Given (phase O). With the transition of the arbitration circuit output usage right signal G1 to “1”, the OR element 44 sets the request output signal Ro to “1”, and the handshake of the output of the arbitration circuit enters the second phase state (phase P). Thereafter, after operations similar to those in the phases F to J and L to N are performed, the request input signals (Ri0, Ri1) are (0, 0), so that the initial state is restored.
 ところが、図16の調停回路では、次のような問題点がある。
 すなわち、調停回路に求められる機能として、複数のデータ伝送を連続して行うバースト伝送機能があるが、同図16の調停回路では、要求入力信号Ri0,Ri1の先着側の入力のハンドシェイクが完了するまでに、他方の入力のハンドシェイクが第1相状態に入っていた場合、相互排他回路41が先着側の入力に与えた出力の使用権を他方の入力に与えてしまっているため、連続して先着側の入力に対して出力の使用権を与えることができない。このため、この調停回路では、ハンドシェイクを開始する要求入力信号Ri0,Ri1の一方又は双方が連続的に到着する場合、一方の入力側から送出されるハンドシェイクを優先的に連続して処理することができず、バースト伝送を実現することができないという問題点がある。
However, the arbitration circuit of FIG. 16 has the following problems.
That is, as a function required for the arbitration circuit, there is a burst transmission function in which a plurality of data transmissions are continuously performed. However, in the arbitration circuit of FIG. 16, the handshake of the input on the first arrival side of the request input signals Ri0 and Ri1 is completed. In the case where the handshake of the other input has entered the first phase state, the mutual exclusive circuit 41 has given the right to use the output given to the input on the first arrival side to the other input. Thus, the right to use the output cannot be given to the input on the first arrival side. For this reason, in this arbitration circuit, when one or both of the request input signals Ri0 and Ri1 for starting the handshake arrive continuously, the handshake transmitted from one input side is processed preferentially and continuously. In other words, burst transmission cannot be realized.
 図16の調停回路の問題点を解決する調停回路として、非特許文献2に記載された調停回路がある。
 この調停回路は、2線式と呼ばれるデータ符号化方式と共に用いられる回路である。2線式とは、ハンドシェイク信号のうち、要求信号をデータ信号と共に2つの信号で符号化する非同期式論理回路の構成方式である。2線式の非同期式論理回路では、1ビットのデータ信号dと要求信号Reqは、次のように信号対(D0,D1)に符号化される。
   (d,Req)=(0,1)→(D0,D1)=(1,0)
   (d,Req)=(1,1)→(D0,D1)=(0,1)
   (d,Req)=(-,0)→(D0,D1)=(0,0)
 信号対(D0,D1)=(1,0)及び(0,1)は有効データ符号、及び(D0,D1)=(0,0)は無効データ符号あるいはスペーサ(Spacer)という。この同期式論理回路では、有効データ符号とスペーサとが交互に伝送される。
As an arbitration circuit that solves the problem of the arbitration circuit of FIG. 16, there is an arbitration circuit described in Non-Patent Document 2.
This arbitration circuit is a circuit used with a data encoding method called a two-wire system. The two-wire system is a configuration system of an asynchronous logic circuit that encodes a request signal with two signals of a handshake signal together with a data signal. In the 2-wire asynchronous logic circuit, the 1-bit data signal d and the request signal Req are encoded into a signal pair (D0, D1) as follows.
(D, Req) = (0, 1) → (D0, D1) = (1, 0)
(D, Req) = (1, 1) → (D0, D1) = (0, 1)
(D, Req) = (−, 0) → (D0, D1) = (0, 0)
The signal pair (D0, D1) = (1, 0) and (0, 1) is referred to as a valid data code, and (D0, D1) = (0, 0) is referred to as an invalid data code or a spacer. In this synchronous logic circuit, valid data codes and spacers are transmitted alternately.
 データ信号と要求信号とを符号化しない1線式では、データ信号がラッチに到着した後に、要求信号の記憶制御回路への到着により生成される記憶制御信号がラッチに到着するように、両信号線の遅延を調整する必要があるが、データ信号と要求信号とを符号化する2線式では、信号D0と信号D1の到着後に信号D0と信号D1の論理和をとることで要求信号が生成されるため、信号D0と信号D1の間で信号線遅延の調整が不要になるという利点がある。 In the one-wire system that does not encode the data signal and the request signal, both signals are used so that the storage control signal generated by arrival of the request signal at the storage control circuit arrives at the latch after the data signal arrives at the latch. Although it is necessary to adjust the delay of the line, in the two-wire system that encodes the data signal and the request signal, the request signal is generated by taking the logical sum of the signal D0 and the signal D1 after the arrival of the signal D0 and the signal D1. Therefore, there is an advantage that it is not necessary to adjust the signal line delay between the signal D0 and the signal D1.
 図18は、上記非特許文献2に記載された調停回路の要部の構成図である。
 この調停回路は、同図18に示すように、パイプライン・ラッチ51と、OR素子52と、SRラッチ53,54と、相互排他回路(MutEx)55と、インバータ及びAND素子56,57と、パイプライン・ラッチ58と、OR素子59とから構成されている。
FIG. 18 is a configuration diagram of a main part of the arbitration circuit described in Non-Patent Document 2.
As shown in FIG. 18, the arbitration circuit includes a pipeline latch 51, an OR element 52, SR latches 53 and 54, a mutual exclusion circuit (MutEx) 55, inverter and AND elements 56 and 57, It consists of a pipeline latch 58 and an OR element 59.
 この調停回路では、バースト伝送中に調停結果を保持する機能を実現するために、データ符号入力信号Diに加えて、バースト終端入力信号BEiが入力される。バースト終端入力信号BEiは、データ信号と同様に、要求信号と共に伝送される。このため、データ符号入力信号Diを(Di0,Di1)とすると、データ及びバースト終端は、次のように符号化される。
   有効データ0→(Di0,Di1,BEi)=(1,0,0)
   有効データ1→(Di0,Di1,BEi)=(0,1,0)
   バースト終端→(Di0,Di1,BEi)=(0,0,1)
   スペーサ  →(Di0,Di1,BEi)=(0,0,0)
 以上の符号化により、バースト終端のない場合と同様に、OR素子52で3つの信号Di0,Di1,BEiの論理和をとることで、要求信号Ri0が生成される。
In this arbitration circuit, a burst termination input signal BEi is input in addition to the data code input signal Di in order to realize the function of holding the arbitration result during burst transmission. The burst termination input signal BEi is transmitted together with the request signal in the same manner as the data signal. Therefore, if the data code input signal Di is (Di0, Di1), the data and the burst end are encoded as follows.
Valid data 0 → (Di0, Di1, BEi) = (1, 0, 0)
Valid data 1 → (Di0, Di1, BEi) = (0, 1, 0)
Burst end → (Di0, Di1, BEi) = (0, 0, 1)
Spacer → (Di0, Di1, BEi) = (0, 0, 0)
By the above encoding, the request signal Ri0 is generated by taking the logical sum of the three signals Di0, Di1, and BEi by the OR element 52 as in the case where there is no burst termination.
 パイプライン・ラッチ51は、所定数のC素子から構成され、通知信号Ai0が“1”のとき、スペーサが入力された場合は、その符号データを通過させる一方、有効データが入力された場合は、その符号データを遮断する。また、パイプライン・ラッチ51は、通知信号Ai0が“0”のとき、有効データが入力された場合は、その符号データを通過させる一方、スペーサが入力された場合は、その符号データを遮断する。また、パイプライン・ラッチ58は、所定数のC素子から構成され、次段から送出される通知信号Aoが“1”のとき、スペーサが入力された場合は、その符号データを通過させる一方、有効データが入力された場合は、その符号データを遮断する。また、パイプライン・ラッチ51は、通知信号Aoが“0”のとき、有効データが入力された場合は、その符号データを通過させる一方、スペーサが入力された場合は、その符号データを遮断する。 The pipeline latch 51 is composed of a predetermined number of C elements, and when the notification signal Ai0 is “1”, when the spacer is input, the code data is passed, while when the valid data is input. The code data is cut off. Further, when the notification signal Ai0 is “0”, the pipeline latch 51 allows the code data to pass when valid data is input, and blocks the code data when a spacer is input. . The pipeline latch 58 is composed of a predetermined number of C elements, and when the notification signal Ao sent from the next stage is “1”, when the spacer is inputted, the code data is passed. When valid data is input, the code data is blocked. In addition, when the notification signal Ao is “0”, the pipeline latch 51 passes the code data when valid data is input, and blocks the code data when a spacer is input. .
 図18のバースト伝送機能を有する調停回路の動作では、基本的な調停動作は図16の調停回路と同様であり、同図16中の相互排他回路41と同図18中の相互排他回路55、及び、ハンドシェイク完了検知のための同図16中のインバータ及びAND素子42,43と同図18中のインバータ及びAND素子56,57は、それぞれ同じ役割を有する。一方、図18の調停回路では、図16の調停回路と比較して、SRラッチ53,54が付加されている。初期状態では、パイプライン・ラッチ51,58にスペーサが記憶されている。最初の伝送データに対しては、OR素子52により伝送データの符号の論理和をとることで、要求信号Ri0(=1)が生成され、この要求信号Ri0(=1)により、SRラッチ53の出力信号Qが“1”となる。 In the operation of the arbitration circuit having the burst transmission function of FIG. 18, the basic arbitration operation is the same as that of the arbitration circuit of FIG. 16, the mutual exclusion circuit 41 in FIG. 16 and the mutual exclusion circuit 55 in FIG. Also, the inverter and AND elements 42 and 43 in FIG. 16 for detecting the completion of handshake and the inverter and AND elements 56 and 57 in FIG. 18 have the same role. On the other hand, in the arbitration circuit of FIG. 18, SR latches 53 and 54 are added as compared with the arbitration circuit of FIG. In the initial state, spacers are stored in the pipeline latches 51 and 58. For the first transmission data, the OR element 52 takes the logical sum of the signs of the transmission data to generate a request signal Ri0 (= 1). By this request signal Ri0 (= 1), the SR latch 53 The output signal Q becomes “1”.
 この後、図18の調停回路では、図16の調停回路と同様の手順で、調停回路出力使用権信号(G0,G1)が生成される。調停回路出力使用権信号(G0,G1)が(1,0)であるとすると、最初の伝送データがパイプライン・ラッチ58に記憶される。そして、OR素子59により、通知信号Ai0(=1)が生成され、パイプライン・ラッチ51へ送られる。通知信号Ai0(=1)により、パイプライン・ラッチ51にスペーサが記憶される。このとき、SRラッチ53の入力信号S,Rが共に“0”となるので、出力信号Qで“1”が保持される。SRラッチ53の出力信号Qで“1”が維持されることにより、相互排他回路55の要求入力信号R0が“1”に維持されるため、バースト終端がパイプライン・ラッチ58に伝送されるまでの間、0番入力側でのハンドシェイクが完了しても、調停回路の出力の使用権が1番入力側に移ることはない。バースト終端がパイプライン・ラッチ58に記憶されたとき、バースト終端出力信号BEoが“1”となり、また、パイプライン・ラッチ51にはスペーサが記憶されているため、SRラッチ53の入力(S,R)が(0,1)となり、出力信号Qが“0”となる。これにより、0番入力側が得ていた調停回路の出力に使用権が開放される。 Thereafter, in the arbitration circuit of FIG. 18, arbitration circuit output use right signals (G0, G1) are generated in the same procedure as the arbitration circuit of FIG. If the arbitration circuit output use right signal (G0, G1) is (1, 0), the first transmission data is stored in the pipeline latch 58. Then, the notification signal Ai0 (= 1) is generated by the OR element 59 and sent to the pipeline latch 51. The spacer is stored in the pipeline latch 51 by the notification signal Ai0 (= 1). At this time, since the input signals S and R of the SR latch 53 are both “0”, “1” is held in the output signal Q. By maintaining "1" in the output signal Q of the SR latch 53, the request input signal R0 of the mutual exclusion circuit 55 is maintained at "1", so that the burst termination is transmitted to the pipeline latch 58. During this time, even if the handshake on the 0th input side is completed, the right to use the output of the arbitration circuit does not transfer to the 1st input side. When the burst end is stored in the pipeline latch 58, the burst end output signal BEo becomes “1”, and since the spacer is stored in the pipeline latch 51, the input (S, R) becomes (0, 1), and the output signal Q becomes “0”. As a result, the right to use is released to the output of the arbitration circuit obtained by the 0th input side.
 しかしながら、上記非特許文献2に記載の調停回路では、次のような問題点があった。
 すなわち、1線式では、非同期式論理回路の実現に必要な信号線数がデータのビット数に1を加えた値となるのに対し、2線式では、非同期式論理回路の実現に必要な信号線数がデータのビット数の2倍になり、回路規模が大きくなるという問題点がある。また、図18の調停回路は、バースト伝送機能を有するという点で、図16の調停回路の問題点を解決しているが、内部にラッチを含むため、回路規模が大きいという問題点がある。その理由は、調停結果を保持するSRラッチ53は、パイプライン・ラッチ51に記憶された符号から生成される要求信号Ri0と、パイプライン・ラッチ58に記憶されたバースト終端出力信号BEoとの双方を入力とし、上記2段のパイプライン・ラッチ51,53を必要としているためである。
However, the arbitration circuit described in Non-Patent Document 2 has the following problems.
That is, in the 1-wire system, the number of signal lines necessary for realizing the asynchronous logic circuit is a value obtained by adding 1 to the number of data bits, whereas in the 2-wire system, it is necessary for realizing the asynchronous logic circuit. There is a problem that the number of signal lines becomes twice the number of bits of data and the circuit scale becomes large. The arbitration circuit of FIG. 18 solves the problem of the arbitration circuit of FIG. 16 in that it has a burst transmission function, but has a problem that the circuit scale is large because it includes a latch inside. The reason is that the SR latch 53 that holds the arbitration result has both the request signal Ri0 generated from the code stored in the pipeline latch 51 and the burst termination output signal BEo stored in the pipeline latch 58. This is because the two-stage pipeline latches 51 and 53 are required.
 また、バースト伝送機能を有する2線式の非同期式論理回路は、有効データ符号とスペーサとが交互に伝送され、かつ、伝送経路上での輻輳などによりデータ伝送が一時停止してもスペーサが維持されることを前提にして設計されている。これは、パイプライン上での隣接する段のラッチの動作が互いに強く連動しているためである。しかし、スペーサは有効なデータを意味する符号ではないため、データ伝送が一時停止したときに消えてしまっても良いため、非特許文献3に記載された“Fully Decoupled Protocol”のように、隣接する段のラッチの動作を可能な限り分離するプロトコルがある。ところが、図18の調停回路では、禁止入力(S=R=1)を有するSRラッチ53が調停結果の保持に用いられているため、連続する2段のパイプライン・ラッチ51,53に記憶される符号の間に強い制約があり、適用可能なハンドシェイク・プロトコルが限定され、非特許文献3に記載されたプロトコルと共に用いることができないという問題点がある。 The 2-wire asynchronous logic circuit with burst transmission function transmits valid data codes and spacers alternately, and maintains the spacers even if data transmission is temporarily stopped due to congestion on the transmission path. It is designed on the assumption that This is because the operations of the latches of adjacent stages on the pipeline are strongly linked to each other. However, since the spacer is not a code indicating valid data, it may disappear when the data transmission is temporarily stopped. Therefore, the spacer is adjacent as in “Fully Decoupled Protocol” described in Non-Patent Document 3. There are protocols that isolate the operation of the stage latch as much as possible. However, in the arbitration circuit of FIG. 18, since the SR latch 53 having the prohibition input (S = R = 1) is used to hold the arbitration result, it is stored in the continuous two-stage pipeline latches 51 and 53. There is a strong restriction between codes, the applicable handshake protocol is limited, and there is a problem that it cannot be used with the protocol described in Non-Patent Document 3.
 この発明は、上述の事情に鑑みてなされたもので、バースト伝送機能を有し、また、適用可能なハンドシェイク・プロトコルの制限のない調停回路、該調停回路に用いられる調停方法、該調停回路が設けられている半導体回路及びデジタルシステムを提供することを目的としている。 The present invention has been made in view of the above-described circumstances, has an burst transmission function, and has no restriction on applicable handshake protocols, an arbitration method used in the arbitration circuit, and the arbitration circuit An object of the present invention is to provide a semiconductor circuit and a digital system provided with the above.
 上記課題を解決するために、この発明の第1の構成は、複数のマスタ側装置に共有される1つのスレーブ側装置に対して、前記各マスタ側装置から動作要求を行うための要求信号がほぼ同時に出力されるとき、前記各要求信号の間に発生する競合に対して調停を行う調停回路に係り、前記スレーブ側装置が、前記各マスタ側装置の前記要求信号に対応して動作完了を通知するための通知信号を出力する構成とされ、前記各マスタ側装置が、前記スレーブ側装置から前記通知信号を当該調停回路を介して入力すると共に、該通知信号に対応して前記要求信号を出力し、かつ、前記スレーブ側装置に対して連続して動作要求を行う場合に当該調停回路に対して調停結果の保持を指示するための調停結果保持信号を前記要求信号と並行して出力する構成とされ、当該調停回路は、前記各マスタ側装置からほぼ同時に出力される前記各要求信号のうちから最先着の要求信号を検出し、該要求信号を出力した前記マスタ側装置に優先権を与えると共に、前記スレーブ側装置から出力される前記通知信号を該マスタ側装置に送出する構成とされ、かつ、該マスタ側装置から出力される前記調停結果保持信号がアクティブモード、かつ該マスタ側装置に優先権が与えられているとき、前記調停結果の保持を行う一方、前記調停結果保持信号がノンアクティブモードかつ前記スレーブ側装置から出力される前記通知信号が前記動作完了を示すとき、前記調停結果の開放を行う調停結果保持手段が設けられていることを特徴としている。 In order to solve the above-described problem, the first configuration of the present invention is configured such that a request signal for making an operation request from each master device is sent to one slave device shared by a plurality of master devices. When output at substantially the same time, an arbitration circuit that arbitrates between conflicts occurring between the request signals, and the slave side device completes the operation in response to the request signals of the master side devices. Each master device receives the notification signal from the slave device via the arbitration circuit and outputs the request signal corresponding to the notification signal. When an operation request is continuously made to the slave side device, an arbitration result holding signal for instructing the arbitration circuit to hold the arbitration result is output in parallel with the request signal. The arbitration circuit detects the earliest request signal from the request signals output from the master side devices almost simultaneously, and gives priority to the master side device that has output the request signal. The notification signal output from the slave side device is sent to the master side device, and the arbitration result holding signal output from the master side device is in an active mode, and the master side device The arbitration result is held when the arbitration result is held in the non-active mode and the notification signal output from the slave side device indicates the completion of the operation. An arbitration result holding means for releasing the result is provided.
 この発明の第2の構成は、複数のマスタ側装置に共有される1つのスレーブ側装置に対して、前記各マスタ側装置から動作要求を行うための要求信号がほぼ同時に出力されるとき、前記各要求信号の間に発生する競合に対して調停を行う調停回路に用いられる調停方法に係り、前記スレーブ側装置を、前記各マスタ側装置の前記要求信号に対応して動作完了を通知するための通知信号を出力する構成とし、前記各マスタ側装置を、前記スレーブ側装置から前記通知信号を当該調停回路を介して入力すると共に、該通知信号に対応して前記要求信号を出力し、かつ、前記スレーブ側装置に対して連続して動作要求を行う場合に当該調停回路に対して調停結果の保持を指示するための調停結果保持信号を前記要求信号と並行して出力する構成としておき、当該調停回路が、前記各マスタ側装置からほぼ同時に出力される前記各要求信号のうちから最先着の要求信号を検出し、該要求信号を出力した前記マスタ側装置に優先権を与えると共に、前記スレーブ側装置から出力される前記通知信号を該マスタ側装置に送出し、かつ、該マスタ側装置から出力される前記調停結果保持信号がアクティブモード、かつ該マスタ側装置に優先権が与えられているとき、前記調停結果の保持を行う一方、前記調停結果保持信号がノンアクティブモードかつ前記スレーブ側装置から出力される前記通知信号が前記動作完了を示すとき、前記調停結果の開放を行うことを特徴としている。 According to a second configuration of the present invention, when a request signal for performing an operation request from each master side device is output almost simultaneously to one slave side device shared by a plurality of master side devices, In accordance with an arbitration method used in an arbitration circuit that arbitrates between conflicts that occur between request signals, in order to notify the slave side device of the completion of operation in response to the request signal of each master side device Each of the master side devices, the notification signal is input from the slave side device via the arbitration circuit, and the request signal is output in response to the notification signal, and A configuration in which an arbitration result holding signal for instructing the arbitration circuit to hold an arbitration result is output in parallel with the request signal when an operation request is continuously made to the slave device. The arbitration circuit detects the earliest request signal among the request signals output from the master side devices almost simultaneously, and gives priority to the master side device that has output the request signal. In addition, the notification signal output from the slave side device is sent to the master side device, and the arbitration result holding signal output from the master side device is in an active mode, and the master side device has priority. The arbitration result is held when given, and when the arbitration result holding signal is in an inactive mode and the notification signal output from the slave side device indicates the completion of the operation, the arbitration result is released. It is characterized by doing.
 この発明の構成によれば、マスタ側装置から出力される調停結果保持信号がアクティブモード、かつ同マスタ側装置に優先権が与えられているとき、調停結果保持手段で調停結果の保持が行われる一方、上記調停結果保持信号がノンアクティブモードかつスレーブ側装置から出力される通知信号が動作完了を示すとき、調停結果保持手段で調停結果の開放が行われるので、あるマスタ側装置によるデータ伝送を連続的に行う際に、他のマスタ側装置によるデータ伝送の要求が上記連続伝送中に当該調停回路へ到着しても、連続伝送が中断されないようにすることが可能となり、同調停回路は、バースト伝送を実現することが可能となる。また、調停結果保持手段へ入力される調停結果保持信号及び要求信号は、同一のマスタ側装置から並行して送出されるので、複数のマスタ側装置やスレーブ側装置が、それぞれ異なるハンドシェイク・プロトコルに従うものであっても、この調停回路は、円滑に調停を行うことができる。 According to the configuration of the present invention, when the arbitration result holding signal output from the master side device is in the active mode and priority is given to the master side device, the arbitration result holding unit holds the arbitration result. On the other hand, when the arbitration result holding signal is in the non-active mode and the notification signal output from the slave side device indicates the completion of the operation, the arbitration result is released by the arbitration result holding means. When continuously performing, even if a request for data transmission by another master side device arrives at the arbitration circuit during the continuous transmission, it is possible to prevent the continuous transmission from being interrupted. Burst transmission can be realized. In addition, since the arbitration result holding signal and the request signal input to the arbitration result holding means are sent in parallel from the same master side device, a plurality of master side devices and slave side devices have different handshake protocols. This arbitration circuit can perform arbitration smoothly even if it follows.
この発明の第1の実施例である調停回路の要部の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of the principal part of the arbitration circuit which is 1st Example of this invention. 図1中の調停結果保持モジュール61,63の機能を説明するフローチャートである。6 is a flowchart illustrating functions of arbitration result holding modules 61 and 63 in FIG. 1. 図1中の相互排他モジュール62の機能を説明するフローチャートである。It is a flowchart explaining the function of the mutual exclusion module 62 in FIG. 図1中のハンドシェイク完了検知モジュール65,66の機能を説明するフローチャートである。It is a flowchart explaining the function of the handshake completion detection modules 65 and 66 in FIG. 図1中の要求信号生成モジュール68の機能を説明するフローチャートである。It is a flowchart explaining the function of the request signal generation module 68 in FIG. 図1中の通知信号生成モジュール64,67の機能を説明するフローチャートである。It is a flowchart explaining the function of the notification signal generation modules 64 and 67 in FIG. 図1の調停回路60を実現するための各ブロック内部の電気的構成を示す回路図である。It is a circuit diagram which shows the electrical structure inside each block for implement | achieving the arbitration circuit 60 of FIG. 図7中の調停結果保持モジュール61を構成するインバータ及び3入力非対称C素子61aに含まれる3入力非対称C素子の構成及び機能を説明する図である。It is a figure explaining the structure and function of the 3 input asymmetric C element contained in the inverter and 3 input asymmetric C element 61a which comprise the arbitration result holding | maintenance module 61 in FIG. 図7中の相互排他回路62aの電気的構成を示す回路図である。It is a circuit diagram which shows the electrical constitution of the mutual exclusion circuit 62a in FIG. 図7中の通知信号生成モジュール64を構成する2入力対称C素子64aの構成及び機能を説明する図である。It is a figure explaining the structure and function of the 2-input symmetrical C element 64a which comprises the notification signal production | generation module 64 in FIG. 図7の調停回路60の動作を説明するための各信号の波形図である。It is a wave form diagram of each signal for demonstrating operation | movement of the arbitration circuit 60 of FIG. この発明の第2の実施例である調停回路が設けられている半導体回路の電気的構成を示すブロック図である。It is a block diagram which shows the electrical constitution of the semiconductor circuit provided with the arbitration circuit which is 2nd Example of this invention. デジタル集積回路の一例を示す構成図である。It is a block diagram which shows an example of a digital integrated circuit. 非同期式論理回路の一例を示す構成図である。It is a block diagram which shows an example of an asynchronous logic circuit. 図14の非同期式論理回路の動作を説明する各部の波形図である。FIG. 15 is a waveform diagram of each part for explaining the operation of the asynchronous logic circuit of FIG. 14. 非特許文献1に記載された調停回路の要部の構成図である。It is a block diagram of the principal part of the arbitration circuit described in the nonpatent literature 1. 図16の調停回路の動作を説明する各部の波形図である。FIG. 17 is a waveform diagram of each part for explaining the operation of the arbitration circuit of FIG. 非特許文献2に記載された調停回路の要部の構成図である。10 is a configuration diagram of a main part of an arbitration circuit described in Non-Patent Document 2. FIG.
 各マスタ側装置からほぼ同時に出力される各要求信号のうちから最先着の要求信号を検出し、同要求信号を出力したマスタ側装置に優先的に使用権を与えるための調停回路出力使用権信号を出力すると共に、スレーブ側装置から出力される通知信号をマスタ側装置に送出する構成とされ、かつ、同マスタ側装置から出力される調停結果保持信号がアクティブモード、かつ上記調停回路出力使用権信号がアクティブモードのとき、調停結果の保持を行う一方、上記調停結果保持信号がノンアクティブモードかつスレーブ側装置から出力される通知信号が動作完了を示すとき、調停結果の開放を行う調停結果保持手段が設けられている調停回路を提供する。 Arbitration circuit output right-of-use signal for preferentially granting the right of use to the master-side device that outputs the request signal from the request signals that are output almost simultaneously from each master-side device. , The notification signal output from the slave side device is sent to the master side device, and the arbitration result holding signal output from the master side device is in the active mode, and the arbitration circuit output use right Holds the arbitration result when the signal is in the active mode, while holding the arbitration result when the arbitration result holding signal is in the non-active mode and the notification signal output from the slave side device indicates the completion of the operation. An arbitration circuit is provided in which means are provided.
 また、この発明では、調停回路は、上記各マスタ側装置からほぼ同時に出力される上記各要求信号のうちから最先着の要求信号を検出して該要求信号に優先的に使用権を与えるための使用権信号を出力する相互排他手段を有し、上記調停結果保持手段は、上記調停結果が開放状態のとき、上記マスタ側装置から出力される要求信号を上記相互排他手段へ送出する構成とされている。 In the present invention, the arbitration circuit detects the earliest request signal from the request signals output almost simultaneously from the master side devices, and gives priority to use of the request signal. The arbitration result holding means is configured to send a request signal output from the master device to the mutual exclusion means when the arbitration result is in an open state. ing.
 また、この発明では、調停回路は、上記相互排他手段で検出された上記最先着の要求信号に優先的に使用権が与えられ、かつ、該要求信号を出力した上記マスタ側装置以外のマスタ側装置に入力される上記通知信号がノンアクティブモードのとき、上記最先着の要求信号を通過させて上記調停回路出力使用権信号として出力するハンドシェイク完了検知手段を有する。 In the present invention, the arbitration circuit is preferentially given a right to use the first-arrival request signal detected by the mutual exclusion means, and outputs a master side other than the master side device that outputs the request signal. When the notification signal input to the apparatus is in a non-active mode, the apparatus has handshake completion detection means for passing the first-arrival request signal and outputting it as the arbitration circuit output use right signal.
 また、この発明では、調停回路は、上記ハンドシェイク完了検知手段から出力される上記調停回路出力使用権信号を上記要求信号として上記スレーブ側装置へ送出する要求信号生成手段を有する。 Also, in the present invention, the arbitration circuit has request signal generation means for sending the arbitration circuit output use right signal output from the handshake completion detection means to the slave side device as the request signal.
 また、この発明では、調停回路は、上記調停回路出力使用権信号と上記スレーブ側装置から出力される上記通知信号とを待ち合わせることで、優先権が与えられた上記マスタ側装置に該通知信号を送出する通知信号生成手段を有する。 In the present invention, the arbitration circuit waits for the arbitration circuit output use right signal and the notification signal output from the slave side device, thereby sending the notification signal to the master side device to which priority is given. It has a notification signal generating means for sending out.
 また、この発明では、上記調停結果保持手段は、上記調停回路出力使用権信号及び調停結果保持信号を入力すると共に、上記通知信号生成手段から送出される上記通知信号の否定信号を待ち合わせることで、上記調停結果の保持を行うための排他要求信号を出力する3入力非対称C素子と、上記排他要求信号及び上記マスタ側装置から出力される上記要求信号を上記相互排他手段へ送出するOR素子とから構成されている。 Further, in the present invention, the arbitration result holding means receives the arbitration circuit output use right signal and the arbitration result holding signal and waits for a negative signal of the notification signal sent from the notification signal generating means, A three-input asymmetric C element that outputs an exclusion request signal for holding the arbitration result, and an OR element that sends the exclusion request signal and the request signal output from the master side device to the mutual exclusion means It is configured.
 また、この発明では、上記3入力非対称C素子は、上記調停結果保持信号がノンアクティブモードかつ上記通知信号の否定信号がノンアクティブモードのときに上記排他要求信号をノンアクティブモードとする一方、上記調停回路出力使用権信号がアクティブモードかつ上記調停結果保持信号がアクティブモードのときに上記排他要求信号をアクティブモードとし、上記調停回路出力使用権信号、調停結果保持信号及び通知信号の否定信号が他の状態に遷移したときに上記排他要求信号を前の状態に保持する構成とされている。 In the present invention, the three-input asymmetric C element sets the exclusion request signal to the non-active mode when the arbitration result holding signal is in the non-active mode and the negative signal of the notification signal is in the non-active mode. When the arbitration circuit output usage right signal is in the active mode and the arbitration result holding signal is in the active mode, the exclusion request signal is set to the active mode, and the arbitration circuit output usage right signal, the arbitration result holding signal, and the negative signal of the notification signal are other The above-described exclusion request signal is held in the previous state when transitioning to this state.
 また、この発明では、上記3入力非対称C素子は、上記調停回路出力使用権信号と上記調停結果保持信号との論理積をとって第1の出力信号を出力する第1のAND素子と、上記調停結果保持信号と上記排他要求信号の帰還信号との論理積をとって第2の出力信号を出力する第2のAND素子と、上記通知信号の否定信号と上記排他要求信号の帰還信号との論理積をとって第3の出力信号を出力する第3のAND素子と、上記第1の出力信号と上記第2の出力信号と上記第3の出力信号との論理和をとって上記排他要求信号を出力する第1のOR素子とから構成されている。 In the present invention, the three-input asymmetric C element includes a first AND element that performs a logical product of the arbitration circuit output use right signal and the arbitration result holding signal and outputs a first output signal; A second AND element that outputs a second output signal by ANDing the arbitration result holding signal and the feedback signal of the exclusion request signal, a negative signal of the notification signal, and a feedback signal of the exclusion request signal The exclusive request is obtained by performing a logical sum of a third AND element that takes a logical product and outputs a third output signal, and the first output signal, the second output signal, and the third output signal. And a first OR element that outputs a signal.
 また、この発明では、上記調停結果保持手段が2つ設けられているとき、上記相互排他手段は、互いにたすき掛け接続された2つのNAND素子からなり、上記各調停結果保持手段の上記OR素子から送出される上記各排他要求信号及び要求信号を入力する2入力のNANDラッチと、上記各NAND素子の出力信号が不正のときに伝播を防止する不正信号伝播防止回路とから構成されている。 In the present invention, when two arbitration result holding means are provided, the mutual exclusion means includes two NAND elements that are connected to each other, and the OR element of each of the arbitration result holding means. Each of the exclusive request signal and the request signal to be sent out is composed of a two-input NAND latch, and an illegal signal propagation prevention circuit for preventing propagation when the output signal of each NAND element is illegal.
 また、この発明では、上記不正信号伝播防止回路は、上記各NAND素子の出力信号に対して否定演算を行う複数入力の論理回路で構成されている。 In the present invention, the illegal signal propagation prevention circuit is composed of a multiple-input logic circuit that performs a negative operation on the output signal of each NAND element.
 また、この発明では、上記ハンドシェイク完了検知手段は、上記最先着の要求信号を出力した上記マスタ側装置以外のマスタ側装置に入力される上記通知信号に対して否定演算を行って反転通知信号を出力するインバータと、上記最先着の要求信号と上記反転通知信号と上記相互排他手段から出力される上記使用権信号との論理積をとって上記調停回路出力使用権信号を出力するAND素子とから構成されている。 Further, in the present invention, the handshake completion detection means performs a negative operation on the notification signal input to a master side device other than the master side device that has output the first-arrival request signal, thereby inverting the notification signal. An AND element that outputs the arbitration circuit output usage right signal by ANDing the first-come-first-request signal, the inversion notification signal, and the usage right signal output from the mutual exclusion means; It is composed of
 また、この発明では、上記要求信号生成手段は、上記ハンドシェイク完了検知手段から出力される上記調停回路出力使用権信号の論理和をとって上記要求信号として出力するOR素子で構成されている。 In the present invention, the request signal generating means is composed of an OR element that takes the logical sum of the arbitration circuit output use right signal output from the handshake completion detection means and outputs the logical sum.
 また、この発明では、上記通知信号生成手段は、上記調停回路出力使用権信号を入力すると共に、上記スレーブ側装置から出力される上記通知信号を待ち合わせることで、優先権が与えられた上記マスタ側装置に該通知信号を送出する2入力対称C素子から構成されている。 In the present invention, the notification signal generation means inputs the arbitration circuit output use right signal and waits for the notification signal output from the slave side device, thereby giving priority to the master side. It consists of a two-input symmetric C element that sends the notification signal to the device.
 また、この発明では、上記2入力対称C素子は、上記調停回路出力使用権信号がノンアクティブモードかつ上記スレーブ側装置から出力される上記通知信号がノンアクティブモードのときに上記マスタ側装置に送出する通知信号をノンアクティブモードとする一方、上記調停回路出力使用権信号がアクティブモードかつ上記スレーブ側装置から出力される上記通知信号がアクティブモードのときに上記マスタ側装置に送出する通知信号をアクティブモードとし、上記調停回路出力使用権信号及び上記スレーブ側装置から出力される上記通知信号が他の状態に遷移したときに上記マスタ側装置に送出する通知信号を前の状態に保持する構成とされている。 In the present invention, the two-input symmetric C element is sent to the master side device when the arbitration circuit output use right signal is in the non-active mode and the notification signal output from the slave side device is in the non-active mode. The notification signal to be sent to the master side device is activated when the arbitration circuit output use right signal is in the active mode and the notification signal output from the slave side device is in the active mode. Mode, and the notification signal to be sent to the master device when the arbitration circuit output usage right signal and the notification signal output from the slave device transition to another state are held in the previous state. ing.
 また、この発明では、上記2入力対称C素子は、上記調停回路出力使用権信号と上記マスタ側装置に送出される上記通知信号の帰還信号との論理積をとって第4の出力信号を出力する第4のAND素子と、上記調停回路出力使用権信号と上記スレーブ側装置から出力される上記通知信号との論理積をとって第5の出力信号を出力する第5のAND素子と、上記スレーブ側装置から出力される上記通知信号と上記マスタ側装置に送出される上記通知信号の帰還信号との論理積をとって第6の出力信号を出力する第6のAND素子と、上記第4の出力信号と上記第5の出力信号と上記第6の出力信号との論理和をとって上記マスタ側装置に送出される上記通知信号を出力する第2のOR素子とから構成されている。 In the present invention, the two-input symmetric C element outputs a fourth output signal by performing a logical product of the arbitration circuit output use right signal and the feedback signal of the notification signal sent to the master side device. A fourth AND element that performs a logical product of the arbitration circuit output use right signal and the notification signal output from the slave side device, and outputs a fifth output signal; and A sixth AND element that outputs a sixth output signal by ANDing the notification signal output from the slave side device and the feedback signal of the notification signal sent to the master side device; , The fifth output signal, and the sixth output signal, and a second OR element that outputs the notification signal sent to the master side device.
 図1は、この発明の第1の実施例である調停回路の要部の電気的構成を示すブロック図である。
 この例の調停回路60は、図示しない複数(たとえば、2つ)のマスタ側装置に共有される1つのスレーブ側装置に対して、同各マスタ側装置から動作要求を行うための要求信号がほぼ同時に出力されるとき、同各要求信号の間に発生する競合に対して調停を行う。特に、この実施例では、上記スレーブ側装置は、所定のハンドシェイク・プロトコルに基づいて、図1に示すように、上記各マスタ側装置の要求信号(要求入力信号Ri0,Ri1)に対応して動作完了を通知するための通知信号(通知入力信号Ao)を出力する。また、上記各マスタ側装置は、上記スレーブ側装置から通知信号(通知入力信号Ao)を当該調停回路60を介して通知出力信号Ai0,Ai1として入力すると共に、所定のハンドシェイク・プロトコルに基づいて、上記通知信号(通知出力信号Ai0,Ai1)に対応して上記要求信号(要求入力信号Ri0,Ri1)を出力し、かつ、スレーブ側装置に対して連続して動作要求を行う場合に当該調停回路60に対して調停結果の保持を指示するための調停結果保持信号Li0,Li1を上記要求信号(要求入力信号Ri0,Ri1)と並行して出力する。
FIG. 1 is a block diagram showing the electrical configuration of the main part of the arbitration circuit according to the first embodiment of the present invention.
In the arbitration circuit 60 of this example, a request signal for making an operation request from each of the master side devices to one slave side device shared by a plurality of (for example, two) master side devices (not shown) When they are output at the same time, arbitration is performed for contention occurring between the request signals. In particular, in this embodiment, the slave side device responds to the request signals (request input signals Ri0, Ri1) of each master side device as shown in FIG. 1 based on a predetermined handshake protocol. A notification signal (notification input signal Ao) for notifying completion of operation is output. Each master side device inputs a notification signal (notification input signal Ao) from the slave side device as notification output signals Ai0 and Ai1 via the arbitration circuit 60, and based on a predetermined handshake protocol. When the request signals (request input signals Ri0, Ri1) are output in response to the notification signals (notification output signals Ai0, Ai1) and continuous operation requests are made to the slave side device, the arbitration is performed. Arbitration result holding signals Li0 and Li1 for instructing the circuit 60 to hold the arbitration result are output in parallel with the request signals (request input signals Ri0 and Ri1).
 調停回路60は、上記各マスタ側装置からほぼ同時に出力される上記各要求信号(要求入力信号Ri0,Ri1)のうちから最先着の要求信号を検出し、同要求信号を出力したマスタ側装置に優先権を与えると共に、スレーブ側装置から出力される通知信号(通知入力信号Ao)を同マスタ側装置に送出する。また、調停回路60は、特に、この実施例では、マスタ側装置から出力される上記調停結果保持信号Li0,Li1がアクティブモード、かつ同マスタ側装置に優先権が与えられているとき、上記調停結果の保持を行う一方、上記調停結果保持信号Li0,Li1がノンアクティブモードかつ上記スレーブ側装置から出力される上記通知信号(通知入力信号Ao)が同スレーブ側装置の動作完了を示すとき、上記調停結果の開放を行う。 The arbitration circuit 60 detects the first request signal from the request signals (request input signals Ri0, Ri1) that are output almost simultaneously from the master side devices, and sends the request signal to the master side device that has output the request signals. In addition to giving priority, a notification signal (notification input signal Ao) output from the slave side device is sent to the master side device. Further, the arbitration circuit 60, in this embodiment, particularly when the arbitration result holding signals Li0 and Li1 output from the master side device are in the active mode and the master side device is given priority. While holding the result, when the arbitration result holding signals Li0 and Li1 are in the non-active mode and the notification signal (notification input signal Ao) output from the slave side device indicates the operation completion of the slave side device, Release arbitration results.
 すなわち、調停回路60は、同図に示すように、要求入力信号Ri0,Ri1、通知出力信号Ai0,Ai1及び調停結果保持信号Li0,Li1からなるマスタ側信号組を入出力すると共に、要求出力信号Ro及び通知入力信号Aoからなるスレーブ側信号組を入出力し、また、調停回路出力使用権信号G0,G1を出力する。特に、この実施例では、調停回路60は、調停結果保持モジュール61と、相互排他モジュール62と、調停結果保持モジュール63と、通知信号生成モジュール(M)64と、ハンドシェイク(HS)完了検知モジュール(M)65,66と、通知信号生成モジュール(M)67と、要求信号生成モジュール(M)68とから構成されている。 That is, as shown in the figure, the arbitration circuit 60 inputs and outputs a master-side signal set including request input signals Ri0 and Ri1, notification output signals Ai0 and Ai1, and arbitration result holding signals Li0 and Li1, and also outputs a request output signal. The slave side signal set composed of Ro and the notification input signal Ao is input / output, and arbitration circuit output use right signals G0 and G1 are output. In particular, in this embodiment, the arbitration circuit 60 includes an arbitration result holding module 61, a mutual exclusion module 62, an arbitration result holding module 63, a notification signal generation module (M) 64, and a handshake (HS) completion detection module. (M) 65, 66, a notification signal generation module (M) 67, and a request signal generation module (M) 68.
 調停結果保持モジュール61,63は、要求入力信号Ri0,Ri1、通知出力信号Ai0,Ai1、調停結果保持信号Li0,Li1、及び当該マスタ側信号組におけるハンドシェイクに対する調停回路出力使用権信号G0,G1を入力し、以下のような機能を有している。すなわち、調停結果保持モジュール61,63は、当該マスタ側信号組のハンドシェイクが第2相に遷移するとき、相互排他モジュール62に使用権を要求する排他要求信号LE0,LE1を出力する。また、調停結果保持モジュール61,63は、当該マスタ側信号組のハンドシェイクが第3相に遷移するとき、調停結果保持命令を意味する調停結果保持信号(Li0,Li1=“1”、アクティブモード)を受けていれば、相互排他モジュール62に対して当該モジュールの出力の使用権を保持する排他要求信号LE0,LE1を出力する。また、調停結果保持モジュール61,63は、当該マスタ側信号組のハンドシェイクが第4相に遷移するとき、調停結果不保持命令を意味する調停結果保持信号(Li0,Li1=“0” 、ノンアクティブモード)を受けていれば、相互排他モジュール62に対して当該モジュールの出力の使用権を開放する排他要求信号LE0,LE1を出力する。 The arbitration result holding modules 61 and 63 are arbitration circuit output usage right signals G0 and G1 for request input signals Ri0 and Ri1, notification output signals Ai0 and Ai1, arbitration result holding signals Li0 and Li1, and handshaking in the master side signal set. It has the following functions. That is, the arbitration result holding modules 61 and 63 output exclusion request signals LE0 and LE1 for requesting the right to use the mutual exclusion module 62 when the handshake of the master-side signal set transits to the second phase. Also, the arbitration result holding modules 61 and 63, when the handshake of the master side signal set transits to the third phase, arbitration result holding signals (Li0, Li1 = “1”, active mode meaning an arbitration result holding command) ), The exclusive request signals LE0 and LE1 holding the right to use the output of the module are output to the mutual exclusion module 62. Further, the arbitration result holding modules 61 and 63, when the master-side signal set handshake transitions to the fourth phase, arbitration result holding signals (Li0, Li1 = “0”, non-arbitration result holding instruction) If the active mode) is received, exclusion request signals LE0 and LE1 for releasing the right to use the output of the module are output to the mutual exclusion module 62.
 相互排他モジュール62は、調停結果保持モジュール61,63から、当該相互排他モジュール62の出力の使用権を要求するための排他要求信号LE0,LE1が出力されたとき、当該要求を先着させた方に対して優先的に上記使用権を与えるための使用権信号(相互排他モジュール出力使用権信号GE0,GE1)を出力し、開放要求があるまで維持する。ハンドシェイク完了検知モジュール65,66は、相互排他モジュール62で検出された最先着の要求入力信号に優先的に使用権が与えられ、かつ、同要求入力信号を出力したマスタ側装置以外のマスタ側装置に入力される通知出力信号がノンアクティブモードのとき、上記最先着の要求入力信号を通過させて上記調停回路出力使用権信号G0,G1として出力する。この場合、ハンドシェイク完了検知モジュール65,66は、要求入力信号Ri0,Ri1の一方を、他方のマスタ側信号組でのハンドシェイクが完了したときに通過させる一方、他方のマスタ側信号組でのハンドシェイクが未完である間は遮断する。要求入力信号Ri0,Ri1のうちの通過された信号は、当該調停回路60の出力の使用権の状態を表す調停回路出力使用権信号G0,G1として出力されるようになっている。 When the mutual exclusion module 62 outputs the exclusive request signals LE0 and LE1 for requesting the right to use the output of the mutual exclusion module 62 from the arbitration result holding modules 61 and 63, the mutual exclusion module 62 receives the request first. On the other hand, use right signals (mutual exclusion module output use right signals GE0, GE1) for giving the use right preferentially are output and maintained until a release request is made. The handshake completion detection modules 65 and 66 are preferentially given the right to use the first request input signal detected by the mutual exclusion module 62, and the master side other than the master side device that has output the request input signal. When the notification output signal input to the apparatus is in the non-active mode, the first-arrival request input signal is passed and output as the arbitration circuit output use right signals G0 and G1. In this case, the handshake completion detection modules 65 and 66 allow one of the request input signals Ri0 and Ri1 to pass when the handshake with the other master side signal set is completed, Block while handshake is incomplete. The passed signals of the request input signals Ri0 and Ri1 are output as arbitration circuit output usage right signals G0 and G1 indicating the status of the usage right of the output of the arbitration circuit 60.
 要求信号生成モジュール68は、ハンドシェイク完了検知モジュール65,66から出力される調停回路出力使用権信号G0,G1を合流させて要求出力信号Roとしてスレーブ側装置へ送出する。通知信号生成モジュール64,67は、調停回路出力使用権信号G0,G1に基づいて調停回路60の出力の使用権が与えられていれば、スレーブ側装置から入力された通知入力信号Aoを通過させる一方、同調停回路60の出力の使用権が与えられていなければ、同通知入力信号Aoを遮断する。この場合、通知信号生成モジュール64,67は、調停回路出力使用権信号G0,G1とスレーブ側装置から出力される通知入力信号Aoとを待ち合わせることで、優先権が与えられたマスタ側装置に同通知入力信号Aoを通知出力信号Ai0,Ai1として送出する。 The request signal generation module 68 joins the arbitration circuit output usage right signals G0 and G1 output from the handshake completion detection modules 65 and 66, and sends them to the slave side device as the request output signal Ro. The notification signal generation modules 64 and 67 pass the notification input signal Ao input from the slave side device if the right to use the output of the arbitration circuit 60 is given based on the arbitration circuit output usage right signals G0 and G1. On the other hand, if the right to use the output of the tuning stop circuit 60 is not given, the notification input signal Ao is cut off. In this case, the notification signal generation modules 64 and 67 wait for the arbitration circuit output usage right signals G0 and G1 and the notification input signal Ao output from the slave side device, and thereby synchronize with the master side device to which priority is given. Notification input signal Ao is transmitted as notification output signals Ai0 and Ai1.
 図2は、図1中の調停結果保持モジュール61,63の機能を説明するフローチャート、図3は、図1中の相互排他モジュール62の機能を説明するフローチャート、図4は、図1中のハンドシェイク完了検知モジュール65,66の機能を説明するフローチャート、図5は、図1中の要求信号生成モジュール68の機能を説明するフローチャート、及び、図6が、図1中の通知信号生成モジュール64,67の機能を説明するフローチャートである。
 これらの図を参照して、図1の調停回路60の機能を説明する。
2 is a flowchart for explaining the functions of the arbitration result holding modules 61 and 63 in FIG. 1, FIG. 3 is a flowchart for explaining the functions of the mutual exclusion module 62 in FIG. 1, and FIG. 4 is a hand in FIG. 5 is a flowchart for explaining the functions of the shake completion detection modules 65 and 66, FIG. 5 is a flowchart for explaining the functions of the request signal generation module 68 in FIG. 1, and FIG. 6 is a notification signal generation module 64 in FIG. 67 is a flowchart for explaining a function 67.
The function of the arbitration circuit 60 in FIG. 1 will be described with reference to these drawings.
 調停回路60の初期状態(図2中のステップA1、図3中のステップB1、図4中のステップC1、図5中のステップD1、図6中のステップE1)では、マスタ側信号組及びスレーブ側信号組におけるハンドシェイクは第1相状態に対応し、(Ri0,Ai0)=(Ri1,Ai1)=(Ro,Ao)=(0,0)となっている。また、調停結果保持信号(Li0,Li1)は、調停結果不保持の指定を意味する(0,0)、及び、調停回路出力使用権信号(G0,G1)が、両者のマスタ側信号組におけるハンドシェイクに使用権が与えられていないことを意味する(0,0)であるとする。また、調停回路60の内部信号の初期状態は、調停結果保持モジュール61,63では、相互排他モジュール62の出力の使用権を要求していないことを意味する排他要求信号(LE0,LE1)=(R0,R1)が(0,0)、及び、相互排他モジュール62では、出力の使用権が調停結果保持モジュール61,63を経由するハンドシェイクのどちらにも与えられていないことを意味する、相互排他モジュール出力使用権信号(GE0,GE1)が(0,0)となっている。 In the initial state of the arbitration circuit 60 (step A1 in FIG. 2, step B1 in FIG. 3, step C1 in FIG. 4, step D1 in FIG. 5, step E1 in FIG. 6), The handshake in the side signal set corresponds to the first phase state, and (Ri0, Ai0) = (Ri1, Ai1) = (Ro, Ao) = (0, 0). Further, the arbitration result holding signal (Li0, Li1) means designation of arbitration result non-holding (0, 0), and the arbitration circuit output use right signal (G0, G1) is in both master side signal sets. It is assumed that (0, 0) means that no usage right is given to the handshake. The initial state of the internal signal of the arbitration circuit 60 is an exclusive request signal (LE0, LE1) = (meaning that the arbitration result holding modules 61 and 63 do not request the right to use the output of the mutual exclusion module 62. R0, R1) is (0, 0), and the mutual exclusion module 62 means that the right to use the output is not given to either of the handshaking via the arbitration result holding modules 61, 63. The exclusive module output usage right signal (GE0, GE1) is (0, 0).
 まず、調停回路60の外部から、調停結果保持モジュール61,63へ双方のマスタ側信号組でのハンドシェイクを開始する要求入力信号(Ri0,Ri1)として(1,1)が入力されたとき(図2中のステップA2の“Y”)、調停結果保持モジュール61,63は、相互排他モジュール62へ同モジュール62の出力の使用権を要求する排他要求信号(LE0,LE1)として(1,1)を出力する(図2中のステップA3)。これらの排他要求信号(LE0,LE1)は、相互排他モジュール62へ排他要求信号(R0,R1)として入力され、相互排他モジュール62は、排他要求信号R0(=1)が先着すれば(図3中のステップB2で“Y”)、その出力の使用権を0番側のマスタ側信号組でのハンドシェイクに付与する相互排他モジュール出力使用権信号(GE0,GE1)として(1,0)を出力し(図3中のステップB3)、一方、排他要求信号R1(=1)が先着すれば(図3中のステップB2で“N”、かつステップB5で“Y”)、その出力の使用権を1番側のマスタ側信号組でのハンドシェイクに付与する相互排他モジュール出力使用権信号(GE0,GE1)として(0,1)を出力する(図3中のステップB6)。 First, when (1, 1) is input from the outside of the arbitration circuit 60 to the arbitration result holding modules 61 and 63 as request input signals (Ri0, Ri1) for starting handshaking with both master-side signal sets ( In step A2 in FIG. 2, “Y”), the arbitration result holding modules 61 and 63 receive (1, 1) as exclusive request signals (LE0, LE1) for requesting the mutual exclusive module 62 to use the output of the module 62. ) Is output (step A3 in FIG. 2). These exclusion request signals (LE0, LE1) are input to the mutual exclusion module 62 as exclusion request signals (R0, R1), and the mutual exclusion module 62 receives the exclusion request signal R0 (= 1) first (FIG. 3). (Y in step B2)), and (1, 0) is used as a mutual exclusion module output usage right signal (GE0, GE1) that gives the right to use the output to the handshake in the master side signal set of the 0th side. On the other hand, if the exclusion request signal R1 (= 1) arrives first (“N” in step B2 and “Y” in step B5) in FIG. 3, the output is used. (0, 1) is output as a mutual exclusion module output usage right signal (GE0, GE1) for granting the right to the handshake in the master side signal set of the first side (step B6 in FIG. 3).
 ハンドシェイク完了検知モジュール65は、0番側のマスタ側装置から送出される要求入力信号Ri0が“1”となり(図4中のステップC2で“Y”)、相互排他モジュール62の出力の使用権が与えられて相互排他モジュール出力使用権信号GE0が“1”となり(図4中のステップC3で“Y”)、かつ、1番側のマスタ側信号組でのハンドシェイクが完了して第1相に戻っていることを意味する通知出力信号Ai1が“0”となっている場合(図4中のステップC4で“Y”)、調停回路出力使用権を0番側のマスタ側信号組でのハンドシェイクに付与して、調停回路出力使用権信号G0(=1)を出力する(図4中のステップC5)。このとき、ハンドシェイク完了検知モジュール66は、要求入力信号Ri1の状態に関わらず(図4中のステップC2で“Y”又は“N”)、相互排他モジュール出力使用権信号GE1が“0”となっているので(図4中のステップC3で“N”)、調停回路出力使用権は1番側のマスタ側信号組でのハンドシェイクに付与されず、調停回路出力使用権信号G1(=0)を出力したままとなる(図4中のステップC1)。 In the handshake completion detection module 65, the request input signal Ri0 sent from the master device on the 0th side becomes “1” (“Y” in step C2 in FIG. 4), and the right to use the output of the mutual exclusion module 62 And the mutual exclusive module output usage right signal GE0 becomes “1” (“Y” in step C3 in FIG. 4), and the handshake with the first master side signal set is completed and the first When the notification output signal Ai1 which means that it has returned to the phase is “0” (“Y” in step C4 in FIG. 4), the arbitration circuit output use right is assigned to the master side signal set of the 0th side. The arbitration circuit output usage right signal G0 (= 1) is output (step C5 in FIG. 4). At this time, the handshake completion detection module 66 sets the mutual exclusive module output use right signal GE1 to “0” regardless of the state of the request input signal Ri1 (“Y” or “N” in step C2 in FIG. 4). (N in step C3 in FIG. 4), the arbitration circuit output usage right is not given to the handshake in the first master side signal set, and the arbitration circuit output usage right signal G1 (= 0) ) Is still output (step C1 in FIG. 4).
 また、ハンドシェイク完了検知モジュール65は、0番側のマスタ側装置から送出される要求入力信号Ri0の状態に関わらず(図4中のステップC2で“Y”又は“N”)、相互排他モジュール62の出力の使用権が与えらず、相互排他モジュール出力使用権信号GE0が“0”となっていれば(図4中のステップC3で“N”)、調停回路出力使用権を0番側のマスタ側信号組でのハンドシェイクに付与せず、調停回路出力使用権信号G0(=0)を出力したままとなる(図4中のステップC1)。このとき、ハンドシェイク完了検知モジュール66は、1番側のマスタ側装置から送出される要求入力信号Ri1が“1”となり(図4中のステップC2で“Y”)、相互排他モジュール62の出力の使用権が与えられて相互排他モジュール出力使用権信号GE1が“1”となり(図4中のステップC3で“Y”)、0番側のマスタ側装置への通知出力信号Ai0が1番側のマスタ側信号組でのハンドシェイクが完了して第1相に戻っていることを意味する通知出力信号Ai0(=0)となっている場合(図4中のステップC4で“Y”)、調停回路出力使用権を1番側のマスタ側信号組でのハンドシェイクに付与して、調停回路出力使用権信号G1(=1)を出力する(図4中のステップC5)。 The handshake completion detection module 65 is a mutual exclusion module regardless of the state of the request input signal Ri0 sent from the master device on the 0th side (“Y” or “N” in step C2 in FIG. 4). If the use right of the output 62 is not given and the mutual exclusive module output use right signal GE0 is “0” (“N” in step C3 in FIG. 4), the arbitration circuit output use right is assigned to the 0th side. The arbitration circuit output usage right signal G0 (= 0) remains output (step C1 in FIG. 4). At this time, in the handshake completion detection module 66, the request input signal Ri1 sent from the master device on the first side becomes “1” (“Y” in step C2 in FIG. 4), and the output of the mutual exclusion module 62 And the mutual exclusive module output usage right signal GE1 becomes “1” (“Y” in step C3 in FIG. 4), and the notification output signal Ai0 to the master device on the 0th side is the 1st side. When the notification output signal Ai0 (= 0) means that the handshake with the master side signal set is completed and the phase returns to the first phase ("Y" in step C4 in FIG. 4), The arbitration circuit output usage right is given to the handshake in the first master-side signal set, and the arbitration circuit output usage right signal G1 (= 1) is output (step C5 in FIG. 4).
 また、ハンドシェイク完了検知モジュール65から調停回路出力使用権信号G0(=1)が出力されているとき、調停回路60の外部から調停結果保持モジュール61への調停結果保持信号Li0の状態が調停結果保持の指定を意味する調停結果保持信号Li0(=1)となっているとすると(図2中のステップA4で“Y”)、調停結果保持モジュール61は、排他要求信号LE0(=1)を保持する状態へ遷移する(図2中のステップA6)。同様に、ハンドシェイク完了検知モジュール66から調停回路出力使用権信号G1(=1)が出力されているとき、調停回路60の外部から調停結果保持モジュール63への調停結果保持信号Li1の状態が調停結果保持の指定を意味する調停結果保持信号Li1(=1)となっているとすると(図2中のステップA4で“Y”)、調停結果保持モジュール63は、排他要求信号LE1(=1)を保持する状態へ遷移する(図2中のステップA6)。 When the arbitration circuit output usage right signal G0 (= 1) is output from the handshake completion detection module 65, the state of the arbitration result holding signal Li0 from the outside of the arbitration circuit 60 to the arbitration result holding module 61 is the arbitration result. Assuming that the arbitration result holding signal Li0 (= 1) means “holding” (“Y” in step A4 in FIG. 2), the arbitration result holding module 61 outputs the exclusion request signal LE0 (= 1). Transition to the state to be held (step A6 in FIG. 2). Similarly, when the arbitration circuit output usage right signal G1 (= 1) is output from the handshake completion detection module 66, the state of the arbitration result holding signal Li1 from the outside of the arbitration circuit 60 to the arbitration result holding module 63 is arbitrated. Assuming that the arbitration result holding signal Li1 (= 1) signifies that the result is to be held (“Y” in step A4 in FIG. 2), the arbitration result holding module 63 receives the exclusion request signal LE1 (= 1). (Step A6 in FIG. 2).
 ハンドシェイク完了検知モジュール65,66から送出される調停回路出力使用権信号(G0,G1)は、(1,0)(図5中のステップD2で“Y”)又は(0,1)(図5中のステップD2で“N”、ステップD3で“Y”)のいずれかとなるが、いずれの場合でも、要求信号生成モジュール68は、要求出力信号Roとして“1”を出力する(図5中のステップD4)。スレーブ側装置は、ハンドシェイクの手順に従う必要があるため、調停回路60は、要求出力信号Ro(=1)を出力した後に通知入力信号Ao(=1)を入力する。 The arbitration circuit output usage right signals (G0, G1) sent from the handshake completion detection modules 65, 66 are (1, 0) (“Y” in step D2 in FIG. 5) or (0, 1) (FIG. 5 in step D2 in FIG. 5 and “Y” in step D3. In either case, the request signal generation module 68 outputs “1” as the request output signal Ro (in FIG. 5). Step D4). Since the slave side device needs to follow the handshake procedure, the arbitration circuit 60 inputs the notification input signal Ao (= 1) after outputting the request output signal Ro (= 1).
 通知信号生成モジュール64は、通知入力信号Ao(=1)が入力され(図6中のステップE2で“Y”)、かつ、ハンドシェイク完了通知モジュール65から送出される調停回路出力使用権信号G0が“1”である場合(図6中のステップE3で“Y”)、通知出力信号Ai0(=1)を0番側のマスタ側装置へ出力するが、ハンドシェイク完了通知モジュール65から送出される調停回路出力使用権信号G0が“0”である場合には(図6中のステップE3で“N”)、0番側のマスタ側装置へ出力される通知出力信号Ai0は“0”のままとなる。同様に、通知信号生成モジュール67は、通知入力信号Ao(=1)が入力され(図6中のステップE2で“Y”)、かつ、ハンドシェイク完了通知モジュール66から送出される調停回路出力使用権信号G1が“1”である場合(図6中のステップE3で“Y”)、通知出力信号Ai1(=1)を1番側のマスタ側装置へ出力するが、ハンドシェイク完了通知モジュール66から送出される調停回路出力使用権信号G1が“0”である場合には(図6中のステップE3で“N”)、1番側のマスタ側装置へ出力される通知出力信号Ai1は“0”のままとなる。 The notification signal generation module 64 receives the notification input signal Ao (= 1) (“Y” in step E2 in FIG. 6), and also uses the arbitration circuit output usage right signal G0 sent from the handshake completion notification module 65. Is “1” (“Y” in step E3 in FIG. 6), the notification output signal Ai0 (= 1) is output to the master device on the 0th side, but is transmitted from the handshake completion notification module 65. When the arbitration circuit output usage right signal G0 is “0” (“N” in step E3 in FIG. 6), the notification output signal Ai0 output to the master device on the 0th side is “0”. Will remain. Similarly, the notification signal generation module 67 receives the notification input signal Ao (= 1) (“Y” in step E2 in FIG. 6) and uses the arbitration circuit output transmitted from the handshake completion notification module 66. When the right signal G1 is “1” (“Y” in step E3 in FIG. 6), the notification output signal Ai1 (= 1) is output to the master device on the first side, but the handshake completion notification module 66 When the arbitration circuit output usage right signal G1 sent out from “1” is “0” (“N” in step E3 in FIG. 6), the notification output signal Ai1 outputted to the master device on the first side is “0”. It remains 0 ".
 調停結果保持モジュール61が調停結果保持状態となっていて、排他要求信号LE0(=1)を出力しているとき(図2中のステップA6)、通知信号生成モジュール64が通知出力信号Ai0(=1)を出力していて、0番側のマスタ側装置から調停結果保持モジュール61へ送出される調停結果保持信号Li0が調停結果不保持の指定を意味する調停結果保持信号Li0(=0)となっている場合には(図2中のステップA7で“Y”)、調停結果保持モジュール61は、排他要求信号LE0(=0)を出力して初期状態に戻る(図2中のステップA1)。同様に、調停結果保持モジュール63が調停結果保持状態となっていて、排他要求信号LE1(=1)を出力しているとき(図2中のステップA6)、通知信号生成モジュール67が通知出力信号Ai1(=1)を出力していて、1番側のマスタ側装置から調停結果保持モジュール63へ送出される調停結果保持信号Li1が調停結果不保持の指定を意味する調停結果保持信号Li1(=0)となっている場合には(図2中のステップA7で“Y”)、調停結果保持モジュール63は、排他要求信号LE1(=0)を出力して初期状態に戻る(図2中のステップA1)。 When the arbitration result holding module 61 is in the arbitration result holding state and is outputting the exclusion request signal LE0 (= 1) (step A6 in FIG. 2), the notification signal generating module 64 is the notification output signal Ai0 (= 1), the arbitration result holding signal Li0 sent from the master device on the 0th side to the arbitration result holding module 61 is an arbitration result holding signal Li0 (= 0) which means designation of no arbitration result holding. If it is (“Y” in step A7 in FIG. 2), the arbitration result holding module 61 outputs the exclusive request signal LE0 (= 0) and returns to the initial state (step A1 in FIG. 2). . Similarly, when the arbitration result holding module 63 is in the arbitration result holding state and outputting the exclusion request signal LE1 (= 1) (step A6 in FIG. 2), the notification signal generating module 67 outputs the notification output signal. Ai1 (= 1) is output, and the arbitration result holding signal Li1 sent from the master device on the first side to the arbitration result holding module 63 means the arbitration result holding signal Li1 (= 2 (“Y” in step A7 in FIG. 2), the arbitration result holding module 63 outputs the exclusive request signal LE1 (= 0) and returns to the initial state (in FIG. 2). Step A1).
 調停回路出力使用権信号(G0,G1)は、(1,0)又は(0,1)の一方となっているため、通知信号生成モジュール64,67から出力される通知出力信号(Ai0,Ai1)も、(1,0)又は(0,1)となり、これにより、相互排他モジュール62へ排他要求信号LE0(=R0=1)あるいは排他要求信号LE1(=R1=1)を先着させた方のマスタ側信号組におけるハンドシェイクが第3相の状態となる一方、他方のマスタ側信号組におけるハンドシェイクが第1相か第2相の状態のままとなっている。マスタ側装置は、ハンドシェイクの手順に従う必要があるため、通知出力信号Ai0が“1”となっている場合には、要求入力信号Ri0が“0”となる一方、通知出力信号Ai1が“1”となっている場合には、要求入力信号Ri1が“0”となる。 Since the arbitration circuit output usage right signal (G0, G1) is one of (1, 0) or (0, 1), the notification output signals (Ai0, Ai1) output from the notification signal generation modules 64, 67 ) Also becomes (1, 0) or (0, 1), so that the exclusion request signal LE0 (= R0 = 1) or the exclusion request signal LE1 (= R1 = 1) is first arrived at the mutual exclusion module 62. While the handshake in the master side signal set is in the third phase, the handshake in the other master side signal set remains in the first phase or the second phase. Since the master side apparatus needs to follow the handshake procedure, when the notification output signal Ai0 is “1”, the request input signal Ri0 is “0”, while the notification output signal Ai1 is “1”. In the case of "", the request input signal Ri1 is "0".
 調停回路60に要求入力信号Ri0(=0)が入力されたとき、調停結果保持モジュール61が排他要求信号LE0(=1)の出力を保持している状況であったとすると(図2中のステップA6)、調停結果保持モジュール61は、要求入力信号Ri0(=0)の入力に対して状態遷移することなく、排他要求信号LE0(=1)の出力を保持し続ける。
 また、要求入力信号Ri0(=0)が入力されたとき、調停結果保持モジュール61が排他要求信号LE0(=1)を出力しているが、保持状態になっていなかったとすると(図2中のステップA3)、調停回路出力使用権信号G0が“1”であると共に、排他要求信号LE0(=1)を保持する状態でなく、調停結果保持信号Li0が“0”であることから(図2中のステップA4)、調停結果保持モジュール61は、要求入力信号Ri0(=0)の入力に対して状態遷移し(図2中のステップA5で“Y”)、排他要求信号LE0(=0)を出力して初期状態に戻る(図2中のステップA1)。
Assume that when the request input signal Ri0 (= 0) is input to the arbitration circuit 60, the arbitration result holding module 61 holds the output of the exclusion request signal LE0 (= 1) (step in FIG. 2). A6) The arbitration result holding module 61 continues to hold the output of the exclusive request signal LE0 (= 1) without making a state transition with respect to the input of the request input signal Ri0 (= 0).
Further, when the request input signal Ri0 (= 0) is input, the arbitration result holding module 61 outputs the exclusive request signal LE0 (= 1), but is not in the holding state (in FIG. 2). In step A3), the arbitration circuit output use right signal G0 is “1” and the exclusive request signal LE0 (= 1) is not held, but the arbitration result holding signal Li0 is “0” (FIG. 2). In step A4), the arbitration result holding module 61 makes a state transition to the input of the request input signal Ri0 (= 0) (“Y” in step A5 in FIG. 2), and the exclusive request signal LE0 (= 0). To return to the initial state (step A1 in FIG. 2).
 また、調停回路60に要求入力信号Ri1(=0)が入力されたときも、同様に、調停結果保持モジュール63が排他要求信号LE1(=1)の出力を保持している状況であったとすると(図2中のステップA6)、調停結果保持モジュール63は、要求入力信号Ri1(=0)の入力に対して状態遷移することなく、排他要求信号LE1(=1)の出力を保持し続ける。また、調停回路60に要求入力信号Ri1(=0)が入力されたとき、調停結果保持モジュール61が排他要求信号LE1(=1)を出力しているが、保持状態になっていなかったとすると(図2中のステップA3)、調停回路出力使用権信号G1が“1”であると共に、排他要求信号LE1(=1)を保持する状態でなく、調停結果保持信号Li1が“0”であることから(図2中のステップA4)、調停結果保持モジュール63は、要求入力信号Ri1(=0)の入力に対して状態遷移し(図2中のステップA5で“Y”)、排他要求信号LE1(=0)を出力して初期状態に戻る(図2中のステップA1)。 Similarly, when the request input signal Ri1 (= 0) is input to the arbitration circuit 60, similarly, it is assumed that the arbitration result holding module 63 holds the output of the exclusive request signal LE1 (= 1). (Step A6 in FIG. 2), the arbitration result holding module 63 continues to hold the output of the exclusive request signal LE1 (= 1) without making a state transition with respect to the input of the request input signal Ri1 (= 0). Further, when the request input signal Ri1 (= 0) is input to the arbitration circuit 60, the arbitration result holding module 61 outputs the exclusive request signal LE1 (= 1), but is not in the holding state ( In step A3) in FIG. 2, the arbitration circuit output usage right signal G1 is “1” and the exclusive request signal LE1 (= 1) is not held, but the arbitration result holding signal Li1 is “0”. (Step A4 in FIG. 2), the arbitration result holding module 63 makes a state transition to the input of the request input signal Ri1 (= 0) (“Y” in Step A5 in FIG. 2), and the exclusive request signal LE1. (= 0) is output to return to the initial state (step A1 in FIG. 2).
 相互排他モジュール62は、当該モジュール出力の使用権を入力0(0番側入力)に付与しているとき(図3中のステップB3)、排他要求信号LE0(=R0)が“1”のままであるとすると(図3中のステップB4で“N”)、上記使用権を委譲させることなく、相互排他モジュール出力使用権信号(GE0,GE1)として(1,0)を出力した状態を維持する(図3中のステップB3)。また、相互排他モジュール62は、当該モジュール出力の使用権を入力0に付与しているとき(図3中のステップB3)、排他要求信号LE0(=R0)が“0”となるとすると(図3中のステップB4で“Y”)、他方の排他要求信号LE1(=R1)が“1”となっていれば(図3中のステップB5で“Y”)、上記使用権を委譲して相互排他モジュール出力使用権信号(GE0,GE1)を(0,1)に遷移させ(図3中のステップB6)、また、他方の排他要求信号LE1(=R1)が“0”となっていれば(図3中のステップB5で“N”)、初期状態に戻り、相互排他モジュール出力使用権信号(GE0,GE1)を(0,0)に遷移させる(図3中のステップB1)。 When the mutual exclusion module 62 grants the right to use the module output to the input 0 (0th input) (step B3 in FIG. 3), the exclusion request signal LE0 (= R0) remains “1”. (“N” in step B4 in FIG. 3), the state in which (1, 0) is output as the mutually exclusive module output use right signal (GE0, GE1) is maintained without delegating the use right. (Step B3 in FIG. 3). Further, when the mutual exclusion module 62 grants the right to use the module output to the input 0 (step B3 in FIG. 3), if the exclusion request signal LE0 (= R0) becomes “0” (FIG. 3). If the other exclusive request signal LE1 (= R1) is “1” (“Y” in step B5 in FIG. 3), the above right of use is delegated to each other. If the exclusive module output use right signal (GE0, GE1) is changed to (0, 1) (step B6 in FIG. 3), and the other exclusive request signal LE1 (= R1) is “0” ("N" in step B5 in FIG. 3), the process returns to the initial state, and the mutual exclusive module output use right signal (GE0, GE1) is changed to (0, 0) (step B1 in FIG. 3).
 また、相互排他モジュール62は、当該モジュール出力の使用権を入力1(1番側入力)に付与しているとき(図3中のステップB6)、排他要求信号LE1(=R1)が“1”のままであるとすると(図3中のステップB7で“N”)、上記使用権を委譲させることなく、相互排他モジュール出力使用権信号(GE0,GE1)として(0,1)を出力した状態を維持する(図3中のステップB6)。また、相互排他モジュール62は、当該モジュール出力の使用権を入力1に付与しているとき(図3中のステップB6)、排他要求信号LE1(=R1)が“0”となるとすると(図3中のステップB7で“Y”)、他方の排他要求信号LE0(=R0)が“1”となっていれば(図3中のステップB8で“Y”)、上記使用権を委譲して相互排他モジュール出力使用権信号(GE0,GE1)を(1,0)に遷移させ(図3中のステップB3)、また、他方の排他要求信号LE0(=R0)が“0”となっていれば(図3中のステップB8で“N”)、初期状態に戻り、相互排他モジュール出力使用権信号(GE0,GE1)を(0,0)に遷移させる(図3中のステップB1)。 Further, when the mutual exclusion module 62 grants the right to use the module output to the input 1 (first input) (step B6 in FIG. 3), the exclusion request signal LE1 (= R1) is “1”. (N in step B7 in FIG. 3), (0, 1) is output as the mutual exclusion module output usage right signal (GE0, GE1) without delegating the usage right. Is maintained (step B6 in FIG. 3). Further, when the mutual exclusion module 62 grants the right to use the module output to the input 1 (step B6 in FIG. 3), if the exclusion request signal LE1 (= R1) becomes “0” (FIG. 3). If the other exclusive request signal LE0 (= R0) is “1” (“Y” in step B8 in FIG. 3), the above right of use is transferred to each other. If the exclusive module output use right signal (GE0, GE1) is changed to (1, 0) (step B3 in FIG. 3), and the other exclusive request signal LE0 (= R0) is “0” (“N” in step B8 in FIG. 3), the process returns to the initial state, and the mutual exclusive module output use right signal (GE0, GE1) is changed to (0, 0) (step B1 in FIG. 3).
 また、ハンドシェイク検知モジュール65は、調停回路出力使用権信号G0(=1)を出力している状態で(図4中のステップC5)、0番側のマスタ側装置から送出される要求入力信号Ri0が“0”となったとすると(図4中のステップC6)、調停回路出力使用権を解除して初期状態に戻り、調停回路出力使用権信号G0(=0)を出力する(図4中のステップC1)。また、ハンドシェイク検知モジュール66は、調停回路出力使用権信号G1(=1)を出力している状態で(図4中のステップC5)、1番側のマスタ側装置から送出される要求入力信号Ri1が“0”となったとすると(図4中のステップC6)、調停回路出力使用権を解除して初期状態に戻り、調停回路出力使用権信号G1(=0)を出力する(図4中のステップC1)。 Further, the handshake detection module 65 outputs the arbitration circuit output usage right signal G0 (= 1) (step C5 in FIG. 4), and a request input signal sent from the master device on the 0th side. If Ri0 becomes “0” (step C6 in FIG. 4), the arbitration circuit output use right is canceled and the initial state is returned, and the arbitration circuit output use right signal G0 (= 0) is output (in FIG. 4). Step C1). In addition, the handshake detection module 66 outputs the arbitration circuit output usage right signal G1 (= 1) (step C5 in FIG. 4), and a request input signal sent from the first master device. If Ri1 becomes “0” (step C6 in FIG. 4), the arbitration circuit output right to use is canceled to return to the initial state, and the arbitration circuit output right to use signal G1 (= 0) is output (in FIG. 4). Step C1).
 要求信号生成モジュール68は、要求出力信号Ro(=1)を出力している状態から(図5中のステップD4)、ハンドシェイク検知モジュール65から送出される調停回路出力使用権信号G0が“0”の状態で(図5中のステップD5で“Y”)ハンドシェイク検知モジュール66から送出される調停回路出力使用権信号G1が“0”となるか(図5中のステップD6で“Y”)、又は、調停回路出力使用権信号G0が“0”となったとき(図5中のステップD5で“Y”)、調停回路出力使用権信号G1が“0”の状態であれば(図5中のステップD6で“Y”)、初期状態に戻り、要求出力信号Ro(=0)を出力する(図5中のステップD1)。調停回路60の出力側に接続されるスレーブ側装置は、ハンドシェイクの手順に従う必要があるため、同調停回路60は、要求出力信号Ro(=0)を出力した後に通知入力信号Ao(=0)が入力される。 From the state in which the request signal generation module 68 outputs the request output signal Ro (= 1) (step D4 in FIG. 5), the arbitration circuit output usage right signal G0 sent from the handshake detection module 65 is “0”. "(" Y "in step D5 in FIG. 5), whether the arbitration circuit output usage right signal G1 sent from the handshake detection module 66 becomes" 0 "(" Y "in step D6 in FIG. 5) ) Or when the arbitration circuit output usage right signal G0 becomes “0” (“Y” in step D5 in FIG. 5), if the arbitration circuit output usage right signal G1 is in the “0” state (FIG. 5 ("Y" in step D6), the process returns to the initial state, and the request output signal Ro (= 0) is output (step D1 in FIG. 5). Since the slave side device connected to the output side of the arbitration circuit 60 needs to follow the handshake procedure, the tuning arbitration circuit 60 outputs the notification output signal Ao (= 0) after outputting the request output signal Ro (= 0). ) Is entered.
 通知信号生成モジュール64は、通知出力信号Ai0(=1)を出力している状態であれば(図6中のステップE4)、スレーブ側装置から通知入力信号Ao(=0)が入力されたとき(図6中のステップE5で“Y”)、ハンドシェイク完了検知モジュール65が調停回路出力使用権信号G0(=0)を出力しているため(図6中のステップE6で“Y”)、初期状態に戻って通知出力信号Ai0(=0)を出力する(図6中のステップE1)。また、通知信号生成モジュール67は、通知出力信号Ai1(=1)を出力している状態であれば(図6中のステップE4)、通知入力信号Ao(=0)が入力されたとき(図6中のステップE5で“Y”)、ハンドシェイク完了検知モジュール66が調停回路出力使用権信号G1(=0)を出力しているため(図6中のステップE6で“Y”)、初期状態に戻って通知出力信号Ai1(=0)を出力する(図6中のステップE1)。 When the notification signal generation module 64 is outputting the notification output signal Ai0 (= 1) (step E4 in FIG. 6), the notification input signal Ao (= 0) is input from the slave side device. (“Y” in step E5 in FIG. 6), the handshake completion detection module 65 outputs the arbitration circuit output usage right signal G0 (= 0) (“Y” in step E6 in FIG. 6). Returning to the initial state, the notification output signal Ai0 (= 0) is output (step E1 in FIG. 6). If the notification signal generation module 67 is in a state of outputting the notification output signal Ai1 (= 1) (step E4 in FIG. 6), the notification input signal Ao (= 0) is input (FIG. 6). 6 is “Y” in step E5), and the handshake completion detection module 66 outputs the arbitration circuit output usage right signal G1 (= 0) (“Y” in step E6 in FIG. 6). Then, the notification output signal Ai1 (= 0) is output (step E1 in FIG. 6).
 図7は、図1の調停回路60を実現するための各ブロック内部の電気的構成を示す回路図である。
 この調停回路60では、同図7に示すように、調停結果保持モジュール61は、インバータ及び3入力非対称C素子61aとOR素子61bとから構成されている。インバータ及び3入力非対称C素子61aは、調停回路出力使用権信号G0及び調停結果保持信号Li0を入力すると共に、通知信号生成モジュール64から送出される通知出力信号Ai0の否定信号を待ち合わせることで、調停結果の保持を行うための排他要求信号EX0を出力する。OR素子61bは、排他要求信号EX0及び0番側のマスタ側装置から出力される要求入力信号Ri0を排他要求信号LE0として相互排他モジュール62へ送出する。
FIG. 7 is a circuit diagram showing an electrical configuration inside each block for realizing the arbitration circuit 60 of FIG.
In the arbitration circuit 60, as shown in FIG. 7, the arbitration result holding module 61 includes an inverter and a three-input asymmetric C element 61a and an OR element 61b. The inverter and the 3-input asymmetric C element 61a receive the arbitration circuit output usage right signal G0 and the arbitration result holding signal Li0, and wait for a negative signal of the notification output signal Ai0 sent from the notification signal generation module 64. An exclusive request signal EX0 for holding the result is output. The OR element 61b sends the exclusion request signal EX0 and the request input signal Ri0 output from the master device on the 0th side to the mutual exclusion module 62 as the exclusion request signal LE0.
 調停結果保持モジュール63は、調停結果保持モジュール61と同様に、インバータ及び3入力非対称C素子63aとOR素子63bとから構成されている。インバータ及び3入力非対称C素子63aは、調停回路出力使用権信号G1及び調停結果保持信号Li1を入力すると共に、通知信号生成モジュール67から送出される通知出力信号Ai1の否定信号を待ち合わせることで、調停結果の保持を行うための排他要求信号EX1を出力する。OR素子63bは、排他要求信号EX1及び1番側のマスタ側装置から出力される要求入力信号Ri1を排他要求信号LE1として相互排他モジュール62へ送出する。また、相互排他モジュール62は相互排他回路62a、及び通知信号生成モジュール64が2入力対称C素子64aで構成されている。2入力対称C素子64aは、調停回路出力使用権信号G0を入力すると共に、スレーブ側装置から出力される通知入力信号Aoを待ち合わせることで、優先権が与えられた0番側のマスタ側装置に同通知入力信号Aoを通知出力信号Ai0として送出する。 The arbitration result holding module 63, like the arbitration result holding module 61, includes an inverter and a three-input asymmetric C element 63a and an OR element 63b. The inverter and the three-input asymmetric C element 63a receive the arbitration circuit output usage right signal G1 and the arbitration result holding signal Li1, and wait for a negative signal of the notification output signal Ai1 sent from the notification signal generation module 67. An exclusion request signal EX1 for holding the result is output. The OR element 63b sends the exclusion request signal EX1 and the request input signal Ri1 output from the first master side device to the mutual exclusion module 62 as the exclusion request signal LE1. In the mutual exclusion module 62, a mutual exclusion circuit 62a and a notification signal generation module 64 are configured by a two-input symmetric C element 64a. The 2-input symmetric C element 64a receives the arbitration circuit output usage right signal G0 and waits for the notification input signal Ao output from the slave side device, thereby allowing the 0th master side device to be given priority to The notification input signal Ao is transmitted as a notification output signal Ai0.
 ハンドシェイク(HS)完了検知モジュール65は、インバータ及び3入力のAND素子65aで構成され、同インバータは、通知出力信号Ai1に対して否定演算を行って反転通知信号を出力し、同AND素子は、要求入力信号Ri0と上記反転通知信号と相互排他モジュールから出力される相互排他モジュール出力使用権信号GE0との論理積をとって調停回路出力使用権信号G0を出力する。ハンドシェイク(HS)完了検知モジュール66は、インバータ及び3入力AND素子66aで構成され、同インバータは、通知出力信号Ai0に対して否定演算を行って反転通知信号を出力し、同AND素子は、要求入力信号Ri1と上記反転通知信号と相互排他モジュールから出力される相互排他モジュール出力使用権信号GE1との論理積をとって調停回路出力使用権信号G1を出力する。また、通知信号生成モジュール67は、2入力対称C素子67aで構成されている。2入力対称C素子67aは、調停回路出力使用権信号G1を入力すると共に、通知入力信号Aoを待ち合わせることで、優先権が与えられた1番側のマスタ側装置に同通知入力信号Aoを通知出力信号Ai1として送出する。また、要求信号生成モジュール68は、2入力のOR素子68aから構成されている。 The handshake (HS) completion detection module 65 includes an inverter and a three-input AND element 65a. The inverter performs a negative operation on the notification output signal Ai1 and outputs an inversion notification signal. The AND element The arbitration circuit output usage right signal G0 is output by ANDing the request input signal Ri0, the inversion notification signal and the mutual exclusion module output usage right signal GE0 output from the mutual exclusion module. The handshake (HS) completion detection module 66 includes an inverter and a 3-input AND element 66a. The inverter performs a negative operation on the notification output signal Ai0 and outputs an inversion notification signal. The arbitration circuit output usage right signal G1 is output by taking the logical product of the request input signal Ri1, the inversion notification signal and the mutual exclusion module output usage right signal GE1 output from the mutual exclusion module. The notification signal generation module 67 is configured by a two-input symmetric C element 67a. The 2-input symmetric C element 67a inputs the arbitration circuit output usage right signal G1 and waits for the notification input signal Ao, thereby notifying the first master side device to which the priority is given the notification input signal Ao. Output as output signal Ai1. The request signal generation module 68 includes a two-input OR element 68a.
 図8は、図7中の調停結果保持モジュール61を構成するインバータ及び3入力非対称C素子61aに含まれる3入力非対称C素子の構成及び機能を説明する図である。
 この3入力非対称C素子70は、同図8(a)に示すように、入力信号(A,B,C)を入力して出力信号Yを出力する。この場合、同図8(b)に示すように、入力信号(A,B,C)が(0,0,0)のときに出力信号Yとして“0”、入力信号(A,B,C)が(1,0,0)のときに出力信号Yとして“0”、入力信号(A,B,C)が(1,1,0)のときに出力信号Yとして“1”、及び、入力信号(A,B,C)が(1,1,1)のときに出力信号Yとして“1”が出力され、入力信号(A,B,C)がその他の組合せの場合に出力信号Yの値は前状態のまま維持される。
FIG. 8 is a diagram for explaining the configuration and functions of the inverter constituting the arbitration result holding module 61 in FIG. 7 and the three-input asymmetric C element included in the three-input asymmetric C element 61a.
As shown in FIG. 8A, the three-input asymmetric C element 70 inputs an input signal (A, B, C) and outputs an output signal Y. In this case, as shown in FIG. 8B, when the input signal (A, B, C) is (0, 0, 0), the output signal Y is “0”, and the input signal (A, B, C). ) Is (1, 0, 0) when the output signal Y is “0”, when the input signal (A, B, C) is (1, 1, 0), the output signal Y is “1”, and When the input signal (A, B, C) is (1, 1, 1), “1” is output as the output signal Y, and when the input signal (A, B, C) is another combination, the output signal Y The value of is kept in the previous state.
 たとえば、3入力非対称C素子70の入力信号(A,B,C)が(0,0,0)となった場合、前状態にかかわらず出力信号Yが“0”となり、入力信号(A,B,C)が(0,0,1)となっても、出力信号Yが“0”のまま維持される。また、入力信号(A,B,C)が(1,1,1)となった場合は、前状態にかかわらず出力信号Yが“1”となり、入力信号(A,B,C)が(0,0,1)となっても、出力信号Yが“1”のまま維持される。このように、3入力非対称C素子70の出力信号Yは、入力信号(A,B,C)の組合せによっては、前状態の出力信号Yの状態にも依存する。 For example, when the input signal (A, B, C) of the three-input asymmetric C element 70 becomes (0, 0, 0), the output signal Y becomes “0” regardless of the previous state, and the input signal (A, Even if (B, C) becomes (0, 0, 1), the output signal Y is maintained at “0”. When the input signal (A, B, C) is (1, 1, 1), the output signal Y is “1” regardless of the previous state, and the input signal (A, B, C) is ( Even if 0, 0, 1), the output signal Y is maintained at “1”. Thus, the output signal Y of the three-input asymmetric C element 70 depends on the state of the output signal Y in the previous state depending on the combination of the input signals (A, B, C).
 この3入力非対称C素子70は、同図8(c)に示すように、2入力のAND素子71,72,73と、OR素子74と、フィードバック・ループ配線75とから構成されている。AND素子71は、入力信号Aと入力信号Bとの論理積をとって出力信号maを出力する。AND素子72は、入力信号Bと出力信号Yの帰還信号との論理積をとって出力信号mbを出力する。AND素子73は、入力信号Cと出力信号Yの帰還信号との論理積をとって出力信号mcを出力する。OR素子74は、出力信号maと出力信号mbと出力信号mcとの論理和をとって出力信号Yを出力する。この3入力非対称C素子70では、入力信号B,Cが“0”の場合、AND素子71,72,73の全ての出力信号が“0”となるため、OR素子74の出力信号Yも“0”となり、同出力信号Yは、前状態にかかわらず“0”となる。入力信号(A,B)が“1”の場合、AND素子71の出力信号が“1”となるため、OR素子74の出力信号Yも“1”となり、同出力信号Yは、前状態にかかわらず“1”となる。入力信号(A,B,C)が、その他の組合せの場合、AND素子71,72,73の全ての出力信号が入力信号のみによって“0”と確定するわけではなく、どのAND素子も出力信号が入力信号のみによって“1”と確定するわけでもないため、OR素子74の出力信号Yは前状態と同じ状態のまま維持される。 As shown in FIG. 8C, the 3-input asymmetric C element 70 includes 2-input AND elements 71, 72, 73, an OR element 74, and a feedback loop wiring 75. The AND element 71 calculates the logical product of the input signal A and the input signal B and outputs the output signal ma. The AND element 72 calculates the logical product of the input signal B and the feedback signal of the output signal Y and outputs the output signal mb. The AND element 73 calculates the logical product of the input signal C and the feedback signal of the output signal Y and outputs the output signal mc. The OR element 74 takes the logical sum of the output signal ma, the output signal mb, and the output signal mc, and outputs the output signal Y. In the three-input asymmetric C element 70, when the input signals B and C are “0”, all the output signals of the AND elements 71, 72, and 73 are “0”, so the output signal Y of the OR element 74 is also “ The output signal Y becomes “0” regardless of the previous state. When the input signals (A, B) are “1”, since the output signal of the AND element 71 is “1”, the output signal Y of the OR element 74 is also “1”, and the output signal Y is in the previous state. Regardless, it is “1”. When the input signals (A, B, C) are in other combinations, not all the output signals of the AND elements 71, 72, 73 are determined to be “0” only by the input signals, and any AND element is an output signal. Is not determined to be “1” only by the input signal, the output signal Y of the OR element 74 is maintained in the same state as the previous state.
 調停結果保持モジュール61は、インバータ及び3入力非対称C素子61aにより、0番側のマスタ側信号組でのハンドシェイクに調停回路出力の使用権が与えられ、調停回路出力使用権信号G0が“1”となっているとき、0番側のマスタ側装置から送出される調停結果保持信号Li0が“1”となっていれば、相互排他モジュール62の出力の使用権を保持するために、排他要求信号LE0(=R0)の“1”を保持する機能を有している。
 また、調停結果保持モジュール61は、0番側のマスタ側信号組でのハンドシェイクが第3相に状態遷移して通知出力信号Ai0が“1”に遷移すると共に、当該マスタ側装置から送出される調停結果保持信号Li0が“0”となるまでの間は、排他要求信号LE0(=R0)の“1”を維持して、通知出力信号Ai0が“1”かつ調停結果保持信号Li0が“0”となったとき、相互排他モジュール62の出力の使用権を開放するために、排他要求信号LE0(=R0)を“0”とする機能を有している。また、調停結果保持モジュール61は、OR素子61bを有することにより、相互排他モジュール62の出力の使用権が一方のマスタ側信号組におけるハンドシェイクに占有されていないとき、図16に示される従来の調停回路と同様に、0番側のマスタ側装置から出力される要求入力信号Ri0を相互排他モジュール62へ送出する。また、調停結果保持モジュール63も、調停結果保持モジュール61と同様の機能を有している。
In the arbitration result holding module 61, the right to use the arbitration circuit is given to the handshake in the master side signal set of the 0th side by the inverter and the 3-input asymmetric C element 61a, and the arbitration circuit output use right signal G0 is “1”. When the arbitration result holding signal Li0 sent from the master device on the 0th side is “1”, an exclusive request is issued to hold the right to use the output of the mutual exclusion module 62. It has a function of holding “1” of the signal LE0 (= R0).
In addition, the arbitration result holding module 61 sends the handshake in the master side signal set of the 0th side to the third phase, the notification output signal Ai0 changes to “1”, and is transmitted from the master side device. Until the arbitration result holding signal Li0 becomes “0”, the exclusive request signal LE0 (= R0) is maintained at “1”, the notification output signal Ai0 is “1”, and the arbitration result holding signal Li0 is “0”. In order to release the right to use the output of the mutual exclusion module 62 when 0 is reached, the exclusive request signal LE0 (= R0) is set to “0”. Further, the arbitration result holding module 61 includes the OR element 61b, so that when the right to use the output of the mutual exclusion module 62 is not occupied by the handshake in one master-side signal set, the conventional result shown in FIG. Similar to the arbitration circuit, the request input signal Ri0 output from the master device on the 0th side is sent to the mutual exclusion module 62. The arbitration result holding module 63 also has the same function as the arbitration result holding module 61.
 図9は、図7中の相互排他回路62aの電気的構成を示す回路図である。
 この相互排他回路62aは、同図9に示すように、2入力のNAND素子62b,62cと、3入力のNOR素子62d,62eとから構成されている。NAND素子62b,62cは、互いにたすき掛け接続され、調停結果保持モジュール61から送出される排他要求信号LE0及び調停結果保持モジュール63から送出される排他要求信号LE1を入力する2入力のNANDラッチを構成している。NOR素子62d,62eは、NAND素子62b,62cの各出力信号を複数入力で受け、同各出力信号に対して否定演算を行い、同各出力信号が不正のときに伝播を防止する不正信号伝播防止回路としての機能を有している。この相互排他回路62aでは、以下のような動作により、入力される排他要求信号R0(=LE0)と排他要求信号R1(=LE1)との先着順に基づいて調停が行われる。すなわち、排他要求信号R0,R1が“0”のとき、NAND素子62b,62cの出力信号は“1”となり、相互排他回路62aから出力される相互排他モジュール出力使用権信号GE0,GE1が“0”となる。この状態が、相互排他回路62aの初期状態である。なお、NOR素子62d,62eは、相互排他回路62aの入出力間の信号状態の正負を合わせるために、NAND素子62b,62cの出力信号に対して否定演算を行う。
FIG. 9 is a circuit diagram showing an electrical configuration of the mutual exclusion circuit 62a in FIG.
As shown in FIG. 9, the mutual exclusion circuit 62a includes 2- input NAND elements 62b and 62c and 3-input NOR elements 62d and 62e. The NAND elements 62b and 62c are connected to each other and constitute a two-input NAND latch that inputs the exclusive request signal LE0 sent from the arbitration result holding module 61 and the exclusive request signal LE1 sent from the arbitration result holding module 63. is doing. The NOR elements 62d and 62e receive the output signals of the NAND elements 62b and 62c by a plurality of inputs, perform a negative operation on the output signals, and prevent the illegal signal propagation when the output signals are illegal. It functions as a prevention circuit. In the mutual exclusion circuit 62a, arbitration is performed based on the first-come-first-served order of the input exclusive request signal R0 (= LE0) and the exclusive request signal R1 (= LE1) by the following operation. That is, when the exclusion request signals R0 and R1 are “0”, the output signals of the NAND elements 62b and 62c are “1”, and the mutual exclusion module output usage right signals GE0 and GE1 output from the mutual exclusion circuit 62a are “0”. " This state is the initial state of the mutual exclusion circuit 62a. The NOR elements 62d and 62e perform a negative operation on the output signals of the NAND elements 62b and 62c in order to match the signal state between the input and output of the mutual exclusion circuit 62a.
 初期状態から排他要求信号(R0,R1)が(1,0)となったとき、NAND素子62bの入力信号の双方が“1”となるため、出力信号が“0”となり、相互排他モジュール出力使用権信号(GE0,GE1)が(1,0)となり、相互排他回路62aの内部状態が安定する。この状態から、排他要求信号(R0,R1)が(1,1)となっても、NAND素子62cの入力信号のうちのNAND素子62bから送出される信号が“0”となっているため、相互排他モジュール出力使用権信号(GE0,GE1)は(1,0)のままである。また、初期状態から排他要求信号(R0,R1)が(0,1)になったとき、NAND素子62cの入力信号の双方が“1”となるため、出力信号が“0”となり、相互排他モジュール出力使用権信号(GE0,GE1)が(0,1)となり、相互排他回路62aの内部状態が安定する。この状態から、排他要求信号(R0,R1)が(1,1)となっても、NAND素子62bの入力信号のうちのNAND素子62c送出される信号が“0”となっているため、相互排他モジュール出力使用権信号(GE0,GE1)は(0,1)のままである。 When the exclusion request signal (R0, R1) becomes (1, 0) from the initial state, both of the input signals of the NAND element 62b become “1”, so that the output signal becomes “0” and the mutual exclusion module output. The usage right signals (GE0, GE1) become (1, 0), and the internal state of the mutual exclusion circuit 62a is stabilized. From this state, even if the exclusion request signal (R0, R1) becomes (1, 1), the signal transmitted from the NAND element 62b among the input signals of the NAND element 62c is “0”. The mutual exclusive module output use right signal (GE0, GE1) remains (1, 0). In addition, when the exclusion request signal (R0, R1) becomes (0, 1) from the initial state, both the input signals of the NAND element 62c are “1”, so that the output signal is “0” and mutual exclusion is performed. The module output usage right signal (GE0, GE1) becomes (0, 1), and the internal state of the mutual exclusion circuit 62a is stabilized. From this state, even if the exclusion request signal (R0, R1) becomes (1, 1), the signal transmitted from the NAND element 62c among the input signals of the NAND element 62b is “0”. The exclusive module output usage right signal (GE0, GE1) remains (0, 1).
 このように、初期状態から排他要求信号(R0,R1)の一方が“1”となった後に、他方が“1”となった場合でも、相互排他回路62aは、相互排他モジュール出力使用権信号(GE0,GE1)の状態を維持することができるため、排他要求信号R0と排他要求信号R1との先着順に基づく調停を行う。ただし、ほぼ同時刻に初期状態から排他要求信号(R0,R1)が(1,1)に遷移すると、NAND素子62b,62cの出力信号が一時的に不安定になる。この信号遷移が起こると、ほぼ同時刻にNAND素子62b,62cの出力信号が“0”となり、それに応じて、NAND素子62b,62cのそれぞれについて入力信号の一方が“0”となるため、さらに、それに応じて、NAND素子62b,62cの出力信号が“1”となる。 In this way, even if one of the exclusion request signals (R0, R1) becomes “1” from the initial state and then the other becomes “1”, the mutual exclusion circuit 62a does not use the mutual exclusion module output use right signal. Since the state of (GE0, GE1) can be maintained, arbitration based on the first-come-first-served basis of the exclusive request signal R0 and the exclusive request signal R1 is performed. However, when the exclusion request signal (R0, R1) transitions to (1, 1) from the initial state at approximately the same time, the output signals of the NAND elements 62b and 62c become temporarily unstable. When this signal transition occurs, the output signals of the NAND elements 62b and 62c become “0” at approximately the same time, and accordingly, one of the input signals for each of the NAND elements 62b and 62c becomes “0”. Accordingly, the output signals of the NAND elements 62b and 62c become “1”.
 このように、ほぼ同時刻に初期状態から排他要求信号(R0,R1)が(1,1)に遷移する場合、NAND素子62b,62cの出力信号が発振状態となる。これらのNAND素子62b,62cの発振している出力信号が相互排他回路62aの外部へ伝播することを防ぐため、NAND素子62b,62cの各出力側と相互排他回路62aの各出力側との間に、1入力のインバータではなく、3入力のNOR素子62d,62eがそれぞれ設けられ、NOR素子62d,62eのそれぞれの入力側が全てNAND素子62b,62cの各出力側に接続されている。以上の目的であるため、NOR素子62d,62eは、1入力のインバータ以外の論理否定演算を行う如何なる素子や回路でも代用可能である。 Thus, when the exclusion request signal (R0, R1) transitions to (1, 1) from the initial state at approximately the same time, the output signals of the NAND elements 62b and 62c enter the oscillation state. In order to prevent the output signals oscillated by these NAND elements 62b and 62c from propagating to the outside of the mutual exclusion circuit 62a, between the output sides of the NAND elements 62b and 62c and the respective output sides of the mutual exclusion circuit 62a. In addition, instead of a one-input inverter, three-input NOR elements 62d and 62e are provided, and the input sides of the NOR elements 62d and 62e are all connected to the output sides of the NAND elements 62b and 62c. For the above purpose, the NOR elements 62d and 62e can be replaced by any element or circuit that performs a logical negation operation other than the one-input inverter.
 ハンドシェイク完了検知モジュール65は、要求入力信号Ri0が“1”、相互排他モジュール出力使用権信号GE0が“1”かつ通知出力信号Ai1が“0”のとき、調停回路出力使用権信号G0として“1”を出力する一方、要求入力信号Ri0が“0”のとき、調停回路出力使用権信号G0として“0”を出力する。また、ハンドシェイク完了検知モジュール66は、要求入力信号Ri1が“1”、相互排他モジュール出力使用権信号GE1が“1”かつ通知出力信号Ai0が“0”のとき、調停回路出力使用権信号G1として“1”を出力する一方、要求入力信号Ri1が“0”のとき、調停回路出力使用権信号G1として“0”を出力する。 When the request input signal Ri0 is “1”, the mutual exclusion module output usage right signal GE0 is “1”, and the notification output signal Ai1 is “0”, the handshake completion detection module 65 uses “0” as the arbitration circuit output usage right signal G0. On the other hand, when the request input signal Ri0 is “0”, “0” is output as the arbitration circuit output usage right signal G0. Further, when the request input signal Ri1 is “1”, the mutual exclusion module output usage right signal GE1 is “1”, and the notification output signal Ai0 is “0”, the handshake completion detection module 66 has an arbitration circuit output usage right signal G1. On the other hand, when the request input signal Ri1 is “0”, “0” is output as the arbitration circuit output usage right signal G1.
 要求信号生成モジュール68は、OR素子68aで調停回路出力使用権信号G0,G1の論理和をとって要求出力信号Roとして出力する。調停回路出力使用権信号(G0,G1)は、(0,0)、(1,0)、又は(0,1)のいずれかのみの信号状態であり、調停回路出力使用権信号(G0,G1)が(0,0)のとき、要求出力信号Roが“0”、調停回路出力使用権信号(G0,G1)が(1,0)又は(0,1)のときに要求出力信号Roが“1”となる。 The request signal generation module 68 takes the logical sum of the arbitration circuit output use right signals G0 and G1 by the OR element 68a and outputs the logical sum as the request output signal Ro. The arbitration circuit output use right signal (G0, G1) is a signal state of only one of (0, 0), (1, 0), or (0, 1). When G1) is (0, 0), the required output signal Ro is “0”, and when the arbitration circuit output usage right signal (G0, G1) is (1, 0) or (0, 1), the required output signal Ro Becomes “1”.
 図10は、図7中の通知信号生成モジュール64を構成する2入力対称C素子64aの構成及び機能を説明する図である。
 この2入力対称C素子64aは、同図10(a)に示すように、入力信号(A,B)を入力して出力信号Yを出力する。この場合、同図10(b)に示すように、入力信号(A,B)が(0,0)のときに出力信号Yとして“0”、及び、入力信号(A,B)が(1,1)のときに出力信号Yとして“1”が出力され、入力信号(A,B)がその他の組合せの場合に出力信号Yの値は前状態のまま維持される。たとえば、入力信号(A,B)が(0,0)となった場合、前状態にかかわらず出力信号Yが“0”となり、入力信号(A,B)が(0,1)となっても、出力信号Yが“0”のまま維持される。また、入力信号(A,B)が(1,1)となった場合、前状態にかかわらず出力信号Yが“1”となり、入力信号(A,B)が(0,1)となっても、出力信号Yが“1”のまま維持される。このように、2入力対称C素子64aの出力信号は、入力信号(A,B)の組合せによっては、前状態の出力信号Yの状態にも依存する。
FIG. 10 is a diagram for explaining the configuration and function of the two-input symmetric C element 64a constituting the notification signal generation module 64 in FIG.
As shown in FIG. 10A, the two-input symmetric C element 64a inputs an input signal (A, B) and outputs an output signal Y. In this case, as shown in FIG. 10B, when the input signal (A, B) is (0, 0), the output signal Y is “0”, and the input signal (A, B) is (1). , 1), “1” is output as the output signal Y. When the input signals (A, B) are in other combinations, the value of the output signal Y is maintained in the previous state. For example, when the input signal (A, B) becomes (0, 0), the output signal Y becomes “0” regardless of the previous state, and the input signal (A, B) becomes (0, 1). In this case, the output signal Y is maintained at “0”. When the input signal (A, B) becomes (1, 1), the output signal Y becomes “1” regardless of the previous state, and the input signal (A, B) becomes (0, 1). In this case, the output signal Y is maintained at “1”. Thus, the output signal of the two-input symmetric C element 64a depends on the state of the output signal Y in the previous state depending on the combination of the input signals (A, B).
 この2入力対称C素子64aは、同図10(c)に示すように、2入力のAND素子81,82,83と、OR素子84と、フィードバック・ループ配線85とから構成されている。AND素子81は、入力信号Aと出力信号Yの帰還信号との論理積をとって出力信号naを出力する。AND素子82は、入力信号Aと入力信号Bとの論理積をとって出力信号nbを出力する。AND素子83は、入力信号Bと出力信号Yの帰還信号との論理積をとって出力信号ncを出力する。OR素子84は、出力信号naと出力信号nbと出力信号ncとの論理和をとって出力信号Yを出力する。 The 2-input symmetric C element 64a includes 2-input AND elements 81, 82, 83, an OR element 84, and a feedback loop wiring 85 as shown in FIG. The AND element 81 calculates the logical product of the input signal A and the feedback signal of the output signal Y and outputs the output signal na. The AND element 82 calculates the logical product of the input signal A and the input signal B and outputs the output signal nb. The AND element 83 calculates the logical product of the input signal B and the feedback signal of the output signal Y and outputs the output signal nc. The OR element 84 takes the logical sum of the output signal na, the output signal nb, and the output signal nc and outputs the output signal Y.
 この2入力対称C素子64aでは、入力信号A,Bが“0”の場合、AND素子81,82,83の全ての出力信号が“0”となるため、OR素子84の出力信号Yも“0”となり、同出力信号Yは、前状態にかかわらず“0”となる。入力信号A,Bが“1”の場合、AND素子82の出力信号が“1”となるため、OR素子84の出力信号Yも“1”となり、同出力信号Yは、前状態にかかわらず“1”となる。入力信号A,Bが、その他の組合せの場合、AND素子81,82,83の全ての出力信号が入力信号のみによって“0”と確定するわけではなく、どのAND素子も出力信号が入力信号のみによって“1”と確定するわけでもないため、OR素子84の出力信号Yは、フィードバック・ループ85を介してAND素子81,83に入力される前状態での値となる。すなわち、OR素子84の出力信号Yは、前状態と同じ状態のまま維持される。 In the two-input symmetric C element 64a, when the input signals A and B are “0”, all the output signals of the AND elements 81, 82, and 83 are “0”. Therefore, the output signal Y of the OR element 84 is also “ The output signal Y becomes “0” regardless of the previous state. When the input signals A and B are “1”, the output signal of the AND element 82 is “1”, so the output signal Y of the OR element 84 is also “1”, and the output signal Y is not related to the previous state. “1”. When the input signals A and B are in other combinations, not all the output signals of the AND elements 81, 82, and 83 are determined to be “0” only by the input signal, and any AND element outputs only the input signal. Therefore, the output signal Y of the OR element 84 is the value in the previous state that is input to the AND elements 81 and 83 via the feedback loop 85. That is, the output signal Y of the OR element 84 is maintained in the same state as the previous state.
 通知信号生成モジュール64は、2入力対称C素子64aにより、0番側のマスタ側信号組におけるハンドシェイクが調停回路出力使用権を取得して調停回路出力使用権信号G0が“1”となったとき、通知入力信号Ao(=1)が入力されるのを待合せて、通知出力信号Ai0(=1)を生成して出力する。また、通知信号生成モジュール64は、0番側のマスタ側信号組におけるハンドシェイクが調停回路出力使用権を取得できず、調停回路出力使用権信号G0が“0”となっている場合には、通知入力信号Ao(=1)が入力されても、通知出力信号Ai0を“0”のまま維持する。また、通知信号生成モジュール64は、0番側のマスタ側信号組におけるハンドシェイクが取得していた調停回路出力使用権を開放して調停回路出力使用権信号G0が“0”となったとき、通知入力信号Ao(=0)が入力されるのを待合せて、通知出力信号Ai0(=0)を生成して出力する。また、通知信号生成モジュール67も、通知信号生成モジュール64と同様の機能を有している。 The notification signal generation module 64 uses the 2-input symmetric C element 64a to acquire the arbitration circuit output usage right by the handshake in the master side signal set on the 0th side, and the arbitration circuit output usage right signal G0 becomes “1”. When the notification input signal Ao (= 1) is input, the notification output signal Ai0 (= 1) is generated and output. Further, the notification signal generation module 64 cannot acquire the arbitration circuit output usage right by handshaking in the master side signal set of the 0th side, and the arbitration circuit output usage right signal G0 is “0”. Even when the notification input signal Ao (= 1) is input, the notification output signal Ai0 is maintained at “0”. Further, the notification signal generation module 64 releases the arbitration circuit output usage right acquired by the handshake in the master side signal set of the 0th side, and the arbitration circuit output usage right signal G0 becomes “0”. Waiting for the notification input signal Ao (= 0) to be input, the notification output signal Ai0 (= 0) is generated and output. Further, the notification signal generation module 67 has the same function as the notification signal generation module 64.
 図11は、図7の調停回路60の動作を説明するための各信号の波形図であり、縦軸に論理レベル、及び横軸に時間(Time)がとられている。
 この図を参照して、この例の調停回路60に用いられる調停方法の処理内容について説明する。
 この調停回路60では、各マスタ側装置からほぼ同時に出力される要求入力信号Ri0,Ri1のうちから最先着の要求入力信号が検出され、同要求入力信号を出力したマスタ側装置に優先的に使用権を与えるための調停回路出力使用権信号G0,G1が出力されると共に、スレーブ側装置から出力される通知入力信号Aoが同マスタ側装置に送出され、かつ、同マスタ側装置から出力される調停結果保持信号Li0,Li1がアクティブモード、かつ調停回路出力使用権信号G0,G1がアクティブモードのとき、調停結果の保持が行われる一方、調停結果保持信号Li0,Li1がノンアクティブモードかつ通知入力信号Aoが動作完了を示すとき、調停結果の開放が行われる。
FIG. 11 is a waveform diagram of each signal for explaining the operation of the arbitration circuit 60 of FIG. 7, where the vertical axis represents the logic level and the horizontal axis represents time (Time).
With reference to this figure, the processing content of the arbitration method used in the arbitration circuit 60 of this example will be described.
In the arbitration circuit 60, the earliest request input signal is detected from the request input signals Ri0 and Ri1 that are output almost simultaneously from each master side device, and is used preferentially for the master side device that has output the request input signal. The arbitration circuit output use right signals G0 and G1 for giving the right are outputted, and the notification input signal Ao outputted from the slave side device is sent to the master side device and outputted from the master side device When the arbitration result holding signals Li0 and Li1 are in the active mode and the arbitration circuit output usage right signals G0 and G1 are in the active mode, the arbitration result is held, while the arbitration result holding signals Li0 and Li1 are in the non-active mode and the notification input When the signal Ao indicates the completion of the operation, the arbitration result is released.
 すなわち、調停回路60に含まれる、調停結果保持モジュール61,63、相互排他回路62、ハンドシェイク完了検知モジュール65,66、要求信号生成モジュール68及び通知信号生成モジュール64,67は、初期状態にある。また、図11に示すように、外部から入力される、要求入力信号Ri0,Ri1、調停結果保持信号Li0,Li1及び通知入力信号Aoが“0”であるとする(フェーズP1)。初期状態から、要求入力信号Ri0が“1”及び要求入力信号Ri1が“1”となり、また、要求入力信号Ri1が“1”になると共に、調停結果保持信号Li1が“1”になったとする。このとき、調停結果保持モジュール61,63では、それぞれ入力された要求入力信号Ri0(=1),Ri1(=1)に対して、排他要求信号(LE0,LE1)として(1,1)が出力される(フェーズP2)。この場合、排他要求信号LE0(=1)が排他要求信号LE1(=1)に対して相互排他回路62に先着したとする。このとき、相互排他回路62では、排他要求信号R0(=LE0)が“1”であるため、当該相互排他回路62の出力の使用権を0番側のマスタ側信号組でのハンドシェイクに与え、相互排他モジュール出力使用権信号(GE0,GE1)として(1,0)を出力する(フェーズP3)。 That is, the arbitration result holding modules 61 and 63, the mutual exclusion circuit 62, the handshake completion detection modules 65 and 66, the request signal generation module 68, and the notification signal generation modules 64 and 67 included in the arbitration circuit 60 are in an initial state. . Further, as shown in FIG. 11, it is assumed that request input signals Ri0 and Ri1, arbitration result holding signals Li0 and Li1, and a notification input signal Ao, which are input from the outside, are “0” (phase P1). From the initial state, it is assumed that the request input signal Ri0 is “1” and the request input signal Ri1 is “1”, the request input signal Ri1 is “1”, and the arbitration result holding signal Li1 is “1”. . At this time, the arbitration result holding modules 61 and 63 output (1, 1) as exclusive request signals (LE0, LE1) for the input request input signals Ri0 (= 1) and Ri1 (= 1), respectively. (Phase P2). In this case, it is assumed that the exclusion request signal LE0 (= 1) arrives at the mutual exclusion circuit 62 first with respect to the exclusion request signal LE1 (= 1). At this time, in the mutual exclusion circuit 62, since the exclusion request signal R0 (= LE0) is “1”, the right to use the output of the mutual exclusion circuit 62 is given to the handshake in the master side signal set on the 0th side. Then, (1, 0) is output as the mutually exclusive module output use right signal (GE0, GE1) (phase P3).
 ハンドシェイク完了検知モジュール65では、要求入力信号Ri0が“1”、相互排他回路62から送出される相互排他モジュール出力使用権信号GE0が“1”、かつ、通知出力信号Ai1が“0”となっているため、調停回路出力の使用権を0番側のマスタ側信号組でのハンドシェイクに与え、調停回路出力使用権信号G0(=1)を出力する。一方、ハンドシェイク完了検知モジュール66では、要求入力信号Ri1が“1”となっているが、相互排他回路62から送出される相互排他出力使用権信号GE1が“0”となっているため、調停回路出力使用権信号G1を“0”のままとする(フェーズP4)。 In the handshake completion detection module 65, the request input signal Ri0 is “1”, the mutual exclusion module output usage right signal GE0 sent from the mutual exclusion circuit 62 is “1”, and the notification output signal Ai1 is “0”. Therefore, the use right of the arbitration circuit output is given to the handshake in the master side signal set of the 0th side, and the arbitration circuit output use right signal G0 (= 1) is output. On the other hand, in the handshake completion detection module 66, the request input signal Ri1 is “1”, but the mutual exclusion output use right signal GE1 sent from the mutual exclusion circuit 62 is “0”. The circuit output usage right signal G1 remains “0” (phase P4).
 要求信号生成モジュール68では、調停回路出力使用権信号(G0,G1)が(1,0)であるため、要求出力信号Ro(=1)がスレーブ側装置に出力される。スレーブ側装置は、ハンドシェイク・プロトコルに従うため、要求出力信号Ro(=1)に対して通知入力信号Ao(=1)を調停回路60に入力する(フェーズP5)。 In the request signal generation module 68, since the arbitration circuit output usage right signal (G0, G1) is (1, 0), the request output signal Ro (= 1) is output to the slave side device. In order to follow the handshake protocol, the slave side device inputs the notification input signal Ao (= 1) to the arbitration circuit 60 in response to the request output signal Ro (= 1) (phase P5).
 通知信号生成モジュール64では、通知入力信号Aoが“1”、かつ、調停回路出力使用権信号G0が“1”であるため、通知出力信号Ai0(=1)が出力される。一方、通知信号生成モジュール67では、通知入力信号Aoが“1”であるが、調停回路出力使用権信号G1が“0”であるため、通知出力信号Ai1(=0)の値が維持される(フェーズP6)。マスタ側装置は、ハンドシェイク・プロトコルに従うため、通知出力信号Ai0(=1)に対して要求入力信号Ri0(=0)を同調停回路60に入力する。 The notification signal generation module 64 outputs the notification output signal Ai0 (= 1) because the notification input signal Ao is “1” and the arbitration circuit output usage right signal G0 is “1”. On the other hand, in the notification signal generation module 67, the notification input signal Ao is “1”, but since the arbitration circuit output usage right signal G1 is “0”, the value of the notification output signal Ai1 (= 0) is maintained. (Phase P6). In order to follow the handshake protocol, the master side device inputs the request input signal Ri0 (= 0) to the tuning stop circuit 60 in response to the notification output signal Ai0 (= 1).
 調停結果保持モジュール61では、インバータ及び3入力非対称C素子61aが排他要求信号LE0(=1)を出力している状態で、調停回路出力使用権信号G0が“1”で調停結果保持信号Li0が“0”であるが、要求入力信号Ri0が“0”となるため、排他要求信号LE0(=R0=0)を出力して初期状態に戻る。一方、調停結果保持モジュール63では、インバータ及び3入力非対称C素子63aが排他要求信号LE1(=1)を出力している状態で、調停回路出力使用権信号G1が“0”で調停結果保持信号Li1が“1”、かつ、調停回路60外部から送出される要求入力信号Ri1が“1”であるため、排他要求信号LE1(=1)を出力する状態が維持される(フェーズP7)。 In the arbitration result holding module 61, the arbitration circuit output usage right signal G0 is “1” and the arbitration result holding signal Li0 is set in a state where the inverter and the three-input asymmetric C element 61a output the exclusion request signal LE0 (= 1). Although it is “0”, since the request input signal Ri0 becomes “0”, the exclusive request signal LE0 (= R0 = 0) is output to return to the initial state. On the other hand, in the arbitration result holding module 63, the arbitration circuit output usage right signal G1 is “0” and the arbitration result holding signal is in a state where the inverter and the three-input asymmetric C element 63a output the exclusion request signal LE1 (= 1). Since Li1 is “1” and the request input signal Ri1 sent from the outside of the arbitration circuit 60 is “1”, the state of outputting the exclusive request signal LE1 (= 1) is maintained (phase P7).
 相互排他回路62では、相互排他モジュール出力使用権信号(GE0,GE1)として(1,0)を出力している状態で、排他要求信号LE0(=R0)が“0”となったが(フェーズP7)、他方の排他要求信号LE1(=R1)が“1”のままであるため、使用権を0番側のマスタ側信号組のハンドシェイクから1番側のマスタ側信号組のハンドシェイクへ委譲して、相互排他モジュール出力使用権信号(GE0、GE1)として(0,1)を出力する状態へ遷移する(フェーズP8)。 In the mutual exclusion circuit 62, the exclusion request signal LE0 (= R0) becomes “0” in the state where (1, 0) is output as the mutual exclusion module output use right signal (GE0, GE1) (phase P7) Since the other exclusion request signal LE1 (= R1) remains “1”, the right to use is changed from the handshake of the master signal set on the 0th side to the handshake of the master signal set on the 1st side. Delegate to make a transition to a state in which (0, 1) is output as the mutual exclusive module output use right signal (GE0, GE1) (phase P8).
 ハンドシェイク完了検知モジュール65では、調停回路出力使用権信号G0(=1)を出力している状態から、要求入力信号Ri0が“0”となったため、調停回路出力使用権信号G0(=0)を出力して初期状態に戻る。一方、ハンドシェイク完了検知モジュール66では、調停回路出力使用権信号G1(=0)を出力している状態で、要求入力信号Ri1が“1”、かつ相互排他モジュール出力使用権信号GE1が“1”であるが、通知出力信号Ai0が“1”であるため、調停回路出力使用権信号G1(=0)を出力している状態のままである(フェーズP9)。要求信号生成モジュール68では、要求出力信号Ro(=1)を出力している状態から、一方の調停回路出力使用権信号G0が“0”となり、他方の調停回路出力使用権信号G1が“0”のままであるため、要求出力信号Ro(=0)をスレーブ側装置へ出力して初期状態へ戻る。スレーブ側装置は、ハンドシェイク・プロトコルに従うため、要求出力信号Ro(=0)に対して通知入力信号Ao(=0)を調停回路60に入力する(フェーズP10)。 In the handshake completion detection module 65, since the request input signal Ri0 is “0” from the state in which the arbitration circuit output usage right signal G0 (= 1) is output, the arbitration circuit output usage right signal G0 (= 0). Is returned to the initial state. On the other hand, the handshake completion detection module 66 outputs the arbitration circuit output usage right signal G1 (= 0), the request input signal Ri1 is “1”, and the mutual exclusion module output usage right signal GE1 is “1”. However, since the notification output signal Ai0 is “1”, the arbitration circuit output use right signal G1 (= 0) is still being output (phase P9). In the request signal generation module 68, from the state of outputting the request output signal Ro (= 1), one arbitration circuit output usage right signal G0 becomes “0”, and the other arbitration circuit output usage right signal G1 becomes “0”. Therefore, the request output signal Ro (= 0) is output to the slave side device, and the process returns to the initial state. In order to follow the handshake protocol, the slave side device inputs the notification input signal Ao (= 0) to the arbitration circuit 60 in response to the request output signal Ro (= 0) (phase P10).
 通知信号生成モジュール64では、通知出力信号Ai0(=1)を出力している状態で、入力される通知入力信号Aoが“0”となり、また、調停回路出力使用権信号G0が“0”となっているため、通知出力信号Ai0(=0)を出力して初期状態に戻る。一方、通知信号生成モジュール67では、通知出力信号Ai1(=0)を出力している初期状態のままであり、通知入力信号Aoが“0”であるので、通知出力信号Ai1(=0)を出力している初期状態が維持される(フェーズP11)。 The notification signal generation module 64 outputs the notification output signal Ai0 (= 1), the input notification input signal Ao is “0”, and the arbitration circuit output usage right signal G0 is “0”. Therefore, the notification output signal Ai0 (= 0) is output to return to the initial state. On the other hand, the notification signal generation module 67 remains in the initial state in which the notification output signal Ai1 (= 0) is output and the notification input signal Ao is “0”, so the notification output signal Ai1 (= 0) is output. The outputting initial state is maintained (phase P11).
 ハンドシェイク完了検知モジュール66では、調停回路出力使用権信号G1(=0)を出力している状態から、要求入力信号Ri1が“1”、相互排他モジュール出力使用権信号GE1が“1”、かつ、通知出力信号Ai0が“0”である状態となるため、1番側のマスタ側信号組でのハンドシェイクに調停回路出力の使用権を与え、調停回路出力使用権信号G1(=1)を出力する(フェーズP12)。要求信号生成モジュール68では、要求出力信号Ro(=0)を出力している状態から、調停回路出力使用権信号G0が“0”であるが、調停回路出力使用権信号G1が“1”になったことにより、要求出力信号Ro(=1)をスレーブ側装置へ出力する(フェーズP13)。 In the handshake completion detection module 66, the arbitration circuit output usage right signal G1 (= 0) is output, the request input signal Ri1 is “1”, the mutual exclusion module output usage right signal GE1 is “1”, and Since the notification output signal Ai0 is “0”, the right to use the arbitration circuit output is given to the handshake in the first master side signal set, and the arbitration circuit output use right signal G1 (= 1) is set. Output (phase P12). In the request signal generation module 68, the arbitration circuit output usage right signal G0 is “0” from the state where the request output signal Ro (= 0) is output, but the arbitration circuit output usage right signal G1 is set to “1”. As a result, the request output signal Ro (= 1) is output to the slave side device (phase P13).
 また、調停結果保持モジュール63では、インバータ及び3入力非対称C素子63aが排他要求信号LE1(=1)を出力している状態から、調停回路出力使用権信号G1が“1”で、かつ、調停保持信号Li1が“1”となっているため、排他要求信号LE1(=1)の保持状態に入る。スレーブ側装置は、ハンドシェイク・プロトコルに従うため、要求出力信号Ro(=1)に対して通知入力信号Ao(=1)を調停回路60に入力する(フェーズP14)。 In the arbitration result holding module 63, the arbitration circuit output usage right signal G1 is “1” from the state where the inverter and the three-input asymmetric C element 63a output the exclusion request signal LE1 (= 1). Since the holding signal Li1 is “1”, the holding state of the exclusion request signal LE1 (= 1) is entered. In order to follow the handshake protocol, the slave side device inputs the notification input signal Ao (= 1) to the arbitration circuit 60 in response to the request output signal Ro (= 1) (phase P14).
 通知信号生成モジュール67では、通知入力信号Aoが“1”、かつ、調停回路出力使用権信号G1が“1”であるため、通知出力信号Ai1(=1)が出力される(フェーズP15)。一方、通知信号生成モジュール64では、通知入力信号Aoが“1”であるが、調停回路出力使用権信号G0が“0”であるため、通知出力信号Ai0(=0)の出力を維持する(図6中のステップE1)。マスタ側装置は、ハンドシェイク・プロトコルに従うため、通知出力信号Ai1(=1)に対して要求入力信号Ri1(=0)を同調停回路60に入力する(フェーズP16)。 The notification signal generation module 67 outputs the notification output signal Ai1 (= 1) because the notification input signal Ao is “1” and the arbitration circuit output usage right signal G1 is “1” (phase P15). On the other hand, the notification signal generation module 64 maintains the output of the notification output signal Ai0 (= 0) because the notification input signal Ao is “1” but the arbitration circuit output usage right signal G0 is “0” ( Step E1) in FIG. In order to follow the handshake protocol, the master side device inputs the request input signal Ri1 (= 0) to the tuning stop circuit 60 in response to the notification output signal Ai1 (= 1) (phase P16).
 調停結果保持モジュール63では、排他要求信号LE1(=1)を保持している状態で、通知出力信号Ai1が“1”であるが、調停結果保持信号Li1が“1”であるため、排他要求信号LE1(=1)の出力を保持したままである。相互排他回路62では、相互排他モジュール出力使用権信号(GE0,GE1)として(0,1)を出力している状態で、排他要求信号LE1(=R1)が“1”のままなので、相互排他モジュール出力使用権信号(GE0,GE1)として(0,1)を出力する状態のままである。仮に、この間に、調停回路60の外部から要求入力信号Ri0(=1)が入力されて、調停結果保持モジュール61から送出される他方の排他要求信号LE0(=R0)が“1”となったとしても、排他要求信号LE1(=R1)が“1”のままなので、相互排他モジュール出力使用権信号(GE0、GE1)として(0,1)を出力する状態のままである。 The arbitration result holding module 63 holds the exclusion request signal LE1 (= 1), the notification output signal Ai1 is “1”, but the arbitration result holding signal Li1 is “1”. The output of the signal LE1 (= 1) is held. In the mutual exclusion circuit 62, since the exclusion request signal LE1 (= R1) remains “1” while the (0, 1) is being output as the mutual exclusive module output use right signal (GE0, GE1), the mutual exclusion circuit 62 is mutually exclusive. It remains in the state of outputting (0, 1) as the module output usage right signal (GE0, GE1). During this time, the request input signal Ri0 (= 1) is input from the outside of the arbitration circuit 60, and the other exclusive request signal LE0 (= R0) sent from the arbitration result holding module 61 becomes “1”. However, since the exclusion request signal LE1 (= R1) remains “1”, it remains in the state of outputting (0, 1) as the mutual exclusion module output usage right signal (GE0, GE1).
 ハンドシェイク完了検知モジュール66では、調停回路出力使用権信号G1(=1)を出力している状態から、要求入力信号Ri1が“0”となったため、調停回路出力使用権信号G1(=0)を出力して初期状態に戻る(フェーズP17)。要求信号生成モジュール68では、要求出力信号Ro(=1)を出力している状態から、一方の調停回路出力使用権信号G0が“0”のままであるのに対して、他方の調停回路出力使用権信号G1が“0”となるため、要求出力信号Ro(=0)をスレーブ側装置へ出力して初期状態へ戻る。スレーブ側装置は、ハンドシェイク・プロトコルに従うため、要求出力信号Ro(=0)に対して通知入力信号Ao(=0)を調停回路60に入力する(フェーズP18)。 In the handshake completion detection module 66, since the arbitration circuit output usage right signal G1 (= 1) is output, the request input signal Ri1 becomes “0”, so the arbitration circuit output usage right signal G1 (= 0). To return to the initial state (phase P17). In the request signal generation module 68, from the state in which the request output signal Ro (= 1) is output, one arbitration circuit output usage right signal G0 remains “0”, whereas the other arbitration circuit output Since the usage right signal G1 becomes “0”, the request output signal Ro (= 0) is output to the slave side device, and the state returns to the initial state. In order to follow the handshake protocol, the slave side device inputs the notification input signal Ao (= 0) to the arbitration circuit 60 in response to the request output signal Ro (= 0) (phase P18).
 通知信号生成モジュール67では、通知出力信号Ai1(=1)を出力している状態で、通知入力信号Aoが“0”となり、また、調停回路出力使用権信号G1が“0”となっているため、通知出力信号Ai1(=0)が出力されて初期状態に戻る(フェーズP19)。マスタ側装置は、ハンドシェイク・プロトコルに従うため、通知出力信号Ai1(=0)に対して要求入力信号Ri1(=1)を調停回路60に入力する(フェーズP20)。このとき、調停結果保持信号Li1が“0”となったとする。調停結果保持モジュール63では、排他要求信号LE1(=R1=1)を出力した状態で、通知出力信号Ai1が“0”であるため、調停結果保持信号Li1が“0”となっていても、排他要求信号LE1(=1)を出力したまま状態遷移は行わない。 In the notification signal generation module 67, the notification input signal Ao is “0” while the notification output signal Ai1 (= 1) is being output, and the arbitration circuit output usage right signal G1 is “0”. Therefore, the notification output signal Ai1 (= 0) is output to return to the initial state (phase P19). In order to follow the handshake protocol, the master side device inputs the request input signal Ri1 (= 1) to the arbitration circuit 60 in response to the notification output signal Ai1 (= 0) (phase P20). At this time, it is assumed that the arbitration result holding signal Li1 becomes “0”. Since the arbitration result holding module 63 outputs the exclusive request signal LE1 (= R1 = 1) and the notification output signal Ai1 is “0”, the arbitration result holding signal Li1 is “0”. The state transition is not performed while the exclusion request signal LE1 (= 1) is output.
 相互排他回路62では、相互排他モジュール出力使用権信号(GE0,GE1)として(0,1)を出力した状態から、排他要求信号LE1(=R1)が“1”のままなので、相互排他モジュール出力使用権信号(GE0,GE1)として(0,1)を出力したまま状態遷移を行わない。ハンドシェイク完了検知モジュール66では、調停回路出力使用権信号G1(=0)を出力している状態から、要求入力信号Ri1が“1”、相互排他モジュール出力使用権信号GE1が“1”、かつ、通知出力信号Ai0が“0”である状態となるため、1番側のマスタ側信号組でのハンドシェイクに調停回路出力の使用権を与え、調停回路出力使用権信号G1(=1)を出力する(フェーズP21)。 In the mutual exclusion circuit 62, since the exclusion request signal LE1 (= R1) remains “1” from the state where (0, 1) is output as the mutual exclusive module output use right signal (GE0, GE1), the mutual exclusion module output The state transition is not performed while (0, 1) is output as the usage right signal (GE0, GE1). In the handshake completion detection module 66, the arbitration circuit output usage right signal G1 (= 0) is output, the request input signal Ri1 is “1”, the mutual exclusion module output usage right signal GE1 is “1”, and Since the notification output signal Ai0 is “0”, the right to use the arbitration circuit output is given to the handshake in the first master side signal set, and the arbitration circuit output use right signal G1 (= 1) is set. Output (phase P21).
 要求信号生成モジュール68では、要求出力信号Ro(=0)を出力している状態から、調停回路出力使用権信号がG0(=0)であるが、調停回路出力使用権信号G1が“1”になったことにより、要求出力信号Ro(=1)をスレーブ側装置へ出力する。スレーブ側装置は、ハンドシェイク・プロトコルに従うため、要求出力信号Ro(=1)に対して通知入力信号Ao(=1)を調停回路60に入力する(フェーズP22)。通知信号生成モジュール67では、通知入力信号Aoが“1”、かつ、調停回路出力使用権信号G1が“1”であるため、通知出力信号Ai1(=1)を出力する(フェーズP23)。 In the request signal generation module 68, the arbitration circuit output usage right signal is G0 (= 0) from the state where the request output signal Ro (= 0) is output, but the arbitration circuit output usage right signal G1 is “1”. Therefore, the request output signal Ro (= 1) is output to the slave side device. In order to follow the handshake protocol, the slave side device inputs the notification input signal Ao (= 1) to the arbitration circuit 60 in response to the request output signal Ro (= 1) (phase P22). The notification signal generation module 67 outputs the notification output signal Ai1 (= 1) because the notification input signal Ao is “1” and the arbitration circuit output usage right signal G1 is “1” (phase P23).
 調停結果保持モジュール63では、排他要求信号LE1(=1)の出力を保持している状態から、調停結果保持信号Li1が“0”であるところに通知信号生成モジュール67から出力される通知出力信号Ai1が“1”となるため、排他要求信号LE1を“0”として初期状態へ戻る(フェーズP24)。このとき、相互排他回路62では、相互排他モジュール出力使用権信号(GE0,GE1)として(0,1)を出力している状態で、調停結果保持モジュール63から出力される排他要求信号LE1(=R1)が“0”へ遷移する。このとき、相互排他回路62では、調停結果保持モジュール61が排他要求信号LE0(=R0)として“0”を出力していれば、相互排他モジュール出力使用権信号(GE0,GE1)を(0,0)として初期状態へ戻る(フェーズP25)。 In the arbitration result holding module 63, the notification output signal output from the notification signal generation module 67 when the arbitration result holding signal Li1 is “0” from the state where the output of the exclusion request signal LE1 (= 1) is held. Since Ai1 becomes “1”, the exclusion request signal LE1 is set to “0” and the process returns to the initial state (phase P24). At this time, the mutual exclusion circuit 62 outputs (0, 1) as the mutual exclusive module output use right signal (GE0, GE1), and outputs the exclusive request signal LE1 (= R1) transitions to “0”. At this time, in the mutual exclusion circuit 62, if the arbitration result holding module 61 outputs “0” as the exclusion request signal LE0 (= R0), the mutual exclusion module output use right signal (GE0, GE1) is set to (0, 0) to return to the initial state (phase P25).
 ハンドシェイク完了検知モジュール66では、調停回路出力使用権信号G1(=1)を出力している状態から、要求入力信号Ri1が“0”となるため、調停回路出力使用権信号G1(=0)を出力して初期状態に戻る(フェーズP26)。要求信号生成モジュール68では、要求出力信号Ro(=1)を出力している状態から、一方の調停回路出力使用権信号G0が“0”のままであるのに対して、他方の調停回路出力使用権信号G1が“0”となるため、要求出力信号Ro(=0)を調停回路60の外部へ出力して初期状態へ戻る。スレーブ側装置は、ハンドシェイク・プロトコルに従うため、要求出力信号Ro(=0)に対して通知入力信号Ao(=0)を調停回路60に入力する(フェーズP27)。通知信号生成モジュール67では、通知出力信号Ai1(=1)を出力している状態で通知入力信号Aoが“0”となり、調停回路出力使用権信号G1が“0”となっているため、通知出力信号Ai1(=0)が出力されて初期状態に戻る(フェーズP28)。 In the handshake completion detection module 66, the arbitration circuit output usage right signal G1 (= 0) since the request input signal Ri1 becomes “0” from the state where the arbitration circuit output usage right signal G1 (= 1) is output. Is returned to the initial state (phase P26). In the request signal generation module 68, from the state in which the request output signal Ro (= 1) is output, one arbitration circuit output usage right signal G0 remains “0”, whereas the other arbitration circuit output Since the usage right signal G1 becomes “0”, the request output signal Ro (= 0) is output to the outside of the arbitration circuit 60 and the initial state is returned. In order to comply with the handshake protocol, the slave side device inputs the notification input signal Ao (= 0) to the arbitration circuit 60 in response to the request output signal Ro (= 0) (phase P27). In the notification signal generation module 67, the notification input signal Ao is “0” while the notification output signal Ai1 (= 1) is being output, and the arbitration circuit output usage right signal G1 is “0”. The output signal Ai1 (= 0) is output to return to the initial state (phase P28).
 以上の動作で示されるように、調停結果保持モジュール63では、1番側のマスタ側信号組でのハンドシェイクの第2相に遷移して、要求入力信号及び通知出力信号(Ri1,Ai1)が(1,0)となっているとき、調停回路出力の使用権が得られて調停回路出力使用権信号G1が“1”となっている。このため、調停結果保持モジュール63では、排他要求信号LE1(=1)を保持する状態に入り、上記ハンドシェイクが第3相以降、すなわち、要求入力信号及び通知出力信号(Ri1,Ai1)が(1,1)(第3相)→(0,1)(第4相)→(0,0)(第1相)に遷移しても、排他要求信号LE1(=1)を保持し続け、次にハンドシェイクが第2相に遷移したとき、相互排他回路62の出力の使用権を保持し続け、調停回路出力の使用権が1番側のマスタ側信号組でのハンドシェイクに与えられ続ける。これにより、この調停回路60は、バースト伝送機能を提供することが可能である。 As shown in the above operation, in the arbitration result holding module 63, the request input signal and the notification output signal (Ri1, Ai1) are transferred to the second phase of the handshake with the master side signal set on the first side. When (1, 0), the right to use the arbitration circuit output is obtained, and the arbitration circuit output right to use signal G1 is “1”. Therefore, the arbitration result holding module 63 enters a state in which the exclusive request signal LE1 (= 1) is held, and the handshake is in the third phase or later, that is, the request input signal and the notification output signal (Ri1, Ai1) are ( 1,1) (third phase) → (0,1) (fourth phase) → (0,0) (first phase), the exclusive request signal LE1 (= 1) is continuously held, Next, when the handshake transitions to the second phase, the right to use the output of the mutual exclusion circuit 62 is kept, and the right to use the output of the arbitration circuit is continuously given to the handshake in the master side signal set on the first side. . Thereby, the arbitration circuit 60 can provide a burst transmission function.
 また、調停結果保持信号Li1(=“0”又は“1”)は、要求入力信号Ri1(=1)と並行して入力され、1番側のマスタ側信号組におけるハンドシェイクは、スレーブ側信号組におけるハンドシェイクとの間に、下記の信号遷移系列以外の連動性をもつ必要がない。
   “要求入力信号Ri1(+)→要求出力信号Ro(+)→通知入力信号Ao(+)
    →通知出力信号Ai1(+)→要求入力信号Ri1(-)
    →要求出力信号Ro(-)→通知入力信号Ao(-)
    →通知出力信号Ai1(-)→要求入力信号Ri1(+)→…”
    (ただし、+;信号立上り遷移、-;信号立下り遷移)
 これにより、この調停回路60が論理回路に設けられていれば、全てのハンドシェイク・プロトコルが適用可能となる。
The arbitration result holding signal Li1 (= “0” or “1”) is input in parallel with the request input signal Ri1 (= 1), and the handshake in the master side signal set on the first side is the slave side signal. It is not necessary to have interactivity other than the following signal transition sequence between the handshake in the set.
“Request input signal Ri1 (+) → Request output signal Ro (+) → Notification input signal Ao (+)
→ Notification output signal Ai1 (+) → Request input signal Ri1 (-)
→ Request output signal Ro (-) → Notification input signal Ao (-)
→ Notification output signal Ai1 (−) → Request input signal Ri1 (+) → ... ”
(However, +: Signal rising transition,-: Signal falling transition)
Thus, if the arbitration circuit 60 is provided in the logic circuit, all handshake protocols can be applied.
 以上のように、この第1の実施例では、調停回路60のマスタ側信号組におけるハンドシェイクが第2相の状態にあるとき、調停結果保持モジュール61,63は、調停結果保持を指定する信号(調停結果保持信号Li0,Li1)が入力されていたとき、排他要求信号LE0,LE1を維持して相互排他モジュール62の出力の使用権及び調停回路60の出力の使用権を保持し続ける。一方、調停回路60のマスタ側信号組におけるハンドシェイクが第3相の状態にあり、調停結果保持モジュール61,63は、調停結果不保持を指定する信号(調停結果保持信号Li0,Li1)が入力されていたとき、排他要求信号(LE0,LE1)を維持して相互排他モジュール62の出力の使用権及び調停回路60の出力の使用権を開放する。 As described above, in the first embodiment, when the handshake in the master-side signal set of the arbitration circuit 60 is in the second phase, the arbitration result holding modules 61 and 63 specify the arbitration result holding signal. When (arbitration result holding signals Li0 and Li1) are input, the exclusive request signals LE0 and LE1 are maintained and the right to use the output of the mutual exclusion module 62 and the right to use the output of the arbitration circuit 60 are kept. On the other hand, the handshake in the master side signal set of the arbitration circuit 60 is in the third phase, and the arbitration result holding modules 61 and 63 receive signals (arbitration result holding signals Li0 and Li1) that specify arbitration result non-holding. If so, the exclusive request signals (LE0, LE1) are maintained, and the right to use the output of the mutual exclusion module 62 and the right to use the output of the arbitration circuit 60 are released.
 これにより、一方のマスタ側信号組におけるハンドシェイクによるデータ伝送を連続的に行う際に、他方のマスタ側信号組におけるハンドシェイクによるデータ伝送の要求が上記連続伝送中に調停回路60へ到着しても、連続伝送が中断されないようにすることが可能となり、調停回路60は、バースト伝送を実現することが可能となる。また、調停結果保持モジュール61,63へ入力される調停結果保持信号Li0,Li1及び要求入力信号Ri0,Ri1は、それぞれ、同一のマスタ側装置から並行して出力されるので、複数のマスタ側装置やスレーブ側装置が、それぞれ異なるハンドシェイク・プロトコルに従うものであっても、この調停回路60は、円滑に調停を行うことができる。 Thereby, when data transmission by handshake in one master side signal set is continuously performed, a request for data transmission by handshake in the other master side signal set arrives at the arbitration circuit 60 during the continuous transmission. However, continuous transmission can be prevented from being interrupted, and the arbitration circuit 60 can realize burst transmission. Further, since the arbitration result holding signals Li0 and Li1 and the request input signals Ri0 and Ri1 input to the arbitration result holding modules 61 and 63 are output in parallel from the same master side device, a plurality of master side devices are provided. Even if the slave side devices follow different handshake protocols, the arbitration circuit 60 can smoothly perform arbitration.
 図12は、この発明の第2の実施例である調停回路が設けられている半導体回路の電気的構成を示すブロック図である。
 この例の半導体回路は、マルチプロセッサシステムであり、同図12に示すように、調停回路60と、SRL(セット・リセットラッチ)91と、マルチプレクサ92と、プロセッサ(#0)93と、プロセッサ(#1)94と、メモリ95とから構成されている。また、このマルチプロセッサシステムは、たとえば、同一の集積回路に実装されている。
FIG. 12 is a block diagram showing an electrical configuration of a semiconductor circuit provided with an arbitration circuit according to the second embodiment of the present invention.
The semiconductor circuit of this example is a multiprocessor system. As shown in FIG. 12, an arbitration circuit 60, an SRL (set / reset latch) 91, a multiplexer 92, a processor (# 0) 93, a processor ( # 1) It is composed of 94 and a memory 95. Moreover, this multiprocessor system is mounted on the same integrated circuit, for example.
 このマルチプロセッサシステムでは、2つのプロセッサ93,94により、メモリ95が共有される。すなわち、プロセッサ93,94から、要求入力信号Ri0,Ri1及び調停結果保持信号Li0,Li1が調停回路60に入力され、同調停回路60から、通知出力信号Ai0,Ai1が同プロセッサ93,94へ出力される。また、調停回路60から、要求出力信号Roがメモリ95へ出力されると共に、同メモリ95から通知入力信号Aoが調停回路60に入力される。また、調停回路60から、調停回路出力使用権信号G0,G1がSRラッチ91のS,R端子へそれぞれ出力される。SRラッチ91の出力信号slは、マルチプレクサ92の制御入力端子Sに入力される。また、プロセッサ93,94からのデータd0 ,d1 がマルチプレクサ92のデータ入力端子D0,D1にそれぞれ入力され、同マルチプレクサ92のデータ出力端子Doからデータdsが出力される。データdsは、メモリ95のデータ入力端子Diに入力される。 In this multiprocessor system, the memory 95 is shared by the two processors 93 and 94. That is, request input signals Ri0 and Ri1 and arbitration result holding signals Li0 and Li1 are input to the arbitration circuit 60 from the processors 93 and 94, and notification output signals Ai0 and Ai1 are output from the tuning arbitration circuit 60 to the processors 93 and 94. Is done. In addition, the request output signal Ro is output from the arbitration circuit 60 to the memory 95, and the notification input signal Ao is input from the memory 95 to the arbitration circuit 60. The arbitration circuit 60 outputs arbitration circuit output usage right signals G0 and G1 to the S and R terminals of the SR latch 91, respectively. The output signal sl of the SR latch 91 is input to the control input terminal S of the multiplexer 92. Further, the data d 0 and d 1 from the processors 93 and 94 are input to the data input terminals D 0 and D 1 of the multiplexer 92, respectively, and the data ds is output from the data output terminal Do of the multiplexer 92. The data ds is input to the data input terminal Di of the memory 95.
 調停回路60から出力される調停回路出力使用権信号(G0,G1)は、調停回路60の出力の使用権を与えられた入力のハンドシェイクがない場合は(0,0)となるので、このときに前状態の調停結果でマルチプレクサ92を制御するために、SRラッチ91に調停回路出力使用権信号G0,G1が入力され、SRラッチ91の出力信号slによりマルチプレクサ92が制御され、データd0 ,d1 の一方がデータdsとしてメモリ95へ出力される。2つのプロセッサ93,94のうち、一方がメモリ95への書込データをバースト伝送する場合、調停結果保持信号Li0あるいは調停結果保持信号Li1が調停回路60へ入力され、バースト伝送が完了するまでの間、上記バースト伝送を行うプロセッサが調停回路60の出力の使用権を保持する。 The arbitration circuit output usage right signal (G0, G1) output from the arbitration circuit 60 becomes (0, 0) when there is no input handshake to which the right to use the output of the arbitration circuit 60 is given. Sometimes, in order to control the multiplexer 92 with the arbitration result of the previous state, the arbitration circuit output usage right signals G0 and G1 are input to the SR latch 91, and the multiplexer 92 is controlled by the output signal sl of the SR latch 91, and the data d0, One of d1 is output to the memory 95 as data ds. When one of the two processors 93 and 94 performs burst transmission of write data to the memory 95, the arbitration result holding signal Li0 or the arbitration result holding signal Li1 is input to the arbitration circuit 60 until burst transmission is completed. Meanwhile, the processor that performs the burst transmission holds the right to use the output of the arbitration circuit 60.
 以上、この発明の実施例を図面により詳述してきたが、具体的な構成は同実施例に限られるものではなく、この発明の要旨を逸脱しない範囲の設計の変更などがあっても、この発明に含まれる。
 たとえば、図9中の3入力NOR素子62d,62eは、たとえば、2入力NOR素子や4入力NOR素子、あるいはNAND素子としても、上記実施例とほぼ同様の作用、効果が得られる。また、図12中の調停回路60、SRラッチ91、マルチプレクサ92、プロセッサ(#0)93、プロセッサ(#1)94及びメモリ95は、同一の集積回路や回路基板上に実装されるとは限らず、異なる回路や素子に分散されて実装されても良い。また、マスタ側装置が3つ以上ある場合でも、これらのマスタ側装置からほぼ同時に出力される各要求信号のうちから最先着の要求信号を検出する相互排他モジュールを設け、調停回路内の各モジュールを必要数設けることにより、上記実施例と同様の調停が行われる。
The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to the embodiment, and even if there is a design change without departing from the gist of the present invention, Included in the invention.
For example, the 3-input NOR elements 62d and 62e in FIG. 9 can obtain substantially the same operations and effects as the above-described embodiment, for example, as 2-input NOR elements, 4-input NOR elements, or NAND elements. Also, the arbitration circuit 60, SR latch 91, multiplexer 92, processor (# 0) 93, processor (# 1) 94, and memory 95 in FIG. 12 are not necessarily mounted on the same integrated circuit or circuit board. Instead, they may be distributed and mounted in different circuits and elements. In addition, even when there are three or more master side devices, a mutual exclusion module that detects the first request signal from among the request signals output almost simultaneously from these master side devices is provided, and each module in the arbitration circuit By providing the required number, the same arbitration as in the above embodiment is performed.
 この発明は、プロセッサや演算回路などのコアや機能ブロックの間でデータ伝送を行う調停回路全般に適用できる。 The present invention can be applied to all arbitration circuits that perform data transmission between cores and functional blocks such as processors and arithmetic circuits.
 60   調停回路
 61,63   調停結果保持モジュール(調停結果保持手段)
 61a,63a   インバータ及び3入力非対称C素子(調停結果保持手段の一部)
 61b,63b   OR素子(調停結果保持手段の一部)
 62   相互排他モジュール(相互排他手段)
 62a   相互排他回路(相互排他手段)
 62b,62c   NAND素子(NANDラッチ)(相互排他手段の一部)
 62d,62e   NOR素子(相互排他手段の一部、不正信号伝播防止回路)
 64,67   通知信号生成モジュール(通知信号生成手段)
 64a,67a   2入力対称C素子(通知信号生成手段)
 65,66   ハンドシェイク(HS)完了検知モジュール(ハンドシェイク完了検知手段)
 65a,66a   インバータ及び3入力のAND素子(ハンドシェイク完了検知手段)
 68   要求信号生成モジュール(要求信号生成手段)
 68a   OR素子(要求信号生成手段)
 70   3入力非対称C素子(インバータ及び3入力非対称C素子の一部)
 71,72,73   AND素子(3入力非対称C素子の一部)
 74   OR素子(3入力非対称C素子の一部)
 75   フィードバック・ループ配線(3入力非対称C素子の一部)
 81,82,83   AND素子(2入力対称C素子の一部)
 84   OR素子(2入力対称C素子の一部)
 85   フィードバック・ループ配線(2入力対称C素子の一部)
 91   SRL(セット・リセットラッチ)(半導体回路の一部、デジタルシステムの一部)
 92   マルチプレクサ(半導体回路の一部、デジタルシステムの一部)
 93   プロセッサ(#0)(マスタ側装置、半導体回路の一部、デジタルシステムの一部)
 94   プロセッサ(#1)(マスタ側装置、半導体回路の一部、デジタルシステムの一部)
 95   メモリ(スレーブ側装置、半導体回路の一部、デジタルシステムの一部)
60 arbitration circuit 61, 63 arbitration result holding module (arbitration result holding means)
61a, 63a Inverter and 3-input asymmetric C element (part of arbitration result holding means)
61b, 63b OR element (part of arbitration result holding means)
62 Mutual exclusion module (mutual exclusion means)
62a Mutual exclusion circuit (mutual exclusion means)
62b, 62c NAND element (NAND latch) (part of mutual exclusion means)
62d, 62e NOR element (part of mutual exclusion means, illegal signal propagation prevention circuit)
64, 67 Notification signal generation module (notification signal generation means)
64a, 67a 2-input symmetric C element (notification signal generating means)
65, 66 Handshake (HS) completion detection module (handshake completion detection means)
65a, 66a Inverter and 3-input AND element (handshake completion detection means)
68 Request signal generation module (request signal generation means)
68a OR element (request signal generating means)
70 3 input asymmetric C element (part of inverter and 3 input asymmetric C element)
71, 72, 73 AND element (part of 3-input asymmetric C element)
74 OR element (part of 3-input asymmetric C element)
75 Feedback loop wiring (part of 3-input asymmetric C element)
81, 82, 83 AND element (part of 2-input symmetric C element)
84 OR element (part of 2-input symmetric C element)
85 Feedback loop wiring (part of 2-input symmetric C element)
91 SRL (set / reset latch) (part of semiconductor circuit, part of digital system)
92 Multiplexer (part of semiconductor circuit, part of digital system)
93 processor (# 0) (master side device, part of semiconductor circuit, part of digital system)
94 processor (# 1) (master side device, part of semiconductor circuit, part of digital system)
95 Memory (Slave side device, part of semiconductor circuit, part of digital system)

Claims (21)

  1.  複数のマスタ側装置に共有される1つのスレーブ側装置に対して、前記各マスタ側装置から動作要求を行うための要求信号がほぼ同時に出力されるとき、前記各要求信号の間に発生する競合に対して調停を行う調停回路であって、
     前記スレーブ側装置が、前記各マスタ側装置の前記要求信号に対応して動作完了を通知するための通知信号を出力する構成とされ、
     前記各マスタ側装置が、前記スレーブ側装置から前記通知信号を当該調停回路を介して入力すると共に、該通知信号に対応して前記要求信号を出力し、かつ、前記スレーブ側装置に対して連続して動作要求を行う場合に当該調停回路に対して調停結果の保持を指示するための調停結果保持信号を前記要求信号と並行して出力する構成とされ、
     当該調停回路は、
     前記各マスタ側装置からほぼ同時に出力される前記各要求信号のうちから最先着の要求信号を検出し、該要求信号を出力した前記マスタ側装置に優先権を与えると共に、前記スレーブ側装置から出力される前記通知信号を該マスタ側装置に送出する構成とされ、かつ、
     該マスタ側装置から出力される前記調停結果保持信号がアクティブモード、かつ該マスタ側装置に優先権が与えられているとき、前記調停結果の保持を行う一方、前記調停結果保持信号がノンアクティブモードかつ前記スレーブ側装置から出力される前記通知信号が前記動作完了を示すとき、前記調停結果の開放を行う調停結果保持手段が設けられていることを特徴とする調停回路。
    When a request signal for making an operation request from each master side device is output almost simultaneously to one slave side device shared by a plurality of master side devices, a conflict occurs between the request signals. An arbitration circuit for arbitrating with respect to
    The slave side device is configured to output a notification signal for notifying operation completion in response to the request signal of each master side device,
    Each master side device inputs the notification signal from the slave side device via the arbitration circuit, outputs the request signal in response to the notification signal, and continuously to the slave side device When the operation request is made, the arbitration result holding signal for instructing the arbitration circuit to hold the arbitration result is output in parallel with the request signal.
    The arbitration circuit is
    The first request signal is detected from the request signals that are output almost simultaneously from the master side devices, and the priority is given to the master side device that has output the request signal, and output from the slave side device. The notification signal to be sent to the master side device, and
    When the arbitration result holding signal output from the master side device is in an active mode, and when priority is given to the master side device, the arbitration result holding signal is held, while the arbitration result holding signal is in an inactive mode. And an arbitration result holding means for releasing the arbitration result when the notification signal output from the slave side device indicates the completion of the operation.
  2.  複数のマスタ側装置に共有される1つのスレーブ側装置に対して、前記各マスタ側装置から動作要求を行うための要求信号がほぼ同時に出力されるとき、前記各要求信号の間に発生する競合に対して調停を行う調停回路であって、
     前記スレーブ側装置が、所定のハンドシェイク・プロトコルに基づいて、前記各マスタ側装置の前記要求信号に対応して動作完了を通知するための通知信号を出力する構成とされ、
     前記各マスタ側装置が、前記スレーブ側装置から前記通知信号を当該調停回路を介して入力すると共に、所定のハンドシェイク・プロトコルに基づいて、該通知信号に対応して前記要求信号を出力し、かつ、前記スレーブ側装置に対して連続して動作要求を行う場合に当該調停回路に対して調停結果の保持を指示するための調停結果保持信号を前記要求信号と並行して出力する構成とされ、
     当該調停回路は、
     前記各マスタ側装置からほぼ同時に出力される前記各要求信号のうちから最先着の要求信号を検出し、該要求信号を出力した前記マスタ側装置に優先的に使用権を与えるための調停回路出力使用権信号を出力すると共に、前記スレーブ側装置から出力される前記通知信号を該マスタ側装置に送出する構成とされ、かつ、
     該マスタ側装置から出力される前記調停結果保持信号がアクティブモード、かつ前記調停回路出力使用権信号がアクティブモードのとき、前記調停結果の保持を行う一方、前記調停結果保持信号がノンアクティブモードかつ前記スレーブ側装置から出力される前記通知信号が前記動作完了を示すとき、前記調停結果の開放を行う調停結果保持手段が設けられていることを特徴とする調停回路。
    When a request signal for making an operation request from each master side device is output almost simultaneously to one slave side device shared by a plurality of master side devices, a conflict occurs between the request signals. An arbitration circuit for arbitrating with respect to
    The slave device is configured to output a notification signal for notifying operation completion in response to the request signal of each master device based on a predetermined handshake protocol.
    Each master device inputs the notification signal from the slave device via the arbitration circuit, and outputs the request signal corresponding to the notification signal based on a predetermined handshake protocol, In addition, when the operation request is continuously made to the slave side device, the arbitration result holding signal for instructing the arbitration circuit to hold the arbitration result is output in parallel with the request signal. ,
    The arbitration circuit is
    Arbitration circuit output for preferentially giving a right to use to the master side device that detects the first request signal from the request signals that are output almost simultaneously from the master side devices and outputs the request signal It is configured to output a usage right signal and send the notification signal output from the slave side device to the master side device, and
    When the arbitration result holding signal output from the master side device is in an active mode and the arbitration circuit output use right signal is in an active mode, the arbitration result holding signal is held, while the arbitration result holding signal is in an inactive mode and An arbitration circuit comprising: an arbitration result holding means for releasing the arbitration result when the notification signal output from the slave side device indicates completion of the operation.
  3.  前記各マスタ側装置からほぼ同時に出力される前記各要求信号のうちから最先着の要求信号を検出して該要求信号に優先的に使用権を与えるための使用権信号を出力する相互排他手段を有し、
     前記調停結果保持手段は、
     前記調停結果が開放状態のとき、前記マスタ側装置から出力される要求信号を前記相互排他手段へ送出する構成とされていることを特徴とする請求項2記載の調停回路。
    Mutual exclusion means for detecting a first-arrival request signal from the request signals that are output almost simultaneously from the master side devices and outputting a use right signal for preferentially giving the use right to the request signal Have
    The arbitration result holding means is
    3. The arbitration circuit according to claim 2, wherein when the arbitration result is in an open state, the arbitration circuit is configured to send a request signal output from the master side device to the mutual exclusion means.
  4.  前記相互排他手段で検出された前記最先着の要求信号に優先的に使用権が与えられ、かつ、該要求信号を出力した前記マスタ側装置以外のマスタ側装置に入力される前記通知信号がノンアクティブモードのとき、前記最先着の要求信号を通過させて前記調停回路出力使用権信号として出力するハンドシェイク完了検知手段を有することを特徴とする請求項3記載の調停回路。 A right of use is preferentially given to the first request signal detected by the mutual exclusion means, and the notification signal input to a master side device other than the master side device that has output the request signal 4. The arbitration circuit according to claim 3, further comprising handshake completion detection means for passing the first-arrival request signal and outputting it as the arbitration circuit output use right signal in the active mode.
  5.  前記ハンドシェイク完了検知手段から出力される前記調停回路出力使用権信号を前記要求信号として前記スレーブ側装置へ送出する要求信号生成手段を有することを特徴とする請求項4記載の調停回路。 5. The arbitration circuit according to claim 4, further comprising request signal generation means for sending the arbitration circuit output use right signal output from the handshake completion detection means to the slave side device as the request signal.
  6.  前記調停回路出力使用権信号と前記スレーブ側装置から出力される前記通知信号とを待ち合わせることで、優先権が与えられた前記マスタ側装置に該通知信号を送出する通知信号生成手段を有することを特徴とする請求項5記載の調停回路。 It has notification signal generation means for sending the notification signal to the master side device to which priority is given by waiting for the arbitration circuit output usage right signal and the notification signal output from the slave side device. The arbitration circuit according to claim 5, characterized in that:
  7.  前記調停結果保持手段は、
     前記調停回路出力使用権信号及び調停結果保持信号を入力すると共に、前記通知信号生成手段から送出される前記通知信号の否定信号を待ち合わせることで、前記調停結果の保持を行うための排他要求信号を出力する3入力非対称C素子と、
     前記排他要求信号及び前記マスタ側装置から出力される前記要求信号を前記相互排他手段へ送出するOR素子とから構成されていることを特徴とする請求項3記載の調停回路。
    The arbitration result holding means is
    An exclusive request signal for holding the arbitration result by inputting the arbitration circuit output use right signal and the arbitration result holding signal and waiting for a negative signal of the notification signal sent from the notification signal generating means. A three-input asymmetric C-element to output;
    4. The arbitration circuit according to claim 3, further comprising: an OR element that sends the exclusion request signal and the request signal output from the master side device to the mutual exclusion means.
  8.  前記3入力非対称C素子は、
     前記調停結果保持信号がノンアクティブモードかつ前記通知信号の否定信号がノンアクティブモードのときに前記排他要求信号をノンアクティブモードとする一方、前記調停回路出力使用権信号がアクティブモードかつ前記調停結果保持信号がアクティブモードのときに前記排他要求信号をアクティブモードとし、前記調停回路出力使用権信号、調停結果保持信号及び通知信号の否定信号が他の状態に遷移したときに前記排他要求信号を前の状態に保持する構成とされていることを特徴とする請求項7記載の調停回路。
    The three-input asymmetric C element is
    When the arbitration result holding signal is in a non-active mode and the negative signal of the notification signal is in a non-active mode, the exclusion request signal is set to a non-active mode, while the arbitration circuit output use right signal is in an active mode and the arbitration result is held. When the signal is in the active mode, the exclusion request signal is set to the active mode, and when the negation signal of the arbitration circuit output use right signal, the arbitration result holding signal, and the notification signal transitions to another state, the exclusion request signal is changed to the previous one. The arbitration circuit according to claim 7, wherein the arbitration circuit is held in a state.
  9.  前記3入力非対称C素子は、
     前記調停回路出力使用権信号と前記調停結果保持信号との論理積をとって第1の出力信号を出力する第1のAND素子と、
     前記調停結果保持信号と前記排他要求信号の帰還信号との論理積をとって第2の出力信号を出力する第2のAND素子と、
     前記通知信号の否定信号と前記排他要求信号の帰還信号との論理積をとって第3の出力信号を出力する第3のAND素子と、
     前記第1の出力信号と前記第2の出力信号と前記第3の出力信号との論理和をとって前記排他要求信号を出力する第1のOR素子とから構成されていることを特徴とする請求項7又は8記載の調停回路。
    The three-input asymmetric C element is
    A first AND element that ANDs the arbitration circuit output use right signal and the arbitration result holding signal and outputs a first output signal;
    A second AND element that takes a logical product of the arbitration result holding signal and the feedback signal of the exclusion request signal and outputs a second output signal;
    A third AND element that ANDs the negative signal of the notification signal and the feedback signal of the exclusion request signal and outputs a third output signal;
    A first OR element that outputs a logical sum of the first output signal, the second output signal, and the third output signal and outputs the exclusion request signal is provided. The arbitration circuit according to claim 7 or 8.
  10.  前記調停結果保持手段が2つ設けられているとき、
     前記相互排他手段は、
     互いにたすき掛け接続された2つのNAND素子からなり、前記各調停結果保持手段の前記OR素子から送出される前記各排他要求信号及び要求信号を入力する2入力のNANDラッチと、
     前記各NAND素子の出力信号が不正のときに伝播を防止する不正信号伝播防止回路とから構成されていることを特徴とする請求項7記載の調停回路。
    When two arbitration result holding means are provided,
    The mutual exclusion means is:
    A two-input NAND latch for inputting the exclusive request signal and the request signal sent from the OR element of each arbitration result holding unit, and comprising two NAND elements connected to each other.
    8. The arbitration circuit according to claim 7, further comprising: an illegal signal propagation prevention circuit that prevents propagation when an output signal of each NAND element is illegal.
  11.  前記不正信号伝播防止回路は、
     前記各NAND素子の出力信号に対して否定演算を行う複数入力の論理回路で構成されていることを特徴とする請求項10記載の調停回路。
    The illegal signal propagation preventing circuit is:
    11. The arbitration circuit according to claim 10, wherein the arbitration circuit includes a plurality of input logic circuits that perform a negative operation on an output signal of each NAND element.
  12.  前記ハンドシェイク完了検知手段は、
     前記最先着の要求信号を出力した前記マスタ側装置以外のマスタ側装置に入力される前記通知信号に対して否定演算を行って反転通知信号を出力するインバータと、
     前記最先着の要求信号と前記反転通知信号と前記相互排他手段から出力される前記使用権信号との論理積をとって前記調停回路出力使用権信号を出力するAND素子とから構成されていることを特徴とする請求項4記載の調停回路。
    The handshake completion detecting means is
    An inverter that performs a negative operation on the notification signal that is input to a master-side device other than the master-side device that outputs the first-arrival request signal, and outputs an inverted notification signal;
    It is composed of an AND element that outputs the arbitration circuit output usage right signal by taking the logical product of the first-arrival request signal, the inversion notification signal, and the usage right signal output from the mutual exclusion means. The arbitration circuit according to claim 4.
  13.  前記要求信号生成手段は、
     前記ハンドシェイク完了検知手段から出力される前記調停回路出力使用権信号の論理和をとって前記要求信号として出力するOR素子で構成されていることを特徴とする請求項5記載の調停回路。
    The request signal generating means includes
    6. The arbitration circuit according to claim 5, comprising an OR element that takes a logical sum of the arbitration circuit output use right signal output from the handshake completion detection means and outputs the logical sum as the request signal.
  14.  前記通知信号生成手段は、
     前記調停回路出力使用権信号を入力すると共に、前記スレーブ側装置から出力される前記通知信号を待ち合わせることで、優先権が与えられた前記マスタ側装置に該通知信号を送出する2入力対称C素子から構成されていることを特徴とする請求項6記載の調停回路。
    The notification signal generating means includes
    A two-input symmetric C element that inputs the arbitration circuit output usage right signal and sends the notification signal to the master side device to which priority is given by waiting for the notification signal output from the slave side device The arbitration circuit according to claim 6, comprising:
  15.  前記2入力対称C素子は、
     前記調停回路出力使用権信号がノンアクティブモードかつ前記スレーブ側装置から出力される前記通知信号がノンアクティブモードのときに前記マスタ側装置に送出する通知信号をノンアクティブモードとする一方、前記調停回路出力使用権信号がアクティブモードかつ前記スレーブ側装置から出力される前記通知信号がアクティブモードのときに前記マスタ側装置に送出する通知信号をアクティブモードとし、前記調停回路出力使用権信号及び前記スレーブ側装置から出力される前記通知信号が他の状態に遷移したときに前記マスタ側装置に送出する通知信号を前の状態に保持する構成とされていることを特徴とする請求項14記載の調停回路。
    The two-input symmetric C element is
    While the arbitration circuit output use right signal is in the non-active mode and the notification signal output from the slave side device is in the non-active mode, the notification signal sent to the master side device is set to the non-active mode, while the arbitration circuit When the output usage right signal is in the active mode and the notification signal output from the slave side device is in the active mode, the notification signal sent to the master side device is set to the active mode, and the arbitration circuit output usage right signal and the slave side 15. The arbitration circuit according to claim 14, wherein a notification signal to be sent to the master side device is held in a previous state when the notification signal output from the device transitions to another state. .
  16.  前記2入力対称C素子は、
     前記調停回路出力使用権信号と前記マスタ側装置に送出される前記通知信号の帰還信号との論理積をとって第4の出力信号を出力する第4のAND素子と、
     前記調停回路出力使用権信号と前記スレーブ側装置から出力される前記通知信号との論理積をとって第5の出力信号を出力する第5のAND素子と、
     前記スレーブ側装置から出力される前記通知信号と前記マスタ側装置に送出される前記通知信号の帰還信号との論理積をとって第6の出力信号を出力する第6のAND素子と、
     前記第4の出力信号と前記第5の出力信号と前記第6の出力信号との論理和をとって前記マスタ側装置に送出される前記通知信号を出力する第2のOR素子とから構成されていることを特徴とする請求項14又は15記載の調停回路。
    The two-input symmetric C element is
    A fourth AND element that takes a logical product of the arbitration circuit output use right signal and the feedback signal of the notification signal sent to the master side device, and outputs a fourth output signal;
    A fifth AND element that takes a logical product of the arbitration circuit output use right signal and the notification signal output from the slave side device, and outputs a fifth output signal;
    A sixth AND element that takes a logical product of the notification signal output from the slave side device and the feedback signal of the notification signal sent to the master side device, and outputs a sixth output signal;
    And a second OR element that outputs the notification signal sent to the master side device by taking a logical sum of the fourth output signal, the fifth output signal, and the sixth output signal. 16. The arbitration circuit according to claim 14, wherein the arbitration circuit is provided.
  17.  複数のマスタ側装置に共有される1つのスレーブ側装置に対して、前記各マスタ側装置から動作要求を行うための要求信号がほぼ同時に出力されるとき、前記各要求信号の間に発生する競合に対して調停を行う調停回路に用いられる調停方法であって、
     前記スレーブ側装置を、前記各マスタ側装置の前記要求信号に対応して動作完了を通知するための通知信号を出力する構成とし、
     前記各マスタ側装置を、前記スレーブ側装置から前記通知信号を当該調停回路を介して入力すると共に、該通知信号に対応して前記要求信号を出力し、かつ、前記スレーブ側装置に対して連続して動作要求を行う場合に当該調停回路に対して調停結果の保持を指示するための調停結果保持信号を前記要求信号と並行して出力する構成としておき、
     当該調停回路が、前記各マスタ側装置からほぼ同時に出力される前記各要求信号のうちから最先着の要求信号を検出し、該要求信号を出力した前記マスタ側装置に優先権を与えると共に、前記スレーブ側装置から出力される前記通知信号を該マスタ側装置に送出し、かつ、該マスタ側装置から出力される前記調停結果保持信号がアクティブモード、かつ該マスタ側装置に優先権が与えられているとき、前記調停結果の保持を行う一方、前記調停結果保持信号がノンアクティブモードかつ前記スレーブ側装置から出力される前記通知信号が前記動作完了を示すとき、前記調停結果の開放を行うことを特徴とする調停方法。
    When a request signal for making an operation request from each master side device is output almost simultaneously to one slave side device shared by a plurality of master side devices, a conflict occurs between the request signals. An arbitration method used in an arbitration circuit that performs arbitration with respect to
    The slave side device is configured to output a notification signal for notifying operation completion in response to the request signal of each master side device,
    Each master side device inputs the notification signal from the slave side device via the arbitration circuit, outputs the request signal corresponding to the notification signal, and continuously to the slave side device When performing an operation request, the arbitration result holding signal for instructing the arbitration circuit to hold the arbitration result is output in parallel with the request signal.
    The arbitration circuit detects the earliest request signal from the request signals that are output almost simultaneously from the master side devices, gives priority to the master side device that has output the request signals, and The notification signal output from the slave side device is sent to the master side device, and the arbitration result holding signal output from the master side device is in the active mode, and priority is given to the master side device. The arbitration result is held when the arbitration result holding signal is in an inactive mode and the notification signal output from the slave side device indicates the completion of the operation, the arbitration result is released. Mediation method characterized.
  18.  複数のマスタ側装置に共有される1つのスレーブ側装置に対して、前記各マスタ側装置から動作要求を行うための要求信号がほぼ同時に出力されるとき、前記各要求信号の間に発生する競合に対して調停を行う調停回路に用いられる調停方法であって、
     前記スレーブ側装置を、所定のハンドシェイク・プロトコルに基づいて、前記各マスタ側装置の前記要求信号に対応して動作完了を通知するための通知信号を出力する構成とし、
     前記各マスタ側装置を、前記スレーブ側装置から前記通知信号を当該調停回路を介して入力すると共に、所定のハンドシェイク・プロトコルに基づいて、該通知信号に対応して前記要求信号を出力し、かつ、前記スレーブ側装置に対して連続して動作要求を行う場合に当該調停回路に対して調停結果の保持を指示するための調停結果保持信号を前記要求信号と並行して出力する構成としておき、
     当該調停回路が、前記各マスタ側装置からほぼ同時に出力される前記各要求信号のうちから最先着の要求信号を検出し、該要求信号を出力した前記マスタ側装置に優先的に使用権を与えるための調停回路出力使用権信号を出力すると共に、前記スレーブ側装置から出力される前記通知信号を該マスタ側装置に送出し、かつ、該マスタ側装置から出力される前記調停結果保持信号がアクティブモード、かつ前記調停回路出力使用権信号がアクティブモードのとき、前記調停結果の保持を行う一方、前記調停結果保持信号がノンアクティブモードかつ前記スレーブ側装置から出力される前記通知信号が前記動作完了を示すとき、前記調停結果の開放を行うことを特徴とする調停方法。
    When a request signal for making an operation request from each master side device is output almost simultaneously to one slave side device shared by a plurality of master side devices, a conflict occurs between the request signals. An arbitration method used in an arbitration circuit that performs arbitration with respect to
    Based on a predetermined handshake protocol, the slave side device is configured to output a notification signal for notifying operation completion in response to the request signal of each master side device,
    Each master side device inputs the notification signal from the slave side device via the arbitration circuit, and outputs the request signal corresponding to the notification signal based on a predetermined handshake protocol, In addition, when the operation request is continuously made to the slave side device, an arbitration result holding signal for instructing the arbitration circuit to hold the arbitration result is output in parallel with the request signal. ,
    The arbitration circuit detects the first request signal from the request signals that are output almost simultaneously from the master side devices, and gives priority to the master side device that has output the request signals. An arbitration circuit output use right signal for outputting the notification signal output from the slave side device to the master side device, and the arbitration result holding signal output from the master side device is active When the mode and the arbitration circuit output use right signal are in the active mode, the arbitration result is held, while the arbitration result holding signal is in the non-active mode and the notification signal output from the slave side device completes the operation. The arbitration method is characterized in that the arbitration result is released.
  19.  請求項1乃至16のいずれか一に記載の調停回路が設けられている
    ことを特徴とする半導体回路。
    A semiconductor circuit comprising the arbitration circuit according to claim 1.
  20.  複数のマスタ側装置と、前記複数のマスタ側装置に共有される1つのスレーブ側装置と、前記各マスタ側装置から動作要求を行うための要求信号がほぼ同時に出力されるとき、前記各要求信号の間に発生する競合に対して調停を行う調停回路とを有するデジタルシステムであって、
     前記スレーブ側装置は、
     前記各マスタ側装置の前記要求信号に対応して動作完了を通知するための通知信号を出力する構成とされ、
     前記各マスタ側装置は、前記スレーブ側装置から前記通知信号を当該調停回路を介して入力すると共に、該通知信号に対応して前記要求信号を出力し、かつ、前記スレーブ側装置に対して連続して動作要求を行う場合に当該調停回路に対して調停結果の保持を指示するための調停結果保持信号を前記要求信号と並行して出力する構成とされ、
     前記調停回路は、
     前記各マスタ側装置からほぼ同時に出力される前記各要求信号のうちから最先着の要求信号を検出し、該要求信号を出力した前記マスタ側装置に優先権を与えると共に、前記スレーブ側装置から出力される前記通知信号を該マスタ側装置に送出する構成とされ、かつ、
     該マスタ側装置から出力される前記調停結果保持信号がアクティブモード、かつ該マスタ側装置に優先権が与えられているとき、前記調停結果の保持を行う一方、前記調停結果保持信号がノンアクティブモードかつ前記スレーブ側装置から出力される前記通知信号が前記動作完了を示すとき、前記調停結果の開放を行う調停結果保持手段が設けられていることを特徴とするデジタルシステム。
    When each of the master side devices, one slave side device shared by the plurality of master side devices, and a request signal for making an operation request from each master side device are output almost simultaneously, the request signals A digital system having an arbitration circuit for arbitrating against competition occurring between
    The slave side device
    It is configured to output a notification signal for notifying operation completion in response to the request signal of each master side device,
    Each master side device inputs the notification signal from the slave side device via the arbitration circuit, outputs the request signal corresponding to the notification signal, and continuously to the slave side device When the operation request is made, the arbitration result holding signal for instructing the arbitration circuit to hold the arbitration result is output in parallel with the request signal.
    The arbitration circuit is:
    The first request signal is detected from the request signals that are output almost simultaneously from the master side devices, and the priority is given to the master side device that has output the request signal, and output from the slave side device. The notification signal to be sent to the master side device, and
    When the arbitration result holding signal output from the master side device is in an active mode, and when priority is given to the master side device, the arbitration result holding signal is held, while the arbitration result holding signal is in an inactive mode. And a mediation result holding means for releasing the mediation result when the notification signal output from the slave device indicates the completion of the operation.
  21.  複数のマスタ側装置と、前記複数のマスタ側装置に共有される1つのスレーブ側装置と、前記各マスタ側装置から動作要求を行うための要求信号がほぼ同時に出力されるとき、前記各要求信号の間に発生する競合に対して調停を行う調停回路とを有するデジタルシステムであって、
     前記スレーブ側装置は、
     所定のハンドシェイク・プロトコルに基づいて、前記各マスタ側装置の前記要求信号に対応して動作完了を通知するための通知信号を出力する構成とされ、
     前記各マスタ側装置は、
     前記スレーブ側装置から前記通知信号を当該調停回路を介して入力すると共に、所定のハンドシェイク・プロトコルに基づいて、該通知信号に対応して前記要求信号を出力し、かつ、前記スレーブ側装置に対して連続して動作要求を行う場合に当該調停回路に対して調停結果の保持を指示するための調停結果保持信号を前記要求信号と並行して出力する構成とされ、
     前記調停回路は、
     前記各マスタ側装置からほぼ同時に出力される前記各要求信号のうちから最先着の要求信号を検出し、該要求信号を出力した前記マスタ側装置に優先的に使用権を与えるための調停回路出力使用権信号を出力すると共に、前記スレーブ側装置から出力される前記通知信号を該マスタ側装置に送出する構成とされ、かつ、
     該マスタ側装置から出力される前記調停結果保持信号がアクティブモード、かつ前記調停回路出力使用権信号がアクティブモードのとき、前記調停結果の保持を行う一方、前記調停結果保持信号がノンアクティブモードかつ前記スレーブ側装置から出力される前記通知信号が前記動作完了を示すとき、前記調停結果の開放を行う調停結果保持手段が設けられていることを特徴とするデジタルシステム。
    When each of the master side devices, one slave side device shared by the plurality of master side devices, and a request signal for making an operation request from each master side device are output almost simultaneously, the request signals A digital system having an arbitration circuit for arbitrating against competition occurring between
    The slave side device
    Based on a predetermined handshake protocol, it is configured to output a notification signal for notifying operation completion in response to the request signal of each master side device,
    Each of the master side devices
    The notification signal is input from the slave side device via the arbitration circuit, the request signal is output in response to the notification signal based on a predetermined handshake protocol, and the slave side device When performing an operation request continuously, the arbitration result holding signal for instructing the arbitration circuit to hold the arbitration result is output in parallel with the request signal,
    The arbitration circuit is:
    Arbitration circuit output for preferentially giving a right to use to the master side device that detects the first request signal from the request signals that are output almost simultaneously from the master side devices and outputs the request signal It is configured to output a usage right signal and send the notification signal output from the slave side device to the master side device, and
    When the arbitration result holding signal output from the master side device is in an active mode and the arbitration circuit output use right signal is in an active mode, the arbitration result holding signal is held, while the arbitration result holding signal is in an inactive mode and A digital system, comprising: an arbitration result holding means for releasing the arbitration result when the notification signal output from the slave side device indicates the completion of the operation.
PCT/JP2009/066308 2008-09-25 2009-09-17 Adjusting circuit, adjusting method used in the adjusting circuit, semiconductor circuit having the adjusting circuit, and digital system WO2010035698A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010530828A JPWO2010035698A1 (en) 2008-09-25 2009-09-17 Arbitration circuit, arbitration method used in the arbitration circuit, semiconductor circuit provided with the arbitration circuit, and digital system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008246187 2008-09-25
JP2008-246187 2008-09-25

Publications (1)

Publication Number Publication Date
WO2010035698A1 true WO2010035698A1 (en) 2010-04-01

Family

ID=42059698

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/066308 WO2010035698A1 (en) 2008-09-25 2009-09-17 Adjusting circuit, adjusting method used in the adjusting circuit, semiconductor circuit having the adjusting circuit, and digital system

Country Status (2)

Country Link
JP (1) JPWO2010035698A1 (en)
WO (1) WO2010035698A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5582329A (en) * 1978-12-15 1980-06-21 Nec Corp First-come decision system of interface switch
JPH04250553A (en) * 1991-01-28 1992-09-07 Matsushita Electric Works Ltd Programmable controller
JPH07311734A (en) * 1994-05-18 1995-11-28 Fujitsu Ltd Contention control method for common bus use
JP2000099455A (en) * 1998-09-21 2000-04-07 Nec Corp First-come priority bus competition control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5582329A (en) * 1978-12-15 1980-06-21 Nec Corp First-come decision system of interface switch
JPH04250553A (en) * 1991-01-28 1992-09-07 Matsushita Electric Works Ltd Programmable controller
JPH07311734A (en) * 1994-05-18 1995-11-28 Fujitsu Ltd Contention control method for common bus use
JP2000099455A (en) * 1998-09-21 2000-04-07 Nec Corp First-come priority bus competition control system

Also Published As

Publication number Publication date
JPWO2010035698A1 (en) 2012-02-23

Similar Documents

Publication Publication Date Title
JP4520742B2 (en) Techniques to facilitate conversion between asynchronous and synchronous domains
US8872544B2 (en) Systems, pipeline stages, and computer readable media for advanced asynchronous pipeline circuits
EP1468372B1 (en) Asynchronous crossbar with deterministic or arbitrated control
Bainbridge Asynchronous system-on-chip interconnect
TW200830108A (en) Two-cycle return path clocking
JP2003344506A (en) Self-synchronization logic circuit having test circuit and method of testing self-synchronization logic circuit
JP3488224B2 (en) Transition signal control device, DMA controller and transition signal control processor using the same
KR100956304B1 (en) Information exchange between locally synchronous circuits
JP5435031B2 (en) Asynchronous logic circuit, semiconductor circuit, and path calculation method in asynchronous logic circuit
WO2010035698A1 (en) Adjusting circuit, adjusting method used in the adjusting circuit, semiconductor circuit having the adjusting circuit, and digital system
WO2009110588A1 (en) Data transfer apparatus and method, and semiconductor circuit
Bainbridge et al. MARBLE: An asynchronous on-chip macrocell bus
JP5397783B2 (en) Asynchronous logic circuit
JP2002141922A (en) Loop type path system
KR102415074B1 (en) Delay circuit, controller for asynchronous pipeline, method of controlling the same, and circuit having the same
JP2005100448A (en) Data processing system, array type processor, data processing apparatus, computer program, and information storage medium therefor
KR100216548B1 (en) HiPi+ BUS interrupt handler state control method
Golubcovs Multi-resource approach to asynchronous SoC: design and tool support
KR0126579B1 (en) State control method for interrupting requester on hipit bus
Pistritto SOURCE<: t> SYNC. LAYER
WO2007037384A1 (en) System having a self-synchronization type processing unit
JPH05173952A (en) Data transmission equipment
Bainbridge for the degree of Doctor of Philosophy in the Faculty of Science & Engineering
JPH09106385A (en) Data transfer control circuit
JP2000187641A (en) Information transmitting circuit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09816113

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2010530828

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09816113

Country of ref document: EP

Kind code of ref document: A1