search
HomeCommon ProblemWhat does a computer's memory unit consist of?

The computer's memory unit consists of two parts: memory and sequential access control. Memory units are divided into latches and flip-flops according to the level sensitivity and edge sensitivity of the clock; according to the type of input terminal, they can be divided into SR type, JK type, D type, and T type.

What does a computer's memory unit consist of?

The memory unit is the basic component of the memory. The memory unit is composed of internal storage (memory) and sequential access control.

Category

1. One of the classifications

Memory units are divided into latches and flip-flops according to the level sensitivity and edge sensitivity of the clock. The register can be two arrays composed of these two components respectively. They are introduced below.

(1) Latch - A level-sensitive memory unit is called a latch. For example, the TTL device 7475 relies on the high or low level of the input clock to achieve gating.

(2) Flip-flop - an edge-sensitive memory unit is called a flip-flop. For example, the TTL device 7474 is triggered by the rising or falling edge of the input clock.

In many materials, the internal storage value is transparently transmitted and set by the input data, which is called a latch. Flip-flops, especially master-slave latches, mean that the reading of the input value and the change of the output value are two opaque independent events. This opacity between input and output also leads to the emergence of the role of the clock trigger edge. Note that the different definitions of latches and flip-flops reflect different viewing perspectives, but they are still related. Change back to the more popular definition above.

(3) Register (Register) - generally refers to an array composed of multiple flip-flops, used to store multi-bit data; a latch array, such as a data bus, may also be used. Note that in some cases it also refers to a single flip-flop or latch.

2. Classification 2

Memory units can also be classified according to the type of input terminal.

(1) SR type - the set reset type can be subdivided into two types: SR and SR. Refer to Figure 1.

What does a computer's memory unit consist of?

At this time, based on the state of the output Q terminal, the memory unit state is either set by 0 at the S input terminal; or reset by 0 at the R input terminal: If S, R If both are 1, the state is maintained; however, S and R cannot be 0 at the same time. For the SR type in the same narrow sense, the situation is opposite.

(2) JK type - similar to SR type, but the J input terminal and the K input terminal can be 1 (state flip) or 0 (state maintenance) at the same time. JK type can be used to form other types of memory units.

(3) D type - D input terminal provides data (Data). Some information says that D stands for delay. When a clock event occurs, its output Q terminal value is transparently determined by the input D value.

(4) T type - You can connect the Q of the D type to D, and use T as the input of the clock

terminal. At this time, the Q output will be the frequency divided by two of the T clock signal. For this T type, a frequency division enable control terminal can also be added.

For memory units, the most important thing is still to store the correct data at the right location and at the right moment. In order for the memory unit to work reliably, two rated parameters used to characterize the relationship between data and clock constraints - data setup time and hold time must be met. For memory unit circuits that are triggered by the rising edge of the clock, the minimum stable period of data before the rising edge of the clock (some documents also take the midpoint of the rising edge) is called setup (sp), and the period after that is called hold (hp). The cumulative delay factor after cascading logic gates often destroys the rated requirements of the memory unit sp and hp, thereby limiting the maximum speed of the entire system. This is often something that needs to be paid close attention to when analyzing waveforms.

The above is the detailed content of What does a computer's memory unit consist of?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.