TWI623197B - Programmable method of transmitting signal - Google Patents

Programmable method of transmitting signal Download PDF

Info

Publication number
TWI623197B
TWI623197B TW106106001A TW106106001A TWI623197B TW I623197 B TWI623197 B TW I623197B TW 106106001 A TW106106001 A TW 106106001A TW 106106001 A TW106106001 A TW 106106001A TW I623197 B TWI623197 B TW I623197B
Authority
TW
Taiwan
Prior art keywords
signal
output signal
circuit board
transmission
logic
Prior art date
Application number
TW106106001A
Other languages
Chinese (zh)
Other versions
TW201832471A (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 TW106106001A priority Critical patent/TWI623197B/en
Application granted granted Critical
Publication of TWI623197B publication Critical patent/TWI623197B/en
Publication of TW201832471A publication Critical patent/TW201832471A/en

Links

Abstract

一種可程式化訊號傳輸方法,適用於多個電路板及多個傳輸線。可程式化訊號傳輸方法包括一個電路板依據第一轉換訊號選擇多個輸出訊號其中之一。一個電路板依據配置訊號,自其中一個接腳輸出已選擇的輸出訊號至接腳電性連接的傳輸線。一個傳輸線傳輸輸出訊號至電性連接於傳輸線的每一個電路板。每一個電路板依據配置訊號自其中一個接腳,選擇性地接收或忽略傳輸線上的輸出訊號。已選擇接收輸出訊號的電路板依據第二轉換訊號,設定輸出訊號的傳輸通道。A programmable signal transmission method suitable for multiple circuit boards and multiple transmission lines. The programmable signal transmission method includes a circuit board selecting one of a plurality of output signals according to the first conversion signal. A circuit board outputs a selected output signal from one of the pins to a transmission line electrically connected to the pin according to the configuration signal. A transmission line transmits an output signal to each of the boards electrically connected to the transmission line. Each board selectively receives or ignores the output signal on the transmission line according to the configuration signal from one of the pins. The circuit board that has selected to receive the output signal sets the transmission channel of the output signal according to the second conversion signal.

Description

可程式化訊號傳輸方法Programmable signal transmission method

本發明係關於一種可程式化訊號傳輸方法,特別是一種用於多個電路板之間的訊號傳輸方法。The present invention relates to a programmable signal transmission method, and more particularly to a signal transmission method for use between a plurality of circuit boards.

在資訊處理技術的演進下,大量的資料可以透過傳輸線在電路板與電路板之間傳遞,藉以達到資料輸入、輸出或控制的目的。在習知的技術中,電路板和電路板之間傳輸訊號的方式是直接將訊號來源的電路板電性連接至訊號目的地的電路板,藉以讓電路板與電路板之間達到訊號溝通和傳遞的目的。Under the evolution of information processing technology, a large amount of data can be transmitted between the circuit board and the circuit board through the transmission line, thereby achieving the purpose of data input, output or control. In the prior art, the signal is transmitted between the circuit board and the circuit board by directly connecting the signal source circuit board to the circuit board of the signal destination, so as to achieve signal communication between the circuit board and the circuit board. The purpose of the transfer.

隨著資訊處理的量越來越大,電路板上的電路元件和處理的功能也越來越多。以往習知的技術方式,在功能增加或傳遞的訊號增加時,往往需要藉由增加電路板的接腳數量和傳輸線的數量,才能滿足擴增的功能和增加的訊號。As the amount of information processing increases, so does the number of circuit components and processing functions on the board. In the conventional technical method, when the function is increased or the signal transmitted is increased, it is often necessary to increase the number of pins of the board and the number of transmission lines to satisfy the amplification function and the increased signal.

本發明在於提供一種可程式化訊號傳輸方法,藉以解決先前技術中需要增加電路板的接腳數量和傳輸線的數量,才能滿足擴增功能或增加訊號的問題。The present invention provides a programmable signal transmission method for solving the problem of increasing the number of pins and the number of transmission lines in the prior art in order to satisfy the amplification function or increase the signal.

本發明所揭露的可程式化訊號傳輸方法,適用於多個電路板及多個傳輸線。可程式化訊號傳輸方法包括一個電路板依據第一轉換訊號選擇多個輸出訊號其中之一。一個電路板依據配置訊號,自其中一個接腳輸出已選擇的輸出訊號至接腳電性連接的傳輸線。一個傳輸線傳輸輸出訊號至電性連接於傳輸線的每一個電路板。每一個電路板依據配置訊號自其中一個接腳,選擇性地接收或忽略傳輸線上的輸出訊號。已選擇接收輸出訊號的電路板依據第二轉換訊號,設定輸出訊號的傳輸通道。The programmable signal transmission method disclosed in the present invention is applicable to multiple circuit boards and multiple transmission lines. The programmable signal transmission method includes a circuit board selecting one of a plurality of output signals according to the first conversion signal. A circuit board outputs a selected output signal from one of the pins to a transmission line electrically connected to the pin according to the configuration signal. A transmission line transmits an output signal to each of the boards electrically connected to the transmission line. Each board selectively receives or ignores the output signal on the transmission line according to the configuration signal from one of the pins. The circuit board that has selected to receive the output signal sets the transmission channel of the output signal according to the second conversion signal.

根據上述本發明所揭露的可程式化訊號傳輸方法,可以藉由程式化的第一轉換訊號及第二轉換訊號來選擇要輸出的訊號及訊號要傳達的目的,並藉由配置訊號來配置傳輸訊號的傳輸線,使得電路板之間可以更有效率地來傳輸訊號。藉此,新增的功能或新增加的訊號,就可以透過程式化的傳輸方式來互相溝通,不需要再增加電路板接腳的數量及傳輸線的數量,使得電路板之間可以溝通的內容更為多元有彈性。According to the programmable signal transmission method disclosed in the above, the programmed first and second conversion signals can be used to select the signal to be output and the purpose of the signal to be transmitted, and the transmission is configured by configuring the signal. The signal transmission line allows signals to be transmitted more efficiently between boards. In this way, new functions or newly added signals can communicate with each other through stylized transmission methods. There is no need to increase the number of board pins and the number of transmission lines, so that the content that can be communicated between the boards is more Flexible for multiples.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosure and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參照圖1,圖1是根據本發明一實施例所繪示之多個電路板電性連接至傳輸線的示意圖,如圖1所示,多個電路板電性連接於多個傳輸線上。以三個電路板1和三個傳輸線tr1、tr2、tr3為例來說,每一個電路板1具有接腳pin1、接腳pin2和接腳pin3,且每一個電路板1的接腳pin1電性連接傳輸線tr1,每一個電路板1的接腳pin2電性連接傳輸線tr2,每一個電路板1的接腳pin3電性連接傳輸線tr3。傳輸線的數量通常與電路板1的接腳數量匹配,但不以此為限。傳輸線例如是纜線(cable)、機殼上的走線(trace)或其他合適傳輸訊號的元件。多個電路板透過多個傳輸線來傳輸訊號進行溝通,例如其中一個電路板輸出訊號來控制其他電路板、群組部分的電路板來共同產生測試訊號或進行其他以訊號溝通的動作,本實施例不予限制。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a plurality of circuit boards electrically connected to a transmission line according to an embodiment of the invention. As shown in FIG. 1, a plurality of circuit boards are electrically connected to a plurality of transmission lines. Taking three circuit boards 1 and three transmission lines tr1, tr2, and tr3 as an example, each circuit board 1 has a pin pin1, a pin pin2, and a pin pin3, and the pin 1 of each circuit board 1 is electrically The transmission pin tr1 is connected, and the pin pin 2 of each circuit board 1 is electrically connected to the transmission line tr2, and the pin pin 3 of each circuit board 1 is electrically connected to the transmission line tr3. The number of transmission lines usually matches the number of pins of the board 1, but is not limited thereto. The transmission line is, for example, a cable, a trace on the casing, or other suitable transmission signal component. A plurality of circuit boards transmit signals through a plurality of transmission lines for communication. For example, one of the circuit boards outputs signals to control other circuit boards and circuit boards of the group to jointly generate test signals or perform other signal communication operations. No restrictions.

電路板1的每一個接腳具有傳輸模組10和接收模組12。更具體地來說,電路板1的接腳pin1藉由傳輸模組10來輸出電路板1的訊號,並藉由接收模組12來接收傳輸線上的訊號。例如傳輸模組10輸出的訊號傳遞至傳輸線tr1上,傳輸線tr1上的訊號也可以傳遞至接收模組12。接腳pin2及接腳pin3的傳輸模組10和接收模組12以此類推,不再贅述。電路板1的每一個傳輸模組10具有多個輸入端,多個輸入端分別電性連接至電路板1內的其他電路元件,用以接收其他電路元件產生的輸出訊號。在實務上,不同電路元件產生的輸出訊號,或是同一電路元件不同輸出端產生的輸出訊號皆不一定相同。換言之,每一個輸出訊號的類型、用途、定義或傳輸的目的地不同,本實施例不予限制。Each of the pins of the circuit board 1 has a transmission module 10 and a receiving module 12. More specifically, the pin 1 of the circuit board 1 outputs the signal of the circuit board 1 through the transmission module 10, and receives the signal on the transmission line by the receiving module 12. For example, the signal outputted by the transmission module 10 is transmitted to the transmission line tr1, and the signal on the transmission line tr1 can also be transmitted to the receiving module 12. The transmission module 10 and the receiving module 12 of the pin 2 and the pin 3 are similar and will not be described again. Each of the transmission modules 10 of the circuit board 1 has a plurality of input terminals, and the plurality of input terminals are electrically connected to other circuit components in the circuit board 1 for receiving output signals generated by other circuit components. In practice, the output signals generated by different circuit components or the output signals generated by different output terminals of the same circuit component are not necessarily the same. In other words, the type, purpose, definition, or destination of each output signal is different, and the embodiment is not limited.

於一個實施例中,傳輸模組10和接收模組12例如以可程式化閘陣列(Field-programmable gate array,FPGA)、複雜可程式邏輯裝置(Complex Programmable Logic Device,CPLD)或其他可程式化實現邏輯電路的電路元件。請參照一併參照圖1及圖2,圖2是根據本發明一實施例所繪示之傳輸模組的示意圖,如圖2所示,傳輸模組10例如具有多工器(multiplexer)101、延遲器103、算術邏輯器(Arithmetic Logic Unit,ALU)105、編碼器107、正反器108及緩衝器109。多工器101電性連接電路板1中的其他電路元件,用以依據第一轉換訊號從多個輸出訊號中,選擇一個輸出訊號。延遲器103用以依據延遲調整訊號來延遲已選擇的輸出訊號。在實務上,由於多工器101接收到電路板1內部其他電路元件提供的輸出訊號時,其他電路板還在執行其他的訊號傳輸,或是其他電路板還沒準備好要接收電路板1輸出的訊號。因此,延遲器103會依據延遲調整訊號指示延遲的時間,例如等待一個或多個時脈週期或等待其他類型時間長度,再觸發多工器101將已延遲的輸出訊號輸出至算術邏輯器10,但不限制多工器101一定要延遲將輸出訊號輸出至算術邏輯器10。In one embodiment, the transmission module 10 and the receiving module 12 are, for example, a Field-programmable Gate Array (FPGA), a Complex Programmable Logic Device (CPLD), or other programmable A circuit component that implements a logic circuit. Referring to FIG. 1 and FIG. 2, FIG. 2 is a schematic diagram of a transmission module according to an embodiment of the present invention. As shown in FIG. 2, the transmission module 10 has a multiplexer 101, for example. A delay unit 103, an Arithmetic Logic Unit (ALU) 105, an encoder 107, a flip-flop 108, and a buffer 109 are provided. The multiplexer 101 is electrically connected to other circuit components in the circuit board 1 for selecting an output signal from the plurality of output signals according to the first conversion signal. The delay device 103 is configured to delay the selected output signal according to the delay adjustment signal. In practice, when the multiplexer 101 receives the output signal provided by other circuit components inside the circuit board 1, other circuit boards are still performing other signal transmission, or other circuit boards are not ready to receive the circuit board 1 output. Signal. Therefore, the delay device 103 indicates the delay time according to the delay adjustment signal, for example, waiting for one or more clock cycles or waiting for other types of time lengths, and triggering the multiplexer 101 to output the delayed output signals to the arithmetic logic device 10, However, the multiplexer 101 is not limited to delay outputting the output signal to the arithmetic logic 10.

算術邏輯器105接收多工器101輸出的輸出訊號,例如已延遲的輸出訊號。算術邏輯器105依據邏輯選擇訊號,選擇性地對已延遲的輸出訊號與第一資料訊號進行邏輯運算。也就是說,當算術邏輯器105依據邏輯選擇訊號,不將已延遲的輸出訊號和第一資料訊號進行邏輯運算時,算術邏輯器105直接輸出已延遲的輸出訊號。當算術邏輯器105依據邏輯選擇訊號,對已延遲的輸出訊號和第一資料訊號進行邏輯運算時,算術邏輯器105輸出已與第一資料訊號邏輯運算後的輸出訊號。第一資料訊號例如是電路板1中其他接腳接收到的訊號、另一個電路元件產生的訊號或其他可能的訊號,本實施例不予限制。邏輯運算例如以是邏輯補數(NOT)、邏輯乘法(AND)、邏輯加法(OR)或這些運算邏輯組合成的邏輯,將輸出訊號與第一資料訊號組合。The arithmetic logic 105 receives the output signal output by the multiplexer 101, such as a delayed output signal. The arithmetic logic 105 selectively logically operates the delayed output signal and the first data signal according to the logic selection signal. That is to say, when the arithmetic logic 105 selects the signal according to the logic and does not logically operate the delayed output signal and the first data signal, the arithmetic logic unit 105 directly outputs the delayed output signal. When the arithmetic logic 105 logically operates the delayed output signal and the first data signal according to the logic selection signal, the arithmetic logic unit 105 outputs the output signal that has been logically operated with the first data signal. The first data signal is, for example, a signal received by other pins in the circuit board 1 or a signal generated by another circuit component or other possible signals, which is not limited in this embodiment. The logic operation combines the output signal with the first data signal, for example, by logical complement (NOT), logical multiplication (AND), logical addition (OR), or a combination of these operational logics.

編碼器107用以依據第一控制訊號,產生第一強制訊號F0和致能訊號。算術邏輯器105依據第一強制訊號F0,選擇性地輸出邏輯運算訊號、邏輯高電位或邏輯低電位。具體來說,當編碼器107未輸出第一強制訊號F0至算術邏輯器105時,算術邏輯器105依據邏輯選擇訊號,選擇性地輸出邏輯運算訊號,邏輯運算訊號亦即已邏輯運算後的輸出訊號或未進行邏輯運算的輸出訊號。當編碼器107輸出第一強制訊號F0至算術邏輯器105時,第一強制訊號F0例如為高電位或低電位。當第一強制訊號F0為低電位時,算術邏輯器105輸出邏輯低電位。當第一強制訊號F0為高電位時,算術邏輯器105輸出邏輯高電位。換言之,第一強制訊號F0是用以控制算術邏輯器105輸出邏輯運算訊號、邏輯高電位或邏輯低電位。The encoder 107 is configured to generate the first forced signal F0 and the enable signal according to the first control signal. The arithmetic logic 105 selectively outputs a logic operation signal, a logic high level or a logic low level according to the first forced signal F0. Specifically, when the encoder 107 does not output the first forced signal F0 to the arithmetic logic 105, the arithmetic logic 105 selectively outputs a logical operation signal according to the logic selection signal, and the logical operation signal is the output after the logic operation. Signal or output signal that is not logically operated. When the encoder 107 outputs the first forced signal F0 to the arithmetic logic 105, the first forced signal F0 is, for example, high or low. When the first forced signal F0 is low, the arithmetic logic 105 outputs a logic low. When the first forced signal F0 is high, the arithmetic logic 105 outputs a logic high potential. In other words, the first forced signal F0 is used to control the arithmetic logic 105 to output a logic operation signal, a logic high level or a logic low level.

正反器108接收算術邏輯器105輸出的訊號,亦即接收已邏輯運算後的輸出訊號、未邏輯運算的輸出訊號、邏輯低電位和邏輯高電位其中之一,並於第一時脈致能訊號觸發時,將接收到的訊號輸出至緩衝器109。緩衝器109依據編碼器107產生的致能訊號選擇性地輸出從正反器108接收到的訊號至傳輸線,或不輸出從正反器108接收到的訊號,而將傳輸線設定為電性高阻態(High resistance state,HRS)。The flip-flop 108 receives the signal output by the arithmetic logic device 105, that is, receives one of the logically output signal, the unlogic output signal, the logic low potential, and the logic high potential, and is enabled in the first clock. When the signal is triggered, the received signal is output to the buffer 109. The buffer 109 selectively outputs the signal received from the flip-flop 108 to the transmission line according to the enable signal generated by the encoder 107, or does not output the signal received from the flip-flop 108, and sets the transmission line to an electrical high resistance. High resistance state (HRS).

另一方面,電路板1依據配置訊號,選擇將已選擇的輸出訊號從特定的接腳輸出,並透過接腳電性連接的傳輸線,將輸出訊號傳輸至每一個電路板電性連接於傳輸線的接腳來接收輸出訊號。當電路板依據配置訊號選擇要輸出訊號的接腳時,每一個接腳的致能訊號就會控制緩衝器109是否要輸出從正反器108接收到的訊號。也就是說,當接腳被選擇要輸出訊號時,接腳的緩衝器就會被致能訊號致能,來輸出從正反器108接收到的訊號至傳輸線,將傳輸線設定為正反器108輸出的訊號。當接腳不被選擇輸出訊號時,接腳的緩衝器就不會被致能訊號致能,緩衝器109不會輸出從正反器108接收到的訊號至傳輸線,亦即將傳輸線設定為電性高阻態。在實務上,當傳輸線上其中一個電路板輸出訊號時,其他電路板會將此傳輸線設定為電性高阻態,以避免多個電路板,甚至是所有電路板同時間對同一條傳輸線輸出,造成傳輸線損壞的情形。On the other hand, the circuit board 1 selects to output the selected output signal from a specific pin according to the configuration signal, and transmits the output signal to each of the circuit boards electrically connected to the transmission line through the transmission line electrically connected to the pin. Pin to receive the output signal. When the board selects the pin to output the signal according to the configuration signal, the enable signal of each pin controls whether the buffer 109 outputs the signal received from the flip-flop 108. That is to say, when the pin is selected to output a signal, the pin buffer is enabled to enable the signal received from the flip-flop 108 to the transmission line, and the transmission line is set as the flip-flop 108. The output signal. When the pin is not selected for the output signal, the pin buffer is not enabled by the enable signal, and the buffer 109 does not output the signal received from the flip-flop 108 to the transmission line, that is, the transmission line is set to be electrically High resistance state. In practice, when one of the boards outputs a signal on the transmission line, the other board sets the transmission line to an electrical high-impedance state to prevent multiple boards, or even all boards, from simultaneously outputting the same line. Causes damage to the transmission line.

於圖2的示例中,傳輸模組10是以多工器101、延遲器103、算術邏輯器105、編碼器107、正反器108及緩衝器109來實現,但圖2的示例僅為方便說明之用,本實施例實際上並不限制傳輸模組10的電路架構。於其他實施例中,傳輸模組10亦可以其他電路或取消部分元件來實現,例如取消延遲器103或以其他控制方式取代編碼器107控制算術邏輯器105及緩衝器109,本實施例不予限制。In the example of FIG. 2, the transmission module 10 is implemented by a multiplexer 101, a delay 103, an arithmetic logic 105, an encoder 107, a flip-flop 108, and a buffer 109, but the example of FIG. 2 is only convenient. For the purposes of illustration, the present embodiment does not actually limit the circuit architecture of the transmission module 10. In other embodiments, the transmission module 10 can also be implemented by other circuits or by canceling some components. For example, the delay decoder 103 is cancelled or the encoder 107 is controlled by other controllers to control the arithmetic logic 105 and the buffer 109. This embodiment does not allow limit.

接下來,請一併參照圖1及圖3,圖3是根據本發明一實施例所繪示之接收模組的示意圖,如圖3所示,接收模組12具有緩衝器121、正反器123、解多工器(demultiplexer)125及編碼器127。緩衝器121依據配置訊號來接收傳輸線上的訊號。也就是說,當多個電路板中的其中一個電路板依據配置訊號,從特定接腳的傳輸模組10和傳輸線來傳輸已選擇的輸出訊號時,每一個電路板電性連接於特定傳輸線的接腳就會由接收模組12來接收傳輸線上的輸出訊號,亦即接收模組12的緩衝器121依據配置訊號接收到傳輸線上的訊號。由於接收模組12的緩衝器121是於傳輸線上有輸出訊號時,接收到輸出訊號,接收模組12是被動的接收到輸出訊號,因此,當輸出訊號是由其中一個電路板1的傳輸模組10輸出時,同一個電路板的接收模組也會接收到輸出訊號,但不以此為限。Next, please refer to FIG. 1 and FIG. 3 together. FIG. 3 is a schematic diagram of a receiving module according to an embodiment of the invention. As shown in FIG. 3, the receiving module 12 has a buffer 121 and a flip-flop. 123. A demultiplexer 125 and an encoder 127 are demultiplexed. The buffer 121 receives the signal on the transmission line according to the configuration signal. That is to say, when one of the plurality of circuit boards transmits the selected output signal from the transmission module 10 and the transmission line of the specific pin according to the configuration signal, each of the circuit boards is electrically connected to the specific transmission line. The receiving module 12 receives the output signal on the transmission line, that is, the buffer 121 of the receiving module 12 receives the signal on the transmission line according to the configuration signal. Since the buffer 121 of the receiving module 12 receives the output signal when the output signal is received on the transmission line, the receiving module 12 passively receives the output signal. Therefore, when the output signal is transmitted by one of the boards 1 When the group 10 outputs, the receiving module of the same board will also receive the output signal, but not limited to this.

接著,接收模組12的正反器123於第二時脈致能訊號觸發時,將輸出訊號輸出至解多工器125。解多工器125依據第二轉換訊號,設定輸出訊號的傳輸通道。傳輸通道是接收模組12電性連接至電路板1其他元件的通道。接收模組12藉由設定輸出訊號的傳輸通道,可以將輸出通道傳輸至電路板1中特定的電路元件,將輸出訊號提供給特定的電路元件使用。換言之,第二轉換訊號定義了輸出訊號的類型、用途和傳輸目的地,解多工器125依據第二轉換訊號將輸出訊號傳輸至特定的電路元件,讓特定的電路元件可以依據輸出訊號進行運作。Then, the flip-flop 123 of the receiving module 12 outputs the output signal to the demultiplexer 125 when the second clock enable signal is triggered. The demultiplexer 125 sets the transmission channel of the output signal according to the second conversion signal. The transmission channel is a channel through which the receiving module 12 is electrically connected to other components of the circuit board 1. The receiving module 12 can transmit the output channel to a specific circuit component in the circuit board 1 by setting a transmission channel of the output signal, and provide the output signal to a specific circuit component for use. In other words, the second conversion signal defines the type, purpose, and transmission destination of the output signal, and the demultiplexer 125 transmits the output signal to the specific circuit component according to the second conversion signal, so that the specific circuit component can operate according to the output signal. .

編碼器127用以依據第二控制訊號,產生第二強制訊號F1。解多工器125依據第二強制訊號F1,選擇性地以邏輯高電位和邏輯低電位其中之一設定傳輸通道。具體來說,當編碼器127未輸出第二強制訊號F1至解多工器125時,解多工器125依據第二轉換訊號,設定輸出訊號的傳輸通道,亦即電路板1藉由接收模組12接收了傳輸線上的輸出訊號。當編碼器127輸出第二強制訊號F1至編碼器127時,第二強制訊號F1例如為高電位或低電位。當第二強制訊號F1為低電位時,解多工器125依據第二轉換訊號選擇的輸出通道,設定已選擇的傳輸通道為邏輯低電位。當第二強制訊號F1為高電位時,解多工器125依據第二轉換訊號選擇的輸出通道,設定已選擇的傳輸通道為邏輯高電位。換言之,當解多工器125設定已選擇的傳輸通道為邏輯低電位或邏輯高電位時,亦即電路板1忽略了傳輸線上的輸出訊號。The encoder 127 is configured to generate a second forced signal F1 according to the second control signal. The demultiplexer 125 selectively sets the transmission channel in one of a logic high level and a logic low level according to the second forced signal F1. Specifically, when the encoder 127 does not output the second forced signal F1 to the demultiplexer 125, the demultiplexer 125 sets the transmission channel of the output signal according to the second conversion signal, that is, the circuit board 1 receives the mode. Group 12 receives the output signal on the transmission line. When the encoder 127 outputs the second forced signal F1 to the encoder 127, the second forced signal F1 is, for example, high or low. When the second forced signal F1 is low, the demultiplexer 125 sets the selected transmission channel to be logic low according to the output channel selected by the second conversion signal. When the second forced signal F1 is high, the demultiplexer 125 sets the selected transmission channel to a logic high level according to the output channel selected by the second conversion signal. In other words, when the demultiplexer 125 sets the selected transmission channel to logic low or logic high, that is, the board 1 ignores the output signal on the transmission line.

於本實施例中,正反器123除了於第二時脈致能訊號觸發時,將輸出訊號輸出至解多工器125外,亦可以將輸出訊號輸出前一個接腳或後一個接腳的傳輸模組中,作為第二資料訊號。換言之,此第二資料訊號例如是下一個接腳的算術邏輯器所接收到的第一資料訊號,但不以此為限。此外,於圖3的示例中,接收模組12是以緩衝器121、正反器123、解多工器(demultiplexer)125及編碼器127來實現,但圖3的示例僅為方便說明之用,本實施例實際上並不限制接收模組12的電路架構。於其他實施例中,接收模組12亦可以其他電路或取消部分元件來實現,本實施例不予限制。In the embodiment, the flip-flop 123 outputs the output signal to the demultiplexer 125 in addition to the second clock-enabled signal, and the output signal can also be output to the previous pin or the next pin. In the transmission module, as the second data signal. In other words, the second data signal is, for example, the first data signal received by the arithmetic logic of the next pin, but is not limited thereto. In addition, in the example of FIG. 3, the receiving module 12 is implemented by a buffer 121, a flip-flop 123, a demultiplexer 125, and an encoder 127, but the example of FIG. 3 is for convenience of explanation. This embodiment does not actually limit the circuit architecture of the receiving module 12. In other embodiments, the receiving module 12 can also be implemented by other circuits or by canceling some components. This embodiment is not limited.

接下來,請一併參照圖1及圖4,圖4是根據本發明一實施例所繪示之可程式化訊號傳輸方法的步驟流程圖,如圖4所示,於步驟S201中,多個電路板的其中一個電路板依據第一轉換訊號,選擇多個輸出訊號其中之一,亦即依據第一轉換訊號,選擇電路板內部其他電路元件產生的一個輸出訊號。於步驟S203中,其中一個電路板依據配置訊號,選擇多個接腳其中之一,並從選擇的接腳輸出步驟S201中選擇的輸出訊號,且將輸出訊號傳輸接腳電性連接的傳輸線。於步驟S205中,其中一個傳輸線傳輸輸出訊號至電性連接於傳輸線的每一個電路板。於步驟S207中,電性連接於傳輸線的每一個電路板依據配置訊號,自其中一個接腳選擇性地接收或忽略傳輸線上的輸出訊號。於步驟S209中,已選擇接收輸出訊號的電路板依據第二轉換訊號,設定輸出訊號的傳輸通道。1 and FIG. 4, FIG. 4 is a flow chart showing the steps of the method for transmitting a programmable signal according to an embodiment of the present invention. As shown in FIG. 4, in step S201, multiple One of the boards of the circuit board selects one of the plurality of output signals according to the first conversion signal, that is, selects an output signal generated by other circuit components inside the circuit board according to the first conversion signal. In step S203, one of the boards selects one of the plurality of pins according to the configuration signal, and outputs the output signal selected in step S201 from the selected pin, and outputs the transmission line electrically connected to the pin. In step S205, one of the transmission lines transmits an output signal to each of the boards electrically connected to the transmission line. In step S207, each circuit board electrically connected to the transmission line selectively receives or ignores the output signal on the transmission line from one of the pins according to the configuration signal. In step S209, the circuit board that has selected to receive the output signal sets the transmission channel of the output signal according to the second conversion signal.

於本實施例中,每一個步驟中的電路板不一定是同一個電路板或不同電路板。為了更具體說明,以下實施例以圖示例的第一電路板、第二電路板及第三電路板來說明,但並非用以限制本實施例電路板的數量及傳輸方式。In this embodiment, the circuit boards in each step are not necessarily the same circuit board or different circuit boards. For the purpose of more specific description, the following embodiments are illustrated by the first circuit board, the second circuit board, and the third circuit board illustrated in the drawings, but are not intended to limit the number and transmission manner of the circuit boards of this embodiment.

請一併參照圖1及圖5,圖5是根據本發明另一實施例所繪示之可程式化訊號傳輸方法的步驟流程圖,如圖5所示,於本實施例中,輸出訊號例如由第一電路板產生,且輸出訊號是要傳輸至第二電路板的第三接腳pin3。於步驟S301中,第一電路板依據第一轉換訊號選擇多個輸出訊號其中之一。於步驟S303中,第一電路板依據延遲調整訊號,選擇性地延遲已選擇的輸出訊號,並於步驟S305中,第一電路板依據邏輯選擇訊號選擇性地將已延遲的輸出訊號與第一資料訊號進行邏輯運算。Referring to FIG. 1 and FIG. 5, FIG. 5 is a flow chart showing the steps of a method for transmitting a programmable signal according to another embodiment of the present invention. As shown in FIG. 5, in the embodiment, the output signal is, for example, It is generated by the first circuit board, and the output signal is to be transmitted to the third pin pin3 of the second circuit board. In step S301, the first circuit board selects one of the plurality of output signals according to the first conversion signal. In step S303, the first circuit board selectively delays the selected output signal according to the delay adjustment signal, and in step S305, the first circuit board selectively selects the delayed output signal according to the logic selection signal. The data signal is logically operated.

第一電路板是於延遲調整訊號觸發時,依據邏輯選擇訊號,選擇性地將已延遲的輸出訊號與第一資料訊號進行邏輯運算。於步驟S307中,當邏輯選擇訊號指示第一電路板進行邏輯運算時,第一電路板以例如以邏輯補數(NOT)、邏輯乘法(AND)、邏輯加法(OR)或這些運算邏輯組合成的邏輯,將輸出訊號與第一資料訊號組合。第一電路板依據配置訊號選擇第三接腳pin3,並使第三接腳pin3於第一時脈致能訊號觸發時,輸出已邏輯運算的輸出訊號。於步驟S309中,當第一電路板未將輸出訊號與第一資料訊號進行邏輯運算時,第一電路板依據配置訊號選擇第三接腳pin3,並使第三接腳pin3於第一時脈致能訊號觸發時,直接將輸出訊號輸出。The first circuit board selectively logically operates the delayed output signal and the first data signal according to the logic selection signal when the delay adjustment signal is triggered. In step S307, when the logic selection signal instructs the first circuit board to perform a logic operation, the first circuit board is combined into, for example, a logical complement (NOT), a logical multiplication (AND), a logical addition (OR), or the like. The logic combines the output signal with the first data signal. The first circuit board selects the third pin 3 according to the configuration signal, and causes the third pin 3 to output the logically output signal when the first clock enable signal is triggered. In step S309, when the first circuit board does not logically calculate the output signal and the first data signal, the first circuit board selects the third pin 3 according to the configuration signal, and causes the third pin 3 to be in the first clock. When the enable signal is triggered, the output signal is directly output.

接著,於步驟S311中,電性連接於第一電路板第三接腳pin3的第三傳輸線tr3將輸出訊號傳輸至電性連接於第三傳輸線tr3的每一個電路板,亦即傳輸至第一電路板、第二電路板及第三電路板。於步驟S313中,每一個電路板是否自第三接腳pin3接收第三傳輸線tr3上的輸出訊號。換言之,第一電路板依據配置訊號選擇自第三接腳pin3輸出輸出訊號,並將輸出訊號傳輸至第三傳輸線tr3時,每一個電路板電性連接第三傳輸線tr3的第三接腳pin3可以選擇接收第三傳輸線tr3上的輸出訊號,亦可以選擇忽略第三傳輸線tr3上的輸出訊號。Then, in step S311, the third transmission line tr3 electrically connected to the third pin 3 of the first circuit board transmits the output signal to each circuit board electrically connected to the third transmission line tr3, that is, to the first circuit. The circuit board, the second circuit board, and the third circuit board. In step S313, each of the boards receives the output signal on the third transmission line tr3 from the third pin 3 . In other words, when the first circuit board selects the output signal from the third pin 3 and outputs the output signal to the third transmission line tr3 according to the configuration signal, each of the circuit boards is electrically connected to the third pin 3 of the third transmission line tr3. The output signal on the third transmission line tr3 is selected to be received, and the output signal on the third transmission line tr3 may also be selected to be ignored.

於本實施例中,由於第二電路板是要接收輸出訊號,因此,於步驟S315中,第二電路板依據第二轉換訊號,設定輸出訊號的傳輸通道。也就是說,第二電路板接收了輸出訊號,並且依據第二轉換訊號的指示,從特定的傳輸通道將輸出訊號至第二電路板內的其他電路元件。但於其他實施例中,當輸出訊號並非是要傳輸至第二電路板的第三接腳pin3時,第二電路板會選擇忽略第三傳輸線tr3上的輸出訊號,為了方便說明,以下步驟以未預設接收輸出訊號的第三電路板來取代第二電路板說明,也就是說,第三電路板會選擇忽略第三傳輸線tr3上的輸出訊號,且第三電路板連接於第三傳輸線tr3的接收模組會依據第二強制訊號的電位,來決定設定傳輸通道為邏輯高電位或邏輯低電位。具體來說,於步驟S317中,第三電路板判斷第二強制訊號是否為高電位。於步驟S319中,當第二強制訊號是高電位時,第三電路板依據第二轉換訊號,選擇一個傳輸通道,並將傳輸通道設定為邏輯高電位。於步驟S321中,當第二強制訊號是低電位時,第三電路板依據第二轉換訊號,選擇一個傳輸通道,並將傳輸通道設定為邏輯低電位。In this embodiment, since the second circuit board is to receive the output signal, in step S315, the second circuit board sets the transmission channel of the output signal according to the second conversion signal. That is to say, the second circuit board receives the output signal, and according to the indication of the second conversion signal, outputs the signal from the specific transmission channel to other circuit components in the second circuit board. However, in other embodiments, when the output signal is not to be transmitted to the third pin 3 of the second circuit board, the second circuit board may choose to ignore the output signal on the third transmission line tr3. For convenience of explanation, the following steps are The third circuit board that receives the output signal is not preset to replace the second circuit board description, that is, the third circuit board selects to ignore the output signal on the third transmission line tr3, and the third circuit board is connected to the third transmission line tr3. The receiving module determines whether the set transmission channel is logic high or logic low according to the potential of the second forced signal. Specifically, in step S317, the third circuit board determines whether the second forced signal is high. In step S319, when the second forced signal is high, the third circuit board selects a transmission channel according to the second conversion signal, and sets the transmission channel to a logic high level. In step S321, when the second forced signal is low, the third circuit board selects a transmission channel according to the second conversion signal, and sets the transmission channel to a logic low level.

於本實施例中,由於輸出訊號是由第一電路板產生,且輸出訊號是要傳輸至第二電路板的第三接腳pin3。此時,第一電路板或其他電路板中第三接腳pin3以外的其他接腳,可以同時輸出邏輯電位至電性連接的傳輸線。舉例來說,請一併參照圖1及圖6,圖6是根據本發明再一實施例所繪示之可程式化訊號傳輸方法的步驟流程圖,如圖6所示,於步驟S401中,第一電路板的第一接腳pin1依據第一強制訊號選擇邏輯高電位及邏輯低電位其中之一。以選擇邏輯高電位為例來說,於步驟S403中,第一電路板於第一接腳pin1的第一時脈致能訊號觸發時,第一接腳pin1依據致能訊號,選擇性地輸出邏輯高電位至第一接腳pin1電性連接的第一傳輸線tr1。In this embodiment, since the output signal is generated by the first circuit board, and the output signal is to be transmitted to the third pin 3 of the second circuit board. At this time, other pins other than the third pin 3 of the first circuit board or other circuit boards can simultaneously output a logic potential to the electrically connected transmission line. For example, please refer to FIG. 1 and FIG. 6. FIG. 6 is a flowchart of steps of a method for transmitting a programmable signal according to another embodiment of the present invention. As shown in FIG. 6, in step S401, The first pin pin1 of the first circuit board selects one of a logic high level and a logic low level according to the first forced signal. Taking the logic high potential as an example, in step S403, when the first circuit board is triggered by the first clock enable signal of the first pin 1 , the first pin 1 is selectively output according to the enable signal. The logic is high to the first transmission line tr1 to which the first pin 1 is electrically connected.

於步驟S405中,第一傳輸線tr1傳輸邏輯高電位至電性連接於第一傳輸線tr1的每一個電路板,亦即邏輯高電位傳輸至第一電路板的第一接腳pin1、第二電路板的第一接腳pin1及第三電路板的第一接腳pin1。於步驟S407中,每一個電路板是否自第一接腳pin1接收第一傳輸線tr1上的輸出訊號,也就是說,第一電路板依據配置訊號選擇第一接腳pin1,並將輸出訊號自第一接腳pin1輸出至第一傳輸線tr1後,每一個電路板的第一接腳pin1可以選擇忽略或接收第一傳輸線tr1上的邏輯高電位。例如當第三電路板是接收第一傳輸線tr1上的邏輯高電位時,於步驟S409中,第三電路板依據第二轉換訊號,設定特定的傳輸通道為邏輯高電位。當第三電路板忽略第一傳輸線tr1上的邏輯高電位時,於步驟S411中,判斷第三電路板的第二強制訊號是否為高電位,當第二強制訊號為高電位時,於步驟S413中,第三電路板依據第二轉換訊號,選擇一個傳輸通道,並將傳輸通道設定為邏輯高電位。當第二強制訊號為低電位時,於步驟S415中,第三電路板依據第二轉換訊號,選擇一個傳輸通道,並將傳輸通道設定為邏輯低電位。In step S405, the first transmission line tr1 transmits a logic high potential to each of the circuit boards electrically connected to the first transmission line tr1, that is, a logic high potential is transmitted to the first pin pin1 and the second circuit board of the first circuit board. The first pin pin1 and the first pin pin1 of the third circuit board. In step S407, whether each circuit board receives the output signal on the first transmission line tr1 from the first pin pin1, that is, the first circuit board selects the first pin pin1 according to the configuration signal, and outputs the signal from the first After the pin 1 is output to the first transmission line tr1, the first pin 1 of each board can choose to ignore or receive the logic high potential on the first transmission line tr1. For example, when the third circuit board receives the logic high potential on the first transmission line tr1, in step S409, the third circuit board sets the specific transmission channel to a logic high level according to the second conversion signal. When the third circuit board ignores the logic high potential on the first transmission line tr1, in step S411, it is determined whether the second forced signal of the third circuit board is high, and when the second forced signal is high, in step S413 The third circuit board selects a transmission channel according to the second conversion signal, and sets the transmission channel to a logic high level. When the second forced signal is low, in step S415, the third circuit board selects a transmission channel according to the second conversion signal, and sets the transmission channel to a logic low level.

於本實施例中,雖然於步驟S411中,第三電路板忽略了第一傳輸線tr1上的邏輯高電位,但第三電路板的第二強制訊號仍可以讓第三電路板依據第二轉換訊號,將傳輸通道設定為邏輯高電位,與第三電路板接收第一傳輸線tr1上的邏輯高電位可能有同樣的結果。但實務上,第三電路板是否接收傳輸線上的訊號是由配置訊號來設定,也就是說,第三電路板是依據配置訊號選擇哪些接腳接收傳輸線上的訊號。換言之,配置訊號是用以群組化第一電路板和第三電路板,使第一電路板和第三電路板進行訊號傳輸。於本實施例中,係以第一電路板的第一接腳pin1和第三電路板的第一接腳pin1透過第一傳輸線tr1連接為例來說,在其他實施例中,若第一電路板和第三電路板的接腳匹配時,亦即例如第一電路板的第一接腳pin1是和第三電路板的第三接腳pin3連接,藉由程式化的配置訊號可以便於設定第三電路板的第三接腳pin3接收第一電路板的第一接腳pin1輸出的訊號。In this embodiment, although the third circuit board ignores the logic high potential on the first transmission line tr1 in step S411, the second forced signal of the third circuit board can still make the third circuit board according to the second conversion signal. Setting the transmission channel to a logic high potential may have the same result as the third board receiving the logic high potential on the first transmission line tr1. However, in practice, whether the signal received by the third circuit board on the transmission line is set by the configuration signal, that is, the third circuit board selects which pins receive the signal on the transmission line according to the configuration signal. In other words, the configuration signal is used to group the first circuit board and the third circuit board to perform signal transmission on the first circuit board and the third circuit board. In this embodiment, the first pin pin1 of the first circuit board and the first pin pin1 of the third circuit board are connected through the first transmission line tr1 as an example. In other embodiments, if the first circuit When the pins of the board and the third circuit board are matched, that is, for example, the first pin pin1 of the first circuit board is connected to the third pin pin3 of the third circuit board, and the stylized configuration signal can be conveniently set. The third pin pin3 of the three circuit board receives the signal output by the first pin pin1 of the first circuit board.

於另一個實施例中,輸出訊號例如由第二電路板產生的邏輯高電位,且要傳輸至第三電路板的第二接腳pin2。請一併參照圖1及圖7,圖7是根據本發明又一實施例所繪示之可程式化訊號傳輸方法的步驟流程圖,如圖7所示,於步驟S501中,第二電路板依據第一轉換訊號選擇多個輸出訊號其中之一。於步驟S503中,第二電路板延遲已選擇的輸出訊號,並於步驟S505中,第二電路板將已延遲的輸出訊號與資料訊號進行邏輯運算。於步驟S507中,第二電路板依據第一強制訊號從邏輯高電位及邏輯低電位中選擇邏輯高電位,並於第一時脈致能訊號觸發時,依據配置訊號從第二接腳pin2輸出邏輯高電位至第二傳輸線tr2。In another embodiment, the output signal is, for example, a logic high potential generated by the second circuit board and is transmitted to the second pin 2 of the third circuit board. Please refer to FIG. 1 and FIG. 7. FIG. 7 is a flow chart showing the steps of the method for transmitting a programmable signal according to another embodiment of the present invention. As shown in FIG. 7, in step S501, the second circuit board is shown in FIG. One of the plurality of output signals is selected according to the first conversion signal. In step S503, the second circuit board delays the selected output signal, and in step S505, the second circuit board logically operates the delayed output signal and the data signal. In step S507, the second circuit board selects a logic high level from the logic high level and the logic low level according to the first forced signal, and outputs the signal according to the configuration signal from the second pin 2 when the first clock enable signal is triggered. The logic is high to the second transmission line tr2.

於步驟S509中,第二傳輸線tr2傳輸邏輯高電位至電性連接於第二傳輸線tr2的每一個電路板。於步驟S511中,每一個電路板是否自第二接腳pin2接收第二傳輸線tr2上的輸出訊號,亦即第一電路板依據配置訊號選擇第二接腳pin1,並將輸出訊號自第二接腳pin1輸出至第二傳輸線tr2後,每一個電路板電性連接於第二傳輸線tr2的第二接腳pin2可以選擇接收或忽略第二傳輸線tr2上的輸出訊號。當第三電路板接收第二傳輸線tr2上的輸出訊號時,於步驟S513中,第三電路板依據第二轉換訊號,設定輸出訊號的傳輸通道,亦即設定選擇的傳輸通道為邏輯高電位。In step S509, the second transmission line tr2 transmits a logic high potential to each of the circuit boards electrically connected to the second transmission line tr2. In step S511, whether each of the boards receives the output signal on the second transmission line tr2 from the second pin 2, that is, the first board selects the second pin 1 according to the configuration signal, and the output signal is connected from the second After the pin 1 is output to the second transmission line tr2, the second pin 2, which is electrically connected to the second transmission line tr2, can selectively receive or ignore the output signal on the second transmission line tr2. When the third circuit board receives the output signal on the second transmission line tr2, in step S513, the third circuit board sets the transmission channel of the output signal according to the second conversion signal, that is, sets the selected transmission channel to a logic high level.

於本實施例中,由於設定第三電路板接收輸出訊號,因此,於步驟S513中,第三電路板接收了輸出訊號,並且依據第二轉換訊號的指示,從特定的傳輸通道將輸出訊號至第三電路板內的其他電路元件。但於其他實施例中,當輸出訊號並非是要傳輸至第三電路板的第二接腳pin2時,第三電路板會選擇忽略第二傳輸線tr2上的輸出訊號。為了方便說明,以下步驟以未預設接收輸出訊號的第一電路板來取代第三電路板說明,也就是說,此時,第一電路板忽略第二傳輸線tr2上的輸出訊號,因此,於步驟S515中,判斷第一電路板的第二強制訊號是否為高電位。當第一電路板的第二強制訊號為高電位時,於步驟S517中,第一電路板依據第二轉換訊號,選擇一個傳輸通道,並將傳輸通道設定為邏輯高電位。當第一電路板的第二強制訊號為低電位時,於步驟S519中,第一電路板依據第二轉換訊號,選擇一個傳輸通道,並將傳輸通道設定為邏輯低電位。In this embodiment, since the third circuit board is configured to receive the output signal, in step S513, the third circuit board receives the output signal, and according to the indication of the second conversion signal, outputs the output signal to the specific transmission channel to Other circuit components within the third board. However, in other embodiments, when the output signal is not to be transmitted to the second pin 2 of the third circuit board, the third circuit board may choose to ignore the output signal on the second transmission line tr2. For convenience of explanation, the following steps replace the third circuit board description with the first circuit board that does not preset to receive the output signal, that is, at this time, the first circuit board ignores the output signal on the second transmission line tr2, and therefore, In step S515, it is determined whether the second forced signal of the first circuit board is high. When the second forced signal of the first circuit board is high, in step S517, the first circuit board selects a transmission channel according to the second conversion signal, and sets the transmission channel to a logic high level. When the second forced signal of the first circuit board is low, in step S519, the first circuit board selects a transmission channel according to the second conversion signal, and sets the transmission channel to a logic low level.

在實務上,電路板1每一個接腳的傳輸模組10都相同,每一個接腳的接收模組12都相同,但並不限制傳輸模組10和接收模組12的形式,圖2及圖3的實施例僅為其中一種可以實現本發明可程式化訊號傳輸方法的電路架構,其他可以完成本發明可程式化訊號傳輸方法的傳輸模組10和接收模組12都應涵蓋於本發明可程式化訊號傳輸方法的範疇。In practice, the transmission module 10 of each pin of the circuit board 1 is the same, and the receiving module 12 of each pin is the same, but does not limit the form of the transmission module 10 and the receiving module 12, FIG. 2 and The embodiment of FIG. 3 is only one of the circuit architectures for implementing the programmable signal transmission method of the present invention. Other transmission modules 10 and receiver modules 12 that can perform the programmable signal transmission method of the present invention are all covered by the present invention. The scope of the programmable signal transmission method.

綜合以上所述,本發明實施例提供一種可程式化訊號傳輸方法,電路板透過程式化的第一轉換訊號選擇要輸出至其他電路板的訊號,並由程式化的配置訊號可以配置電路板之間用來傳輸訊號的接腳和傳輸線,以及程式化的第二轉換訊號選擇訊號要傳達的目的地,藉以達到有效率地讓電路板之間相互傳遞訊號的目的。據此,各電路板之間傳輸訊號的數量或類型不再限制於傳輸線的數量,亦即各電路板之間因為新增功能或程序所新定義的訊號,可以透過這樣的傳輸方式來互相溝通,不需要再增加電路板的接腳數量及傳輸線數量,使得電路板之間可以溝通的內容更為多元有彈性。In summary, the embodiments of the present invention provide a programmable signal transmission method, in which a circuit board selects a signal to be output to another circuit board through a programmed first conversion signal, and a programmable configuration signal can configure the circuit board. The pin and transmission line used to transmit the signal, and the destination of the stylized second conversion signal selection signal, so as to efficiently transfer signals between the boards. Accordingly, the number or type of signals transmitted between the boards is no longer limited to the number of transmission lines. That is, signals newly added between the boards due to new functions or programs can communicate with each other through such transmission methods. There is no need to increase the number of pins on the board and the number of transmission lines, so that the content that can be communicated between the boards is more diverse and flexible.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

1‧‧‧電路板1‧‧‧ boards

10‧‧‧傳輸模組10‧‧‧Transmission module

101‧‧‧多工器101‧‧‧Multiplexer

103‧‧‧延遲器103‧‧‧ retarder

105‧‧‧算術邏輯器105‧‧‧Arithmetic Logic

107‧‧‧編碼器107‧‧‧Encoder

108、123‧‧‧正反器108, 123‧‧‧ forward and reverse

109、121‧‧‧緩衝器109, 121‧‧‧ buffer

12‧‧‧接收模組12‧‧‧ receiving module

125‧‧‧解多工器125‧‧‧Solution multiplexer

127‧‧‧編碼器127‧‧‧Encoder

tr1、tr2、tr3‧‧‧傳輸線Tr1, tr2, tr3‧‧‧ transmission line

pin1、pin2、pin3‧‧‧接腳Pin1, pin2, pin3‧‧‧ pin

F0‧‧‧第一強制訊號F0‧‧‧First mandatory signal

F1‧‧‧第二強制訊號F1‧‧‧second mandatory signal

圖1是根據本發明一實施例所繪示之多個電路板電性連接至傳輸線的示意圖。 圖2是根據本發明一實施例所繪示之傳輸模組的示意圖。 圖3是根據本發明一實施例所繪示之接收模組的示意圖。 圖4是根據本發明一實施例所繪示之可程式化訊號傳輸方法的步驟流程圖。 圖5是根據本發明另一實施例所繪示之可程式化訊號傳輸方法的步驟流程圖。 圖6是根據本發明再一實施例所繪示之可程式化訊號傳輸方法的步驟流程圖。 圖7是根據本發明又一實施例所繪示之可程式化訊號傳輸方法的步驟流程圖。FIG. 1 is a schematic diagram of a plurality of circuit boards electrically connected to a transmission line according to an embodiment of the invention. 2 is a schematic diagram of a transmission module according to an embodiment of the invention. FIG. 3 is a schematic diagram of a receiving module according to an embodiment of the invention. FIG. 4 is a flow chart showing the steps of a method for transmitting a programmable signal according to an embodiment of the invention. FIG. 5 is a flow chart showing the steps of a method for transmitting a programmable signal according to another embodiment of the present invention. FIG. 6 is a flow chart showing the steps of a method for transmitting a programmable signal according to still another embodiment of the present invention. FIG. 7 is a flow chart showing the steps of a method for transmitting a programmable signal according to still another embodiment of the present invention.

Claims (9)

一種可程式化訊號傳輸方法,適用於多個電路板及多個傳輸線,且每一該電路板具有多個接腳,該可程式化訊號傳輸方法包括:該些電路板其中之一依據一第一轉換訊號選擇多個輸出訊號其中之一;該些電路板其中之一依據一配置訊號,自該些接腳其中之一輸出已選擇的該輸出訊號至該接腳電性連接的該傳輸線;該些傳輸線其中之一傳輸該輸出訊號至電性連接於該傳輸線的每一該電路板;每一該電路板依據該配置訊號自該些接腳其中之一,選擇性地接收或忽略該些傳輸線其中之一上的該輸出訊號;以及已選擇接收該輸出訊號的該電路板依據一第二轉換訊號,設定該輸出訊號的傳輸通道;其中於每一該電路板依據該配置訊號自該些接腳其中之一,選擇性地接收或忽略該輸出訊號的步驟中,包括於一第二時脈致能訊號觸發時,依據一第二強制訊號,選擇性地接收或忽略的該輸出訊號。 A programmable signal transmission method is applicable to a plurality of circuit boards and a plurality of transmission lines, and each of the circuit boards has a plurality of pins. The programmable signal transmission method includes: one of the circuit boards is based on a first The switching signal selects one of the plurality of output signals; one of the circuit boards outputs the selected output signal to the transmission line electrically connected to the pin from one of the pins according to a configuration signal; One of the transmission lines transmits the output signal to each of the circuit boards electrically connected to the transmission line; each of the circuit boards selectively receives or ignores the one of the pins according to the configuration signal. The output signal on one of the transmission lines; and the circuit board that has selected to receive the output signal, according to a second conversion signal, setting a transmission channel of the output signal; wherein each of the circuit boards is configured according to the configuration signal The step of selectively receiving or ignoring the output signal includes: when a second clock enable signal is triggered, selecting according to a second forced signal The output signal of the received or ignored. 如請求項1所述之可程式化訊號傳輸方法,其中於該些電路板其中之一依據該配置訊號,自該些接腳其中之一輸出已選擇的該輸出訊號至該傳輸線的步驟中,包括:該電路板的每一該接腳於一第一時脈致能訊號觸發時,依據一致能訊號,選擇性地輸出該輸出訊號。 The method of claim 1, wherein one of the plurality of boards outputs the selected output signal to the transmission line from one of the pins according to the configuration signal. The method includes: when each of the pins of the circuit board is triggered by a first clock enable signal, selectively outputting the output signal according to the consistent energy signal. 如請求項2所述之可程式化訊號傳輸方法,更包括:該些電路板其中之一依據一邏輯選擇訊號,選擇性地將已選擇的該輸出訊號與一資料訊號進行邏輯運算,當已選擇的該輸出訊號與該資料訊號進行邏輯運算時,於該些電路板其中之一依據該配置訊號,自該些接腳其中之一輸出已選擇的該輸出訊號至該傳輸線的步驟中,該電路板係輸出已邏輯運算後的該輸出訊號。 The method for transmitting a programmable signal according to claim 2, further comprising: one of the circuit boards selectively logically calculating the selected output signal and a data signal according to a logic selection signal; When the selected output signal is logically operated with the data signal, one of the circuit boards outputs a selected output signal to the transmission line from one of the pins according to the configuration signal, The circuit board outputs the output signal after the logic operation. 如請求項3所述之可程式化訊號傳輸方法,更包括:依據一延遲調整訊號,延遲已選擇的該輸出訊號,於依據該邏輯選擇訊號,選擇性地將已選擇的該輸出訊號與該資料訊號進行邏輯運算的步驟中,包括依據該邏輯選擇訊號,選擇性地將已延遲的該輸出訊號與該資料訊號進行邏輯運算。 The method for transmitting a programmable signal according to claim 3, further comprising: delaying the selected output signal according to a delay adjustment signal, and selectively selecting the output signal according to the logic selection signal; The step of performing a logic operation on the data signal includes selectively performing a logical operation on the delayed output signal and the data signal according to the logic selection signal. 如請求項1所述之可程式化訊號傳輸方法,更包括:該些電路板其中之一依據該配置訊號,自該些接腳其中之一輸出一邏輯電位至該接腳電性連接的該傳輸線。 The method for transmitting a programmable signal according to claim 1, further comprising: one of the circuit boards outputting a logic potential from one of the pins to the electrical connection of the pin according to the configuration signal Transmission line. 如請求項5所述之可程式化訊號傳輸方法,其中該電路板的每一該接腳於一第一時脈致能訊號觸發時,依據一致能訊號,選擇性地輸出或不輸出該邏輯電位。 The method for transmitting a programmable signal according to claim 5, wherein each of the pins of the circuit board selectively outputs or not outputs the logic according to the consistent energy signal when triggered by a first clock enable signal. Potential. 如請求項6所述之可程式化訊號傳輸方法,更包括依據一第一強制訊號決定該邏輯電位為一邏輯高電位或一邏輯低電位。 The method for transmitting a programmable signal according to claim 6, further comprising determining whether the logic potential is a logic high level or a logic low level according to a first forced signal. 如請求項7所述之可程式化訊號傳輸方法,更包括編碼一控制訊號,產生該第一強制訊號及該致能訊號。 The method for transmitting a programmable signal according to claim 7 further includes encoding a control signal to generate the first mandatory signal and the enabling signal. 如請求項1所述之可程式化訊號傳輸方法,其中已選擇忽略該輸出訊號的該電路板更依據該第二轉換訊號,選擇多個傳輸通道其中之一,並依據該第二強制訊號設定已選擇的該傳輸通道為一邏輯高電位或一邏輯低電位。 The method for transmitting a programmable signal according to claim 1, wherein the circuit board that has selected to ignore the output signal selects one of the plurality of transmission channels according to the second conversion signal, and sets the second forced signal according to the second forced signal. The selected transmission channel is a logic high or a logic low.
TW106106001A 2017-02-22 2017-02-22 Programmable method of transmitting signal TWI623197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106106001A TWI623197B (en) 2017-02-22 2017-02-22 Programmable method of transmitting signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106106001A TWI623197B (en) 2017-02-22 2017-02-22 Programmable method of transmitting signal

Publications (2)

Publication Number Publication Date
TWI623197B true TWI623197B (en) 2018-05-01
TW201832471A TW201832471A (en) 2018-09-01

Family

ID=62951464

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106106001A TWI623197B (en) 2017-02-22 2017-02-22 Programmable method of transmitting signal

Country Status (1)

Country Link
TW (1) TWI623197B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM334464U (en) * 2007-11-01 2008-06-11 Jay Digidata Internat Co Ltd Logic controlled IC and the utilized power supply circuit thereof
TW201211775A (en) * 2010-09-03 2012-03-16 Jmicron Technology Corp Electronic device, a controller for accessing a plurality of chips via at least one bus and method for accessing a plurality of chips via at least one bus
TWI415238B (en) * 2009-12-02 2013-11-11 Mstar Semiconductor Inc Universal io unit, related apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM334464U (en) * 2007-11-01 2008-06-11 Jay Digidata Internat Co Ltd Logic controlled IC and the utilized power supply circuit thereof
TWI415238B (en) * 2009-12-02 2013-11-11 Mstar Semiconductor Inc Universal io unit, related apparatus and method
TW201211775A (en) * 2010-09-03 2012-03-16 Jmicron Technology Corp Electronic device, a controller for accessing a plurality of chips via at least one bus and method for accessing a plurality of chips via at least one bus

Also Published As

Publication number Publication date
TW201832471A (en) 2018-09-01

Similar Documents

Publication Publication Date Title
US10642769B2 (en) Serial peripheral interface daisy chain mode system and apparatus
JP2011050071A5 (en)
EP2722989B1 (en) Methods and apparatus for building bus interconnection networks using programmable interconnection resources
JP2013168164A5 (en)
CN102231114A (en) System and method for upgrading chip as well as method and device for transmitting upgrade file
TWI623197B (en) Programmable method of transmitting signal
TW201731272A (en) SPI interface with automatic slave select generation
CN108459983B (en) Programmable signal transmission method
US7382823B1 (en) Channel bonding control logic architecture
US8082377B2 (en) Data transmission and reception system, master device, and slave device
US20180239856A1 (en) Field-programmable gate array based emulation system and method therefor
US8514643B2 (en) Test mode initialization device and method
JP2017531942A (en) Clock-free dual data rate link with built-in flow control
WO2018006777A1 (en) Communication connection apparatus and method, and communication board
CN110034768A (en) The delay buffer circuit of adaptable time shift
US9438525B2 (en) Scheduling module and method thereof
US10566998B2 (en) Data conversion apparatus
CN107748626B (en) PS/2 keyboard and mouse switching and monitoring equipment based on system on programmable chip
EP3193254A1 (en) Asynchronous instruction execution apparatus and method
RU171656U1 (en) SERIAL ASYMMETRIC BUS LINE MONITORING DEVICE
CN111385510A (en) Switchable I2S interface
JP2007529114A (en) Configurable input / output terminals
TWI505101B (en) Data transmitting apparatus and method
JP6343945B2 (en) Electronic device with programmable logic circuit device
CN108932210B (en) Data transmission device and data receiving device of serial peripheral interface