TWI761012B - Event controlling device and operation method thereof - Google Patents

Event controlling device and operation method thereof Download PDF

Info

Publication number
TWI761012B
TWI761012B TW109147059A TW109147059A TWI761012B TW I761012 B TWI761012 B TW I761012B TW 109147059 A TW109147059 A TW 109147059A TW 109147059 A TW109147059 A TW 109147059A TW I761012 B TWI761012 B TW I761012B
Authority
TW
Taiwan
Prior art keywords
signal
processing
output
event
module
Prior art date
Application number
TW109147059A
Other languages
Chinese (zh)
Other versions
TW202227983A (en
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 TW109147059A priority Critical patent/TWI761012B/en
Priority to CN202111552733.2A priority patent/CN114691387A/en
Application granted granted Critical
Publication of TWI761012B publication Critical patent/TWI761012B/en
Publication of TW202227983A publication Critical patent/TW202227983A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • 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/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Electronic Switches (AREA)
  • Information Transfer Systems (AREA)

Abstract

An event controlling device includes a first selecting module, a second selecting module, a first processing module, a channel link module and an output module. The first selecting module receives a plurality of event signals and output a first event signal. The second selecting module receives the event signals and output a second event signal. The first processing module receives the first event signal and the second event signal, and performing a first logic process for the first event signal or a first inverted event signal and the second event signal or a second inverted event signal to generate a first processing signal. The channel link module has a plurality of output channels, receives the first processing signal, and designates a first output channel of the output channels to output the first processing signal. The output module receives the first processing signal, and generates a first output signal or a first synchronism output signal according to the processing signal.

Description

事件控制裝置及其操作方法Event control device and method of operation thereof

本發明關於一種控制裝置,特別是關於一種事件控制裝置及其操作方法。The present invention relates to a control device, in particular to an event control device and an operation method thereof.

一般來說,周邊裝置與另一周邊裝置之間的事件連結可以透過事件控制器(event controller)來執行。然而,事件控制器僅提供周邊裝置與另一周邊裝置之間的直線式關係,亦即事件控制器將周邊裝置所提供的事件觸發信號提供至另一周邊裝置,以使另一周邊裝置據以產生對應的操作,如此事件控制器的處理模式較為單調。因此,如何增加事件控制器的使用彈性及便利性是當前重要的課題。In general, event linkage between a peripheral device and another peripheral device can be performed through an event controller. However, the event controller only provides a linear relationship between the peripheral device and another peripheral device, that is, the event controller provides the event trigger signal provided by the peripheral device to the other peripheral device, so that the other peripheral device can use The corresponding operation is generated, so the processing mode of the event controller is relatively monotonous. Therefore, how to increase the flexibility and convenience of the event controller is an important issue at present.

本發明提供一種事件控制裝置及其操作方法,藉以增加周邊裝置之間事件連結的彈性及使用情境,以增加使用上的便利性。The present invention provides an event control device and an operation method thereof, so as to increase the flexibility and use context of event connection between peripheral devices, so as to increase the convenience in use.

本發明提供一種事件控制裝置,包括第一選擇模組、第二選擇模組、第一處理模組、通道連結模組、輸出模組。第一選擇模組接收多個事件信號,並輸出第一事件信號。第二選擇模組接收事件信號,並輸出第二事件信號。第一處理模組耦接第一選擇模組與第二選擇模組,接收第一事件信號與第二事件信號,第一處理模組對第一事件信號或第一反相事件信號以及第二事件信號或第二反相事件信號進行第一邏輯處理,以產生第一處理信號。通道連結模組耦接第一處理模組並具有多個輸出通道,通道連結模組接收第一處理信號,並指定輸出通道的第一輸出通道輸出第一處理信號。輸出模組耦接通道連結模組,接收第一處理信號,並依據第一處理信號,產生第一輸出信號或第一同步輸出信號。The present invention provides an event control device, comprising a first selection module, a second selection module, a first processing module, a channel connection module, and an output module. The first selection module receives a plurality of event signals and outputs a first event signal. The second selection module receives the event signal and outputs the second event signal. The first processing module is coupled to the first selection module and the second selection module, receives the first event signal and the second event signal, and the first processing module processes the first event signal or the first inversion event signal and the second event signal. The event signal or the second inverted event signal undergoes first logic processing to generate a first processing signal. The channel connection module is coupled to the first processing module and has a plurality of output channels. The channel connection module receives the first processing signal and outputs the first processing signal through the first output channel of the designated output channel. The output module is coupled to the channel connection module, receives the first processing signal, and generates the first output signal or the first synchronization output signal according to the first processing signal.

本發明提供一種事件控制裝置的操作方法,包括下列步驟。透過第一選擇模組,接收多個事件信號,並輸出第一事件信號。透過第二選擇模組,接收事件信號,並輸出第二事件信號。透過第一處理模組,對第一事件信號或第一反相事件信號以及第二事件信號或第二反相事件信號進行第一邏輯處理,以產生第一處理信號。透過通道連結模組,接收第一處理信號,並指定通道連結模組的多個輸出通道的第一輸出通道輸出第一處理信號。透過輸出模組,接收第一處理信號,並依據第一處理信號,產生第一輸出信號或第一同步輸出信號。The present invention provides an operation method of an event control device, which includes the following steps. Through the first selection module, a plurality of event signals are received, and the first event signal is output. Through the second selection module, the event signal is received and the second event signal is output. Through the first processing module, the first logic processing is performed on the first event signal or the first inverted event signal and the second event signal or the second inverted event signal to generate the first processing signal. The first processing signal is received through the channel connecting module, and the first output channel of the plurality of output channels of the channel connecting module is designated to output the first processing signal. The first processing signal is received through the output module, and a first output signal or a first synchronization output signal is generated according to the first processing signal.

本發明所揭露之事件控制裝置及其操作方法,透過第一處理模組至少對第一事件信號或第一反相事件信號以及第二事件信號或第二反相事件信號進行第一邏輯處理,以產生第一處理信號,通道連結模組指定輸出通道的第一輸出通道輸出第一處理信號,且輸出模組依據第一處理信號,產生第一輸出信號或第一同步輸出信號。如此一來,可以有效地增加事件連結的彈性及使用情境,以增加使用上的便利性。In the event control device and the operation method thereof disclosed in the present invention, at least the first event signal or the first inversion event signal and the second event signal or the second inversion event signal are subjected to the first logic processing through the first processing module, In order to generate the first processing signal, the first output channel of the designated output channel of the channel connection module outputs the first processing signal, and the output module generates the first output signal or the first synchronization output signal according to the first processing signal. In this way, the flexibility of the event connection and the usage context can be effectively increased, so as to increase the convenience of use.

在以下所列舉的各實施例中,將以相同的標號代表相同或相似的元件或組件。In the various embodiments listed below, the same or similar elements or components will be represented by the same reference numerals.

第1圖為依據本發明之一實施例之事件控制裝置的示意圖。本實施例之事件控制裝置100適於微控制器之周邊裝置之間的事件連結控制。請參考第1圖,事件控制裝置100可以包括第一選擇模組110_1、第二選擇模組110_2、第一處理模組120、通道連結模組130與輸出模組140。FIG. 1 is a schematic diagram of an event control apparatus according to an embodiment of the present invention. The event control device 100 of this embodiment is suitable for event link control between peripheral devices of a microcontroller. Referring to FIG. 1 , the event control device 100 may include a first selection module 110_1 , a second selection module 110_2 , a first processing module 120 , a channel connection module 130 and an output module 140 .

第一選擇模組110_1可以接收多個事件信號S0、S1與選擇信號SEL1_1,並依據選擇信號SEL1_1,從事件信號S0、S1輸出第一事件信號S0。在本實施例中,第一選擇模組110_1可以是多工器(multiplexer)。另外,上述事件信號S0、S1例如由周邊裝置產生,且周邊裝置例如為類比數位轉換器(analog to digital converter, ADC)、計時器(timer)等,但本發明實施例不限於此。此外,在一些實施例中,上述事件信號S0、S1可以由相同的周邊裝置產生。在一些實施例中,上述事件信號S0、S1也可以由不同的周邊裝置產生。The first selection module 110_1 can receive a plurality of event signals S0, S1 and a selection signal SEL1_1, and output a first event signal S0 from the event signals S0, S1 according to the selection signal SEL1_1. In this embodiment, the first selection module 110_1 may be a multiplexer. In addition, the above-mentioned event signals S0 and S1 are generated by, for example, a peripheral device, and the peripheral device is, for example, an analog to digital converter (ADC), a timer (timer), etc., but the embodiment of the present invention is not limited thereto. In addition, in some embodiments, the above-mentioned event signals S0 and S1 may be generated by the same peripheral device. In some embodiments, the above-mentioned event signals S0 and S1 may also be generated by different peripheral devices.

第二選擇模組110_2可以接收事件信號S0、S1與選擇信號SEL1_2,並依據選擇信號SEL1_2,從事件信號S0、S1輸出第二事件信號S1。在本實施例中,第二選擇模組110_2可以是多工器。The second selection module 110_2 can receive the event signals S0, S1 and the selection signal SEL1_2, and output the second event signal S1 from the event signals S0, S1 according to the selection signal SEL1_2. In this embodiment, the second selection module 110_2 may be a multiplexer.

第一處理模組120耦接第一選擇模組110_1與第二選擇模組110_2。第一處理模組120可以接收第一事件信號S0與第二事件信號S1。第一處理模組120可以對第一事件信號S0或第一反相事件信號S0’以及第二事件信號S1或第二反相事件信號S1’進行第一邏輯處理,以產生第一處理信號PS1。在本實施例中,第一反相事件信號S0’為第一事件信號S0的反相信號,第二反相事件信號S1’為第二事件信號S1的反相信號。The first processing module 120 is coupled to the first selection module 110_1 and the second selection module 110_2. The first processing module 120 can receive the first event signal S0 and the second event signal S1. The first processing module 120 can perform first logic processing on the first event signal S0 or the first inverted event signal S0' and the second event signal S1 or the second inverted event signal S1' to generate the first processing signal PS1 . In this embodiment, the first inverted event signal S0' is the inverted signal of the first event signal S0, and the second inverted event signal S1' is the inverted signal of the second event signal S1.

舉例來說,在一實施例中,第一處理模組120可以對第一事件信號S0以及第二事件信號S1進行第一邏輯處理,以產生第一處理信號PS1。在一實施例中,第一處理模組120可以對第一事件信號S0以及第二反相事件信號S1’進行第一邏輯處理,以產生第一處理信號PS1。在一實施例中,第一處理模組120可以對第一反相事件信號S0’以及第二事件信號S1進行第一邏輯處理,以產生第一處理信號PS1。在一實施例中,第一處理模組120可以對第一反相事件信號S0’以及第二反相事件信號S1’進行第一邏輯處理,以產生第一處理信號PS1。For example, in one embodiment, the first processing module 120 may perform first logic processing on the first event signal S0 and the second event signal S1 to generate the first processing signal PS1. In one embodiment, the first processing module 120 may perform first logic processing on the first event signal S0 and the second inverted event signal S1' to generate the first processing signal PS1. In one embodiment, the first processing module 120 may perform first logic processing on the first inverted event signal S0' and the second event signal S1 to generate the first processing signal PS1. In one embodiment, the first processing module 120 may perform first logic processing on the first inversion event signal S0' and the second inversion event signal S1' to generate the first processing signal PS1.

通道連結模組130耦接第一處理模組120並具有多個輸出通道CH0、CH1、CH2。通道連結模組130可以接收處理信號PS1,並指定輸出通道CH0、CH1、CH2的第一輸出通道(例如CH0)輸出第一處理信號PS1。The channel connection module 130 is coupled to the first processing module 120 and has a plurality of output channels CH0, CH1, CH2. The channel connection module 130 can receive the processing signal PS1, and designate a first output channel (eg, CH0) of the output channels CH0, CH1, and CH2 to output the first processing signal PS1.

輸出模組140耦接通道連結模組130,接收第一處理信號PS1,並依據第一處理信號PS1,產生第一輸出信號或第一同步輸出信號SS1。在本實施例中,第一輸出信號例如提供至下一級的事件控制裝置100,以進行後續的事件連結操作。第一同步輸出信號SS1例如提供給目標周邊裝置,以指示目標裝置進行對應的操作。上述目標周邊裝置例如為類比數位轉換器等,但本發明實施例不限於此。The output module 140 is coupled to the channel connection module 130, receives the first processing signal PS1, and generates a first output signal or a first synchronization output signal SS1 according to the first processing signal PS1. In this embodiment, the first output signal is provided, for example, to the event control device 100 of the next stage, so as to perform subsequent event connection operations. For example, the first synchronization output signal SS1 is provided to the target peripheral device to instruct the target device to perform a corresponding operation. The above-mentioned target peripheral device is, for example, an analog-to-digital converter, etc., but the embodiment of the present invention is not limited thereto.

進一步來說,第一處理模組120可以包括第一反相器121_1、第二反相器121_2、第一選擇單元122_1、第二選擇單元122_2與第一邏輯處理單元123_1。Further, the first processing module 120 may include a first inverter 121_1, a second inverter 121_2, a first selection unit 122_1, a second selection unit 122_2 and a first logic processing unit 123_1.

第一反相器121_1具有輸入端與輸出端,第一反相器121_1的輸入端耦接第一選擇模組110_1並接收第一事件信號S0,第一反相器121_1的輸出端產生第一反相事件信號S0’。也就是說,第一反相器121_1接收第一事件信號S0,並將第一事件信號S0反相,以產生第一反相事件信號S0’。第二反相器121_2具有輸入端與輸出端,第二反相器121_2的輸入端耦接第二選擇模組110_2並接收第二事件信號S1,第二反相器121_2的輸出端產生第二反相事件信號S1’。也就是說,第二反相器121_2接收第二事件信號S1,並將第二事件信號S1反相,以產生第二反相事件信號S1’。The first inverter 121_1 has an input terminal and an output terminal. The input terminal of the first inverter 121_1 is coupled to the first selection module 110_1 and receives the first event signal S0. The output terminal of the first inverter 121_1 generates the first event signal S0. Invert event signal S0'. That is, the first inverter 121_1 receives the first event signal S0, and inverts the first event signal S0 to generate the first inverted event signal S0'. The second inverter 121_2 has an input terminal and an output terminal. The input terminal of the second inverter 121_2 is coupled to the second selection module 110_2 and receives the second event signal S1. The output terminal of the second inverter 121_2 generates the second event signal S1. Invert event signal S1'. That is, the second inverter 121_2 receives the second event signal S1 and inverts the second event signal S1 to generate the second inverted event signal S1'.

第一選擇單元122_1耦接第一選擇模組110_1與第一反相器121_1的輸出端。第一選擇單元122_1可以接收第一事件信號S0、第一反相事件信號S0’與選擇信號SEL2_1,並依據選擇信號SEL2_1選擇輸出第一事件信號S0或第一反相事件信號S0’。第二選擇單元122_2耦接第二選擇模組110_2與第二反相器121_2的輸出端。第二選擇單元122_2可以接收第二事件信號S1與第二反相事件信號S1’,並選擇輸出第二事件信號S1或第二反相事件信號S1’。The first selection unit 122_1 is coupled to the first selection module 110_1 and the output end of the first inverter 121_1. The first selection unit 122_1 may receive the first event signal S0, the first inversion event signal S0' and the selection signal SEL2_1, and select and output the first event signal S0 or the first inversion event signal S0' according to the selection signal SEL2_1. The second selection unit 122_2 is coupled to the output end of the second selection module 110_2 and the second inverter 121_2. The second selection unit 122_2 may receive the second event signal S1 and the second inversion event signal S1', and select to output the second event signal S1 or the second inversion event signal S1'.

第一邏輯處理單元123_1耦接第一選擇單元122_1與第二選擇單元122_2。第一邏輯處理單元123_1可以接收第一事件信號S0或第一反相事件信號S0’以及第二事件信號S1或第二反相事件信號S1’,並對第一事件信號S0或第一反相事件信號S0’以及第二事件信號S1或第二反相事件信號S1’進行第一邏輯處理,以產生第一處理信號。在本實施例中,第一邏輯處理可以包括及處理、或處理、反及處理、互斥或處理等,但本發明實施例不限於此。The first logic processing unit 123_1 is coupled to the first selection unit 122_1 and the second selection unit 122_2. The first logic processing unit 123_1 may receive the first event signal S0 or the first inversion event signal S0' and the second event signal S1 or the second inversion event signal S1', and perform an inversion of the first event signal S0 or the first inversion event signal S1'. The event signal S0' and the second event signal S1 or the second inverted event signal S1' are subjected to first logic processing to generate a first processing signal. In this embodiment, the first logical processing may include AND processing, OR processing, anti-AND processing, mutual exclusion or processing, etc., but the embodiment of the present invention is not limited thereto.

輸出模組140可以包括同步單元141_1、同步單元141_2、同步單元141_3、輸出選擇單元141_1、輸出選擇單元142_2、輸出選擇單元142_3。同步單元141_1耦接通道連結模組130的第一輸出通道CH0,接收第一輸出通道CH0所輸出的信號(例如第一處理信號PS1)與時脈信號CLK1,並利用時脈信號CLK1對第一輸出通道CH0所輸出的信號(例如第一處理號PS1)進行同步處理,以產生同步輸出信號(例如第一同步輸出信號SS1)。The output module 140 may include a synchronization unit 141_1, a synchronization unit 141_2, a synchronization unit 141_3, an output selection unit 141_1, an output selection unit 142_2, and an output selection unit 142_3. The synchronization unit 141_1 is coupled to the first output channel CH0 of the channel connection module 130 , receives a signal (eg, the first processing signal PS1 ) and the clock signal CLK1 output by the first output channel CH0 , and uses the clock signal CLK1 to synchronize the first output channel CH0 . The signal output by the output channel CH0 (eg, the first processing number PS1 ) is subjected to synchronization processing to generate a synchronization output signal (eg, the first synchronization output signal SS1 ).

同步單元141_2耦接通道連結模組130的第二輸出通道CH1,接收第二輸出通道CH1所輸出的信號與時脈信號CLK2,並利用時脈信號CLK2對第二輸出通道CH1所輸出的信號進行同步處理,以產生同步輸出信號。同步單元141_3耦接通道連結模組130的第三輸出通道CH1,接收第三輸出通道CH2所輸出的信號與時脈信號CLK3,並利用時脈信號CLK3對第三輸出通道CH2所輸出的信號進行同步處理,以產生同步輸出信號。在本實施例中,時脈信號CLK1、時脈信號CLK2、時脈信號CLK3可以相同或不同。The synchronization unit 141_2 is coupled to the second output channel CH1 of the channel connection module 130 , receives the signal output by the second output channel CH1 and the clock signal CLK2 , and uses the clock signal CLK2 to perform the signal output from the second output channel CH1 . Synchronous processing to generate a synchronized output signal. The synchronization unit 141_3 is coupled to the third output channel CH1 of the channel connection module 130 , receives the signal output by the third output channel CH2 and the clock signal CLK3 , and uses the clock signal CLK3 to perform the signal output from the third output channel CH2 . Synchronous processing to generate a synchronized output signal. In this embodiment, the clock signal CLK1, the clock signal CLK2, and the clock signal CLK3 may be the same or different.

輸出選擇單元142_1耦接通道連結模組130的第一輸出通道CH0與同步單元141_1,接收第一輸出通道CH0所輸出的信號(例如第一處理信號PS1)與同步單元141_1所產生的同步輸出信號(例如第一同步輸出信號SS1),並將第一輸出通道CH0所輸出的信號(例如第一處理信號PS1)作為第一輸出信號輸出或輸出同步單元141_1所產生的同步輸出信號(例如第一同步輸出信號SS1)。 The output selection unit 142_1 is coupled to the first output channel CH0 of the channel connection module 130 and the synchronization unit 141_1 , and receives the signal output by the first output channel CH0 (eg, the first processing signal PS1 ) and the synchronization output signal generated by the synchronization unit 141_1 (for example, the first synchronization output signal SS1 ), and output the signal output by the first output channel CH0 (for example, the first processing signal PS1 ) as the first output signal or output the synchronization output signal (for example, the first processing signal PS1 ) generated by the synchronization unit 141_1 synchronous output signal SS1).

