US20210099189A1 - Correction device - Google Patents

Correction device Download PDF

Info

Publication number
US20210099189A1
US20210099189A1 US16/583,284 US201916583284A US2021099189A1 US 20210099189 A1 US20210099189 A1 US 20210099189A1 US 201916583284 A US201916583284 A US 201916583284A US 2021099189 A1 US2021099189 A1 US 2021099189A1
Authority
US
United States
Prior art keywords
signal
logic state
circuit
logic
adjustment
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
US16/583,284
Other versions
US10985783B1 (en
Inventor
Chung-Peng Hao
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanya Technology Corp
Original Assignee
Nanya Technology Corp
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 Nanya Technology Corp filed Critical Nanya Technology Corp
Priority to US16/583,284 priority Critical patent/US10985783B1/en
Assigned to NANYA TECHNOLOGY CORPORATION reassignment NANYA TECHNOLOGY CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HAO, CHUNG-PENG
Priority to CN201911024559.7A priority patent/CN112562773B/en
Priority to TW108139124A priority patent/TWI716171B/en
Publication of US20210099189A1 publication Critical patent/US20210099189A1/en
Application granted granted Critical
Publication of US10985783B1 publication Critical patent/US10985783B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/65Purpose and implementation aspects
    • H03M13/6575Implementations based on combinatorial logic, e.g. Boolean circuits
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/003Modifications for increasing the reliability for protection
    • H03K19/00369Modifications for compensating variations of temperature, supply voltage or other physical parameters
    • H03K19/00384Modifications for compensating variations of temperature, supply voltage or other physical parameters in field effect transistor circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/12Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
    • G11C29/44Indication or identification of errors, e.g. for repair
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/02Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components
    • H03K19/08Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using semiconductor devices
    • H03K19/094Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using semiconductor devices using field-effect transistors
    • H03K19/09425Multistate logic
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/47Error detection, forward error correction or error protection, not provided for in groups H03M13/01 - H03M13/37
    • H03M13/49Unidirectional error detection or correction

Definitions

  • the detection circuit for determining a logic state of the input signal has been widely used in logic or mixed signal circuits. However, detection conducted by the detection circuit may issue some errors due to various factors such as fluctuation of the manufacture process or improper circuit design. It causes that the high logic state of the input signal is incorrectly determined as the low logic state or the low logic state of the input signal is incorrectly determined as the high logic state.
  • the present disclosure provides a circuit.
  • the circuit includes a detection circuit, a correction circuit and an adjustment circuit.
  • the detection circuit is configured to detect an initial logic state of an input signal, and configured to generate, in response to the initial logic state, a first signal with a first logic state.
  • the correction circuit is configured to compare the first signal having the first logic state with a second signal having a second logic state received by the correction circuit, and the correction circuit is configured to generate an enable signal according to the comparison, in which the second logic state of the second signal has the same logic state as the initial logic state of the input signal.
  • the adjustment circuit is configured to be enabled by the enable signal when the first logic state of the first signal is different from the second logic state of the second signal, to generate an adjustment signal to the detection circuit, in which the detection circuit is further configured to be adjusted according to the adjustment signal, to generate an adjusted first signal.
  • the present disclosure provides a method for correcting a logic state of an input signal of a logic circuit.
  • the method includes the following operations: detecting, by a detection circuit, an initial logic state of an input signal; generating, by the detection circuit, a first signal with a first logic state corresponding to the initial logic state; calculating, by a coder circuit, a logic difference between the first logic state of the first signal and a second logic state that is the same as the initial logic state of the input signal; and adjusting, by a plurality of first transistors and a plurality of second transistors, according to the logic difference, a transition voltage of a transition circuit of the detection circuit by an adjustment voltage, in which the first logic state of the first signal is configured to be modified according to the transition voltage.
  • FIG. 1 is a block schematic diagram of a circuit, in accordance with some embodiments of the present disclosure.
  • FIG. 2 is a flow chart of a method illustrating operations of the circuit in FIG. 1 , in accordance with some embodiments of the present disclosure.
  • FIG. 3 is a block schematic diagram of a detection circuit of the circuit in FIG. 1 , in accordance with some embodiments of the present disclosure.
  • FIG. 4 is a block schematic diagram of a correction circuit of the circuit in FIG. 1 , in accordance with some embodiments of the present disclosure.
  • FIG. 5 is a graph of a voltage of the input signal and a logic state of the first signal, in accordance with some embodiments of the present disclosure.
  • FIG. 6 is a block schematic diagram of an adjustment circuit of the circuit in FIG. 1 , in accordance with some embodiments of the present disclosure.
  • FIG. 7 is a block diagram of a circuit, in accordance with some other embodiments of the present disclosure.
  • FIG. 8 is a block diagram of a circuit, in accordance with some other embodiments of the present disclosure.
  • first and second features are formed in direct contact
  • additional features may be formed between the first and second features, such that the first and second features may not be in direct contact
  • present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between some embodiments and/or configurations discussed.
  • first may be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the embodiments.
  • the term “and/or” includes any and all combinations of one or more of the associated listed items.
  • Coupled may also be termed “electrically coupled,” and the term “connected” may be termed “electrically connected.” “Coupled” and “connected” may also be used to indicate that two or more elements cooperate or interact with each other.
  • FIG. 1 is a block schematic diagram of a device 10 , in accordance with some embodiments of the present disclosure.
  • the device 10 includes a detection circuit 110 , a correction circuit 120 , an adjustment circuit 130 , and a core logic circuit 140 .
  • the detection circuit 110 is coupled to the correction circuit 120 , the adjustment circuit 130 and the core logic circuit 140 .
  • the adjustment circuit 130 is coupled between the detection circuit 110 and the correction circuit 120 .
  • the device 10 and the following device 70 and device 80 can be a Dynamic random access memory (DRAM) or any other digital circuit and analog circuit, or mixed signal circuit. But the present disclosure is not limited thereto.
  • DRAM Dynamic random access memory
  • the detection circuit 110 is configured to detect the logic state of the input signal IN and to generate a first signal D 1 accordingly.
  • the correction circuit 120 is configured to compare the first signal D 1 with a second signal received by the correction circuit 120 , and to generate an enable signal EN when a first logic state of the first signal D 1 is different with a second logic state of the second signal D 2 .
  • the adjustment circuit 130 is configured to be enabled by the enable signal EN to generate a switch signal, and to generate an adjustment signal AS for adjusting the detection circuit 110 .
  • FIG. 2 is a flow chart of a method 20 illustrating operations of the device 10 in FIG. 1 , in accordance with some embodiments of the present disclosure.
  • method 20 can be operated on the device 70 in FIG. 7 and/or the device 80 in FIG. 8 .
  • the detection circuit 110 receives an input signal IN having an initial logic state.
  • the input signal can be a signal having a high voltage level of 1.8 Volts or a low voltage level of 1.0 Volts.
  • the detection circuit 110 operates with a certain threshold voltage, for example, 1.5 Volts, then the logic state of the signal having the voltage level of 1.8 Volts can be referred as a high logic state (logic 1), and the logic state of the signal having the voltage level of 1.0 Volts can be referred as a low logic state (logic 0).
  • both of the logic states of the signal having the voltage level of 1.8 Volts and one having the voltage level of 1.0 Volts can be referred as low logic states.
  • the voltage value and the corresponding logic state here are given for illustrative purposes, and can be any value depending on the actual implementations. The present disclosure is not limited thereto.
  • the detection circuit 110 detects the logic state of the input signal IN.
  • the initial logic state, having the high logic state, detected by the detection circuit 110 is a high logic state.
  • the initial logic state, having the low logic state, detected by the detection circuit 110 is a low logic state.
  • the detection circuit 110 generates, in response to the initial state of the input signal IN, a first signal D 1 with a first logic state. For instance, as the embodiments aforementioned, the detection circuit 110 generates the first signal D 1 with the first logic state, which is high logic state, in response to the initial state having the high logic state. Similarly, the detection circuit 110 generates the first signal D 1 with the first logic state, which is a low logic state, in response to the initial state having the low logic state.
  • the correction circuit 120 receives a second signal D 2 with a second logic state.
  • the input signal IN is also sent to the correction circuit 120 as the second signal D 2 , in which the second signal D 2 has a logic state being the same as the initial logic state of the input signal IN.
  • the core logic circuit 140 coupled to an output of the detection circuit 110 is configured to output a reference signal as the second signal D 2 .
  • the core logic circuit 140 is designed to operate with a signal having a high logic state, and correspondingly the core logic circuit 140 outputs the reference signal having a high logic state as the second signal D 2 to the correction circuit 120 .
  • the logic state of the second signal D 2 and the reference signal here is given for illustrative purposes, but the present disclosure is not limited thereto.
  • the correction circuit 120 compares the first signal D 1 having the first logic state with the second signal D 2 having a second logic state, and generates the enable signal EN, according to the comparison, to enable the adjustment circuit 130 .
  • the correction circuit 120 determines whether the first logic state of the first signal D 1 is the same as the second logic state of the second signal D 2 .
  • the first signal D 1 is sent to the core logic circuit 140 and step 210 is performed.
  • the correction circuit 120 when the first logic state of the first signal D 1 has the same logic state as the second logic state of the second signal D 2 , the correction circuit 120 is further configured to disable the adjustment circuit 130 .
  • the correction circuit 120 when the first logic state of the first signal D 1 is different from the second logic state of the second signal D 2 (i.e., the first signal D 1 has a high logic state and the second signal D 2 has a low logic state or the first signal D 1 has a low logic state and the second signal D 2 has a high logic state), the correction circuit 120 generates the enable signal EN to enable the adjustment circuit 130 and step 260 is performed.
  • the adjustment circuit 130 enabled by the enable signal EN when the first logic state of the first signal D 1 is different from the second logic state of the second signal D 2 , to generate a switch signal to turn on at least one redundant circuit in the adjustment circuit 130 .
  • the adjustment circuit 130 calculates a logic difference between the first logic state (i.e., logic 1) of the first signal D 1 and the second logic state (i.e., logic 0) of the second signal D 2 , the logic difference being “1”, and the adjustment circuit 130 correspondingly generates the switch signal to compensate the logic difference.
  • the detail operation of the adjustment circuit 130 will be discussed in the following paragraph.
  • step 270 the adjustment circuit 130 is enabled to generate an adjustment signal AS to the detection circuit 110 .
  • the detection circuit 110 is configured to be adjusted according to the adjustment signal AS to generate an adjusted first signal D 1 and then step 250 is performed.
  • the detection circuit 110 is adjusted in response to the adjustment signal AS and generates the adjusted first signal D 1 having a logic state which is logic 0.
  • step 250 is performed to determine that the first logic state of the adjusted first signal D 1 is the same as the second logic state of the second signal D 2 .
  • the detection circuit 110 outputs the correct first signal D 1 , whose logic state is the same as the initial logic state of the input signal IN, to the core logic circuit 140 for further applications.
  • the logic state of the adjusted first signal D 1 is still determined, by the correction circuit 120 , being different from the second logic state of the second signal D 2 , the step 260 , 250 and 270 are performed in order until the first logic state of the first signal D 1 is the same as the second logic state of the second signal D 2 .
  • FIG. 3 is a block schematic diagram of a detection circuit 110 of the circuit in FIG. 1 , in accordance with some embodiments of the present disclosure.
  • FIG. 3 will be designated with the same reference numbers.
  • the detection circuit 110 includes a switch 111 and a transition circuit 112 .
  • a terminal of the switch 111 is coupled to the transition circuit 112 .
  • the transition circuit 112 includes an inverter 112 a and an inverter 112 b.
  • the switch 111 is configured to receive the input signal IN at a terminal, in response to a control signal received through a gate terminal of the switch 111 .
  • the transition circuit 112 is configured to receive the input signal IN from the switch 111 and to transit the initial logic state of the input signal IN to generate the first signal D 1 . Specifically, in some embodiments, after receiving the input signal IN having logic state 0, the transition circuit 112 outputs the first signal having logic state 0.
  • the transition circuit 112 outputs the first signal having logic state 1 in response to the received input signal IN having logic state 1.
  • the inverter 112 a operating with voltage VDD, being 1.8 Volts, outputs a signal with 1.8 Volts (logic state 1), in response to the input signal with 0 Volts (logic state 0), to the inverter 112 b.
  • the inverter 112 b operating with voltage VDD, being 1.0 Volts, outputs a signal with 0 Volts (logic state 0), in response to the signal received from the inverter 112 a.
  • the inverter 112 a operating with voltage VDD, being 1.8 Volts, outputs a signal with 0 Volt (logic state 0), in response to the input signal with 1.8 Volts (logic state 1), to the inverter 112 b.
  • the inverter 112 b operating with voltage VDD, being 1.0 Volts, outputs a signal with 1.0 Volts (logic state 1), in response to the signal received from the inverter 112 a.
  • At least one pull-up transistor and at least one pull-down transistor are coupled to in parallel, at drain terminals of the at least one pull-up transistor and the at least one pull-down transistor, the output of the inverter 112 a or the output of the inverter 112 b.
  • the detail of the operation of the at least one pull-up transistor and the at least one pull-down transistor will be discussed in the following paragraph.
  • the value of voltage VDD, the logic state of the inverter and the output signal and the configurations of the inverters, the at least one pull-up transistor and the at least one pull-down transistor are given for illustrative purposes, but the present disclosure is not limited thereto.
  • FIG. 4 is a block schematic diagram of the correction circuit 120 of the device 10 in FIG. 1 , in accordance with some embodiments of the present disclosure.
  • the correction circuit 120 includes an exclusive-OR gate 121 being configured to perform an XOR operation of the first signal D 1 and the second signal D 2 , and to output the enable signal EN in response to the XOR operation.
  • the exclusive-OR gate 121 when the first signal D 1 has logic state 1 and the second signal D 2 has logic state 1, the exclusive-OR gate 121 outputs the enable signal EN having logic state 0 which is configured to disable the adjustment circuit 130 .
  • the exclusive-OR gate 121 outputs the enable signal EN having logic state 1 which is configured to enable the adjustment circuit 130 .
  • FIG. 5 is a graph of a voltage of the input signal IN and a logic state of the first signal D 1 , in accordance with some embodiments of the present disclosure.
  • the points P 1 , P 2 , P 3 and P 4 represent the logic states of the first signal D 1 corresponding to the input signal IN having certain voltage values.
  • the transition circuit 112 when the input signal IN has a voltage below or above a transition voltage VT 0 , the transition circuit 112 outputs the first signal D 1 with corresponding low (0) or high (1) logic state, as shown by point P 1 and point P 4 , respectively.
  • the transition voltage of the transition circuit 112 is changed and different from the default setting. For instance, as the transition voltage of the transition circuit 112 becomes the transition voltage VT 1 which is smaller than the transition voltage VT 0 , the transition circuit 112 outputs the first signal D 1 with high logic state when the input signal IN has the voltage smaller the transition voltage VT 0 (i.e., the logic state of the input signal IN is low (0) which is the same as the logic state of the second signal D 2 ), as shown by point 2 .
  • the transition circuit 112 output the first signal D 1 with low logic state when the input signal has the voltage larger the transition voltage VT 0 (i.e., the logic state of the input signal IN is high (1) which is the same as the logic state of the second signal D 2 ), as shown by point 3 .
  • the adjustment circuit 130 is further configured to generate an adjustment voltage ⁇ V as the adjustment signal AS to be applied on the transition voltage of the transition circuit 112 .
  • the adjustment voltage ⁇ V is configured to be applied to adjust the transition voltage in order to transit the logic state of the first signal D 1 from having the high logic value to having the low logic value or from having the low logic value to having the high logic value.
  • the positive adjustment voltage ⁇ V is applied to the transition voltage of the transition circuit 112 to increase the transition voltage such that the voltage of the input signal IN can be below the transition voltage and the adjusted first signal D 1 having low logic state can be generated.
  • the negative adjustment voltage ⁇ V is applied to the transition voltage of the transition circuit 112 to decrease the transition voltage such that the voltage of the input signal IN can be below the transition voltage and the adjusted first signal D 1 having low logic state can be generated.
  • the transition voltage can be a threshold voltage of the inverter 112 a or the inverter 112 b.
  • the negative adjustment voltage ⁇ V is applied to the transition voltage of the transition circuit 112 to decrease the transition voltage.
  • the positive adjustment voltage ⁇ V is applied to the transition voltage of the transition circuit 112 to increase the transition voltage.
  • FIG. 6 is a block schematic diagram of the adjustment circuit 130 of the device 10 in FIG. 1 , in accordance with some embodiments of the present disclosure.
  • the adjustment circuit 130 includes a coder 131 , a pull-up circuit 132 and a pull-down circuit 133 .
  • the pull-up circuit 132 includes at least one pull-up transistor and the pull-down circuit 133 includes at least one pull-down transistor.
  • the at least one pull-up transistor is an at least one p-type field effect transistor and the at least one pull-down transistor is an at least one n-type field effect transistor.
  • the adjustment circuit 130 is configured to adjust the transition circuit 112 , by applying the adjustment voltage ⁇ V as the adjustment signal AS, in order to modify the first logic state of the first signal D 1 when the logic state of first signal D 1 and the second signal D 2 are different from each other, the enable signal EN having a logic state 1.
  • the coder 131 is configured to generate a switch signal SS in response to the first signal D 1 , the second signal D 2 and the enable signal EN.
  • the coder 131 can be any circuit implemented as a coder.
  • the pull-up circuit 132 and the pull-down circuit 133 are configured to be switched on or off, in response to the switch signal SS, to generate the adjustment voltage ⁇ V.
  • the transition voltage VT in one operation and the adjustment voltage ⁇ V are expressed as the equation (1) and (2) below:
  • VT ( n ) VT ( n ⁇ 1)+ ⁇ V (1)
  • VT(n) is the transition voltage after being applying the adjustment voltage ⁇ V to the transition voltage VT(n ⁇ 1) in the previous operation.
  • is a default learning rate.
  • Qi is the logic state of the first signal D 1 .
  • Yi is the logic state of the second signal D 2 .
  • ⁇ W is a weighting factor.
  • the adjustment voltage ⁇ V is dependent on the transition voltage of the transition circuit 112 , and the adjustment voltage ⁇ V equals to the transition voltage multiplied by the weighting factor ⁇ W.
  • the coder 131 is configured to calculate a logic difference between the logic state Qi of the first signal D 1 and the logic state Yi of the second signal D 2 . It should be noted that, when the inverter 112 b operated with error, equation (3) is applied in the coder 131 for calculation. Conversely, when the inverter 112 a operated with error, equation (4) is applied.
  • the transition voltage of a transition circuit 112 of the detection circuit 110 is adjusted by transistors of the pull-up circuit 132 and/or transistors of the pull-down circuit 133 with the adjustment voltage ⁇ V as the adjustment signal AS. Thereafter an adjusted first signal D 1 is generated by the detection circuit 110 after determining that the first logic state of the first signal is different from the second logic state.
  • the logic difference between the first signal D 1 and the second signal D 2 is ⁇ 1 (that is, based on equation (3), Yi as 0 minus Qi as 1 equals to ⁇ 1).
  • the pull-up circuit 132 and the pull-down circuit 133 are coupled to the output of the inverter 112 b, while the inverter 112 b having the transition voltage VT( 0 ) does not invert the logic state 1, received from the inverter 112 a, into logic state 0.
  • is 0.1 by default.
  • the logic difference between the first signal D 1 and the second signal D 2 is 1 (that is, based on equation (3), Yi as 1 minus Qi as 0 equals to 1).
  • the pull-up circuit 132 and the pull-down circuit 133 are coupled to the output of the inverter 112 b, while the inverter 112 b having the transition voltage VT( 0 ) does not invert the logic state 0, received from the inverter 112 a, into logic state 1.
  • is 0.1 by default.
  • the logic difference between the first signal D 1 and the second signal D 2 is 1 (that is, based on equation (4), Qi as 1 minus Yi as 0 equals to 1).
  • the pull-up circuit 132 and the pull-down circuit 133 are coupled to the output of the inverter 112 a, while the inverter 112 a having the transition voltage VT( 0 ) does not invert the logic state 0, received from the switch 111 , into logic state 1.
  • is 0.1 by default.
  • the logic difference between the first signal D 1 and the second signal D 2 is ⁇ 1 (that is, based on equation (4), Qi as 0 minus Yi as 1 equals to ⁇ 1).
  • the pull-up circuit 132 and the pull-down circuit 133 are coupled to the output of the inverter 112 a, while the inverter 112 a having the transition voltage VT( 0 ) does not invert the logic state 1, received from the switch 111 , into logic state 0.
  • is 0.1 by default.
  • FIG. 7 is a block diagram of a device 70 , in accordance with some other embodiments of the present disclosure.
  • like elements in FIG. 1 and FIG. 6 are designated with the same reference numbers for ease of understanding.
  • the specific operations of similar elements, which are already discussed in detail in above paragraphs, are omitted herein for the sake of brevity, unless there is a need to introduce the co-operation relationship with the elements shown in FIG. 7 .
  • the coder 131 being included in the adjustment circuit 130 as shown in FIG. 6 , is now not included in the adjustment circuit 130 .
  • the coder 131 is coupled between the correction circuit 120 and the adjustment circuit 130 .
  • the coder 131 is enabled by the enable signal EN generated by the correction circuit, and outputs the switch signal SS to the adjustment circuit 130 to switch on or off the corresponding pull-up circuit 132 or the corresponding pull-down 133 .
  • FIG. 8 is a block diagram of a device 80 , in accordance with some other embodiments of the present disclosure.
  • like elements in FIG. 1 and FIG. 6 are designated with the same reference numbers for ease of understanding.
  • the specific operations of similar elements, which are already discussed in detail in above paragraphs, are omitted herein for the sake of brevity, unless there is a need to introduce the co-operation relationship with the elements shown in FIG. 8 .
  • the coder 131 being included in the adjustment circuit 130 as shown in FIG. 6 , is now not included in the adjustment circuit 130 . Furthermore, the function of the correction circuit 120 is integrated into the coder 131 . As shown in FIG. 8 , the coder 131 is coupled to the detection circuit, the adjustment circuit 130 and the core logic circuit. For illustration, in such embodiment in FIG. 8 , the coder 131 is configured to compare the first signal D 1 with the second signal D 2 .
  • the coder 131 When the logic state of the first signal D 1 is different from the logic state of the second signal D 2 , the coder 131 outputs the switch signal SS to the adjustment circuit 130 to switch on or off the corresponding pull-up circuit 132 or the corresponding pull-down 133 .
  • the detection circuit by comparing the output signal of a detection circuit with a reference signal, the detection circuit can be adjusted and accordingly output an adjusted output signal having a correct logic state to a following core logic circuit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Power Engineering (AREA)
  • Logic Circuits (AREA)

Abstract

The present disclosure provides a circuit. The circuit includes a detection circuit, a correction circuit and an adjustment circuit. The detection circuit is configured to detect an initial logic state of an input signal, and to generate, in response to the initial logic state, a first signal with a first logic state. The correction circuit is configured to compare the first signal having the first logic state with a second signal having a second logic state, and to generate an enable signal according to the comparison. The adjustment circuit is configured to be enabled by the enable signal when the first logic state of the first signal is different from the second logic state of the second signal, to generate an adjustment signal to the detection circuit, in which the detection circuit is further configured to be adjusted according to the adjustment signal, to generate an adjusted first signal.

Description

    BACKGROUND
  • The detection circuit for determining a logic state of the input signal has been widely used in logic or mixed signal circuits. However, detection conducted by the detection circuit may issue some errors due to various factors such as fluctuation of the manufacture process or improper circuit design. It causes that the high logic state of the input signal is incorrectly determined as the low logic state or the low logic state of the input signal is incorrectly determined as the high logic state.
  • SUMMARY
  • According to one embodiment of the present disclosure, the present disclosure provides a circuit. The circuit includes a detection circuit, a correction circuit and an adjustment circuit. The detection circuit is configured to detect an initial logic state of an input signal, and configured to generate, in response to the initial logic state, a first signal with a first logic state. The correction circuit is configured to compare the first signal having the first logic state with a second signal having a second logic state received by the correction circuit, and the correction circuit is configured to generate an enable signal according to the comparison, in which the second logic state of the second signal has the same logic state as the initial logic state of the input signal. The adjustment circuit is configured to be enabled by the enable signal when the first logic state of the first signal is different from the second logic state of the second signal, to generate an adjustment signal to the detection circuit, in which the detection circuit is further configured to be adjusted according to the adjustment signal, to generate an adjusted first signal.
  • According to another embodiment of the present disclosure, the present disclosure provides a method for correcting a logic state of an input signal of a logic circuit. The method includes the following operations: detecting, by a detection circuit, an initial logic state of an input signal; generating, by the detection circuit, a first signal with a first logic state corresponding to the initial logic state; calculating, by a coder circuit, a logic difference between the first logic state of the first signal and a second logic state that is the same as the initial logic state of the input signal; and adjusting, by a plurality of first transistors and a plurality of second transistors, according to the logic difference, a transition voltage of a transition circuit of the detection circuit by an adjustment voltage, in which the first logic state of the first signal is configured to be modified according to the transition voltage.
  • It is to be understood that both the foregoing general description and the following detailed description are by examples, and are intended to provide further explanation of the disclosure as claimed.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.
  • FIG. 1 is a block schematic diagram of a circuit, in accordance with some embodiments of the present disclosure.
  • FIG. 2 is a flow chart of a method illustrating operations of the circuit in FIG. 1, in accordance with some embodiments of the present disclosure.
  • FIG. 3 is a block schematic diagram of a detection circuit of the circuit in FIG. 1, in accordance with some embodiments of the present disclosure.
  • FIG. 4 is a block schematic diagram of a correction circuit of the circuit in FIG. 1, in accordance with some embodiments of the present disclosure.
  • FIG. 5 is a graph of a voltage of the input signal and a logic state of the first signal, in accordance with some embodiments of the present disclosure.
  • FIG. 6 is a block schematic diagram of an adjustment circuit of the circuit in FIG. 1, in accordance with some embodiments of the present disclosure.
  • FIG. 7 is a block diagram of a circuit, in accordance with some other embodiments of the present disclosure.
  • FIG. 8 is a block diagram of a circuit, in accordance with some other embodiments of the present disclosure.
  • DETAILED DESCRIPTION
  • The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and second features, such that the first and second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between some embodiments and/or configurations discussed.
  • The terms used in this specification generally have their ordinary meanings in the art and in the specific context where each term is used. The use of examples in this specification, including examples of any terms discussed herein, is illustrative only, and in no way limits the scope and meaning of the disclosure or of any exemplified term. Likewise, the present disclosure is not limited to some embodiments given in this specification.
  • Although the terms “first,” “second,” etc., may be used herein to describe various elements, these elements should not be limited by these terms. These terms are used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the embodiments. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items.
  • The terms “comprise,” “comprising,” “include,” “including,” “has,” “having,” etc. used in this specification are open-ended and mean “comprises but not limited.”
  • In this document, the term “coupled” may also be termed “electrically coupled,” and the term “connected” may be termed “electrically connected.” “Coupled” and “connected” may also be used to indicate that two or more elements cooperate or interact with each other.
  • Reference is made to FIG. 1. FIG. 1 is a block schematic diagram of a device 10, in accordance with some embodiments of the present disclosure. As illustratively shown in FIG. 1, the device 10 includes a detection circuit 110, a correction circuit 120, an adjustment circuit 130, and a core logic circuit 140. For illustration, the detection circuit 110 is coupled to the correction circuit 120, the adjustment circuit 130 and the core logic circuit 140. The adjustment circuit 130 is coupled between the detection circuit 110 and the correction circuit 120.
  • In some embodiments, the device 10 and the following device 70 and device 80 can be a Dynamic random access memory (DRAM) or any other digital circuit and analog circuit, or mixed signal circuit. But the present disclosure is not limited thereto.
  • The detection circuit 110 is configured to detect the logic state of the input signal IN and to generate a first signal D1 accordingly. The correction circuit 120 is configured to compare the first signal D1 with a second signal received by the correction circuit 120, and to generate an enable signal EN when a first logic state of the first signal D1 is different with a second logic state of the second signal D2. The adjustment circuit 130 is configured to be enabled by the enable signal EN to generate a switch signal, and to generate an adjustment signal AS for adjusting the detection circuit 110.
  • Reference is now made to FIG. 2. FIG. 2 is a flow chart of a method 20 illustrating operations of the device 10 in FIG. 1, in accordance with some embodiments of the present disclosure. In various embodiments of the present disclosure, method 20 can be operated on the device 70 in FIG. 7 and/or the device 80 in FIG. 8.
  • Please refer to FIG. 1 and FIG. 2 together. In step 210 of the method 20, for illustration, as shown in FIG. 1, the detection circuit 110 receives an input signal IN having an initial logic state. For example, the input signal can be a signal having a high voltage level of 1.8 Volts or a low voltage level of 1.0 Volts. When the detection circuit 110 operates with a certain threshold voltage, for example, 1.5 Volts, then the logic state of the signal having the voltage level of 1.8 Volts can be referred as a high logic state (logic 1), and the logic state of the signal having the voltage level of 1.0 Volts can be referred as a low logic state (logic 0). Moreover, in some other embodiments, when the detection circuit 110 operates with another threshold voltage, for example, 2.0 Volts, then both of the logic states of the signal having the voltage level of 1.8 Volts and one having the voltage level of 1.0 Volts can be referred as low logic states. The voltage value and the corresponding logic state here are given for illustrative purposes, and can be any value depending on the actual implementations. The present disclosure is not limited thereto.
  • In step 220, the detection circuit 110 detects the logic state of the input signal IN. As mentioned in the above embodiments, the initial logic state, having the high logic state, detected by the detection circuit 110, is a high logic state. Similarly, the initial logic state, having the low logic state, detected by the detection circuit 110, is a low logic state.
  • Afterwards, in step 230, the detection circuit 110 generates, in response to the initial state of the input signal IN, a first signal D1 with a first logic state. For instance, as the embodiments aforementioned, the detection circuit 110 generates the first signal D1 with the first logic state, which is high logic state, in response to the initial state having the high logic state. Similarly, the detection circuit 110 generates the first signal D1 with the first logic state, which is a low logic state, in response to the initial state having the low logic state.
  • In step 240, the correction circuit 120 receives a second signal D2 with a second logic state. In some embodiments, the input signal IN is also sent to the correction circuit 120 as the second signal D2, in which the second signal D2 has a logic state being the same as the initial logic state of the input signal IN. In some other embodiments, the core logic circuit 140 coupled to an output of the detection circuit 110 is configured to output a reference signal as the second signal D2. For example, the core logic circuit 140 is designed to operate with a signal having a high logic state, and correspondingly the core logic circuit 140 outputs the reference signal having a high logic state as the second signal D2 to the correction circuit 120. The logic state of the second signal D2 and the reference signal here is given for illustrative purposes, but the present disclosure is not limited thereto.
  • Moreover, in step 250, the correction circuit 120 compares the first signal D1 having the first logic state with the second signal D2 having a second logic state, and generates the enable signal EN, according to the comparison, to enable the adjustment circuit 130. Alternatively stated, the correction circuit 120 determines whether the first logic state of the first signal D1 is the same as the second logic state of the second signal D2. For example, when the first logic state of the first signal D1 is the same as the second logic state of the second signal D2 (i.e., the first signal D1 and the second signal D2 both have a high logic state or the first signal D1 and the second signal D2 both have a low logic state), in some embodiments, the first signal D1 is sent to the core logic circuit 140 and step 210 is performed. In other words, when the first logic state of the first signal D1 has the same logic state as the second logic state of the second signal D2, the correction circuit 120 is further configured to disable the adjustment circuit 130. However, when the first logic state of the first signal D1 is different from the second logic state of the second signal D2 (i.e., the first signal D1 has a high logic state and the second signal D2 has a low logic state or the first signal D1 has a low logic state and the second signal D2 has a high logic state), the correction circuit 120 generates the enable signal EN to enable the adjustment circuit 130 and step 260 is performed.
  • In addition, according to the step 260, the adjustment circuit 130 enabled by the enable signal EN when the first logic state of the first signal D1 is different from the second logic state of the second signal D2, to generate a switch signal to turn on at least one redundant circuit in the adjustment circuit 130. For example, in some embodiments, the adjustment circuit 130 calculates a logic difference between the first logic state (i.e., logic 1) of the first signal D1 and the second logic state (i.e., logic 0) of the second signal D2, the logic difference being “1”, and the adjustment circuit 130 correspondingly generates the switch signal to compensate the logic difference. The detail operation of the adjustment circuit 130 will be discussed in the following paragraph.
  • After step 260 is performed, in step 270, the adjustment circuit 130 is enabled to generate an adjustment signal AS to the detection circuit 110. Furthermore, the detection circuit 110 is configured to be adjusted according to the adjustment signal AS to generate an adjusted first signal D1 and then step 250 is performed. For example, as the aforementioned embodiments (i.e., the first logic state of the first signal D1 being logic 1 and the second logic state of the second signal D2 being logic 0), the detection circuit 110 is adjusted in response to the adjustment signal AS and generates the adjusted first signal D1 having a logic state which is logic 0. Thereafter step 250 is performed to determine that the first logic state of the adjusted first signal D1 is the same as the second logic state of the second signal D2. Alternatively stated, the detection circuit 110 outputs the correct first signal D1, whose logic state is the same as the initial logic state of the input signal IN, to the core logic circuit 140 for further applications. However, in some other embodiments, after step 270 and step 250 are performed, the logic state of the adjusted first signal D1 is still determined, by the correction circuit 120, being different from the second logic state of the second signal D2, the step 260, 250 and 270 are performed in order until the first logic state of the first signal D1 is the same as the second logic state of the second signal D2.
  • The arrangements of embodiments of the circuits described above will be illustrated in the following paragraph, but the present disclosure is not limited thereto.
  • Reference is now made to FIG. 3. FIG. 3 is a block schematic diagram of a detection circuit 110 of the circuit in FIG. 1, in accordance with some embodiments of the present disclosure. For ease of understanding, the similar elements in FIG. 1 and FIG. 3 will be designated with the same reference numbers.
  • As illustratively in FIG. 3, the detection circuit 110 includes a switch 111 and a transition circuit 112. A terminal of the switch 111 is coupled to the transition circuit 112. In some embodiments, the transition circuit 112 includes an inverter 112 a and an inverter 112 b. The switch 111 is configured to receive the input signal IN at a terminal, in response to a control signal received through a gate terminal of the switch 111. The transition circuit 112 is configured to receive the input signal IN from the switch 111 and to transit the initial logic state of the input signal IN to generate the first signal D1. Specifically, in some embodiments, after receiving the input signal IN having logic state 0, the transition circuit 112 outputs the first signal having logic state 0. Alternatively, the transition circuit 112 outputs the first signal having logic state 1 in response to the received input signal IN having logic state 1. To illustrate in detail, according to the aforementioned embodiment, the inverter 112 a operating with voltage VDD, being 1.8 Volts, outputs a signal with 1.8 Volts (logic state 1), in response to the input signal with 0 Volts (logic state 0), to the inverter 112 b. Then, the inverter 112 b operating with voltage VDD, being 1.0 Volts, outputs a signal with 0 Volts (logic state 0), in response to the signal received from the inverter 112 a. Alternatively, the inverter 112 a operating with voltage VDD, being 1.8 Volts, outputs a signal with 0 Volt (logic state 0), in response to the input signal with 1.8 Volts (logic state 1), to the inverter 112 b. Then, the inverter 112 b operating with voltage VDD, being 1.0 Volts, outputs a signal with 1.0 Volts (logic state 1), in response to the signal received from the inverter 112 a. Furthermore, in some embodiments, at least one pull-up transistor and at least one pull-down transistor are coupled to in parallel, at drain terminals of the at least one pull-up transistor and the at least one pull-down transistor, the output of the inverter 112 a or the output of the inverter 112 b. The detail of the operation of the at least one pull-up transistor and the at least one pull-down transistor will be discussed in the following paragraph. The value of voltage VDD, the logic state of the inverter and the output signal and the configurations of the inverters, the at least one pull-up transistor and the at least one pull-down transistor are given for illustrative purposes, but the present disclosure is not limited thereto.
  • Reference is now made to FIG. 4. FIG. 4 is a block schematic diagram of the correction circuit 120 of the device 10 in FIG. 1, in accordance with some embodiments of the present disclosure. As shown in FIG. 4, the correction circuit 120 includes an exclusive-OR gate 121 being configured to perform an XOR operation of the first signal D1 and the second signal D2, and to output the enable signal EN in response to the XOR operation. For illustration, in some embodiments, when the first signal D1 has logic state 1 and the second signal D2 has logic state 1, the exclusive-OR gate 121 outputs the enable signal EN having logic state 0 which is configured to disable the adjustment circuit 130. Alternatively, when the logic state of the first signal D1 is different from the logic state of the second signal D2, for example, first signal D1 having logic state 1 and the second signal D2 having logic state 0, the exclusive-OR gate 121 outputs the enable signal EN having logic state 1 which is configured to enable the adjustment circuit 130.
  • Reference is now made to FIG. 5. FIG. 5 is a graph of a voltage of the input signal IN and a logic state of the first signal D1, in accordance with some embodiments of the present disclosure. As shown in FIG. 5, the points P1, P2, P3 and P4 represent the logic states of the first signal D1 corresponding to the input signal IN having certain voltage values. For illustration, in some embodiments of the regular operation of the transition circuit 112, when the input signal IN has a voltage below or above a transition voltage VT0, the transition circuit 112 outputs the first signal D1 with corresponding low (0) or high (1) logic state, as shown by point P1 and point P4, respectively. However, due to some unforeseen factors in the circuit such as fluctuation of manufacture process or improper circuit design, in some embodiments, the transition voltage of the transition circuit 112 is changed and different from the default setting. For instance, as the transition voltage of the transition circuit 112 becomes the transition voltage VT1 which is smaller than the transition voltage VT0, the transition circuit 112 outputs the first signal D1 with high logic state when the input signal IN has the voltage smaller the transition voltage VT0 (i.e., the logic state of the input signal IN is low (0) which is the same as the logic state of the second signal D2), as shown by point 2. Similarly, in some other embodiments, as the transition voltage of the transition circuit 112 becomes the transition voltage VT2 which is larger the transition voltage VT0, the transition circuit 112 output the first signal D1 with low logic state when the input signal has the voltage larger the transition voltage VT0 (i.e., the logic state of the input signal IN is high (1) which is the same as the logic state of the second signal D2), as shown by point 3.
  • As stated above, in such cases, when the logic state of the first signal D1 is different from the logic state of the second signal D2, the adjustment circuit 130 is further configured to generate an adjustment voltage ΔV as the adjustment signal AS to be applied on the transition voltage of the transition circuit 112. The adjustment voltage ΔV is configured to be applied to adjust the transition voltage in order to transit the logic state of the first signal D1 from having the high logic value to having the low logic value or from having the low logic value to having the high logic value. Taking the situation illustrated by point 2 as an example, in the embodiments, the positive adjustment voltage ΔV is applied to the transition voltage of the transition circuit 112 to increase the transition voltage such that the voltage of the input signal IN can be below the transition voltage and the adjusted first signal D1 having low logic state can be generated. By the same token, in the embodiments illustrated by point 3, the negative adjustment voltage ΔV is applied to the transition voltage of the transition circuit 112 to decrease the transition voltage such that the voltage of the input signal IN can be below the transition voltage and the adjusted first signal D1 having low logic state can be generated.
  • It should be noticed that the configuration of adjustment to the transition voltage of the transition circuit 112 are given for illustrative purposes. Various configuration of the transition circuit 112 are within the contemplated scope of the present disclosure. For example, in some embodiments, the transition voltage can be a threshold voltage of the inverter 112 a or the inverter 112 b. In such embodiment, when the logic state of the first signal D1 is high and the logic state of the second signal D2 is low, the negative adjustment voltage ΔV is applied to the transition voltage of the transition circuit 112 to decrease the transition voltage. Similarly, when the logic state of the first signal D1 is low and the logic state of the second signal D2 is high, the positive adjustment voltage ΔV is applied to the transition voltage of the transition circuit 112 to increase the transition voltage.
  • Reference is now made to FIG. 6. FIG. 6 is a block schematic diagram of the adjustment circuit 130 of the device 10 in FIG. 1, in accordance with some embodiments of the present disclosure. As shown in FIG. 6, the adjustment circuit 130 includes a coder 131, a pull-up circuit 132 and a pull-down circuit 133. The pull-up circuit 132 includes at least one pull-up transistor and the pull-down circuit 133 includes at least one pull-down transistor. In some embodiments, the at least one pull-up transistor is an at least one p-type field effect transistor and the at least one pull-down transistor is an at least one n-type field effect transistor. For illustration, the adjustment circuit 130 is configured to adjust the transition circuit 112, by applying the adjustment voltage ΔV as the adjustment signal AS, in order to modify the first logic state of the first signal D1 when the logic state of first signal D1 and the second signal D2 are different from each other, the enable signal EN having a logic state 1. The coder 131 is configured to generate a switch signal SS in response to the first signal D1, the second signal D2 and the enable signal EN. In some embodiments, the coder 131 can be any circuit implemented as a coder. The pull-up circuit 132 and the pull-down circuit 133 are configured to be switched on or off, in response to the switch signal SS, to generate the adjustment voltage ΔV. In some embodiments of the present disclosure, the transition voltage VT in one operation and the adjustment voltage ΔV are expressed as the equation (1) and (2) below:

  • VT(n)=VT(n−1)+ΔV  (1)

  • ΔV=ΔW×VT(n−1)  (2)

  • ΔW=η×(Yi−Qi)  (3)

  • ΔW=η×(Qi−Yi)  (4)
  • VT(n) is the transition voltage after being applying the adjustment voltage ΔV to the transition voltage VT(n−1) in the previous operation. η is a default learning rate. Qi is the logic state of the first signal D1. Yi is the logic state of the second signal D2. ΔW is a weighting factor.
  • As shown in equation (2), the adjustment voltage ΔV is dependent on the transition voltage of the transition circuit 112, and the adjustment voltage ΔV equals to the transition voltage multiplied by the weighting factor ΔW. Furthermore, as shown in equation (3) and equation (4), the coder 131 is configured to calculate a logic difference between the logic state Qi of the first signal D1 and the logic state Yi of the second signal D2. It should be noted that, when the inverter 112 b operated with error, equation (3) is applied in the coder 131 for calculation. Conversely, when the inverter 112 a operated with error, equation (4) is applied. Correspondingly, in some embodiments, according to the logic difference, the transition voltage of a transition circuit 112 of the detection circuit 110 is adjusted by transistors of the pull-up circuit 132 and/or transistors of the pull-down circuit 133 with the adjustment voltage ΔV as the adjustment signal AS. Thereafter an adjusted first signal D1 is generated by the detection circuit 110 after determining that the first logic state of the first signal is different from the second logic state.
  • Specifically, for example, in some embodiments, when the logic state Qi of the first signal D1 is 1 and the logic state of the second signal D2 is 0, the logic difference between the first signal D1 and the second signal D2 is −1 (that is, based on equation (3), Yi as 0 minus Qi as 1 equals to −1). The pull-up circuit 132 and the pull-down circuit 133 are coupled to the output of the inverter 112 b, while the inverter 112 b having the transition voltage VT(0) does not invert the logic state 1, received from the inverter 112 a, into logic state 0. η is 0.1 by default. Firstly, the coder 131 generates the switch signal SS with S[0]=1 while S[1]−S[k]=0. Accordingly, the first n-type transistor is turned on and generates negative adjustment voltage ΔV, applied on the transition voltage VT(0), ΔW=−0.1 while one pull-down transistor is turned on. After the first operation, if the logic difference between the first signal D1 and the second signal D2 remains −1, the coder 131 generates the switch signal SS with S[0]−S[1]=1 while S[2]−S[k]=0. Accordingly, the first and second n-type transistors are turned on and generate negative adjustment voltage ΔV, applied on the transition voltage VT(1), ΔW=−0.2 while two pull-down transistors are turned on. After the second operation, if the logic difference between the first signal D1 and the second signal D2 remains −1, the coder 131 generates the switch signal SS with S[0]−S[2]=1 while S[3]−S[k]=0. Accordingly, the first, second and third n-type transistors are turned on and generate negative adjustment voltage ΔV, applied on the transition voltage VT(2), ΔW=−0.3 while three pull-down transistors are turned on. In other words, as long as the logic difference of the first signal D1 and the second signal D2 remains 1, the coder 131 can continuously generate switch signal SS to activate more transistors to pull-down the transition voltage of the transition circuit 112.
  • By the same token, for example, in another embodiment, when the logic state Qi of the first signal D1 is 0 and the logic state Yi of the second signal D2 is 1, the logic difference between the first signal D1 and the second signal D2 is 1 (that is, based on equation (3), Yi as 1 minus Qi as 0 equals to 1). The pull-up circuit 132 and the pull-down circuit 133 are coupled to the output of the inverter 112 b, while the inverter 112 b having the transition voltage VT(0) does not invert the logic state 0, received from the inverter 112 a, into logic state 1. η is 0.1 by default. Firstly, the coder 131 generates the switch signal SS with S[0]=0 while S[1]−S[k]=1. Accordingly, the first p-type transistor is turned on and generates positive adjustment voltage ΔV, applied on the transition voltage VT(0), ΔW=0.1 while one pull-up transistor is turned on. After the first operation, if the logic difference between the first signal D1 and the second signal D2 remains 1, the coder 131 generates the switch signal SS with S[0]−S[1]=0 while S[2]−S[k]=1. Accordingly, the first and second p-type transistors are turned on and generate positive adjustment voltage ΔV, applied on the transition voltage VT(1), ΔW=0.2 while two pull-up transistors are turned on. After the second operation, if the logic difference between the first signal D1 and the second signal D2 remains 1, the coder 131 generates the switch signal SS with S[0]−S[2]=0 while S[3]−S[k]=1. Accordingly, the first, second and third p-type transistors are turned on and generate positive adjustment voltage ΔV, applied on the transition voltage VT(2), ΔW=0.3 while three pull-up transistors are turned on. In other words, as long as the logic difference of the first signal D1 and the second signal D2 remains 1, the coder 131 can continuously generate switch signal SS to activate more transistors to pull-up the transition voltage of the transition circuit 112.
  • Moreover, in some other embodiments, when the logic state Qi of the first signal D1 is 1 and the logic state Yi of the second signal D2 is 0, the logic difference between the first signal D1 and the second signal D2 is 1 (that is, based on equation (4), Qi as 1 minus Yi as 0 equals to 1). The pull-up circuit 132 and the pull-down circuit 133 are coupled to the output of the inverter 112 a, while the inverter 112 a having the transition voltage VT(0) does not invert the logic state 0, received from the switch 111, into logic state 1. η is 0.1 by default. Firstly, the coder 131 generates the switch signal SS with S[0]=0 while S[1]−S[k]=1. Accordingly, the first p-type transistor is turned on and generates positive adjustment voltage ΔV applied on the transition voltage VT(0), ΔW=0.1 while one pull-up transistor is turned on. After the first operation, if the logic difference between the first signal D1 and the second signal D2 remains 1, the coder 131 generates the switch signal SS with S[0]−S[1]=0 while S[2]−S[k]=1. Accordingly, the first and second p-type transistors are turned on and generate positive adjustment voltage ΔV, applied on the transition voltage VT(1), ΔW=0.2 while two pull-up transistors are turned on. After the second operation, if the logic difference between the first signal D1 and the second signal D2 remains 1, the coder 131 generates the switch signal SS with S[0]−S[2]=0 while S[3]−S[k]=1. Accordingly, the first, second and third p-type transistors are turned on and generate positive adjustment voltage ΔV, applied on the transition voltage VT(2), ΔW=0.3 while three pull-up transistors are turned on. In other words, as long as the logic difference of the first signal D1 and the second signal D2 remains 1, the coder 131 can continuously generate switch signal SS to activate more transistors to pull-up the transition voltage of the transition circuit 112.
  • Similarly, in another embodiment, when the logic state Qi of the first signal D1 is 0 and the logic state Yi of the second signal D2 is 1, the logic difference between the first signal D1 and the second signal D2 is −1 (that is, based on equation (4), Qi as 0 minus Yi as 1 equals to −1). The pull-up circuit 132 and the pull-down circuit 133 are coupled to the output of the inverter 112 a, while the inverter 112 a having the transition voltage VT(0) does not invert the logic state 1, received from the switch 111, into logic state 0. η is 0.1 by default. Firstly, the coder 131 generates the switch signal SS with S[0]=1 while S[1]−S[k]=0. Accordingly, the first n-type transistor is turned on and generates negative adjustment voltage ΔV, applied on the transition voltage VT(0), ΔW=−0.1 while one pull-down transistor is turned on. After the first operation, if the logic difference between the first signal D1 and the second signal D2 remains 1, the coder 131 generates the switch signal SS with S[0]−S[1]=1 while S[2]−S[k]=0. Accordingly, the first and second n-type transistors are turned on and generate negative adjustment voltage ΔV, applied on the transition voltage VT(1), ΔW=−0.2 while two pull-down transistors are turned on. After the second operation, if the logic difference between the first signal D1 and the second signal D2 remains −1, the coder 131 generates the switch signal SS with S[0]−S[2]=1 while S[3]−S[k]=0. Accordingly, the first, second and third n-type transistors are turned on and generate negative adjustment voltage ΔV, applied on the transition voltage VT(2), ΔW=−0.3 while three pull-down transistors are turned on. In other words, as long as the logic difference of the first signal D1 and the second signal D2 remains −1, the coder 131 can continuously generate switch signal SS to activate more transistors to pull-down the transition voltage of the transition circuit 112.
  • The configurations of switch signals, transition voltages in operations, the number of the transistors of the adjustment circuit 130 being turned on and adjustment voltage ΔV are given for illustrative purposes. Various configurations of the adjustment circuit 130 are within the contemplated scope of the present disclosure.
  • Reference is now made to FIG. 7. FIG. 7 is a block diagram of a device 70, in accordance with some other embodiments of the present disclosure. With respect to the embodiments of FIG. 7, like elements in FIG. 1 and FIG. 6 are designated with the same reference numbers for ease of understanding. The specific operations of similar elements, which are already discussed in detail in above paragraphs, are omitted herein for the sake of brevity, unless there is a need to introduce the co-operation relationship with the elements shown in FIG. 7.
  • Compared to the embodiments shown in FIG. 1, the coder 131, being included in the adjustment circuit 130 as shown in FIG. 6, is now not included in the adjustment circuit 130. As shown in FIG. 7, the coder 131 is coupled between the correction circuit 120 and the adjustment circuit 130. For illustration, in such embodiment in FIG. 7, the coder 131 is enabled by the enable signal EN generated by the correction circuit, and outputs the switch signal SS to the adjustment circuit 130 to switch on or off the corresponding pull-up circuit 132 or the corresponding pull-down 133.
  • Reference is now made to FIG. 8. FIG. 8 is a block diagram of a device 80, in accordance with some other embodiments of the present disclosure. With respect to the embodiments of FIG. 8, like elements in FIG. 1 and FIG. 6 are designated with the same reference numbers for ease of understanding. The specific operations of similar elements, which are already discussed in detail in above paragraphs, are omitted herein for the sake of brevity, unless there is a need to introduce the co-operation relationship with the elements shown in FIG. 8.
  • Compared to the embodiments shown in FIG. 1, the coder 131, being included in the adjustment circuit 130 as shown in FIG. 6, is now not included in the adjustment circuit 130. Furthermore, the function of the correction circuit 120 is integrated into the coder 131. As shown in FIG. 8, the coder 131 is coupled to the detection circuit, the adjustment circuit 130 and the core logic circuit. For illustration, in such embodiment in FIG. 8, the coder 131 is configured to compare the first signal D1 with the second signal D2. When the logic state of the first signal D1 is different from the logic state of the second signal D2, the coder 131 outputs the switch signal SS to the adjustment circuit 130 to switch on or off the corresponding pull-up circuit 132 or the corresponding pull-down 133.
  • In summary, in accordance with various embodiments of the present disclosure, by comparing the output signal of a detection circuit with a reference signal, the detection circuit can be adjusted and accordingly output an adjusted output signal having a correct logic state to a following core logic circuit.
  • It is noted that, the drawings, the embodiments, and the features and circuits in the various embodiments may be combined with each other as long as no contradiction appears. The circuits illustrated in the drawings are merely examples and simplified for the simplicity and the ease of understanding, but not meant to limit the present disclosure.
  • The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure.

Claims (20)

What is claimed is:
1. A device, comprising:
a detection circuit configured to detect an initial logic state of an input signal, and configured to generate, in response to the initial logic state, a first signal having a first logic state;
a correction circuit configured to compare the first signal having the first logic state with a second signal having a second logic state received by the correction circuit, and the correction circuit being configured to generate an enable signal according to the comparison, wherein the second logic state of the second signal has the same logic state as the initial logic state of the input signal; and
an adjustment circuit configured to be enabled by the enable signal when the first logic state of the first signal is different from the second logic state of the second signal, to generate an adjustment signal to the detection circuit,
wherein the detection circuit is further configured to be adjusted according to the adjustment signal, to generate an adjusted first signal.
2. The device of claim 1, further comprising:
a logic circuit coupled to an output of the detection circuit and configured to output a reference signal as the second signal.
3. The device of claim 1, wherein the correction circuit comprises:
an exclusive-OR gate configured to perform an XOR operation of the first signal and the second signal.
4. The device of claim 1, wherein
when the first logic state of the first signal has the same logic state as the second logic state of the second signal, the correction circuit is further configured to disable the adjustment circuit.
5. The device of claim 1, wherein the detection circuit comprises:
a transition circuit configured to transit the initial logic state of the input signal to generate the first signal,
wherein when the first logic state of the first signal is different from the second logic state of the second signal, the adjustment circuit is further configured to generate an adjustment voltage as the adjustment signal to be applied on a transition voltage of the transition circuit.
6. The device of claim 5, wherein
when the first logic state of the first signal has a high logic value and the second logic state of the second signal has a low logic value, the adjustment voltage is configured to be applied to adjust the transition voltage in order to transit the first logic state of the first signal from having the high logic value to having the low logic value.
7. The device of claim 5, wherein
when the first logic state of the first signal has a low logic value and the second logic state of the second signal has a high logic value, the adjustment voltage is configured to be applied to adjust the transition voltage in order to transit the first logic state from the low logic value to the high logic value.
8. The device of claim 5, wherein
the adjustment voltage is dependent on the transition voltage of the transition circuit.
9. The device of claim 8, wherein
the adjustment circuit comprises at least one pull-up transistor and at least one pull-down transistor,
wherein the at least one pull-up transistor and the at least one pull-down transistor are coupled to the detection circuit, and configured to pull up the transition voltage and pull down the transition voltage, respectively.
10. The device of claim 9, wherein the adjustment circuit further comprises:
a coder circuit configured to generate a switch signal in response to the first signal, the second signal and the enable signal.
11. The device of claim 10, wherein
the at least one pull-up transistor and/or the at least one pull-down transistor are further configured to be switched on or off, in response to the switch signal, to generate the adjustment voltage.
12. The device of claim 11, wherein
the at least one pull-up transistor is an at least one p-type field effect transistor and the at least one pull-down transistor is an at least one n-type field effect transistor.
13. The device of claim 1, further comprising:
a coder circuit configured to generate a switch signal in response to the first signal, the second signal and the enable signal.
14. The device of claim 1, wherein the detection circuit further comprises:
a transition circuit configured to transit the initial logic state of the input signal to generate the first signal,
wherein when the first logic state of the first signal is different from the second logic state of the second signal, the adjustment circuit is further configured to adjust the transition circuit, by the adjustment signal, in order to modify the first logic state of the first signal.
15. A method, comprising:
detecting, by a detection circuit, an initial logic state of an input signal;
generating, by the detection circuit, a first signal with a first logic state corresponding to the initial logic state;
calculating, by a coder circuit, a logic difference between the first logic state of the first signal and a second logic state that is the same as the initial logic state of the input signal; and
adjusting, by a plurality of first transistors and a plurality of second transistors, according to the logic difference, a transition voltage of a transition circuit of the detection circuit by an adjustment voltage,
wherein the first logic state of the first signal is configured to be modified according to the transition voltage.
16. The method of claim 15, further comprising:
determining, by a correction circuit, whether the first logic state of the first signal is the same as the second logic state.
17. The method of claim 16, further comprising:
generating, by the detection circuit, an adjusted first signal after determining that the first logic state of the first signal is different from the second logic state.
18. The method of claim 15, wherein
generating, by a correction circuit, an enable signal when the first logic state of the first signal is different from the second logic state, to enable the coder circuit.
19. The method of claim 15, wherein adjusting the transition voltage comprises:
generating, by the coder circuit, a switch signal according to the logic difference,
wherein the plurality of first transistors and the plurality of second transistors are configured to be switched on or off in response to the switch signal.
20. The method of claim 19, further comprising:
decreasing the transition voltage when the first logic state of the first signal has a low logic value and the second logic state has a high logic value; and
increasing the transition voltage when the first logic state of the first signal has a high logic value and the second logic state has a low logic value.
US16/583,284 2019-09-26 2019-09-26 Correction device Active US10985783B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US16/583,284 US10985783B1 (en) 2019-09-26 2019-09-26 Correction device
CN201911024559.7A CN112562773B (en) 2019-09-26 2019-10-25 Logic state correction device and logic state correction method
TW108139124A TWI716171B (en) 2019-09-26 2019-10-29 Device and method for logic state correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US16/583,284 US10985783B1 (en) 2019-09-26 2019-09-26 Correction device

Publications (2)

Publication Number Publication Date
US20210099189A1 true US20210099189A1 (en) 2021-04-01
US10985783B1 US10985783B1 (en) 2021-04-20

Family

ID=75030237

Family Applications (1)

Application Number Title Priority Date Filing Date
US16/583,284 Active US10985783B1 (en) 2019-09-26 2019-09-26 Correction device

Country Status (3)

Country Link
US (1) US10985783B1 (en)
CN (1) CN112562773B (en)
TW (1) TWI716171B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI829356B (en) * 2021-12-13 2024-01-11 群創光電股份有限公司 Electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120153987A1 (en) * 2009-04-28 2012-06-21 Stmicroelectronics S.R.L. Digital noise protection circuit and method
US20170117901A1 (en) * 2015-10-21 2017-04-27 Microsoft Technology Licensing, Llc Phase-mode based superconducting logic

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4896244A (en) * 1987-03-23 1990-01-23 General Dynamics Electronics Division Feed forward compensation circuitry and switching logic driver with overcurrent protection incorporating same
KR100203399B1 (en) * 1996-09-05 1999-06-15 윤종용 Error code correction circuit of a semiconductor device
US6791479B2 (en) * 2001-03-30 2004-09-14 Visteon Global Technologies, Inc. System for logic state detection
US6954373B2 (en) * 2003-06-27 2005-10-11 Hewlett-Packard Development Company, L.P. Apparatus and method for determining the logic state of a magnetic tunnel junction memory device
KR100567908B1 (en) * 2004-12-30 2006-04-05 주식회사 하이닉스반도체 Calibration circuit for semiconductor memory device and method of operating the same
CN100462888C (en) * 2005-07-21 2009-02-18 群联电子股份有限公司 Detecting regulation circuit
US7986171B2 (en) * 2008-10-21 2011-07-26 Himax Technologies Limited Mixed-voltage I/O buffer
US8462906B1 (en) * 2011-09-15 2013-06-11 Altera Corporation Apparatus and methods for detection and correction of transmitter duty cycle distortion
US10795809B2 (en) * 2018-01-10 2020-10-06 Arizona Board Of Regents On Behalf Of Arizona State University Non-volatile logic device for energy-efficient logic state restoration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120153987A1 (en) * 2009-04-28 2012-06-21 Stmicroelectronics S.R.L. Digital noise protection circuit and method
US20170117901A1 (en) * 2015-10-21 2017-04-27 Microsoft Technology Licensing, Llc Phase-mode based superconducting logic

Also Published As

Publication number Publication date
US10985783B1 (en) 2021-04-20
TWI716171B (en) 2021-01-11
TW202113859A (en) 2021-04-01
CN112562773A (en) 2021-03-26
CN112562773B (en) 2024-08-09

Similar Documents

Publication Publication Date Title
US7026855B2 (en) Semiconductor device to prevent a circuit from being inadvertently active
US7288967B2 (en) Differential output driver and semiconductor device having the same
US6545510B1 (en) Input buffer and method for voltage level detection
US7408483B2 (en) Apparatus and method of generating DBI signal in semiconductor memory apparatus
US9455628B2 (en) Voltage regulator with overshoot suppression circuit and capability to stop overshoot suppression
US7863942B2 (en) Voltage detecting circuit
US9425795B2 (en) Circuit and method for detection and compensation of transistor mismatch
US10985706B1 (en) Hysteresis comparator
US10985783B1 (en) Correction device
US20120306543A1 (en) Semiconductor device including output driver
US10614884B2 (en) Content addressable memory with match hit quality indication
US20060103452A1 (en) Internal voltage generator for semiconductor device
US10340857B2 (en) Amplifier circuit
US8922251B2 (en) Buffer control circuit and integrated circuit including the same
JPH1022816A (en) Dynamic circuit
TWI748800B (en) Current steering comparator and capacitor control method
US7170329B2 (en) Current comparator with hysteresis
US9595898B1 (en) Device for controlling motor driving
TWI603584B (en) Output buffer with process and voltage compensation
US10581420B2 (en) Semiconductor device
US7683591B2 (en) Semiconductor device with voltage variation detector
US8816723B1 (en) Buffer circuit
TW202013892A (en) Comparator circuitry
US11996147B2 (en) Memory and operating method thereof
US11742856B2 (en) Digital buffer device with self-calibration

Legal Events

Date Code Title Description
AS Assignment

Owner name: NANYA TECHNOLOGY CORPORATION, TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HAO, CHUNG-PENG;REEL/FRAME:050537/0352

Effective date: 20190620

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 4