Section 3: address line and bus

Source: Internet
Author: User

Each byte in DRAM is unique.
The value mark is called an address, just like a house in a block. The address is an integer value. The address of the first byte in the memory is 0. The memory area near the 0 address is called the memory bottom or low memory. Inner proximity
The memory area at the storage end is called high memory. The addressing capability of the processor to the physical memory is called the physical address space of the processor. (See Figure 1.3)

Figure 1-3

The physical address space of the processor indicates the maximum number of addressable bytes, rather than the actual number of bytes in physical memory. People usually do not want to spend money to buy Memory DRAM chips that fill the whole address space. The purchased 4 gb dram is currently only available on high-end enterprise-level servers.

The physical address space of the processor is determined by the number of processor address lines.
Decide. The address line is the wire connecting a batch of processors and DRAM chips. Each address line specifies an address bit of a given byte. For example, Intel
The Pentium processor has 32 address lines. This means that each byte is assigned a 32-bit address, so its address space constitutes an addressable space of 232 (4 GB ). 8088 processing appliance
There are 20 address lines, so its addressing capability is 220, or 1,048,576, bytes.

 

Note:For example
If the virtual memory is enabled on the pentium4 platform, there is a physical address extension (physical address extension)
) (PAE) to technology, you can enable four additional address lines. In this way, the processing address space of the Pentium processor is changed from 36 address lines to 236 bytes.
(64 GB) address space.

 

The processor uses a control bus and Data Bus to access and expand the physical memory. A bus is a collection of lines that connect processors to related hardware subsystems. The control bus is used to send the corresponding status when the processor wants to perform read/write operations on the memory. The data bus is used to transmit data between the processor and the memory. (1.4)

 
Fig 1.4

When the processor reads data from the memory, the following process is performed:

1. The processor places the address of the byte to be read online.
2. The processor reads signals from the control bus.
3. The DRAM chipset returns the specified byte from the data bus.

When the processor writes data to the memory, the following process is performed:

1. The processor places the address of the byte to be written to the address line.
2. The processor sends a write signal to the control bus.
3. The processor sends the bytes to be written to the memory to the data bus.

The description method is too simple. Example
For example, the Pentium processor reads and writes 4 bytes of data simultaneously. This is why Pentium is called a 32-bit processor chip. The processor uses the first byte address to record 32-bit
Actual data load. (For example, the lowest-end byte address) bytes I think the general operation is very easy to understand.

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.