輸出選擇單元142_2耦接通道連結模組130的第二輸出通道CH1與同步單元141_2,接收第二輸出通道CH1所輸出的信號與同步單元141_2所產生的同步輸出信號,並將第二輸出通道CH1所輸出的信號作為第一輸出信號輸出或輸出同步單元141_2所產生的同步輸出信號。輸出選擇單元142_3耦接通道連結模組130的第三輸出通道CH2與同步單元141_3,接收第三輸出通道CH2所輸出的信號與同步單元141_3所產生的同步輸出信號,並將第三輸出通道CH2所輸出的信號作為第一輸出信號輸出或輸出同步單元141_3所產生的同步輸出信號。 The output selection unit 142_2 is coupled to the second output channel CH1 of the channel connection module 130 and the synchronization unit 141_2 , receives the signal output from the second output channel CH1 and the synchronization output signal generated by the synchronization unit 141_2 , and selects the second output channel CH1 The output signal is output as the first output signal or the synchronization output signal generated by the synchronization unit 141_2. The output selection unit 142_3 is coupled to the third output channel CH2 of the channel connection module 130 and the synchronization unit 141_3, receives the signal output from the third output channel CH2 and the synchronization output signal generated by the synchronization unit 141_3, and connects the third output channel CH2 The output signal is output as the first output signal or the synchronization output signal generated by the synchronization unit 141_3.

在本實施例中,通道連結模組130指定第一輸出通道CH0輸出第一處理信號PS1,但本發明不限於此。在一些實施例中,通道連結模組130可以指定第一輸出通道CH1或第二輸出通道輸出第一處理信號PS1,都可以達到相同或相似的效果。 In this embodiment, the channel connection module 130 designates the first output channel CH0 to output the first processed signal PS1, but the present invention is not limited thereto. In some embodiments, the channel connection module 130 can designate the first output channel CH1 or the second output channel to output the first processing signal PS1, which can achieve the same or similar effects.

第2圖為本發明之一實施例之第一事件信號、第二事件信號、第一處理信號、第一同步輸出信號的對應關係示意圖。第2圖可以對應於第1圖之事件控制裝置100。在第2圖中,S0表示第一事件信號,S1表示第二事件信號,PS1表示第一處理信號,SS1表示第一同步輸出信號。請參考第1圖及第2圖。第一選擇模組110_1輸出第一事件信號S0,第二選擇模組110_2輸出第二事件信號S1。選擇單元122_1輸出第一事件信號S0,選擇單元122_2輸出第二事件信號S1。第一邏輯處理單元123_1對第一事件信號S0與第二事件信號S1進行第一邏輯處理(例如“或”邏輯處理),以產生第一處理信號PS1。 FIG. 2 is a schematic diagram of the correspondence between the first event signal, the second event signal, the first processing signal, and the first synchronization output signal according to an embodiment of the present invention. FIG. 2 may correspond to the event control device 100 of FIG. 1 . In Fig. 2, S0 represents the first event signal, S1 represents the second event signal, PS1 represents the first processing signal, and SS1 represents the first synchronization output signal. Please refer to Figure 1 and Figure 2. The first selection module 110_1 outputs the first event signal S0, and the second selection module 110_2 outputs the second event signal S1. The selection unit 122_1 outputs the first event signal S0, and the selection unit 122_2 outputs the second event signal S1. The first logic processing unit 123_1 performs first logic processing (eg, OR logic processing) on the first event signal S0 and the second event signal S1 to generate a first processing signal PS1.

通道連結模組130指定第一輸出通道CH0輸出第一處理信號PS1。同步單元141_1利用CLK1對第一處理信號PS1進行同步處理(例如負緣觸發),以產生第一同步輸出信號SS1。但本實施例不限於此。在其他實施例中,同步單元141_1也可以利用時脈信號CLK1並透過例如正緣觸發對第一處理信號PS1進行同步處理,以產生第一同步輸出信號SS1。選擇單元142_1可以選擇輸出將第一處理信號PS1或是第一同步輸出信號SS1。第一處理信號PS1例如可以提供至下一級的事件控制裝置100,以進行後續的事件連結操作。第一同步輸出信號SS1例如可以提供給目標周邊裝置,以指示目標裝置進行對應的操作。The channel connection module 130 designates the first output channel CH0 to output the first processing signal PS1. The synchronization unit 141_1 performs synchronization processing (eg, negative edge triggering) on the first processing signal PS1 by using the CLK1 to generate the first synchronization output signal SS1. However, this embodiment is not limited to this. In other embodiments, the synchronization unit 141_1 may also use the clock signal CLK1 to perform synchronization processing on the first processing signal PS1 through, for example, a positive edge trigger, so as to generate the first synchronization output signal SS1. The selection unit 142_1 can select to output the first processing signal PS1 or the first synchronization output signal SS1. For example, the first processing signal PS1 may be provided to the event control device 100 of the next stage for subsequent event connection operations. For example, the first synchronization output signal SS1 may be provided to the target peripheral device to instruct the target device to perform a corresponding operation.

第3圖為依據本發明之另一實施例之事件控制裝置的示意圖。請參考第3圖,事件控制裝置300可以包括第一選擇模組310_1、第二選擇模組310_2、第三選擇模組310_3、第一處理模組320、通道連結模組330與輸出模組340。FIG. 3 is a schematic diagram of an event control device according to another embodiment of the present invention. Please refer to FIG. 3 , the event control device 300 may include a first selection module 310_1 , a second selection module 310_2 , a third selection module 310_3 , a first processing module 320 , a channel connection module 330 and an output module 340 .

