What is the difference between synchronous and asynchronous circuits?

Source: Internet
Author: User

1, what is the synchronization logic and asynchronous logic, synchronous circuit and asynchronous circuit what is the difference?
Synchronization logic is a fixed causal relationship between clocks. Asynchronous logic is the absence of a fixed causal relationship between clocks.
Circuit design can be classified as synchronous circuit and asynchronous circuit design. Synchronous circuits use clock pulses to synchronize their subsystems, while asynchronous circuits do not synchronize with clock pulses, and their subsystems are synchronized using special "Start" and "complete" signals. Because asynchronous circuits have the following advantages-no clock skew problem, low power consumption, average performance, not worst-performance, modularity, composable, and reusability-so in recent years the study of asynchronous circuits has increased rapidly, the number of papers has multiplied, and the Intel Pentium 4 Processor has been designed with asynchronous circuitry.
Asynchronous circuit is mainly a combinational logic circuit, used to generate the address decoder, FIFO or RAM read and write control signal pulse, its logic output and any clock signal is not related, decoding output produced by the glitch is usually can be monitored. Synchronous circuits are circuits consisting of sequential circuits (registers and various triggers) and combinational logic circuits, all of which are performed under strict clock control. These sequential circuits share the same clock CLK, and all state changes are done on the rising edge (or falling edge) of the clock.

2, what is "line and" logic, to achieve it, in the hardware characteristics of the specific requirements?
The line and logic are the functions that can be achieved with two output signals connected to each other. In the hardware, to use the OC door (drain or open collector), because no OC door may make the sink too large, and burn the logic gate, while the output port should be added a pull-up resistor. (line or pull-down resistor)

3, what is setup and holdup time, Setup and holdup time difference.
Setup/hold time is the test chip's timing requirement between the input signal and the clock signal. The settling time refers to the time when the clock signal of the trigger rises along the arrival of the data before the date is stable. The input signal should advance the clock rising edge (as the rising Edge is valid) T time to reach the chip, this T is the settling time-setup. This data cannot be hit by this clock if Setup is not satisfied, and the data cannot be hit by the trigger until the next clock rising edge. Hold time refers to the time when the data is stable when the trigger's clock signal rises along the arrival. If hold time is not enough, the data cannot be driven into the trigger.
Setup time, and hold time. Settling time refers to the time at which the data signal needs to remain constant before the clock edge. Hold time refers to the time when the data signal needs to be kept constant after the clock jumps over the edge. If the build and hold time is not met, then DFF will not be able to properly sample the data, there will be a stability situation. If the data signal lasts longer than the setting and hold time before and after the clock is triggered, then the excess amount is called settling time margin and hold time margin, respectively.

4. What is the phenomenon of competition and adventure? How to judge? How to eliminate?
In combinatorial logic, due to the different delay in the input signal path of the gate, the time to reach the gate is inconsistent called competition. Creating glitches is called adventure. If the opposite signal is in the Boolean, competition and risk may arise. Solution: One is to add a Boolean elimination item, the second is the chip outside the capacitor.

5. Do you know those common logic levels? Can the TTL and COMs levels be directly interconnected?
Common logic levels: 12v,5v,3.3v;ttl and CMOS can not be directly interconnected, because the TTL is between 0.3-3.6v, and CMOS is in the 12V has at 5V. The CMOS output is connected directly to the TTL. TTL to CMOS requires a pull-up resistor on the output port to 5V or 12V. CMOS high and low levels are:vih>=0.7vdd,vil<=0.3vdd;, respectively Voh>=0.9vdd,vol<=0.1vdd. The TTL is:vih>=2.0v,vil<=0.8v; voh>=2.4v,vol<=0.4v. TTL can be driven directly with CMOS, and after pull, TTL drives CMOS.

6, how to solve the metastable state.
Metastable means that a trigger cannot reach a confirmed state within a specified period of time. When a trigger enters the metastable state, neither the output level of the unit can be predicted, nor can it predict when the output will stabilize at a certain correct level. During this stabilization, the trigger outputs some intermediate levels, or may be in an oscillating state, and this useless output level can be cascaded along the various triggers on the signal path.
Workaround:
1 Lowering the system clock
2 FF with faster reaction
3 introducing a synchronization mechanism to prevent metastable propagation
4 improved clock quality, fast clock signal with edge change
The key is that the device uses a relatively good process and the clock period of headroom is greater.

