Is it correct to say that main memory (RAM) is a part of CPU?

2

1

I recently had an argue with my English teacher, because of text given to us for translation. It states:

The pieces of equipment making up the computer system are known as hardware. The most important item of hardware is the CPU (Central Processing Unit). This is the electronic unit at the centre of the computer system. It contains the processor and the main memory.

She rejected my point about that author probably meant CPU cache and clarified that main memory is RAM. Nor did she accept that he's probably wrong in that case.

I didn't get any explanations about that. Trying to find something in Google didn't help me either.

The text is about computers and in the following paragraphs it claims that computers may have a keyboard, display and printer; I guess it's pretty safe to say that the text is about PCs.

So, with exception of microcontrollers and SoC (most of them use external memory however), is it correct to say that CPU contains RAM? Or did it at any point in any form?

mushi.f

Posted 2017-04-09T14:06:51.203

Reputation: 21

The CPU is the processor chip. It contains some random-access memory, used mainly for caching. In a PC the main memory is in separate chip-sets, in other locations on the motherboard. However, over the years some processors have been produced with limited on-chip main memory, for use in self-contained units, such as process controllers; they are too limited for use in PCs. However, occasionally the term CPU is misapplied to complete systems, particularly in network diagrams, as a generic term for processing nodes (PCs, tablets, etc), to distinguish them from other networking components. – AFH – 2017-04-09T14:32:14.707

2The text is simply a bit outdated and/or takes a higher level perspective on computers. Today, the word CPU is used for a chip which does not contain RAM (the microprocessor). But in the olden days, and also from a conceptual view (think mainframes or big data centers), the CPU was simply distinguished from the periphery (both very huge boxes). I'm not sure the term "CPU" is still used this way in any context, but is definitely was, until the modularity of computers changed. In this regard, I beg to differ from the comment and answer given so far. – Run CMD – 2017-04-09T15:31:46.230

@ClassStacker So you've seen that usage in the past too.. I have seen that usage in the UK in the past. Are you based in America? – barlop – 2017-04-09T16:54:47.057

Show her separate CPU chip and RAM stick. – Oleg V. Volkov – 2017-04-09T16:56:15.650

@ClassStacker, uh, so it not only USSR grandma's who call PC case with everything inside "processor". That's kind of surprising... – Oleg V. Volkov – 2017-04-09T16:57:44.583

@barlop I've worked with computers with a CPU the size of closets and hard disks the size of a washing machine, being able to store unimpressive amounts of data. And I had to deal with COCOM aspects in international projects.

– Run CMD – 2017-04-09T17:02:07.403

@OlegV.Volkov No worries, I'm not taking that personal. – Run CMD – 2017-04-09T17:03:18.043

@OlegV.Volkov No, Oleg. I'm talking about an old usage of calling the PC case a CPU, not calling it a processor. – barlop – 2017-04-09T17:03:48.617

@ClassStacker I see that includes america. And are you in america? Why are so many americans ignorant of this? – barlop – 2017-04-09T17:05:24.173

@OlegV.Volkov She knows that it's two separate parts. As I remember explanation was that in English by saying CPU people refer to CPU and RAM combination, because they're pretty useless on their own. I wonder where is motherboard then... – mushi.f – 2017-04-09T20:15:30.550

"people refer to CPU and RAM combination, because they're pretty useless on their own" -- That's lame reasoning; you could start extending that to a graphics card and HDD. Of course then you end up with the ignorant user's conflation of CPU and computer. From my experience, which probably goes back as far as @ClassStacker, there has never been any change in the proper or technical definition of "CPU". However I have seen poorly-informed users (and even engineers and developers) incorrectly refer to a SoC (e.g. micro-controllers and "computer on a chip") as a "CPU". – sawdust – 2017-04-10T01:28:04.410

@mushi.f That explanation about things being useless on their own, is ridiculous and makes no sense. Even a computer is useless on its own without a user, but that doesn't mean we include the user in the term Computer. Obviously individual components have names too. Nevertheless, in the old broad definition for CPU(that's the definition as used in your text, as jll's answer has indicated), includes motherboard, everything plugged into the motherboard, and even the case. The things "other" to the CPU(in that definition), are Peripherals i.e. keyboard, mouse, monitor, printer. . – barlop – 2017-04-12T19:23:18.730