第一選擇模組310_1可以接收多個事件信號S0、S1、S2與選擇信號SEL1_1,並依據選擇信號SEL1_1,從事件信號S0、S1、S2輸出第一事件信號S0。在本實施例中,第一選擇模組110_1可以是多工器。另外,上述事件信號S0、S1、S2例如由周邊裝置產生,且周邊裝置例如為類比數位轉換器、計時器等,但本發明實施例不限於此。The first selection module 310_1 can receive a plurality of event signals S0 , S1 , S2 and a selection signal SEL1_1 , and output a first event signal S0 from the event signals S0 , S1 , and S2 according to the selection signal SEL1_1 . In this embodiment, the first selection module 110_1 may be a multiplexer. In addition, the above-mentioned event signals S0 , S1 , and S2 are generated by, for example, peripheral devices, and the peripheral devices are, for example, analog-to-digital converters, timers, etc., but the embodiments of the present invention are not limited thereto.

第二選擇模組310_2可以接收事件信號S0、S1、S2與選擇信號SEL1_2,並依據選擇信號SEL1_2,從事件信號S0、S1、S2輸出第二事件信號S1。在本實施例中,第二選擇模組310_2可以是多工器。第三選擇模組310_3可以接收事件信號S0、S1、S2與選擇信號SEL1_3,並依據選擇信號SEL1_3,從事件信號S0、S1、S2輸出第三事件信號S2。在本實施例中,第三選擇模組310_3可以是多工器。The second selection module 310_2 can receive the event signals S0, S1, S2 and the selection signal SEL1_2, and output the second event signal S1 from the event signals S0, S1, and S2 according to the selection signal SEL1_2. In this embodiment, the second selection module 310_2 may be a multiplexer. The third selection module 310_3 can receive the event signals S0 , S1 , S2 and the selection signal SEL1_3 , and output the third event signal S2 from the event signals S0 , S1 , and S2 according to the selection signal SEL1_3 . In this embodiment, the third selection module 310_3 may be a multiplexer.

第一處理模組320耦接第一選擇模組310_1、第二選擇模組310_2與第三選擇模組310_3。第一處理模組320可以接收第一事件信號S0、第二事件信號S1與第三事件信號S2。第一處理模組320可以對第一事件信號S0或第一反相事件信號S0’以及第二事件信號S1或第二反相事件信號S1’進行第一邏輯處理,以產生第一處理信號PS1。第一處理模組320產生第一處理信號PS1的方式可以參考第1圖之第一處理模組120之實施例的說明,故在此不再贅述。The first processing module 320 is coupled to the first selection module 310_1, the second selection module 310_2 and the third selection module 310_3. The first processing module 320 can receive the first event signal S0, the second event signal S1 and the third event signal S2. The first processing module 320 can perform first logic processing on the first event signal S0 or the first inverted event signal S0' and the second event signal S1 or the second inverted event signal S1' to generate the first processing signal PS1 . For the manner in which the first processing module 320 generates the first processing signal PS1, reference may be made to the description of the embodiment of the first processing module 120 in FIG.

第一處理模組320可以對第三事件信號S2或第三反相事件信號S2’進行第二邏輯處理,以產生第二處理信號PS2。在本實施例中,第二邏輯處理例如為不處理。也就是說,第一處理模組320可以將第三事件信號S2或第三反相事件信號S2’作為第二處理信號PS2,並輸出第二處理信號PS2。在本實施例中,第三反相事件信號S2’為第三事件信號S2的反相信號。The first processing module 320 may perform second logic processing on the third event signal S2 or the third inverted event signal S2' to generate the second processing signal PS2. In this embodiment, the second logical processing is, for example, no processing. That is to say, the first processing module 320 can use the third event signal S2 or the third inverted event signal S2' as the second processing signal PS2, and output the second processing signal PS2. In this embodiment, the third inverted event signal S2' is an inverted signal of the third event signal S2.

通道連結模組330可以接收第一處理信號PS1與第二處理信號PS2,並指定輸出通道CH0、CH1、CH2的第一輸出通道(例如CH0)輸出第一處理信號PS1,以及指定輸出通道CH0、CH1、CH2的第二輸出通道(例如CH1)輸出第二處理信號PS2。The channel connection module 330 can receive the first processing signal PS1 and the second processing signal PS2, and designate the first output channel (eg CH0) of the output channels CH0, CH1 and CH2 to output the first processing signal PS1, and designate the output channels CH0, The second output channel (eg CH1) of CH1 and CH2 outputs the second processing signal PS2.

輸出模組340可以接收第一處理信號PS1與第二處理信號PS2,並依據第一處理信號PS1,產生第一輸出信號或第一同步輸出信號,以及依據第二處理信號PS2,產生第二輸出信號或第二同步輸出信號。The output module 340 can receive the first processing signal PS1 and the second processing signal PS2, generate a first output signal or a first synchronization output signal according to the first processing signal PS1, and generate a second output according to the second processing signal PS2 signal or a second sync output signal.

進一步來說,第一處理模組320可以包括第一反相器321_1、第二反相器321_2、第三反相器321_3、第一選擇單元322_1、第二選擇單元322_2、第三選擇單元322_3、第一邏輯處理單元323_1與第二邏輯處理單元323_2。在本實施例中,第一反相器321_1、第二反相器321_2、第一選擇單元322_1、第二選擇單元322_2和第一邏輯處理單元323_1與第1圖之第一反相器121_1、第二反相器121_2、第一選擇單元122_1、第二選擇單元122_2和第一邏輯處理單元123_1相同或相似,可參考第1圖之實施例的說明,故在此不再贅述。 Further, the first processing module 320 may include a first inverter 321_1, a second inverter 321_2, a third inverter 321_3, a first selection unit 322_1, a second selection unit 322_2, and a third selection unit 322_3 , the first logical processing unit 323_1 and the second logical processing unit 323_2. In this embodiment, the first inverter 321_1, the second inverter 321_2, the first selection unit 322_1, the second selection unit 322_2 and the first logic processing unit 323_1 are the same as the first inverter 121_1, The second inverter 121_2 , the first selection unit 122_1 , the second selection unit 122_2 and the first logic processing unit 123_1 are the same or similar, and the description of the embodiment in FIG. 1 can be referred to, so they are not repeated here.

第三反相器321_3具有輸入端與輸出端,第三反相器321_3的輸入端接收第三事件信號S2,第三反相器321_3的輸出端產生第三反相事件信號S2’。也就是說,第三反相器321_3接收第三事件信號S2,並將第三事件信號S2反相,以產生第三反相事件信號S2’。 The third inverter 321_3 has an input terminal and an output terminal, the input terminal of the third inverter 321_3 receives the third event signal S2, and the output terminal of the third inverter 321_3 generates the third inversion event signal S2'. That is, the third inverter 321_3 receives the third event signal S2 and inverts the third event signal S2 to generate the third inverted event signal S2'.

第三選擇單元322_1可以接收第三事件信號S2、第三反相事件信號S2’與選擇信號SEL2_3,並依據選擇信號SEL2_3選擇輸出第三事件信號S2或第三反相事件信號S2’。 The third selection unit 322_1 may receive the third event signal S2, the third inversion event signal S2' and the selection signal SEL2_3, and select and output the third event signal S2 or the third inversion event signal S2' according to the selection signal SEL2_3.

第二邏輯處理單元323_2可以接收第三事件信號S2或第三反相事件信號S2’,並對第三事件信號S2或第三反相事件信號S2’進行第二邏輯處理,以產生第二處理信號PS2。 The second logic processing unit 323_2 may receive the third event signal S2 or the third inverted event signal S2', and perform second logic processing on the third event signal S2 or the third inverted event signal S2' to generate the second processing Signal PS2.

輸出模組340可以包括同步單元341_1、同步單元341_2、同步單元341_3、輸出選擇單元341_1、輸出選擇單元342_2、輸出選擇單元342_3。同步單元341_1耦接通道連結模組330的第一輸出通道CH0,接收第一輸出通道CH0所輸出的信號(例如第一處理信號PS1)與時脈信號CLK1,並利用時脈信號CLK1對第一輸出通道CH0所輸出的信號(例如第一處理號PS1)進行同步處理,以產生同步輸出信號(例如第一同步輸出信號SS1)。The output module 340 may include a synchronization unit 341_1, a synchronization unit 341_2, a synchronization unit 341_3, an output selection unit 341_1, an output selection unit 342_2, and an output selection unit 342_3. The synchronization unit 341_1 is coupled to the first output channel CH0 of the channel connection module 330, receives a signal (eg, the first processing signal PS1) and the clock signal CLK1 output by the first output channel CH0, and uses the clock signal CLK1 to synchronize the first output channel CH0. The signal output by the output channel CH0 (eg, the first processing number PS1 ) is subjected to synchronization processing to generate a synchronization output signal (eg, the first synchronization output signal SS1 ).

同步單元341_2耦接通道連結模組330的第二輸出通道CH2,接收第二輸出通道CH1所輸出的信號(例如第二處理信號PS2)與時脈信號CLK2,並利用時脈信號CLK2對第二輸出通道CH1所輸出的信號(例如第二處理信號PS2)進行同步處理,以產生同步輸出信號(例如第二同步輸出信號SS2)。同步單元341_3耦接通道連結模組330的第三輸出通道CH2,接收第三輸出通道CH2所輸出的信號與時脈信號CLK3,並利用時脈信號CLK3對第三輸出通道CH2所輸出的信號進行同步處理,以產生同步輸出信號。The synchronization unit 341_2 is coupled to the second output channel CH2 of the channel connection module 330, receives the signal (eg, the second processing signal PS2) and the clock signal CLK2 output by the second output channel CH1, and uses the clock signal CLK2 to synchronize the second output channel CH1. The signal output by the output channel CH1 (eg, the second processing signal PS2 ) is subjected to synchronization processing to generate a synchronization output signal (eg, the second synchronization output signal SS2 ). The synchronization unit 341_3 is coupled to the third output channel CH2 of the channel connection module 330 , receives the signal output by the third output channel CH2 and the clock signal CLK3 , and uses the clock signal CLK3 to perform the signal output from the third output channel CH2 . Synchronous processing to generate a synchronized output signal.

輸出選擇單元342_1耦接通道連結模組330的第一輸出通道CH0與同步單元341_1,接收第一輸出通道CH0所輸出的信號(例如第一處理信號PS1)與同步單元341_1所產生的同步輸出信號(例如第一同步輸出信號SS1),並將第一輸出通道CH0所輸出的信號(例如第一處理信號PS1)作為第一輸出信號輸出或輸出同步單元341_1所產生的同步輸出信號(例如第一同步輸出信號SS1)。The output selection unit 342_1 is coupled to the first output channel CH0 of the channel connection module 330 and the synchronization unit 341_1, and receives the signal output by the first output channel CH0 (eg, the first processing signal PS1) and the synchronization output signal generated by the synchronization unit 341_1 (for example, the first synchronization output signal SS1 ), and output the signal (for example, the first processing signal PS1 ) output by the first output channel CH0 as the first output signal or output the synchronization output signal (for example, the first processing signal PS1 ) generated by the synchronization unit 341_1 synchronous output signal SS1).

輸出選擇單元342_2耦接通道連結模組330的第二輸出通道CH1與同步單元341_2,接收第二輸出通道CH1所輸出的信號(例如第二處理信號PS2)與同步單元341_2所產生的同步輸出信號(例如第二同步輸出信號SS2),並將第二輸出通道CH1所輸出的信號(例如第二處理信號PS2)作為第一輸出信號輸出或輸出同步單元341_2所產生的同步輸出信號(例如第二同步輸出信號SS2)。輸出選擇單元342_3耦接通道連結模組130的第三輸出通道CH2與同步單元341_3,接收第三輸出通道CH2所輸出的信號與同步單元341_3所產生的同步輸出信號,並將第三輸出通道CH2所輸出的信號作為第一輸出信號輸出或輸出同步單元341_3所產生的同步輸出信號。The output selection unit 342_2 is coupled to the second output channel CH1 of the channel connection module 330 and the synchronization unit 341_2, and receives the signal output by the second output channel CH1 (eg, the second processing signal PS2) and the synchronization output signal generated by the synchronization unit 341_2 (for example, the second synchronization output signal SS2 ), and output the signal (for example, the second processing signal PS2 ) output by the second output channel CH1 as the first output signal or output the synchronization output signal (for example, the second processing signal PS2 ) generated by the synchronization unit 341_2 synchronous output signal SS2). The output selection unit 342_3 is coupled to the third output channel CH2 of the channel connection module 130 and the synchronization unit 341_3, receives the signal output by the third output channel CH2 and the synchronization output signal generated by the synchronization unit 341_3, and connects the third output channel CH2 The output signal is output as the first output signal or the synchronization output signal generated by the synchronization unit 341_3.

第4圖為依據本發明之另一實施例之事件控制裝置的示意圖。請參考第4圖,事件控制裝置400可以包括第一選擇模組310_1、第二選擇模組310_2、第三選擇模組310_3、第一處理模組320、通道連結模組330與輸出模組410。FIG. 4 is a schematic diagram of an event control device according to another embodiment of the present invention. Referring to FIG. 4 , the event control device 400 may include a first selection module 310_1 , a second selection module 310_2 , a third selection module 310_3 , a first processing module 320 , a channel connection module 330 and an output module 410 .

