17 January 2024

D-Algorithm

Inducing the fault in any node and propagating the fault effect from the fault site to the primary output is called D-Algorithm.

D-Algorithm uses 5-valued logic (0, 1, D, D', X).

If,

D = 1, then No Fault

D' = 0, then No Fault

D = 0, then Fault

D' = 1, then Fault


D-Algorithm Proceedure

  1. Truth Table
  2. Singular Cover
  3. Finding D-Cube with D-Intercept
  4. Propagate fault effect to PO
  5. Back-track to PI to justify


22 September 2023

MOSFETs Fabrication Process

Before know about the fabrication process of MOSFETs, we should know about the following terms SubstrateIntrinsic SemiconductorExtrinsic SemiconductorDoping, Diffusion, n-Well, nMOS, pMOS.

Substrate

Substrate is known as supporting material. It provide mechanical support, electrical isolation, and thermal dissipation. Also it has high melting point (1400°C). So upon which or within which the elements of semiconductor device are fabricated or attached.

Live example: soil is the substrate for plants. Soil act as a supporting material for plant.


Intrinsic Semiconductor

Semiconductor that are pure, in other words free from impurities are called as Intrinsic Semiconductor. That is, number of existed electrons are equal to number of holes (e = p).


Extrinsic Semiconductor

If the impurities are doped to the pure semiconductor, then it becomes Extrinsic Semiconductor.


Doping

Doping is the process of adding impurities to the intrinsic semiconductors to change their properties. Normally Trivalent and Pentavalent elements are used to dope Silicon.

If the intrinsic semiconductor is dopped with trivalent (3 electrons) impurities, then it becomes p-type semiconductor.

Trivalent materials: Boron, Gallium, Aluminium (Acceptor Impurities)

If the intrinsic semiconductor is dopped with pentavalent (5 electrons) impurities, then it becomes n-type semiconductor.

Pentavalent materials: Phosphorus, Nitrogen, Arsenic (Donor Impurities)


Diffusion

Diffusion is the net movement of anything (electron, hole, atom, ions) generally from a region of higher concentration to region of lower concentration.


n-Well

n-Well is created in p-type substrate by digging well and putting n-type material in that well.

In p-type substrate, we can make nMOS.

In n-type substrate, we can make pMOS.

But in CMOS technology, we need both nMOS and pMOS transistors to build a circuit. Both nMOS and pMOS must be fabricated on the same silicon substrate (wafer).

The wafer are mostly p-type. So, we can only make nMOS transistors in those wafers. To fabricate a pMOS transistors, we dope a selected regions of the wafer to be n-type. By digging well and fill that well by n-type material is called as n-well.


N-channel MOSFET (NMOS): In an NMOS transistor, the semiconductor channel is made of n-type material (electron-rich). The gate voltage controls the flow of electrons from the source to the drain. When a positive voltage is applied to the gate with respect to the source, it creates an electric field that attracts electrons, forming a conductive channel between the source and drain, allowing current to flow.


P-channel MOSFET (PMOS): In a PMOS transistor, the semiconductor channel is made of p-type material (hole-rich). The gate voltage controls the flow of holes from the source to the drain. When a negative voltage is applied to the gate with respect to the source, it creates an electric field that attracts holes, forming a conductive channel between the source and drain, allowing current to flow.


03 August 2023

Setup Time, Hold Time, Clock Skew, Clock Latency

"Setup Time" and "Hold Time" are important timing parameters in digital circuit design, particularly when dealing with flip-flops or registers.


Setup Time:

The setup time (Ts) is the minimum amount of time that the input signal must be stable before the active edge of the clock signal (rising or falling edge) arrives. In other words, the input data must be valid and unchanged for at least the setup time before the clock transition occurs. If the input changes too close to the clock edge, there might not be enough time for the flip-flop to properly capture the correct data.


Hold Time:

The hold time (Th) is the minimum amount of time that the input signal must remain stable after the active edge of the clock signal arrives. It ensures that the input data remains unchanged while the flip-flop captures the data. Changing the input too quickly after the clock edge can lead to data corruption or incorrect behavior.

Violations of setup and hold times can lead to timing-related issues, such as metastability, data corruption, or incorrect logic behavior. To ensure proper operation, digital designs must satisfy both setup and hold time requirements.

Designers typically analyze these timing parameters during the digital design process and perform static timing analysis to verify that these constraints are met. If the setup and hold times are not satisfied, appropriate measures must be taken, such as adjusting the clock frequency and optimizing logic paths.


Clock Skew:

The difference in the arrival time of a clock signal at two different registers, which can be caused by path length differences between two clock paths, or by using gated or rippled clocks.

Clock skew refers to the variation in arrival times of a clock signal at different points in a digital circuit. In other words, it is the difference in arrival times of the clock signal at various clocked elements, such as flip-flops, registers, and other sequential logic components. Clock skew can lead to 

  • Violations of setup and hold time requirements.
  • Reduced timing margins, which may affect performance.
  • Potential for incorrect logic behavior.


Clock Latency
:

The time taken by the clock signal to reach from clock source to the clock pin of the particular flip flop is called as clock latency.



Synchronous Clock vs. Asynchronous Clock

  • Clock is generated by Oscillator.
  • Clock is having two components :-
    • Phase (used to describe the specific location)
    • Frequency


Synchronous Clock:
Synchronous clock will have same phase and same source.


Asynchronous Clock:
Asynchronous clock will have different phase and different source.






01 August 2023

OCC - On-chip Clock Control

On-chip Clock Controller is a circuit or block to manage and control the clock signals of various on-chip components. The OCC is responsible for generating, distributing, and gating clock signals to ensure proper synchronization and timing of the chip's functional blocks.

OCC decides which clock to be probagated during Shift and Capture. Also decides how many clock pulses are required during Capture.




In Test Mode,

If SE is 1 (Shift Phase), the Scan Clock is propagated at the output of OCC.

If SE is 0 (Capture Phase), the shift register starts shifting ‘1’ and enables the Clock Gate, to allow single pulse or double pulse, depending on the type of testing. The OCC generates one clock pulse in stuck-at testing (At-speed Mode = 0) and two clock pulses in at-speed testing (At-speed Mode = 1).



PLL - Phase Locked Loop

PLL is a circuit used to generate a stable and pricised clock signal from the noisy input signal. The PLL compare the input signal with reference signal and adjust the phase and frequency of the output signal.

A PLL is a feedback control system that compares the phase of an input reference signal with a feedback signal generated by a voltage-controlled oscillator (VCO). The PLL adjusts the VCO's frequency to match the reference frequency, generating a stable clock signal.



The main components of a typical PLL are:

  • Phase Detector (PD): The phase detector compares the phase of the input reference signal (usually called the "reference signal" or "reference clock") with the phase of the feedback signal (usually called the "feedback signal" or "output clock"). It produces an error signal that represents the phase difference between the two signals.
  • Voltage-Controlled Oscillator (VCO): The VCO is an oscillator whose output frequency can be controlled by applying a voltage. The VCO generates the output signal of the PLL, which is usually called the "output clock" or "PLL output." The frequency of the VCO is controlled by the error signal from the phase detector.
  • Loop Filter: The loop filter is a low-pass filter used to filter the error signal from the phase detector and provide a smooth control voltage to the VCO. It helps stabilize the PLL and reduce jitter in the output signal.


The operation of a PLL is as follows:

  1. The phase detector continuously compares the phase of the reference signal and the feedback signal and generates an error signal.
  2. The error signal is filtered by the loop filter to obtain a smooth control voltage.
  3. The control voltage is applied to the VCO, which adjusts its output frequency to minimize the phase difference between the reference signal and the feedback signal.
  4. The output signal of the VCO becomes the feedback signal, which is fed back to the phase detector, completing the feedback loop.

31 July 2023

Pin, Pad, Port

Pin: An individual terminal or connection point on an electronic component.

Pad: A conductive area on a PCB or IC where a component's PIN is soldered for electrical connection.

Port: A group of related input or output pins in a digital system, often associated with a specific function or communication interface.




D-Algorithm

Inducing the fault in any node and propagating the fault effect from the fault site to the primary output is called D-Algorithm. D-Algorithm...