Answers

3

The key point in your question is my English teacher so this is not about technology but about English language understanding and possibly translation.

Whether the text is technically correct or not shouldn't matter. If the author wrote the RAM is part of the CPU, you have to take it as it is and not alter the author text. Arguing about computing details with an English teacher is probably pointless and doomed, as you experienced.

In any case, the text you studied is quite outdated, probably from the early eighties, as this sentence exhibits: Microcomputers, commonly known as micros, are the smallest and the least powerful. They are about the size of a typewriter. Its author is opposing the Central Processing Unit to the peripherals in which case RAM is indeed part of the former. Later, the text tells the microprocessor is made of registers and an ALU and that it acts as the Central Processing Unit of the computer, rectifying the controversial initial statement.

jlliagre

Posted 2017-04-09T14:06:51.203

Reputation: 12 469

I agree on that I should just follow the excercises and not try to find author errors, but I'm studying on IT-subject; and our English textbooks were specially designed for this course. So translating such thing like I didn't noticed anything must create some dissonance in my head, don't you think? – mushi.f – 2017-04-09T21:19:35.897

By the way, thanks for quote source, I haven't seen orininal text (ours is like half of that, without these obvious signs of old age). – mushi.f – 2017-04-09T21:28:27.977

Well done for finding the text and showing which definition of CPU was being used. – barlop – 2017-04-09T23:17:38.340

Also worth noting given some other discussion, that the use of the term cellphone shows it's not a UK textbook. So that old definition of CPU is not just a UK thing as one commenter tried to claim. – barlop – 2017-04-09T23:21:54.023

Worth also pointing out that as far as the "English Language" goes, people often refer to "that box on/under the desk" as the "CPU". Technically not correct, but common enough to make it correct when we are focusing on communication, not technical accuracy. – Attie – 2017-10-27T17:39:15.333

2

First, I'll focus on your question:

Is it correct to say that main memory (RAM) is a part of CPU?

Which seems prompted by the quoted assertion that:

The most important item of hardware is the CPU (Central Processing Unit)....It contains the processor and the main memory.

No, the CPU doesn't contain Main Memory.

Wikipedia defines the CPU as:

A central processing unit (CPU) is the electronic circuitry within a computer that carries out the instructions of a computer program by performing the basic arithmetic, logical, control and input/output (I/O) operations specified by the instructions. The computer industry has used the term "central processing unit" at least since the early 1960s. Traditionally, the term "CPU" refers to a processor, more specifically to its processing unit and control unit (CU), distinguishing these core elements of a computer from external components such as main memory and I/O circuitry.

The Processor is separate from main memory. Going all the way back to the the Intel 4004 created in 1971, the first microprocessor in which modern CPUs find their legacy, RAM (a.k.a. "Main Memory") has been a component external to the CPU.