在本實施例中,第一選擇模組310_1、第二選擇模組310_2、第三選擇模組310_3、第一處理模組320和通道連結模組330與第3圖第一選擇模組310_1、第二選擇模組310_2、第三選擇模組310_3、第一處理模組320和通道連結模組330相同或相似,故在此不再贅述。In this embodiment, the first selection module 310_1, the second selection module 310_2, the third selection module 310_3, the first processing module 320 and the channel connection module 330 are the same as the first selection module 310_1, The second selection module 310_2 , the third selection module 310_3 , the first processing module 320 and the channel connection module 330 are the same or similar, so they are not repeated here.

另外,第一處理模組320可以包括第一反相器321_1、第二反相器321_2、第三反相器321_3、第一選擇單元322_1、第二選擇單元322_2、第三選擇單元322_3、第一邏輯處理單元323_1與第二邏輯處理單元323_2。在本實施例中,第一反相器321_1、第二反相器321_2、第三反相器321_3、第一選擇單元322_1、第二選擇單元322_2、第三選擇單元322_3、第一邏輯處理單元323_1和第二邏輯處理單元323_2與第1圖之第一反相器321_1、第二反相器321_2、第三反相器321_3、第一選擇單元322_1、第二選擇單元322_2、第三選擇單元322_3、第一邏輯處理單元323_1和第二邏輯處理單元323_2相同或相似,可參考第3圖之實施例的說明,故在此不再贅述。In addition, the first processing module 320 may include a first inverter 321_1, a second inverter 321_2, a third inverter 321_3, a first selection unit 322_1, a second selection unit 322_2, a third selection unit 322_3, a A logic processing unit 323_1 and a second logic processing unit 323_2. In this embodiment, the first inverter 321_1, the second inverter 321_2, the third inverter 321_3, the first selection unit 322_1, the second selection unit 322_2, the third selection unit 322_3, the first logic processing unit 323_1 and the second logic processing unit 323_2 and the first inverter 321_1, the second inverter 321_2, the third inverter 321_3, the first selection unit 322_1, the second selection unit 322_2, the third selection unit in FIG. 1 322_3 , the first logical processing unit 323_1 and the second logical processing unit 323_2 are the same or similar, and reference may be made to the description of the embodiment in FIG. 3 , and thus will not be repeated here.

輸出模組410耦接通道連接模組330,可以接收第一輸出通道CH0所提供的第一處理信號PS1與第二輸出通道CH1所提供的第二處理信號PS2,並依據第一處理信號PS1與第二處理信號PS2,產生第一輸出信號或第一同步輸出信號SS1。The output module 410 is coupled to the channel connection module 330, and can receive the first processing signal PS1 provided by the first output channel CH0 and the second processing signal PS2 provided by the second output channel CH1, and according to the first processing signal PS1 and the second processing signal PS2. The second processing signal PS2 generates a first output signal or a first synchronization output signal SS1.

進一步來說,輸出模組410可以包括第二處理模組420、同步單元430_1、同步單元430_2、同步單元430_3、輸出選擇單元440_3、輸出選擇單元440_2與輸出選擇單元440_3。Further, the output module 410 may include a second processing module 420, a synchronization unit 430_1, a synchronization unit 430_2, a synchronization unit 430_3, an output selection unit 440_3, an output selection unit 440_2, and an output selection unit 440_3.

第二處理模組420耦接通道連結模組330。第二處理模組420可以至少接收通道連結模組330所輸出之第一處理信號PS1與第二處理信號PS2,並對第一處理信號PS1與第二處理信號PS2進行第三邏輯處理,以產生第三處理信號PS3或第三反相處理信號PS3’。在本實施例中,在本實施例中,第三邏輯處理可以包括及處理、或處理、反及處理、互斥或處理等。The second processing module 420 is coupled to the channel connection module 330 . The second processing module 420 can at least receive the first processing signal PS1 and the second processing signal PS2 output by the channel connection module 330, and perform third logic processing on the first processing signal PS1 and the second processing signal PS2 to generate The third processed signal PS3 or the third inverted processed signal PS3'. In this embodiment, in this embodiment, the third logical processing may include AND processing, OR processing, inverse AND processing, mutually exclusive OR processing, and the like.

同步單元430_1耦接第二處理模組420,接收第三處理信號PS3或第三反相處理信號PS3’與時脈信號CLK1,並利用時脈信號CLK1對第三處理信號PS3或第三反相處理信號PS3’進行同步處理,以產生第一同步輸出信號SS1。同步單元430_2耦接第二處理模組420,接收第二處理模組420所產生的第三處理信號或第三反相處理信號與時脈信號CLK2,並利用時脈信號CLK2對第三處理信號或第三反相處理信號進行同步處理,以產生第二同步輸出信號。同步單元430_3耦接第二處理模組420,接收第二處理模組420所產生的第三處理信號或第三反相處理信號與時脈信號CLK3,並利用時脈信號CLK3對第三處理信號或第三反相處理信號進行同步處理,以產生第三同步輸出信號。The synchronization unit 430_1 is coupled to the second processing module 420, receives the third processing signal PS3 or the third inversion processing signal PS3' and the clock signal CLK1, and uses the clock signal CLK1 to invert the third processing signal PS3 or the third inversion The processing signal PS3' is synchronized to generate the first synchronization output signal SS1. The synchronization unit 430_2 is coupled to the second processing module 420, receives the third processing signal or the third inversion processing signal and the clock signal CLK2 generated by the second processing module 420, and uses the clock signal CLK2 to process the third signal. Or the third inversion processing signal is synchronized to generate the second synchronized output signal. The synchronization unit 430_3 is coupled to the second processing module 420, receives the third processing signal or the third inverted processing signal and the clock signal CLK3 generated by the second processing module 420, and uses the clock signal CLK3 to process the third signal. Or the third inversion processing signal is subjected to synchronization processing to generate a third synchronization output signal.

輸出選擇單元440_1耦接第二處理模組420與同步單元430_1,接收第三處理信號PS3或第三反相處理信號PS3’與第一同步輸出信號SS1,並將第三處理信號PS3或第三反相處理信號PS3’作為第一輸出信號輸出或輸出第一同步輸出信號SS1。輸出選擇單元440_2耦接第二處理模組420與同步單元430_2,接收第三處理信號或第三反相處理信號與第二同步輸出信號,並將第三處理信號或第三反相處理信號作為第二輸出信號輸出或輸出第二同步輸出信號。輸出選擇單元430_3耦接第二處理模組420與同步單元430_3,接收第三處理信號或第三反相處理信號與第三同步輸出信號,並將第三處理信號或第三反相處理信號作為第三輸出信號輸出或輸出第三同步輸出信號。The output selection unit 440_1 is coupled to the second processing module 420 and the synchronization unit 430_1, receives the third processing signal PS3 or the third inverted processing signal PS3' and the first synchronization output signal SS1, and converts the third processing signal PS3 or the third The inverted processing signal PS3' is output as the first output signal or outputs the first synchronization output signal SS1. The output selection unit 440_2 is coupled to the second processing module 420 and the synchronization unit 430_2, receives the third processing signal or the third inversion processing signal and the second synchronization output signal, and uses the third processing signal or the third inversion processing signal as the The second output signal outputs or outputs the second synchronization output signal. The output selection unit 430_3 is coupled to the second processing module 420 and the synchronization unit 430_3, receives the third processing signal or the third inversion processing signal and the third synchronization output signal, and uses the third processing signal or the third inversion processing signal as The third output signal outputs or outputs a third synchronization output signal.

在本實施例中,第二處理模組420可以包括多個第二處理單元421_1、421_2、421_3。第二處理單元421_1可以包括第一及閘422_1、第二及閘423_1、第三及閘424_1、第三邏輯處理單元425_1與互斥或閘426_1。In this embodiment, the second processing module 420 may include a plurality of second processing units 421_1, 421_2, and 421_3. The second processing unit 421_1 may include a first and gate 422_1, a second and gate 423_1, a third and gate 424_1, a third logical processing unit 425_1 and an exclusive OR gate 426_1.

第一及閘422_1具有第一端、第二端與輸出端。第一及閘422_1的第一端接收第一致能信號ES1_1,第一及閘422_1的第二端耦接第一輸出通道CH0並接收第一輸出通道CH0所輸出的信號(例如第一處理信號PS1),第一及閘422_1的第一端輸出第一及信號。第二及閘423_1具有第一端、第二端與輸出端。第二及閘422_2的第一端接收第二致能信號ES2_1,第二及閘423_1的第二端耦接第二輸出通道CH1並接收第二輸出通道CH1所輸出的信號(例如第二處理信號PS2),第二及閘423_1的第一端輸出第二及信號。第三及閘424_1具有第一端、第二端與輸出端。第三及閘424_1的第一端接收第四致能信號ES4_1,第三及閘424_1的第二端耦接第三輸出通道CH2並接收第三輸出通道CH2所輸出的信號,第三及閘424_1的第一端輸出第三及信號。The first and gate 422_1 has a first terminal, a second terminal and an output terminal. The first end of the first and gate 422_1 receives the first enable signal ES1_1, and the second end of the first and gate 422_1 is coupled to the first output channel CH0 and receives a signal (eg, a first processing signal) output by the first output channel CH0 PS1), the first terminal of the first sum gate 422_1 outputs the first sum signal. The second gate 423_1 has a first terminal, a second terminal and an output terminal. The first end of the second gate 422_2 receives the second enable signal ES2_1, and the second end of the second gate 423_1 is coupled to the second output channel CH1 and receives the signal (eg, the second processing signal) output by the second output channel CH1 PS2), the first terminal of the second sum gate 423_1 outputs the second sum signal. The third gate 424_1 has a first terminal, a second terminal and an output terminal. The first end of the third and gate 424_1 receives the fourth enable signal ES4_1, the second end of the third and gate 424_1 is coupled to the third output channel CH2 and receives the signal output by the third output channel CH2, and the third and gate 424_1 The first terminal outputs the third sum signal.

第三邏輯處理單元425_1耦接第一及閘422_1的輸出端、第二及閘423_1的輸出端與第三及閘424_1的輸出端,接收第一及信號、第二及信號與第三及信號,並對第一及信號、第二及信號與第三及信號進行第三邏輯處理,以產生第三處理信號PS3。互斥或閘426_1具有第一端、第二端與輸出端。互斥或閘426_1的第一端接收第三處理信號PS3,互斥或閘426_1的第二端接收第三致能信號ES3_1,互斥或閘426_1的輸出端產生第三處理信號PS3或第三反相處理信號PS3’。The third logic processing unit 425_1 is coupled to the output end of the first sum gate 422_1, the output end of the second sum gate 423_1 and the output end of the third sum gate 424_1, and receives the first sum signal, the second sum signal and the third sum signal , and perform third logic processing on the first sum signal, the second sum signal, and the third sum signal to generate a third processing signal PS3. The exclusive OR gate 426_1 has a first terminal, a second terminal and an output terminal. The first terminal of the exclusive OR gate 426_1 receives the third processing signal PS3, the second terminal of the mutual exclusive OR gate 426_1 receives the third enable signal ES3_1, and the output terminal of the exclusive OR gate 426_1 generates the third processing signal PS3 or the third processing signal ES3_1. Invert the processed signal PS3'.

第二處理單元421_2可以包括第一及閘422_2、第二及閘423_2、第三及閘424_2、第三邏輯處理單元425_2與互斥或閘426_2。The second processing unit 421_2 may include a first AND gate 422_2, a second AND gate 423_2, a third AND gate 424_2, a third logical processing unit 425_2, and an exclusive OR gate 426_2.

第一及閘422_2具有第一端、第二端與輸出端。第一及閘422_2的第一端接收第一致能信號ES1_2,第一及閘422_2的第二端耦接第一輸出通道CH0並接收第一輸出通道CH0所輸出的信號,第一及閘422_2的第一端輸出第一及信號。第二及閘423_2具有第一端、第二端與輸出端。第二及閘423_2的第一端接收第二致能信號ES2_2,第二及閘423_2的第二端耦接第二輸出通道CH1並接收第二輸出通道CH1所輸出的信號,第二及閘423_2的第一端輸出第二及信號。第三及閘424_2具有第一端、第二端與輸出端。第三及閘424_2的第一端接收第四致能信號ES4_2,第三及閘424_2的第二端耦接第三輸出通道CH2並接收第三輸出通道CH2所輸出的信號,第三及閘424_2的第一端輸出第三及信號。The first and gate 422_2 has a first terminal, a second terminal and an output terminal. The first end of the first and gate 422_2 receives the first enable signal ES1_2, the second end of the first and gate 422_2 is coupled to the first output channel CH0 and receives the signal output by the first output channel CH0, the first and the gate 422_2 The first terminal outputs the first sum signal. The second gate 423_2 has a first terminal, a second terminal and an output terminal. The first end of the second sum gate 423_2 receives the second enable signal ES2_2, the second end of the second sum gate 423_2 is coupled to the second output channel CH1 and receives the signal output by the second output channel CH1, the second sum gate 423_2 The first terminal outputs the second sum signal. The third gate 424_2 has a first terminal, a second terminal and an output terminal. The first end of the third and gate 424_2 receives the fourth enable signal ES4_2, the second end of the third and gate 424_2 is coupled to the third output channel CH2 and receives the signal output by the third output channel CH2, and the third and gate 424_2 The first terminal outputs the third sum signal.