7, the difference between synchronous reset and asynchronous reset in IC design.
Synchronous reset at the clock along the recovery signal, complete the reset action. Asynchronous reset regardless of the clock, as long as the reset signal satisfies the condition, it completes the reset action. The asynchronous reset has a high demand for the reset signal and can not have burrs, and if it is uncertain with the clock, the metastable state may occur.

8, MOORE and Meeley state machine characteristics.
The output of the Moore state machine is only relevant to the current state value and only changes in state when the clock edge arrives. The output of the Mealy state machine is not only related to the current state value, but also to the current input value.

9, multi-temporal domain design, how to deal with the signal cross-time domain.
Synchronous processing is required for signal communication between different clock domains, which can prevent the metastable signal of the first level trigger in the new clock domain from affecting the subordinate logic, in which a two-stage synchronizer can be used for a single control signal, such as level, edge detection and pulse, can be used FIFO, dual-port RAM, handshake signal, etc.
The signals in the cross-time domain are synchronized by Synchronizer to prevent metastable propagation. For example: A signal in the clock domain 1, to be sent to the clock domain 2, then before the signal sent to the clock domain 2, before the clock domain 2 is synchronized before entering the clock domain 2. This Synchronizer is a two-level D trigger whose clock is the clock domain 2 clock. This is to be afraid of the clock domain 1 in this signal, may not meet the clock domain 2 in the creation of the trigger hold time, and produce metastable, because they do not have a certain relationship between, is asynchronous. This only prevents metastable propagation, but does not guarantee the correctness of the data being collected. So it is usually only a few digits of the signal synchronization. such as control signals, or addresses. When the address is synchronized, the address should generally use gray code, because gray code each time only one bit, the equivalent of only one Synchronizer at a time, so as to reduce the probability of error, like asynchronous FIFO design, compared to read and write address size, is used this method. If you are transferring large amounts of data between two clock domains, you can use an asynchronous FIFO to solve the problem.

10. The Setup,hold time of Reg is given, and the delay range of the intermediate combinational logic is obtained.
Delay < Period-setup–hold

11, the clock cycle is T, the trigger D1 register to the output time Max is T1max, the minimum is t1min. The maximum delay for a combinational logic circuit is t2max, and the minimum is t2min. Q, what conditions should be met for the set-up time T3 and hold time of the trigger D2.
T3setup>t+t2max,t3hold>t1min+t2min

12, given a general timing circuit diagram, there are tsetup,tdelay,tck->q, and clock delay, write the factors that determine the maximum clock, and give the expression.
t+tclkdealy>tsetup+tco+tdelay;
thold>tclkdelay+tco+tdelay;

13, talk about the advantages and disadvantages of static and dynamic timing simulation.
The static time series analysis is to use exhaustive analysis method to extract all the time-series paths in the whole circuit, calculate the propagation delay of the signal on these paths, check whether the establishment and retention of the signal meet the timing requirements, and find out the errors that violate the timing constraints by analyzing the maximum path delay and the minimum path delay. It does not require the input vectors to exhaust all paths, and runs quickly and takes up less memory, not only the chip design can be a comprehensive sequential function check, but also can use the results of time series analysis to optimize the design, so static timing analysis is increasingly used in digital IC design verification.
Dynamic timing simulation is the usual simulation because it is not possible to produce complete test vectors that cover every path in the gate-level grid. Therefore, in the dynamic time series analysis, it is impossible to reveal the possible timing problems on some paths.

14, a four-level MUX, wherein the second signal is the key signal how to improve the timing.
Key: The second stage signal is placed to the final output of the first level output, while the changes in the chip selection signal to ensure that its priority has not been modified.

15, why a standard inverter in the P-tube width-to-length ratio is greater than the width of the n-tube ratio?
and carrier-related, p-tube is the hole conductive, n-tube electronic conductivity, electron mobility is greater than the hole, the same electric field, n tube current greater than the P-tube, so to increase the P-tube width-to-length ratio, so as to make the two rise time fall equal, high and low level noise tolerance, charge discharge time equal

16, the difference between latch and register, why now more use register. The behavior-level description of how latch is produced.
Latch is the level trigger, register is the Edge trigger, register in the same clock edge triggered action, in line with the design of synchronous circuit, and latch is asynchronous circuit design, often lead to difficult timing analysis, inappropriate application latch will be a lot of waste of chip resources.

17, the difference of BLOCKING nonblocking assignment.
Non-blocking Assignment: Assignment statements within a block are assigned at the same time, and are generally used in sequential circuit descriptions

What is the difference between synchronous and asynchronous circuits (RPM) and asynchronous logic?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.