Here's a block diagram of the 4004's successor, the Intel 8080, introduced in April 1974 (it's very similar to the Motorola 6800 released in August of the same year):

enter image description here

Notice the pins labeled D0-7 and A0-15. The D pins are connected to the Main Memory and are used to transfer 8-bits of data to or from RAM at a time. This makes the Intel 8080 an 8-bit processor. The A pins are also connected to Main Memory, but are used to specify the address in memory that should be accessed by the next data read/write operation. These 16 address signals enable the processor to access up to 64KB of memory (216 = 65536 = 64KB).

The fact that memory is external to the processor is explained on page 263 of the book Code by Charles Petzold (published by Microsoft Press):

The 8080 is an 8-bit microprocessor that reads data from memory and writes data to memory 8 bits at a time. The chip includes eight signals labeled D0 through D7. These signals are the only ones on the chip that are both inputs and outputs. When the microprocessor reads a byte of memory, the pins function as inputs; when the microprocessor writes a byte to memory, the pins function as outputs. [emphasis mine]

Of course, an input (or output) signal is only necessary when a device connects to another device, in this case, Main Memory.

A further observation is that if Main Memory were integrated into the CPU, it would be impossible to expand the amount of memory available to the computer. It was recognized very early in the course of developing integrated circuits used for computers, in part to the extremely high cost of RAM at the time, that users may need to add more memory later. It would and continues to be a ludicrous idea to integrate Main Memory into the CPU.


Is it correct to say that CPU contains RAM? Or did it at any point in any form?

Yes, even early CPUs contained RAM (kinda).

That is, if by RAM we mean memory that can be accessed non-sequentially and is volatile, i.e. its content is lost when power is no longer applied.

On page 264 of Code we find a description of this "integrated memory":

In addition to the accumulator, the 8080 contains six registers that can also hold 8-bit values inside the microprocessor....Like the accumulator, the other six registers are latches; the processor can move bytes from memory into registers, and from registers back into memory.

So this is probably a stretch of the definition of RAM (and it's by no means Main Memory). However, it's obvious that the Registers in a CPU function as memory. For example, they are used to temporarily store values while the processor performs calculations using the Accumulator or store an address in Main Memory to read/write data to/from.

Modern processors now also include CPU Cache. This still isn't Main Memory though. When it comes to the CPU's cache and Main Memory, the former is used to store a copy of select data found in RAM in order to speed up processing time (by virtue of the fact cache memory is much faster than main memory). At no point does the CPU use its cache as a "permanent" storage location for data in the way Main Memory is used.


Side note:

As others have noted, the full of the text quoted in your question is a bit ambiguous. Particularly the bit I quoted earlier:

The most important item of hardware is the CPU (Central Processing Unit)....It contains the processor and the main memory.

Whether the text means to claim the CPU is the box in which all of the other "important" components are contained, or that it is the microprocessor, I can't say. Whatever the case, hopefully this answer helps provide an answer to what I believe your core question is: Whether or not main memory is part of the CPU.

I say Reinstate Monica

Posted 2017-04-09T14:06:51.203

Reputation: 21 477

You wrote , quoting "the electronic unit at the centre of the computer system." , and said that "Based on this description, I understand the reference to CPU to mean exactly what's stated in your quote, the Central Processing Unit, or simply Processor." <-- Have you not considered that under the older definition of CPU as box, it's still at the centre, with periphrals connected to it.. such as a keyboard, screen, monitor. – barlop – 2017-04-09T17:46:44.327

Also, you write "memory is external to the processor " <-- Main memory is.. But not all memory is. A processor has registers - that's memory. It's true that the OP asked about main memory, but if you mean main memory then say main memory. Don't just say memory generally. – barlop – 2017-04-09T17:48:39.403

In fact it's arguably even more at the centre in the old definition, than in the more modern definition. If you look at a motherboard, you'd see the CPU tends to be near one side, not physically central, whereas in the older definition of the computer case, with its periphrals, it's pretty central physically, not just logically. – barlop – 2017-04-09T17:52:29.250

And you snipped the last sentence of the text that says "It contains the processor and the main memory.". Since you think "it" refers to a processor, do you seriously think that the text is saying that a processor contains a processor? – barlop – 2017-04-09T17:58:53.690

@barlop I'm choosing to answer the question from the perspective that in the quoted text CPU=Microprocessor. As do you, I find the quoted text a bit ambiguous; a fact I'm interpreting to mean the text's author simply didn't understand what he was writing, and therefore didn't use technically accurate language. – I say Reinstate Monica – 2017-04-09T18:02:14.783

No I don't twisty. – barlop – 2017-04-09T18:15:45.693

I have to say...I love this community! Amount of feedback I got for such simple question is insane. Thanks a lot for such detailed answer. – mushi.f – 2017-04-09T20:52:51.277

@mushi.f there's a difference between relevant detail, and muddying the waters with irrelevant detail. – barlop – 2017-04-09T23:08:46.207

And you write " I'm choosing to answer the question from the perspective that in the quoted text CPU=Microprocessor. " <-- That is simply not the perspective of the author of the text, and it makes complete gibberish of the quoted text. From your perspective, the author is saying that the processor contains a processor, which is nonsense. – barlop – 2017-04-09T23:14:02.293

@mushi.f Look at the answer from jlliagre it proves my point.. he found the text you are talking about and the meaning of CPU in that text is indeed not as this answer claims. – barlop – 2017-04-09T23:16:48.033

@barlop "A processor has registers - that's memory" -- That's a non-technical perspective. "Registers" are expected to have additional attributes from "memory" besides "storing data". The primary attributes are speed (read/writes faster than any processor cycle) and the same interface as the control logic (i.e. no buffers chips). IOW the CPU does not have RAM. – sawdust – 2017-04-10T02:05:20.587

@sawdust stating that registers are memory is not "non-technical", it's technically correct. All you are doing is adding more information that yeah they're fast and yeah they're not RAM. I think it has been made pretty clear by everybody that registers are not RAM. – barlop – 2017-04-10T06:00:27.300

0

The pieces of equipment making up the computer system are known as hardware. The most important item of hardware is the CPU (Central Processing Unit). This is the electronic unit at the centre of the computer system. It contains the processor and the main memory.

You can look at what interpretation is most likely.. and it's far more likely that by It, it doesn't mean processor. It's absurd to think it does. It's ridiculous to interpret it the way you have and say it's wrong.

For example, if you think that by CPU it means processor, / that "it" means processor, then it'd be saying that the processor contains a processor. Or, the other absurd interpretation you come up with, that the processor contains main memory (it doesn't).

One consideration is this -

Well, there are two different definitions of CPU. An old fashioned one that I saw in British A-Level Computing textbooks when I last checked some in 1998-2000, that defined CPU as the computer case. The box. Most people are very unfamiliar with that definition of CPU. Or with that ever being a definition of CPU. And even many people that have been in computing for a long time are unfamiliar with that definition. Note- commenter "Class Stacker" who is probably based in America, has seen definition used in the past too, and also on international projects he has worked on.

And the definition that people are more familiar with nowadays, which is CPU as processor.

Another consideration is this. The "It" in the last sentence.

It contains the processor and the main memory.

What is "It" referring to. Does it mean, not even CPU, but the Computer System, in which case, yes, that's true.

Does it mean CPU in the now unusual sense, of the box, a definition common in some books i've seen in the UK about 15 years ago. Yes that's true. So, CPU in the sense of the box.. Then Yes, that's true.

But if "it" refers to processor, or CPU in the sense of processor, then no, that's not true.

She rejected my point about that author probably meant CPU cache, and clarified that main memory is RAM. She neither accepted that he's probably wrong in that case.

She's right that Main memory is RAM, and you were wrong not to agree with her on that - that main memory is RAM. (if main memory isn't RAM then there is a very subtle difference), and anyhow, most people don't use the phrase "main memory" much anymore anyway. CPU can contain memory, storage locations, known as registers, which are distinct from the storage locations in RAM/main memory.