第三邏輯處理單元425_2耦接第一及閘422_2的輸出端、第二及閘423_2的輸出端與第三及閘424_2的輸出端,接收第一及信號、第二及信號與第三及信號,並對第一及信號、第二及信號與第三及信號進行第三邏輯處理,以產生第三處理信號。互斥或閘426_2具有第一端、第二端與輸出端。互斥或閘426_2的第一端接收第三處理信號PS3,互斥或閘426_2的第二端接收第三致能信號ES3_2,互斥或閘426_2的輸出端產生第三處理信號或第三反相處理信號。The third logic processing unit 425_2 is coupled to the output end of the first sum gate 422_2, the output end of the second sum gate 423_2 and the output end of the third sum gate 424_2, and receives the first sum signal, the second sum signal and the third sum signal , and perform third logic processing on the first sum signal, the second sum signal and the third sum signal to generate a third processed signal. The exclusive OR gate 426_2 has a first terminal, a second terminal and an output terminal. The first end of the mutually exclusive OR gate 426_2 receives the third processing signal PS3, the second end of the mutually exclusive OR gate 426_2 receives the third enable signal ES3_2, and the output end of the mutually exclusive OR gate 426_2 generates the third processing signal or the third reverse signal. Phase processing signal.

第二處理單元421_3可以包括第一及閘422_3、第二及閘423_3、第三及閘424_3、第三邏輯處理單元425_3與互斥或閘426_3。The second processing unit 421_3 may include a first AND gate 422_3, a second AND gate 423_3, a third AND gate 424_3, a third logical processing unit 425_3, and an exclusive OR gate 426_3.

第一及閘422_3具有第一端、第二端與輸出端。第一及閘422_3的第一端接收第一致能信號ES1_3,第一及閘422_3的第二端耦接第一輸出通道CH0並接收第一輸出通道CH0所輸出的信號,第一及閘422_3的第一端輸出第一及信號。第二及閘423_3具有第一端、第二端與輸出端。第二及閘423_3的第一端接收第二致能信號ES2_3,第二及閘423_3的第二端耦接第二輸出通道CH1並接收第二輸出通道CH1所輸出的信號,第二及閘423_3的第一端輸出第二及信號。第三及閘424_3具有第一端、第二端與輸出端。第三及閘424_3的第一端接收第四致能信號ES4_3,第三及閘424_3的第二端耦接第三輸出通道CH2並接收第三輸出通道CH2所輸出的信號,第三及閘424_3的第一端輸出第三及信號。The first and gate 422_3 has a first terminal, a second terminal and an output terminal. The first end of the first and gate 422_3 receives the first enable signal ES1_3, the second end of the first and gate 422_3 is coupled to the first output channel CH0 and receives the signal output by the first output channel CH0, the first and the gate 422_3 The first terminal outputs the first sum signal. The second gate 423_3 has a first terminal, a second terminal and an output terminal. The first end of the second sum gate 423_3 receives the second enable signal ES2_3, the second end of the second sum gate 423_3 is coupled to the second output channel CH1 and receives the signal output by the second output channel CH1, the second sum gate 423_3 The first terminal outputs the second sum signal. The third gate 424_3 has a first terminal, a second terminal and an output terminal. The first end of the third and gate 424_3 receives the fourth enable signal ES4_3, the second end of the third and gate 424_3 is coupled to the third output channel CH2 and receives the signal output by the third output channel CH2, and the third and gate 424_3 The first terminal outputs the third sum signal.

第三邏輯處理單元425_3耦接第一及閘422_3的輸出端、第二及閘423_3的輸出端與第三及閘424_3的輸出端,接收第一及信號、第二及信號與第三及信號,並對第一及信號、第二及信號與第三及信號進行第三邏輯處理,以產生第三處理信號。The third logic processing unit 425_3 is coupled to the output end of the first sum gate 422_3, the output end of the second sum gate 423_3 and the output end of the third sum gate 424_3, and receives the first sum signal, the second sum signal and the third sum signal , and perform third logic processing on the first sum signal, the second sum signal and the third sum signal to generate a third processed signal.

互斥或閘426_3具有第一端、第二端與輸出端。互斥或閘426_3的第一端接收第三處理信號,互斥或閘426_3的第二端接收第三致能信號ES3_3,互斥或閘426_3的輸出端產生第三處理信號或第三反相處理信號。The exclusive OR gate 426_3 has a first terminal, a second terminal and an output terminal. The first end of the mutually exclusive OR gate 426_3 receives the third processing signal, the second end of the mutually exclusive OR gate 426_3 receives the third enable signal ES3_3, and the output end of the mutually exclusive OR gate 426_3 generates the third processing signal or the third inversion Process the signal.

在本實施例中,第一及閘422_1~422_3、第二及閘423_1~423_3、第三及閘424_1~424_3的數量與通道連結模組的330的輸出通道CH0、CH1、CH2的數量相對應。In this embodiment, the number of the first and gates 422_1 to 422_3, the second and gates 423_1 to 423_3, and the third and gates 424_1 to 424_3 corresponds to the number of the output channels CH0, CH1 and CH2 of the channel connection module 330 .

另外,在前述實施例中,第一處理信號PS1與第二處理信號PS2提供至第三邏輯處理單元425_1,且第三邏輯處理單元425_1對第一處理信號PS1與第二處理信號PS2進行第三邏輯處理(例如及處理、或處理、反及處理、互斥或處理等),但本發明實施例不限於此。在一些實施例中,第一處理信號PS1與第二處理信號PS2可以分別提供至第三邏輯處理單元425_1與425_2,且第三邏輯處理單元425_1與425_2可以對第一處理信號PS1與第二處理信號PS2進行第三邏輯處理。在此實施例中,第三邏輯處理單元425_1與425_2的第三邏輯處理例如為不處理。也就是說,第三邏輯處理單元425_1可以將第一處理信號PS1作為第三邏輯處理單元425_1所輸出的第三處理信號PS3,以及第三邏輯處理單元425_2可以將第二處理信號PS2作為第三邏輯處理單元425_2所輸出的第三處理信號PS3。In addition, in the foregoing embodiment, the first processing signal PS1 and the second processing signal PS2 are provided to the third logic processing unit 425_1, and the third logic processing unit 425_1 performs the third processing on the first processing signal PS1 and the second processing signal PS2. Logical processing (for example, sum processing, or processing, anti-sum processing, mutual exclusion or processing, etc.), but the embodiment of the present invention is not limited thereto. In some embodiments, the first processing signal PS1 and the second processing signal PS2 may be provided to the third logic processing units 425_1 and 425_2, respectively, and the third logic processing units 425_1 and 425_2 may process the first processing signal PS1 and the second processing signal Signal PS2 undergoes third logic processing. In this embodiment, the third logic processing of the third logic processing units 425_1 and 425_2 is, for example, no processing. That is, the third logic processing unit 425_1 may take the first processing signal PS1 as the third processing signal PS3 output by the third logic processing unit 425_1, and the third logic processing unit 425_2 may take the second processing signal PS2 as the third processing signal PS2 The third processing signal PS3 output by the logic processing unit 425_2.

第5圖為本發明之一實施例之第一事件信號、第二事件信號、第一處理信號、第三事件信號、第二處理信號、第三處理信號與第一同步輸出信號的對應關係示意圖。第5圖可以對應於第4圖之事件控制裝置400。在第5圖中,S0表示第一事件信號,S1表示第二事件信號,PS1表示第一處理信號,S2表示第三事件信號,PS2表示第二處理信號,PS3表示第三處理信號,SS1表示第一同步輸出信號。請參考第4圖與第5圖,第一選擇模組310_1輸出第一事件信號S0,第二選擇模組310_2輸出第二事件信號S1,第三選擇模組310_3輸出第三事件信號S2。選擇單元322_1輸出第一事件信號S0,選擇單元322_2輸出第二事件信號S1,選擇單元322_3輸出第三事件信號S2。 FIG. 5 is a schematic diagram of the correspondence between the first event signal, the second event signal, the first processing signal, the third event signal, the second processing signal, the third processing signal and the first synchronization output signal according to an embodiment of the present invention. . FIG. 5 may correspond to the event control device 400 of FIG. 4 . In Fig. 5, S0 represents the first event signal, S1 represents the second event signal, PS1 represents the first processing signal, S2 represents the third event signal, PS2 represents the second processing signal, PS3 represents the third processing signal, and SS1 represents the The first synchronization output signal. Please refer to FIG. 4 and FIG. 5, the first selection module 310_1 outputs the first event signal S0, the second selection module 310_2 outputs the second event signal S1, and the third selection module 310_3 outputs the third event signal S2. The selection unit 322_1 outputs the first event signal S0, the selection unit 322_2 outputs the second event signal S1, and the selection unit 322_3 outputs the third event signal S2.

第一邏輯處理單元323_1對第一事件信號S0與第二事件信號S1進行第一邏輯處理(例如“或”邏輯處理),以產生第一處理信號PS1。第二邏輯單元323_2對將第二事件信號S2進行第二邏輯處理(例如“不處理”),以將第二事件信號S2作為第二處理信號PS2。 The first logic processing unit 323_1 performs first logic processing (eg, OR logic processing) on the first event signal S0 and the second event signal S1 to generate a first processing signal PS1. The second logic unit 323_2 performs second logic processing (eg, "no processing") on the second event signal S2, so as to use the second event signal S2 as the second processing signal PS2.

通道連結模組330指定第一輸出通道CH0輸出第一處理信號PS1以及指定第二輸出通道CH1輸出第二處理信號PS2。第一致能信號ES1_1與第二致能信號ES2_1為致能(enable),且第一致能信號ES1_2~ES1_3、第二致能信號ES2_2~ES2_3、第四致能信號ES4_1~ES4_3、第三致能信號ES3_1~ES3_3為禁能(disable)。 The channel connection module 330 designates the first output channel CH0 to output the first processed signal PS1 and designates the second output channel CH1 to output the second processed signal PS2. The first enable signal ES1_1 and the second enable signal ES2_1 are enabled, and the first enable signals ES1_2 to ES1_3, the second enable signals ES2_2 to ES2_3, the fourth enable signals ES4_1 to ES4_3, the third The enable signals ES3_1 to ES3_3 are disabled.

第一及閘422_1所輸出的第一及信號為第一處理信號PS1,第二及閘423_1所輸出的第二及信號為第二處理信號PS2。第三邏輯單元425_1對第一處理信號PS1與第二處理信號PS2進行第三邏輯處理(例如“或”邏輯處理),以產生第三處理信號PS3。同步單元430_1利用時脈信號CLK1對第三處理信號PS3進行同步處理(例如負緣觸發),以產生第一同步輸出信號SS1。但本實施例不限於此。在其他實施例中,同步單元430_1也可以利用時脈信號CLK1並透過例如正緣觸發對第三處理信號PS3進行同步處理,以產生第一同步輸出信號SS1。選擇單元440_1可以選擇輸出將第三處理信號PS1或是第一同步輸出信號SS1。第三處理信號PS3例如可以提供至下一級的事件控制裝置400,以進行後續的事件連結操作。第一同步輸出信號SS1例如可以提供給目標周邊裝置,以指示目標裝置進行對應的操作。The first sum signal output by the first sum gate 422_1 is the first processing signal PS1, and the second sum signal output by the second sum gate 423_1 is the second processing signal PS2. The third logic unit 425_1 performs third logic processing (eg, OR logic processing) on the first processing signal PS1 and the second processing signal PS2 to generate a third processing signal PS3. The synchronization unit 430_1 uses the clock signal CLK1 to perform synchronization processing (eg, negative edge triggering) on the third processing signal PS3 to generate the first synchronization output signal SS1. However, this embodiment is not limited to this. In other embodiments, the synchronization unit 430_1 may also use the clock signal CLK1 to perform synchronization processing on the third processing signal PS3 through, for example, a positive edge trigger, so as to generate the first synchronization output signal SS1. The selection unit 440_1 can select to output the third processing signal PS1 or the first synchronization output signal SS1. For example, the third processing signal PS3 may be provided to the event control device 400 of the next stage, so as to perform subsequent event connection operations. For example, the first synchronization output signal SS1 may be provided to the target peripheral device to instruct the target device to perform a corresponding operation.

第6圖為本發明之另一實施例之事件控制裝置的示意圖。請參考第6圖,事件控制裝置600包括第一選擇模組610_1、第二選擇模組610_2、通道連結模組630與輸出模組640。在本實施例中,第一選擇模組610_1和第二選擇模組610_2與第1圖之第一選擇模組110_1和第二選擇模組110_2相同或相似,可參考第1圖之實施例的說明,故在此不再贅述。FIG. 6 is a schematic diagram of an event control device according to another embodiment of the present invention. Referring to FIG. 6 , the event control device 600 includes a first selection module 610_1 , a second selection module 610_2 , a channel connection module 630 and an output module 640 . In this embodiment, the first selection module 610_1 and the second selection module 610_2 are the same as or similar to the first selection module 110_1 and the second selection module 110_2 in FIG. description, so it is not repeated here.

