TWI744109B - Digital device using three states - Google Patents
Digital device using three states Download PDFInfo
- Publication number
- TWI744109B TWI744109B TW109141195A TW109141195A TWI744109B TW I744109 B TWI744109 B TW I744109B TW 109141195 A TW109141195 A TW 109141195A TW 109141195 A TW109141195 A TW 109141195A TW I744109 B TWI744109 B TW I744109B
- Authority
- TW
- Taiwan
- Prior art keywords
- port
- state
- storage unit
- pull
- switch
- Prior art date
Links
Images
Landscapes
- Semiconductor Integrated Circuits (AREA)
Abstract
Description
本發明係有關於一種三態數位結構,尤指涉及一種使用上拉(Pull Up)與下拉(Pull Down)之電路特性去識別連接埠(port)之連接狀態,特別係指能令一個連接埠可以通過接地(GND)、電壓(VDD)及空接(FLOAT)三種狀態判斷多個定義。 The present invention relates to a three-state digital structure, in particular to a circuit characteristic that uses pull up and pull down to identify the connection status of a port, and in particular it refers to the ability to make a port Multiple definitions can be judged by the three states of ground (GND), voltage (VDD) and idle connection (FLOAT).
影像感測器普遍使用於電子裝置,而隨著電子裝置之小型化,影像感測器之晶片面積也需跟著減小。在減小晶片面積之過程中,接腳(pin)數目是重要的決定因素之一。因為一般晶片裡面的接腳很佔空間,比一般電路還大,多一個接墊(Pad)就多一個方塊位置,而傳統技術的數位做法是二個狀態,一個接腳僅有0跟1這二個狀態,造成接墊大量設置,因此被視為使整體電路之面積增大及因此亦使電路製造成本增加之負擔。 Image sensors are commonly used in electronic devices, and with the miniaturization of electronic devices, the chip area of the image sensor also needs to be reduced. In the process of reducing the chip area, the number of pins is one of the important determinants. Because the pins in the general chip take up a lot of space and are larger than the general circuit, one more pad (pad) will have one more square position. However, the digital method of traditional technology is two states, one pin has only 0 and 1 The two states cause a large number of pads to be arranged, and therefore are regarded as a burden that increases the area of the overall circuit and therefore also increases the circuit manufacturing cost.
鑑於電路板空間緊湊,需要盡可能地節省空間以用於其它有價值之功能,惟上述傳統設計方法不但耗費晶片的空間、成本,很顯然地,亦浪費掉許多電路板上的寶貴空間。故,一般習用者係無法符合使用者於實際使用時之所需。 In view of the compact space of the circuit board, it is necessary to save as much space as possible for other valuable functions. However, the above-mentioned traditional design method not only consumes the space and cost of the chip, but also obviously wastes a lot of valuable space on the circuit board. Therefore, general users cannot meet the needs of users in actual use.
本發明之主要目的係在於,克服習知技藝所遭遇之上述問題並提供一種使用上拉與下拉之電路特性去識別連接埠之連接狀態,能令一個連接埠 可以通過GND、VDD及FLOAT三種狀態判斷多個定義,進而能省掉一個接墊,達到節省晶片的空間與成本之三態數位結構。 The main purpose of the present invention is to overcome the above-mentioned problems encountered by the prior art and provide a way to use the circuit characteristics of pull-up and pull-down to identify the connection status of the port, which can make a port Multiple definitions can be judged by the three states of GND, VDD and FLOAT, which can save a pad and achieve a three-state digital structure that saves chip space and cost.
為達以上之目的,本發明係一種三態數位結構,係包括:一接墊 電路,包括一第一切換器(switch)、一電源限流器(Current Limiter),耦接於VDD與該第一切換器之間、一第二切換器、及一接地限流器,耦接於GND與該第二切換器之間,且該第一、二切換器共同連接至一連接埠,在此一個連接埠下可以決定三個組態,分別為VDD、GND及FLOAT三種狀態,而該電源限流器可為該連接埠的上拉的電源限流器,該接地限流器可為該連接埠的下拉的接地限流器,該接墊電路具備該連接埠至VDD之上拉路徑及該連接埠至GND之下拉路徑;一第一儲存單元(Storage Unit),係與該接墊電路連接,用以自該接墊電路讀取及儲存該連接埠至VDD之上拉路徑時該連接埠之組態;以及一第二儲存單元,係與該接墊電路連接,用以自該接墊電路讀取及儲存該連接埠至GND之下拉路徑時該連接埠之組態;當該接墊電路透過該第一、二切換器切換上拉路徑與下拉路徑之後,該第一儲存單元與該第二儲存單元的儲存值,會因為連接埠連接的三種可能狀態,產生三種儲存值組合而可供辨識一個連接埠中的多個定義。 To achieve the above purpose, the present invention is a three-state digital structure, which includes: a pad The circuit includes a first switch, a current limiter (Current Limiter), coupled between VDD and the first switch, a second switch, and a ground current limiter, coupled Between GND and the second switch, and the first and second switches are commonly connected to a port. Under this port, three configurations can be determined, which are VDD, GND, and FLOAT. The power current limiter may be a pull-up power current limiter for the port, the ground current limiter may be a pull-down ground current limiter for the port, and the pad circuit is provided with a pull-up of the port to VDD Path and the pull-down path from the port to GND; a first storage unit (Storage Unit) is connected to the pad circuit for reading and storing the pull-down path from the port to VDD from the pad circuit The configuration of the port; and a second storage unit connected to the pad circuit for reading and storing the configuration of the port when the port is pulled down from the pad circuit to GND; After the pad circuit switches the pull-up path and the pull-down path through the first and second switches, the storage values of the first storage unit and the second storage unit will generate three storage values due to the three possible states of port connection The combination can be used to identify multiple definitions in a port.
於本發明上述實施例中,該第一、二切換器在未被驅動時保持在 預設狀態下的斷路狀態,而該第一、二儲存單元在未被驅動時保持在預設狀態下的未致能(disabled)狀態。 In the above embodiment of the present invention, the first and second switches are kept at The open circuit state in the preset state, and the first and second storage units remain in the disabled state in the preset state when they are not driven.
於本發明上述實施例中,該接墊電路於該連接埠至VDD之上拉路 徑時,該第一切換器為短路狀態,該第一儲存單元為致能(enabled)狀態,且該第二切換器為斷路狀態,該第二儲存單元為未致能狀態,此時該第一儲存單元將讀取及儲存該連接埠組態。 In the above-mentioned embodiment of the present invention, the pad circuit pulls the circuit above the connection port to VDD When it is in a short-circuit state, the first switch is in a short-circuit state, the first storage unit is in an enabled state, and the second switch is in a disconnected state, and the second storage unit is in a non-enabled state. A storage unit will read and store the port configuration.
於本發明上述實施例中,該接墊電路於該連接埠至GND之下拉路 徑時,該第一切換器為斷路狀態,該第一儲存單元為未致能狀態,且該第二切換器為短路狀態,該第二儲存單元為致能狀態,此時該第二儲存單元將讀取及儲存該連接埠組態。 In the above embodiment of the present invention, the pad circuit is connected to the pull-down path from the port to GND When running, the first switch is in an open state, the first storage unit is in an inactive state, and the second switch is in a short-circuit state, and the second storage unit is in an enabled state. At this time, the second storage unit The port configuration will be read and stored.
於本發明上述實施例中,該電源限流器與該接地限流器可為電 阻、二極體(Diode)、或電流源。 In the above embodiment of the present invention, the power current limiter and the ground current limiter may be electrical Resistance, diode (Diode), or current source.
於本發明上述實施例中,該第一儲存單元與該第二儲存單元可為 鎖存器(Latch)、暫存器、電容、或記憶體。 In the above embodiment of the present invention, the first storage unit and the second storage unit may be Latch, register, capacitor, or memory.
請參閱『第1圖~第3圖』所示,係分別為本發明之三態數位結
構電路示意圖、本發明三態數位結構應用在上拉狀態之電路示意圖、及本發明三態數位結構應用在下拉狀態之電路示意圖。如圖所示:本發明係一種三態數位結構,係包括一接墊電路1、一第一儲存單元(Storage Unit)2、以及一第二儲存單元3所構成。
Please refer to "Figure 1 to Figure 3", which are the three-state digital structure of the present invention.
Schematic diagram of the configuration circuit, schematic diagram of the circuit in which the ternary digital structure of the present invention is applied in the pull-up state, and schematic diagram of the circuit in which the ternary digital structure of the present invention is applied in the pull-down state. As shown in the figure: the present invention is a three-state digital structure, which includes a
上述所提之接墊電路1包括一第一切換器(switch)11、一電源
限流器(Current Limiter)12,耦接於VDD與該第一切換器11之間、一第二切換器13、及一接地限流器14,耦接於GND與該第二切換器13之間,且該第一、二切換器11、13共同連接至一連接埠(port)4,在此一個連接埠
4下可以決定三個組態,分別為VDD、GND及空接(FLOAT)三種狀態,而該電源限流器12為該連接埠4的上拉(Pull Up)的電源限流器,該接地限流器14為該連接埠4的下拉(Pull Down)的接地限流器,該接墊電路1具備該連接埠4至VDD之上拉路徑及該連接埠4至GND之下拉路徑。
The
該第一儲存單元2係與該接墊電路1連接,用以自該接墊電路1
讀取及儲存該連接埠4至VDD之上拉路徑時該連接埠4之組態。
The
該第二儲存單元3係與該接墊電路1連接,用以自該接墊電路1
讀取及儲存該連接埠4至GND之下拉路徑時該連接埠4之組態。當該接墊電路1透過該第一、二切換器11、13切換上拉路徑與下拉路徑之後,該第一儲存單元2與該第二儲存單元3的儲存值,會因為連接埠4連接的三種可能狀態,產生三種儲存值組合而可供辨識一個連接埠4中的多個定義。如是,藉由上述揭露之結構構成一全新之三態數位結構。
The
一開始時,第一、二切換器(SW1、SW2)11、13在未被驅 動時都保持在預設狀態下的斷路狀態,避免耗電流,而第一、二儲存單元(Storage Unit1、Storage Unit2)2、3在未被驅動時都保持在預設狀態下的未致能(disabled)狀態,不執行任何程序,如第1圖所示。 At the beginning, the first and second switches (SW1, SW2) 11, 13 are not driven Keep in the default state of disconnection during operation to avoid current consumption, while the first and second storage units (Storage Unit1, Storage Unit2) 2, 3 remain in the default state when they are not driven. (Disabled) state, no program is executed, as shown in Figure 1.
當進行第一道控制,即接墊電路1透過該第一切換器11切換為
連接埠4至VDD之上拉路徑時,該第一切換器11為短路狀態,該第一儲存單元2為致能(enabled)狀態,且該第二切換器13為斷路狀態,該第二儲存單元3為未致能狀態,不執行任何程序,此時該連接埠4組態將直接由該第一儲存單元2讀取及儲存,如果該連接埠4連接狀態讀取為VDD時,該第一儲存單元2儲存為1、如果該連接埠4連接狀態讀取為GND時,該第一儲存單元2儲存為0、以及如果該連接埠4連接狀態讀取為FLOAT時,該第一儲存單元2儲存為1,如第2圖及表一所示。
表一
當進行第二道控制,即接墊電路1透過該第二切換器13切換為
連接埠4至GND之下拉路徑時,該第一切換器11為斷路狀態,該第一儲存單元2為未致能狀態,不執行任何程序,且該第二切換器13為短路狀態,該第二儲存單元3為致能狀態,此時該連接埠4組態將直接由該第二儲存單元3讀取及儲存,如果該連接埠4連接狀態讀取為VDD時,該第二儲存單元3儲存為1、如果該連接埠4連接狀態讀取為GND時,該第二儲存單元3儲存為0、以及如果該連接埠4連接狀態讀取為FLOAT時,該第二儲存單元3儲存為0,如第3圖及表二所示。
表二
當接墊電路1透過第一切換器11切換上拉路徑時,連接埠4連
接狀態可通過第一儲存單元2而直接讀取並儲存,當接墊電路1透過第二切換器13切換下拉路徑時,連接埠4連接狀態可通過第二儲存單元3而直接讀取並儲存,此時可發現,第一儲存單元2與第二儲存單元3之儲存值有三種可能組合,如果連接狀態為VDD時則一定儲存為1,GND時則一定儲存為0,如果是FLOAT時則為1跟0,所以只要端看表三所示第一與第二儲存單元之儲存值組合狀況就可以得知現在連接埠是連接VDD、GND或FLOAT,藉以不同的Storage Unit1與Storage Unit2儲存值之組合可以確定一個Port中的多個定義。
表三
本發明使用上拉與下拉之電路特性去識別連接埠之連接狀態,利 用本技術能令一個連接埠可以通過GND、VDD及FLOAT三種狀態判斷多個定義。 The present invention uses the circuit characteristics of pull-up and pull-down to identify the connection status of the port, which is advantageous With this technology, a port can be used to determine multiple definitions through the three states of GND, VDD, and FLOAT.
如果切換器將接墊電路切換成上拉的電源限流器結構,則上拉的 電源限流器可以保護連接埠,其可用來識別連接埠現在的連接狀態是GND。 If the switch switches the pad circuit to a pull-up power current limiter structure, the pull-up The power current limiter can protect the port, which can be used to identify the current connection state of the port is GND.
如果切換器將接墊電路切換成下拉的接地限流器結構,則下拉的 接地限流器可以保護連接埠,其可用來識別連接埠現在的連接狀態是VDD。 If the switch switches the pad circuit to a pull-down ground current limiter structure, the pull-down The ground current limiter can protect the port, which can be used to identify the current connection status of the port is VDD.
如果連接埠並非連接VDD或GND,則它將是FLOAT。If the port is not connected to VDD or GND, it will be FLOAT.
藉此,本發明所提三態數位結構具備GND、VDD及FLOAT三種狀 態,只要在設計晶片時,在內部設置二個限流器,比如電阻、二極體(Diode)、電流源等等,二個切換器及二個儲存單元,比如鎖存器(Latch)、暫存器、電容,記憶體等等,就可以比傳統技術的連接埠少,等於一個連接埠就可以有三種狀態,相較於傳統一個連接埠只能有二種狀態,本發明只要在每個連接埠多二個儲存單元接上這個接墊電路就可以做到三種狀態,如此即可省掉一個接墊,就能節省晶片的空間與成本。 Therefore, the three-state digital structure provided by the present invention has three states: GND, VDD, and FLOAT. When designing the chip, as long as you set up two current limiters inside, such as resistors, diodes, current sources, etc., two switches and two storage units, such as latches, Registers, capacitors, memory, etc., can have fewer ports than traditional technology. One port can have three states. Compared with the traditional one port can only have two states, the present invention only needs to be One connection port and two more storage units can be connected to this pad circuit to achieve three states. In this way, one pad can be saved and the space and cost of the chip can be saved.
綜上所述,本發明係一種三態數位結構,可有效改善習用之種種 缺點,使用上拉(Pull Up)與下拉(Pull Down)之電路特性去識別連接埠(port)之連接狀態,利用本技術能令一個連接埠可以通過接地(GND)、電壓(VDD)及空接(FLOAT)三種狀態判斷多個定義,從而能省掉一個接墊,達到節省晶片的空間與成本,進而使本發明之產生能更進步、更實用、更符合使用者之所須,確已符合發明專利申請之要件,爰依法提出專利申請。 In summary, the present invention is a three-state digital structure, which can effectively improve the conventional The disadvantage is that the circuit characteristics of pull up (Pull Up) and pull down (Pull Down) are used to identify the connection state of the port (port). Using this technology, a port can pass through the ground (GND), voltage (VDD) and empty The three states of FLOAT determine multiple definitions, so that one pad can be saved, and the space and cost of the chip can be saved, so that the production of the present invention can be more advanced, more practical, and more in line with the needs of users. In accordance with the requirements of an invention patent application, Yan filed a patent application in accordance with the law.
惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定 本發明實施之範圍;故,凡依本發明申請專利範圍及發明說明書內容所作之簡單的等效變化與修飾,皆應仍屬本發明專利涵蓋之範圍內。 However, the above are only the preferred embodiments of the present invention and should not be limited by this The scope of implementation of the present invention; therefore, all simple equivalent changes and modifications made in accordance with the scope of the patent application of the present invention and the content of the description of the invention should still fall within the scope of the patent of the present invention.
1:接墊電路 11:第一切換器 12:電源限流器 13:第二切換器 14:接地限流器 2:第一儲存單元 3:第二儲存單元 4:連接埠 1: Connection pad circuit 11: The first switch 12: Power current limiter 13: The second switch 14: Grounding current limiter 2: The first storage unit 3: The second storage unit 4: Port
第1圖,係本發明之三態數位結構電路示意圖。 第2圖,係本發明三態數位結構應用在上拉狀態之電路示意圖。 第3圖,係本發明三態數位結構應用在下拉狀態之電路示意圖。 Figure 1 is a schematic diagram of the three-state digital structure circuit of the present invention. Figure 2 is a schematic diagram of the circuit in which the ternary digital structure of the present invention is applied in the pull-up state. Figure 3 is a schematic diagram of the circuit in which the ternary digital structure of the present invention is applied in the pull-down state.
1:接墊電路 1: pad circuit
11:第一切換器 11: The first switcher
12:電源限流器 12: Power current limiter
13:第二切換器 13: The second switcher
14:接地限流器 14: Ground current limiter
2:第一儲存單元 2: The first storage unit
3:第二儲存單元 3: The second storage unit
4:連接埠 4: Port
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109141195A TWI744109B (en) | 2020-11-24 | 2020-11-24 | Digital device using three states |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109141195A TWI744109B (en) | 2020-11-24 | 2020-11-24 | Digital device using three states |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI744109B true TWI744109B (en) | 2021-10-21 |
TW202222040A TW202222040A (en) | 2022-06-01 |
Family
ID=80782831
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109141195A TWI744109B (en) | 2020-11-24 | 2020-11-24 | Digital device using three states |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI744109B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6133753A (en) * | 1998-11-25 | 2000-10-17 | Analog Devices, Inc. | Tri-state input detection circuit |
US6870397B1 (en) * | 1999-10-15 | 2005-03-22 | Xilinx, Inc. | Input/output circuit with user programmable functions |
US20070090848A1 (en) * | 2005-10-25 | 2007-04-26 | Freescale Semiconductor Inc. | Design-for-test circuit for low pin count devices |
US20130127512A1 (en) * | 2010-05-28 | 2013-05-23 | Sharad Murari | Multi-level chip input |
US20140281154A1 (en) * | 2013-03-14 | 2014-09-18 | Kabushiki Kaisha Toshiba | Memory system |
US20150016200A1 (en) * | 2013-07-15 | 2015-01-15 | Samsung Electronics Co., Ltd. | Memory device for masking read data and a method of testing the same |
US20160247559A1 (en) * | 2015-02-23 | 2016-08-25 | Qualcomm Incorporated | Read-assist circuits for memory bit cells employing a p-type field-effect transistor (pfet) read port(s), and related memory systems and methods |
TWI707542B (en) * | 2019-10-21 | 2020-10-11 | 立錡科技股份有限公司 | Interface control circuit and control method thereof |
-
2020
- 2020-11-24 TW TW109141195A patent/TWI744109B/en active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6133753A (en) * | 1998-11-25 | 2000-10-17 | Analog Devices, Inc. | Tri-state input detection circuit |
US6870397B1 (en) * | 1999-10-15 | 2005-03-22 | Xilinx, Inc. | Input/output circuit with user programmable functions |
US20070090848A1 (en) * | 2005-10-25 | 2007-04-26 | Freescale Semiconductor Inc. | Design-for-test circuit for low pin count devices |
US20130127512A1 (en) * | 2010-05-28 | 2013-05-23 | Sharad Murari | Multi-level chip input |
US20140281154A1 (en) * | 2013-03-14 | 2014-09-18 | Kabushiki Kaisha Toshiba | Memory system |
US20150016200A1 (en) * | 2013-07-15 | 2015-01-15 | Samsung Electronics Co., Ltd. | Memory device for masking read data and a method of testing the same |
US20160247559A1 (en) * | 2015-02-23 | 2016-08-25 | Qualcomm Incorporated | Read-assist circuits for memory bit cells employing a p-type field-effect transistor (pfet) read port(s), and related memory systems and methods |
TWI707542B (en) * | 2019-10-21 | 2020-10-11 | 立錡科技股份有限公司 | Interface control circuit and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
TW202222040A (en) | 2022-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8488356B2 (en) | Memory system with multi-level status signaling and method for operating the same | |
TW201010226A (en) | Clamp circuit for voltage peaking induced by power supply hot plug and related chip | |
TWI744109B (en) | Digital device using three states | |
CN206353706U (en) | A kind of electric equipment and its power-down protection circuit | |
US8564335B1 (en) | Low power pad | |
WO2018032766A1 (en) | Device for generating voltage and semiconductor chip | |
JP5921054B2 (en) | Memory device | |
TWI700795B (en) | Integrated circuit chip and configuration adjustment method for the same | |
CN102955554A (en) | Hard disk voltage regulating circuit | |
CN114499498A (en) | Three-state digital architecture | |
US10630075B2 (en) | Multi-level output circuit having centralized ESD protection | |
US11196247B1 (en) | Digital device using three states | |
WO2019071485A1 (en) | Detection system for hardware module | |
US20150188517A1 (en) | Chip pads | |
CN209879449U (en) | Reset unit for power distribution management device | |
US7839717B2 (en) | Semiconductor device with reduced standby failures | |
CN109684762B (en) | Chip and setting circuit of pin thereof | |
CN113050786A (en) | Standby system and display equipment | |
TWI401854B (en) | A protection circuit | |
CN206379715U (en) | The anti-reverse improvement circuit of DC supply input | |
TWI830608B (en) | Generic interface system and control method thereof | |
WO2022105247A1 (en) | Circuit structure for achieving multiplexing of pin of circuit | |
TWI831326B (en) | Memory module | |
WO2012152025A1 (en) | Power source module and power supply system | |
TWI736190B (en) | Usb signal output circuit and operation method thereof having reverse current prevention mechanism |