Everything hinges on what is referred to by the "It" of that last sentence. Also i'd be interested in what the textbook is. Title, author, year.

The text didn't say the CPU did, it said "It", but let's say "It" meant CPU. You ask "is it correct to say that CPU contains RAM? Or did it at any point in any form?" Yes it is correct, under a definition of CPU that is old (and maybe UK based), and that most people aren't familiar with! But in terms of choosing definitions that are accepted and agreed upon by people, in this interconnected age of the internet, modern times, no, CPU should really just be defined as processor because it's easier that way and people get confused otherwise. But certainly from time to time the old definition of CPU pops up.

But as for what that text means, it is clearly using the old definition of CPU. It's not saying the processor contains a processor, that's absurd. And therefore it's also clearly not saying the processor contains ram.

barlop

Posted 2017-04-09T14:06:51.203

Reputation: 18 677

that defined CPU as the computer case... The OP clearly quotes the definition in question of CPU is Central Processing Unit, convincingly excluding the much-less accurate description of the entire computer as the CPU. – I say Reinstate Monica – 2017-04-09T16:59:27.240

@Twisty You wrote "the definition in question of CPU is Central Processing Unit, " <-- Well obviously. What else do you think CPU would stand for? Regardless of whether using the old definition of entire box, or the definition of processor, people meant CPU as an acronym for central processing unit. – barlop – 2017-04-09T17:07:00.303