通道連結模組630至少耦接第一選擇模組610_1與第二選擇模組610_2。通道連結模組630可以至少接收第一事件信號S0與第二事件信號S1,並指定輸出通道CH0、CH1、CH2的第一輸出通道(例如CH0)輸出第一事件信號S0,及指定輸出通道CH0、CH1、CH2的第二輸出通道(例如CH1)輸出第二事件信號S1。The channel connection module 630 is coupled to at least the first selection module 610_1 and the second selection module 610_2. The channel connection module 630 can at least receive the first event signal S0 and the second event signal S1, and designate the first output channel (eg CH0) of the output channels CH0, CH1 and CH2 to output the first event signal S0, and designate the output channel CH0 The second output channel (eg CH1) of , CH1 and CH2 outputs the second event signal S1.

輸出模組640耦接通道連結模組630,接收第一事件信號S0與第二事件信號S1,並將第一事件信號S0與第二事件信號S1進行第四邏輯操作,以產生第四處理信號或第四反向處理信號,且依據第四處理信號或第四反向處理信號,產生第四輸出信號或第四同步輸出信號。The output module 640 is coupled to the channel connection module 630, receives the first event signal S0 and the second event signal S1, and performs a fourth logic operation on the first event signal S0 and the second event signal S1 to generate a fourth processing signal or the fourth inversely processed signal, and according to the fourth processed signal or the fourth inversely processed signal, a fourth output signal or a fourth synchronous output signal is generated.

進一步來說,輸出模組640可以包括第二處理模組420、同步單元430_1、同步單元430_2、同步單元430_3、輸出選擇單元440_3、輸出選擇單元440_2與輸出選擇單元440_3。在本實施例中,第二處理模組420、同步單元430_1、同步單元430_2、同步單元430_3、輸出選擇單元440_3、輸出選擇單元440_2和輸出選擇單元440_3與第5圖之第二處理模組420、同步單元430_1、同步單元430_2、同步單元430_3、輸出選擇單元440_3、輸出選擇單元440_2和輸出選擇單元440_3相同或相似,可參考第5圖之實施例的說明,故在此不再贅述。Further, the output module 640 may include a second processing module 420, a synchronization unit 430_1, a synchronization unit 430_2, a synchronization unit 430_3, an output selection unit 440_3, an output selection unit 440_2, and an output selection unit 440_3. In this embodiment, the second processing module 420, the synchronization unit 430_1, the synchronization unit 430_2, the synchronization unit 430_3, the output selection unit 440_3, the output selection unit 440_2 and the output selection unit 440_3 and the second processing module 420 in FIG. 5 , synchronizing unit 430_1, synchronizing unit 430_2, synchronizing unit 430_3, output selecting unit 440_3, output selecting unit 440_2 and output selecting unit 440_3 are the same or similar, please refer to the description of the embodiment in FIG.

另外,第6圖之第二處理模組420也可以包括第二處理單元421_1、421_2、421_3。第6圖之第二處理單元421_1、421_2、421_3及其內部元件與第5圖之第二處理單元421_1、421_2、421_3及其內部元件相同或相似,可參考第5圖之實施例的說明,故在此不再贅述。In addition, the second processing module 420 in FIG. 6 may also include second processing units 421_1, 421_2, and 421_3. The second processing units 421_1, 421_2, 421_3 and their internal components in FIG. 6 are the same as or similar to the second processing units 421_1, 421_2, 421_3 and their internal components in FIG. 5. Please refer to the description of the embodiment in FIG. 5. Therefore, it will not be repeated here.

此外,事件控制裝置600還可以接收事件信號S2,並包括第三選擇模組610_3。第一選擇模組610_1、第二選擇模組610_2和第三選擇模組610_3可以與第3圖或第4圖之第一選擇模組310_1、第二選擇模組310_2和第三選擇模組310_3相同或相似,可參考第3圖或第4圖之實施例的說明,故在此不再贅述。如此一來,事件控制裝置600也可以達成增加事件連結的彈性及使用情境,以增加使用上的便利性。In addition, the event control device 600 can also receive the event signal S2, and includes a third selection module 610_3. The first selection module 610_1 , the second selection module 610_2 and the third selection module 610_3 may be the same as the first selection module 310_1 , the second selection module 310_2 and the third selection module 310_3 in FIG. 3 or FIG. 4 . For the same or similar, reference may be made to the description of the embodiment in FIG. 3 or FIG. 4 , and thus will not be repeated here. In this way, the event control device 600 can also increase the flexibility of the event connection and the usage context, so as to increase the convenience of use.

第7圖為本發明之一實施例之事件控制系統的示意圖。請參考第7圖,事件控制系統700包括多個事件控制裝置710_1~710_N,其中N為大於1的正整數。事件控制裝置710_1~710_N依序串聯連接,並且事件控制裝置710_1~710_N可以分別由事件控制裝置100、300、400、500、600實施。如此一來,事件控制系統700也可以達成增加事件連結的彈性及使用情境,以增加使用上的便利性。FIG. 7 is a schematic diagram of an event control system according to an embodiment of the present invention. Please refer to FIG. 7 , the event control system 700 includes a plurality of event control devices 710_1 to 710_N, wherein N is a positive integer greater than 1. The event control devices 710_1 to 710_N are connected in series in sequence, and the event control devices 710_1 to 710_N may be implemented by the event control devices 100 , 300 , 400 , 500 and 600 , respectively. In this way, the event control system 700 can also achieve increased flexibility of event connection and usage scenarios, so as to increase the convenience of use.

藉由如上實施例的說明,本發明實施例提供一種事件控制裝置的操作方法。第8圖為依據本發明之一實施例之事件控制裝置的操作方法的流程圖。在步驟S802中,透過第一選擇模組,接收多個事件信號,並輸出第一事件信號。在步驟S804中,透過第二選擇模組,接收事件信號,並輸出第二事件信號。With the description of the above embodiments, the embodiments of the present invention provide an operation method of an event control device. FIG. 8 is a flowchart of an operation method of an event control apparatus according to an embodiment of the present invention. In step S802, a plurality of event signals are received through the first selection module, and a first event signal is output. In step S804, the event signal is received through the second selection module, and the second event signal is output.

在步驟S806中,透過第一處理模組,對第一事件信號或第一反相事件信號以及第二事件信號或第二反相事件信號進行第一邏輯處理,以產生第一處理信號。在步驟S808中,透過通道連結模組,接收第一處理信號,並指定通道連結模組的多個輸出通道的第一輸出通道輸出第一處理信號。在步驟S810中,透過輸出模組,接收第一處理信號,並依據第一處理信號,產生第一輸出信號或第一同步輸出信號。在本實施例中,第一邏輯處理例如包括及處理、或處理、反及處理、互斥或處理。In step S806, a first logic processing is performed on the first event signal or the first inverted event signal and the second event signal or the second inverted event signal through the first processing module to generate a first processing signal. In step S808, the first processing signal is received through the channel connecting module, and the first output channel of the plurality of output channels of the channel connecting module is designated to output the first processing signal. In step S810, the output module receives the first processing signal, and generates the first output signal or the first synchronization output signal according to the first processing signal. In this embodiment, the first logical processing includes, for example, AND processing, OR processing, inverse AND processing, and mutually exclusive OR processing.

第9圖為第8圖之步驟S806的詳細流程圖。在步驟S902中,透過第一處理模組的第一反相器,將第一事件信號反相,以產生第一反相事件信號。在步驟S904中,透過第一處理模組的第二反相器,將第二事件信號反相,以產生第二反相事件信號。在步驟S906中,透過第一處理模組的第一選擇單元,選擇輸出第一事件信號或第一反相事件信號。在步驟S908中,透過第一處理模組的第二選擇單元,選擇輸出第二事件信號或第二反相事件信號。在步驟S910中,透過第一處理模組的第一邏輯處理單元,對第一事件信號或第一反相事件信號以及第二事件信號或第二反相事件信號進行第一邏輯處理,以產生第一處理信號。FIG. 9 is a detailed flowchart of step S806 in FIG. 8 . In step S902, the first event signal is inverted through the first inverter of the first processing module to generate a first inverted event signal. In step S904, the second event signal is inverted through the second inverter of the first processing module to generate a second inverted event signal. In step S906, the first event signal or the first inversion event signal is selected to be output through the first selection unit of the first processing module. In step S908, the second event signal or the second inversion event signal is selected to be output through the second selection unit of the first processing module. In step S910, the first logic processing unit of the first processing module performs first logic processing on the first event signal or the first inversion event signal and the second event signal or the second inversion event signal to generate The first process signal.

第10圖為第8圖之步驟S810的詳細流程圖。在步驟S1002中,透過輸出模組的同步單元,對第一處理信號進行同步處理,以產生第一同步輸出信號。在步驟S1004中,透過輸出模組的輸出選擇單元,將第一處理信號作為第一輸出信號輸出或輸出第一同步輸出信號。FIG. 10 is a detailed flowchart of step S810 in FIG. 8 . In step S1002, the synchronization unit of the output module performs synchronization processing on the first processing signal to generate a first synchronization output signal. In step S1004, the first processing signal is output as the first output signal or the first synchronization output signal is output through the output selection unit of the output module.

第11圖為依據本發明之另一實施例之事件控制裝置的操作方法的流程圖。在本實施例中,步驟S802~S808與第8圖之步驟S802~S808相同或相似,可參考第8圖之實施例的說明,故在此不再贅述。FIG. 11 is a flowchart of an operation method of an event control device according to another embodiment of the present invention. In this embodiment, steps S802 to S808 are the same as or similar to steps S802 to S808 in FIG. 8 . Reference can be made to the description of the embodiment in FIG. 8 , and details are not repeated here.

在步驟S1102中,透過第三選擇模組,接收事件信號,並輸出第三事件信號。在步驟S1104中,透過第一處理模組,對第三事件信號或第三反相事件信號進行第二邏輯處理,以產生第二處理信號。在步驟S1106中,透過通道連結模組,接收第二處理信號,並指定通道連結模組的輸出通道的第二輸出通道輸出第二處理信號。在步驟S1108中,透過輸出模組,接收第一處理信號與第二處理信號,並依據第一處理信號與第二處理信號,產生第一輸出信號或第一同步輸出信號。In step S1102, through the third selection module, the event signal is received, and the third event signal is output. In step S1104, through the first processing module, second logic processing is performed on the third event signal or the third inverted event signal to generate a second processing signal. In step S1106, the second processing signal is received through the channel connecting module, and the second output channel of the output channel of the channel connecting module is designated to output the second processing signal. In step S1108, the first processing signal and the second processing signal are received through the output module, and the first output signal or the first synchronization output signal is generated according to the first processing signal and the second processing signal.

第12圖為第11圖之步驟S1104的詳細流程圖。在步驟S1202中,透過第一處理模組的第三反相器,將第三事件信號反相,以產生第三反相事件信號。在步驟S1204中,透過第一處理模組的第三選擇單元,選擇輸出第三事件信號或第三反相事件信號。在步驟S1206中,透過第一處理模組的第二邏輯處理單元,對第三事件信號或第三反相事件信號進行第二邏輯處理,以產生第二處理信號。在本實施例中,第二邏輯處理例如為不處理。FIG. 12 is a detailed flowchart of step S1104 in FIG. 11 . In step S1202, the third event signal is inverted through the third inverter of the first processing module to generate a third inverted event signal. In step S1204, the third event signal or the third inversion event signal is selected to be output through the third selection unit of the first processing module. In step S1206, second logic processing is performed on the third event signal or the third inverted event signal through the second logic processing unit of the first processing module to generate a second processing signal. In this embodiment, the second logical processing is, for example, no processing.

第13圖為第11圖之步驟S1108的詳細流程圖。在步驟S1302中,透過輸出模組的第二處理模組,對第一處理信號與第二處理信號進行第三邏輯處理,以產生第三處理信號或第三反相處理信號。在步驟S1304中,透過輸出模組的同步單元,對第三處理信號或第三反相處理信號進行同步處理,以產生第一同步輸出信號。在步驟S1306中,透過輸出模組的輸出選擇單元,將第三處理信號或第三反相處理信號作為第一輸出信號輸出或輸出第一同步輸出信號。FIG. 13 is a detailed flowchart of step S1108 in FIG. 11 . In step S1302, through the second processing module of the output module, a third logic processing is performed on the first processing signal and the second processing signal to generate a third processing signal or a third inversion processing signal. In step S1304, the synchronization unit of the output module performs synchronization processing on the third processing signal or the third inversion processing signal to generate a first synchronization output signal. In step S1306, the third processing signal or the third inversion processing signal is output as the first output signal or the first synchronization output signal is output through the output selection unit of the output module.