I'm responding to what appears to be a possible allowance in your question that the OP's quote might be referencing the archaic definition of CPU to mean "the entire box." My apologies if you're not intending to consider that a valid interpretation of the quoted text. – I say Reinstate Monica – 2017-04-09T17:39:17.510

@Twisty Obviously I am considering that interpretation " the archaic definition of CPU to mean 'the entire box.' ", That's the whole point of my post. You're not understanding my post or my response to you at all. – barlop – 2017-04-09T17:43:11.460

@LPChip You write "-1 for thinking it is a world wide phenomenom." <-- Your -1- reasoning, is wrong,a)I didn't say I thought it was or was not a world-wide thing b)I questioned the commenter Classic Stacker(who had heard the old usage), I questioned him on where he was from and he stated his experience that it is worldwide, from international "cocom" projects he worked on(and that even includes usa, besides europe and uk), so his experience is Yes it is, so no presumption there from him or from me. – barlop – 2017-04-09T20:31:46.507

@LPChip I had in fact suggested that it might just be just an old UK usage(a suggestion that you'd have stubbornly agreed with and gone further with), but I removed that suggestion after the commenter "Classic Stacker" gave his experience of that usage on international projects he worked on. – barlop – 2017-04-09T20:35:03.563

Interesting point of view; it clears something, because she did refer to textbooks. However I don't know origins of them, maybe they were actually from UK. – mushi.f – 2017-04-09T20:45:38.493

ockquote>

She's right that Main memory is RAM, and you were wrong not to agree with her on that - that main memory is RAM.< I understand that main memory is RAM. But if you tell me that CPU chip contains RAM I would assume that you just confused terms and wanted to say cache (actually I would ask you to clarify that, but this isn't a quick process if you want to do that to the author of textbook, yeah).

– mushi.f – 2017-04-09T20:50:47.363

@mushi.f Obviously the processor(what you just called the cpu chip), doesn't contain RAM. And as to your other remark "maybe they were actualyl from UK" No it's not. If you look at the text in a correct answer, e,g, the one posted by jll not by twisty, you see it makes reference to cell-phone that is an american term, in the UK they say mobile phone. – barlop – 2017-04-09T23:21:18.977

@LPChip now somebody has found the book source itself and it's not a UK book so even more reason why you're wrong – barlop – 2017-04-10T11:08:02.843

0

I've been researching historical definitions of CPU, so I can answer your question: Under the current definition of "CPU", it is not correct to say that the CPU contains main memory. However, historical definitions were split; sometimes the CPU contained main memory, and sometimes it didn't.

For instance, the Bureau of the Budget created an influential computing dictionary in 1962

for use as an authoritative reference by all officials and employees of the executive branch of the Government

It defined the "main frame" as

The central processor of the computer system. It contains the main storage, arithmetic unit and special register groups. Synonymous with CPU and central processing unit.

In other words, main storage was part of the CPU under this definition.

Ken Shirriff

Posted 2017-04-09T14:06:51.203

Reputation: 101

0

This is what you're trying to translate:

The pieces of equipment making up the computer system are known as hardware. The most important item of hardware is the CPU (Central Processing Unit). This is the electronic unit at the centre of the computer system. It contains the processor and the main memory.

Now, you're not trying to correct it or improve it. You're just trying to translate it. In order to do that, you have to figure out what the word "It" refers to. It could refer to either the CPU or the computer system. Both are legal Enligsh grammar.

For example, consider this statement:

"Mary struggled to see the bicycle through the dirty store window. It was so dirty it was nearly translucent."

Perfectly valid. The "It" almost certainly refers to the store window. But I can also say this:

"Mary struggled to see the bicycle through the dirty store window. It looked like so much fun to ride."

This is also perfectly valid. But, here, the "It" almost certainly refers to the bicycle.

The point is, when you see the English word "it" and need to translate it, you have to reason out what the "It" refers to. Here, it could be either the CPU or the computer system. English grammar doesn't tell you which.

So you have to figure out which of two things are more likely:

  1. The original author got the technical information wrong.

  2. The original author meant the "It" to refer to the computer system.

If you decide on option 1, you should include a notation that the error is in the original.

David Schwartz

Posted 2017-04-09T14:06:51.203

Reputation: 58 310