第14圖為第13圖之步驟S1302的詳細流程圖。在步驟S1402中,透過第二處理模組的第一及閘,接收第一致能信號與第一處理信號,並輸出第一及信號。在步驟S1404中,透過第二處理模組的第二及閘,接收第二致能信號與第二處理信號,並輸出第二及信號。在步驟S1406中,透過第二處理模組的第三邏輯處理單元,接收第一及信號與第二及信號,並對第一及信號與第二及信號進行第三邏輯處理,以產生第三處理信號。在步驟S1408中,透過第二處理模組的互斥或閘,接收第三處理信號與第三致能信號,並產生第三處理信號或第三反相處理信號。在本實施例中,第三邏輯處理例如包括及處理、或處理、反及處理、互斥或處理。FIG. 14 is a detailed flowchart of step S1302 in FIG. 13 . In step S1402, the first enabling signal and the first processing signal are received through the first gate of the second processing module, and the first sum signal is output. In step S1404, the second enable signal and the second processing signal are received through the second gate of the second processing module, and the second sum signal is output. In step S1406, the third logic processing unit of the second processing module receives the first sum signal and the second sum signal, and performs third logic processing on the first sum signal and the second sum signal to generate a third sum signal. Process the signal. In step S1408, the third processing signal and the third enabling signal are received through the mutual exclusion or gate of the second processing module, and the third processing signal or the third inversion processing signal is generated. In this embodiment, the third logical processing includes, for example, AND processing, OR processing, anti-AND processing, and mutual exclusion or processing.

值得注意的是,第8圖、第9圖、第10圖、第11圖、第12圖、第13圖及第14圖之步驟的順序僅用以作為說明之目的,不用於限制本發明實施例之步驟的順序,且上述步驟之順序可由使用者視其需求而改變。並且,在不脫離本發明之精神以及範圍內,可增加額外之步驟或者使用更少之步驟。It should be noted that the sequence of the steps in Fig. 8, Fig. 9, Fig. 10, Fig. 11, Fig. 12, Fig. 13 and Fig. 14 are only for illustrative purposes and are not intended to limit the implementation of the present invention The order of the steps is illustrated, and the order of the above-mentioned steps can be changed by users according to their needs. Also, additional steps may be added or fewer steps may be used without departing from the spirit and scope of the present invention.

綜上所述,本發明所揭露之事件控制裝置及其操作方法,透過第一處理模組至少對第一事件信號或第一反相事件信號以及第二事件信號或第二反相事件信號進行第一邏輯處理,以產生第一處理信號,通道連結模組指定輸出通道的第一輸出通道輸出第一處理信號,且輸出模組依據第一處理信號,產生第一輸出信號或第一同步輸出信號。如此一來,可以有效地增加事件連結的彈性及使用情境,以增加使用上的便利性。To sum up, in the event control device and the operation method thereof disclosed in the present invention, at least the first event signal or the first inverted event signal and the second event signal or the second inverted event signal are processed by the first processing module. The first logical processing is to generate the first processing signal, the first output channel of the designated output channel of the channel connection module outputs the first processing signal, and the output module generates the first output signal or the first synchronization output according to the first processing signal Signal. In this way, the flexibility of the event connection and the usage context can be effectively increased, so as to increase the convenience of use.

另外,本實施例之第一處理模組還可進一步對第三事件信號或第三反相事件信號進行第二邏輯處理,以產生第二處理信號,通道連結模組指定輸出通道的第二輸出通道輸出第一處理信號,且輸出模組依據第二處理信號,產生第二輸出信號或第二同步輸出信號。此外,本實施例之輸出模組還可進一步對第一處理信號與第二處理信號進行第三邏輯處理,以產生第一輸出信號或第一同步輸出信號。如此一來,更可以增加事件連結的彈性及使用情境。In addition, the first processing module of this embodiment may further perform second logic processing on the third event signal or the third inverted event signal to generate a second processing signal, and the channel connection module specifies the second output of the output channel The channel outputs the first processing signal, and the output module generates the second output signal or the second synchronous output signal according to the second processing signal. In addition, the output module of this embodiment may further perform third logic processing on the first processing signal and the second processing signal to generate the first output signal or the first synchronous output signal. In this way, the flexibility and usage context of event connection can be increased.

本發明雖以實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention is disclosed above by the embodiments, it is not intended to limit the scope of the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be determined by the scope of the appended patent application.

100,300,400,500,600,710_1~710_N:事件控制裝置 110_1,310_1,610_1:第一選擇模組 110_2,310_2,610_2:第二選擇模組 120,320:第一處理模組 121_1,321_1:第一反相器 121_2,321_2:第二反相器 122_1,322_1:第一選擇單元 122_2,322_2:第二選擇單元 123_1,323_1:第一邏輯處理單元 130,330,630:通道連結模組 140,340,410,640:輸出模組 141_1~141_3,341_1~341_3,430_1~430_3:同步單元 142_1~142_3,342_1~342_3,440_1~440_3:輸出選擇單元 310_3,610_3:第三選擇模組 321_3:第三反相器 322_3:第三選擇單元 323_2:第二邏輯處理單元 420:第二處理模組 421_1~421_3:第二處理單元 422_1~422_3:第一及閘 423_1~423_3:第二及閘 424_1~424_3:第三及閘 425_1~425_3:第三邏輯處理單元 426_1~426_3:互斥或閘 700:事件控制系統 CH0,CH1,CH2:輸出通道 S0,S1,S2:事件信號 SEL1_1~SEL1_3,SEL2_1~SEL2_3,SEL3_1~SEL3_3:選擇信號 S0’:第一反相事件信號 S1’:第二反相事件信號 PS1:第一處理信號 PS2:第二處理信號 PS3:第三處理信號 PS3’:第三反相處理信號 SS1:第一同步輸出信號 CLK1~CLK3:時脈信號 ES1_1~ES1_3:第一致能信號 ES2_1~ES2_3:第二致能信號 ES3_1~ES3_3:第三致能信號 ES4_1~ES4_3:第四致能信號 S802~S810,S902~S910,S1002~S1004,S1102~S1108,S1202~S1206,S1302~S1306,S1402~S1408:步驟 100,300,400,500,600,710_1~710_N: Event control device 110_1, 310_1, 610_1: first choice module 110_2, 310_2, 610_2: Second choice module 120,320: The first processing module 121_1, 321_1: first inverter 121_2, 321_2: Second inverter 122_1, 322_1: The first selection unit 122_2, 322_2: Second selection unit 123_1, 323_1: the first logical processing unit 130, 330, 630: Channel Link Module 140,340,410,640: Output module 141_1~141_3, 341_1~341_3, 430_1~430_3: synchronization unit 142_1~142_3, 342_1~342_3, 440_1~440_3: output selection unit 310_3, 610_3: The third option module 321_3: Third inverter 322_3: Third selection unit 323_2: Second logical processing unit 420: Second processing module 421_1~421_3: The second processing unit 422_1~422_3: The first gate 423_1~423_3: The second gate 424_1~424_3: The third gate 425_1~425_3: The third logical processing unit 426_1~426_3: Mutually exclusive or gate 700: Event Control System CH0, CH1, CH2: output channel S0, S1, S2: event signal SEL1_1~SEL1_3,SEL2_1~SEL2_3,SEL3_1~SEL3_3: Selection signal S0': The first inversion event signal S1': The second inversion event signal PS1: The first processing signal PS2: Second Processing Signal PS3: The third processing signal PS3': The third inverted processed signal SS1: The first synchronization output signal CLK1~CLK3: Clock signal ES1_1~ES1_3: The first enable signal ES2_1~ES2_3: The second enable signal ES3_1~ES3_3: The third enable signal ES4_1~ES4_3: Fourth enable signal S802~S810, S902~S910, S1002~S1004, S1102~S1108, S1202~S1206, S1302~S1306, S1402~S1408: Steps

第1圖為依據本發明之一實施例之事件控制裝置的示意圖。 第2圖為本發明之一實施例之第一事件信號、第二事件信號、第一處理信號、第一同步輸出信號的對應關係示意圖。 第3圖為依據本發明之另一實施例之事件控制裝置的示意圖。 第4圖為依據本發明之另一實施例之事件控制裝置的示意圖。 第5圖為本發明之一實施例之第一事件信號、第二事件信號、第一處理信號、第三事件信號、第二處理信號、第三處理信號與第一同步輸出信號的對應關係示意圖。 第6圖為本發明之另一實施例之事件控制裝置的示意圖。 第7圖為本發明之一實施例之事件控制系統的示意圖。 第8圖為依據本發明之一實施例之事件控制裝置的操作方法的流程圖。 第9圖為第8圖之步驟S806的詳細流程圖。 第10圖為第8圖之步驟S810的詳細流程圖。 第11圖為依據本發明之另一實施例之事件控制裝置的操作方法的流程圖。 第12圖為第11圖之步驟S1104的詳細流程圖。 第13圖為第11圖之步驟S1108的詳細流程圖。 第14圖為第13圖之步驟S1302的詳細流程圖。 FIG. 1 is a schematic diagram of an event control apparatus according to an embodiment of the present invention. FIG. 2 is a schematic diagram of the correspondence between the first event signal, the second event signal, the first processing signal, and the first synchronization output signal according to an embodiment of the present invention. FIG. 3 is a schematic diagram of an event control device according to another embodiment of the present invention. FIG. 4 is a schematic diagram of an event control device according to another embodiment of the present invention. FIG. 5 is a schematic diagram of the correspondence between the first event signal, the second event signal, the first processing signal, the third event signal, the second processing signal, the third processing signal and the first synchronization output signal according to an embodiment of the present invention. . FIG. 6 is a schematic diagram of an event control device according to another embodiment of the present invention. FIG. 7 is a schematic diagram of an event control system according to an embodiment of the present invention. FIG. 8 is a flowchart of an operation method of an event control apparatus according to an embodiment of the present invention. FIG. 9 is a detailed flowchart of step S806 in FIG. 8 . FIG. 10 is a detailed flowchart of step S810 in FIG. 8 . FIG. 11 is a flowchart of an operation method of an event control device according to another embodiment of the present invention. FIG. 12 is a detailed flowchart of step S1104 in FIG. 11 . FIG. 13 is a detailed flowchart of step S1108 in FIG. 11 . FIG. 14 is a detailed flowchart of step S1302 in FIG. 13 .

100:事件控制裝置 100: Event Control Device

110_1:第一選擇模組 110_1: First choice module

110_2:第二選擇模組 110_2: Second choice module

120:第一處理模組 120: The first processing module

121_1:第一反相器 121_1: first inverter

121_2:第二反相器 121_2: Second inverter

122_1:第一選擇單元 122_1: First selection unit

122_2:第二選擇單元 122_2: Second selection unit

123_1:第一邏輯處理單元 123_1: The first logical processing unit

130:通道連結模組 130: Channel Link Module

140:輸出模組 140: Output module

141_1~141_3:同步單元 141_1~141_3: Synchronization unit

142_1~142_3:輸出選擇單元 142_1~142_3: Output selection unit

CH0,CH1,CH2:輸出通道 CH0, CH1, CH2: output channel

S0,S1:事件信號 S0, S1: event signal

SEL1_1~SEL1_2,SEL2_1~SEL2_2,SEL3_1~SEL3_3:選擇信號 SEL1_1~SEL1_2,SEL2_1~SEL2_2,SEL3_1~SEL3_3: Selection signal

S0’:第一反相事件信號 S0': The first inversion event signal

S1’:第二反相事件信號 S1': The second inversion event signal

PS1:第一處理信號 PS1: The first processing signal

SS1:第一同步輸出信號 SS1: The first synchronization output signal

CLK1~CLK3:時脈信號 CLK1~CLK3: Clock signal

Claims (10)

一種事件控制裝置,包括:一第一選擇模組,接收多個事件信號,並輸出一第一事件信號;一第二選擇模組,接收該些事件信號,並輸出一第二事件信號;一第一處理模組,耦接該第一選擇模組與該第二選擇模組,接收該第一事件信號與該第二事件信號,該第一處理模組對該第一事件信號或一第一反相事件信號以及該第二事件信號或一第二反相事件信號進行一第一邏輯處理,以產生一第一處理信號;一通道連結模組,耦接該第一處理模組並具有多個輸出通道,該通道連結模組接收該第一處理信號,並指定該些輸出通道的一第一輸出通道輸出該第一處理信號;以及一輸出模組,耦接該通道連結模組,接收該第一處理信號,並依據該第一處理信號,產生一第一輸出信號或一第一同步輸出信號。 An event control device, comprising: a first selection module, receiving a plurality of event signals and outputting a first event signal; a second selection module, receiving the event signals and outputting a second event signal; a A first processing module, coupled to the first selection module and the second selection module, receives the first event signal and the second event signal, the first processing module for the first event signal or a first event signal An inversion event signal and the second event signal or a second inversion event signal are subjected to a first logic processing to generate a first processing signal; a channel connection module is coupled to the first processing module and has a plurality of output channels, the channel connection module receives the first processing signal, and designates a first output channel of the output channels to output the first processing signal; and an output module, coupled to the channel connection module, The first processing signal is received, and according to the first processing signal, a first output signal or a first synchronization output signal is generated. 如請求項1之事件控制裝置,其中該第一處理模組包括:一第一反相器,接收該第一事件信號,並將該第一事件信號反相,以產生該第一反相事件信號;一第二反相器,接收該第二事件信號,並將該第二事件信號反相,以產生該第二反相事件信號;一第一選擇單元,接收該第一事件信號與該第一反相事件信號,並選擇輸出該第一事件信號或該第一反相事件信號;一第二選擇單元,接收該第二事件信號與該第二反相事件信號,並選擇輸出該第二事件信號或該第二反相事件信號;以及 一第一邏輯處理單元,接收該第一事件信號或該第一反相事件信號以及該第二事件信號或該第二反相事件信號,並對該第一事件信號或該第一反相事件信號以及該第二事件信號或該第二反相事件信號進行該第一邏輯處理,以產生該第一處理信號。 The event control device of claim 1, wherein the first processing module comprises: a first inverter for receiving the first event signal and inverting the first event signal to generate the first inversion event signal; a second inverter receives the second event signal and inverts the second event signal to generate the second inverted event signal; a first selection unit receives the first event signal and the a first inversion event signal, and selects to output the first event signal or the first inversion event signal; a second selection unit, receives the second event signal and the second inversion event signal, and selects to output the first event signal The second event signal or the second inverted event signal; and a first logic processing unit, receiving the first event signal or the first inversion event signal and the second event signal or the second inversion event signal, and processing the first event signal or the first inversion event The first logic processing is performed on the signal and the second event signal or the second inverted event signal to generate the first processing signal. 如請求項1或2之事件控制裝置,更包括: 一第三選擇模組,耦接該第一處理模組,接收該些事件信號,並輸出一第三事件信號; 其中,該第一處理模組更接收該第三事件信號,該第一處理模組對該第三事件信號或一第三反相事件信號進行一第二邏輯處理,以產生一第二處理信號; 其中,該通道連結模組更接收該第二處理信號,並指定該些輸出通道的一第二輸出通道輸出該第二處理信號; 其中,該輸出模組更接收該第二處理信號,並依據該第一處理信號與該第二處理信號,產生一第一輸出信號或一第一同步輸出信號。 If the event control device of claim 1 or 2, it also includes: a third selection module, coupled to the first processing module, receives the event signals, and outputs a third event signal; The first processing module further receives the third event signal, and the first processing module performs a second logic processing on the third event signal or a third inverted event signal to generate a second processing signal ; Wherein, the channel connection module further receives the second processing signal, and designates a second output channel of the output channels to output the second processing signal; The output module further receives the second processing signal, and generates a first output signal or a first synchronization output signal according to the first processing signal and the second processing signal. 如請求項3之事件控制裝置,其中該第一處理模組更包括: 一第三反相器,接收該第三事件信號,並將該第三事件信號反相,以產生一第三反相事件信號; 一第三選擇單元,接收該第三事件信號與該第三反相事件信號,並選擇輸出該第三事件信號或該第三反相事件信號;以及 一第二邏輯處理單元,接收該第三事件信號或該第三反相事件信號,並對該第三事件信號或該第三反相事件信號進行該第二邏輯處理,以產生該第二處理信號。 The event control device of claim 3, wherein the first processing module further comprises: a third inverter receiving the third event signal and inverting the third event signal to generate a third inverting event signal; a third selection unit, receiving the third event signal and the third inversion event signal, and selecting and outputting the third event signal or the third inversion event signal; and a second logic processing unit, receiving the third event signal or the third inversion event signal, and performing the second logic processing on the third event signal or the third inversion event signal to generate the second processing Signal. 如請求項3之事件控制裝置,其中該輸出模組包括: 一第二處理模組,耦接通道連結模組,接收該第一處理信號與該第二處理信號,並對該第一處理信號與該第二處理信號進行一第三邏輯處理,以產生一第三處理信號或一第三反相處理信號; 一同步單元,耦接該第二處理模組,接收該第三處理信號或該第三反相處理信號,並對該第三處理信號或該第三反相處理信號進行同步處理,以產生該第一同步輸出信號;以及 一輸出選擇單元,耦接該第二處理模組與該同步單元,接收該第三處理信號或該第三反相處理信號與該第一同步輸出信號,並將該第三處理信號或該第三反相處理信號作為該第一輸出信號輸出或輸出該第一同步輸出信號。 The event control device of claim 3, wherein the output module comprises: A second processing module, coupled to the channel connection module, receives the first processing signal and the second processing signal, and performs a third logic processing on the first processing signal and the second processing signal to generate a the third processed signal or a third inverted processed signal; a synchronization unit, coupled to the second processing module, receives the third processing signal or the third inversion processing signal, and performs synchronization processing on the third processing signal or the third inversion processing signal to generate the a first synchronization output signal; and an output selection unit, coupled to the second processing module and the synchronization unit, receives the third processing signal or the third inversion processing signal and the first synchronization output signal, and converts the third processing signal or the first The three-phase inversion processing signal is output as the first output signal or the first synchronous output signal is output. 如請求項5之事件控制裝置,其中該第二處理模組包括: 一第一及閘,具有一第一端、一第二端與一輸出端,該第一及閘的該第一端接收一第一致能信號,該第一及閘的該第二端接收該第一處理信號,該第一及閘的該第一端輸出一第一及信號; 一第二及閘,具有一第一端、一第二端與一輸出端,該第二及閘的該第一端接收一第二致能信號,該第二及閘的該第二端接收該第二處理信號,該第二及閘的該第一端輸出一第二及信號; 一第三邏輯處理單元,耦接該第一及閘的該輸出端與該第二及閘的該輸出端,接收該第一及信號與該第二及信號,並對該第一及信號與該第二及信號進行該第三邏輯處理,以產生該第三處理信號;以及 一互斥或閘,具有一第一端、一第二端與一輸出端,該互斥或閘的該第一端接收該第三處理信號,該互斥或閘的該第二端接收一第三致能信號,該互斥或閘的該輸出端產生該第三處理信號或該第三反相處理信號。 The event control device of claim 5, wherein the second processing module comprises: a first and gate, having a first end, a second end and an output end, the first end of the first and gate receives a first enable signal, and the second end of the first and gate receives the first processing signal, the first end of the first sum gate outputs a first sum signal; A second and gate has a first end, a second end and an output end, the first end of the second and gate receives a second enable signal, and the second end of the second and gate receives the second processing signal, the first end of the second sum gate outputs a second sum signal; a third logic processing unit, coupled to the output end of the first sum gate and the output end of the second sum gate, receives the first sum signal and the second sum signal, and combines the first sum signal and the second sum signal The second sum signal is subjected to the third logic processing to generate the third processed signal; and A mutex OR gate has a first end, a second end and an output end, the first end of the mutex OR gate receives the third processing signal, and the second end of the mutex OR gate receives a For a third enable signal, the output terminal of the mutually exclusive OR gate generates the third processing signal or the third inversion processing signal. 如請求項6之事件控制裝置,其中該第三邏輯處理包括一及處理、一或處理、一反及處理、一互斥或處理。The event control device of claim 6, wherein the third logical processing includes an AND process, an OR process, an inverse-AND process, and an exclusive OR process. 如請求項1之事件控制裝置,其中該輸出模組包括: 一同步單元,耦接該通道連結模組,接收該第一處理信號,並對該第一處理信號進行同步處理,以產生該第一同步輸出信號;以及 一輸出選擇單元,耦接該通道連結模組與該同步單元,接收該第一處理信號與該第一同步輸出信號,並將該第一處理信號作為該第一輸出信號輸出或輸出該第一同步輸出信號。 The event control device of claim 1, wherein the output module comprises: a synchronization unit, coupled to the channel connection module, receives the first processing signal, and performs synchronization processing on the first processing signal to generate the first synchronization output signal; and an output selection unit, coupled to the channel connection module and the synchronization unit, receives the first processing signal and the first synchronization output signal, and outputs the first processing signal as the first output signal or outputs the first Sync output signal. 一種事件控制裝置的操作方法,包括: 透過一第一選擇模組,接收多個事件信號,並輸出一第一事件信號; 透過一第二選擇模組,接收該些事件信號,並輸出一第二事件信號; 透過一第一處理模組,對該第一事件信號或一第一反相事件信號以及該第二事件信號或一第二反相事件信號進行一第一邏輯處理,以產生一第一處理信號; 透過一通道連結模組,接收該第一處理信號,並指定該通道連結模組的多個輸出通道的一第一輸出通道輸出該第一處理信號;以及 透過一輸出模組,接收該第一處理信號,並依據該第一處理信號,產生一第一輸出信號或一第一同步輸出信號。 An operation method of an event control device, comprising: receiving a plurality of event signals through a first selection module, and outputting a first event signal; receiving the event signals through a second selection module and outputting a second event signal; Through a first processing module, a first logic processing is performed on the first event signal or a first inversion event signal and the second event signal or a second inversion event signal to generate a first processing signal ; receiving the first processing signal through a channel linking module, and assigning a first output channel of a plurality of output channels of the channel linking module to output the first processing signal; and The first processing signal is received through an output module, and a first output signal or a first synchronization output signal is generated according to the first processing signal. 如請求項9之事件控制裝置的操作方法,其中透過該輸出模組,接收該第一處理信號,並依據該第一處理信號,產生該第一輸出信號或該第一同步輸出信號包括: 透過該輸出模組的一同步單元,對該第一處理信號進行同步處理,以產生該第一同步輸出信號;以及 透過該輸出模組的一輸出選擇單元,將該第一處理信號作為該第一輸出信號輸出或輸出該第一同步輸出信號。 The operation method of the event control device as claimed in claim 9, wherein receiving the first processing signal through the output module, and generating the first output signal or the first synchronization output signal according to the first processing signal comprises: performing synchronization processing on the first processing signal through a synchronization unit of the output module to generate the first synchronization output signal; and Through an output selection unit of the output module, the first processing signal is output as the first output signal or the first synchronization output signal is output.
TW109147059A 2020-12-31 2020-12-31 Event controlling device and operation method thereof TWI761012B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW109147059A TWI761012B (en) 2020-12-31 2020-12-31 Event controlling device and operation method thereof
CN202111552733.2A CN114691387A (en) 2020-12-31 2021-12-17 Event control device and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109147059A TWI761012B (en) 2020-12-31 2020-12-31 Event controlling device and operation method thereof

Publications (2)

Publication Number Publication Date
TWI761012B true TWI761012B (en) 2022-04-11
TW202227983A TW202227983A (en) 2022-07-16

Family

ID=82136415

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109147059A TWI761012B (en) 2020-12-31 2020-12-31 Event controlling device and operation method thereof

Country Status (2)

Country Link
CN (1) CN114691387A (en)
TW (1) TWI761012B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201928959A (en) * 2017-12-01 2019-07-16 芬蘭商米尼碼處理器公司 Method and arrangement for ensuring valid data at a second stage of a digital register circuit
TWM600865U (en) * 2019-02-26 2020-09-01 美商吉林克斯公司 Boundary logic interface
US20200364169A1 (en) * 2017-12-29 2020-11-19 Intel Corporation Technologies for fast mausb enumeration
US20200394148A1 (en) * 2019-06-17 2020-12-17 Hewlett Packard Enterprise Development Lp Programmable link training sequences

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201928959A (en) * 2017-12-01 2019-07-16 芬蘭商米尼碼處理器公司 Method and arrangement for ensuring valid data at a second stage of a digital register circuit
US20200364169A1 (en) * 2017-12-29 2020-11-19 Intel Corporation Technologies for fast mausb enumeration
TWM600865U (en) * 2019-02-26 2020-09-01 美商吉林克斯公司 Boundary logic interface
US20200394148A1 (en) * 2019-06-17 2020-12-17 Hewlett Packard Enterprise Development Lp Programmable link training sequences

Also Published As

Publication number Publication date
CN114691387A (en) 2022-07-01
TW202227983A (en) 2022-07-16

Similar Documents

Publication Publication Date Title
US20080192871A1 (en) Method and system of cycle slip framing in a deserializer
WO2021129050A1 (en) Glitch-free clock switching circuit
JPH02192337A (en) Phase adjusting circuit
TWI761012B (en) Event controlling device and operation method thereof
JP2003519854A (en) Method and apparatus for selecting a clock signal without glitches
JPS6245240A (en) Digital signal synchronizing circuit
JP4715080B2 (en) Semiconductor device
JP2789811B2 (en) Asynchronous clock selection circuit
JPH0879029A (en) Four-phase clock pulse generating circuit
KR19990005465A (en) Test circuit of semiconductor chip
JPH01319341A (en) Pn code acquisition circuit
JPH02288725A (en) Pattern deciding circuit
JPS63316569A (en) Synchronizing device
JPS61134683A (en) Integration testing circuit
JPH087558B2 (en) Synchronization compensation circuit for scanning display circuit
JPS58151143A (en) Multiplex signal separation circuit
JPH03204251A (en) Clock synchronizing circuit
JPH0282810A (en) Binary periodic signal generator
JPH0691424B2 (en) Synchronous sequential circuit
JPH0432371A (en) Synchronizing signal detection circuit
JP2004112450A (en) Time division multiplexer
JPH0583124A (en) Programmable counter
JP2005236471A (en) Synchronization circuit
JPH07131762A (en) Sampling rate conversion circuit
JP2001156858A (en) Data signal taking-in circuit