# If a SoC is given more memory then it is able to use, how does it deal with that?

Say it can only use 2GB's, and is provided 4, does it only use half, or not use any of the ram?

• If you provide 4 GB then there is an assumption that the device can use 4 GB. If your device can only address 2 GB then no matter how hard you try, you are not providing it with 4 GB. – Andy aka Feb 27 '17 at 11:36
• So if it's connected to 4gb, will it only use 2? – AlexDoe Feb 27 '17 at 11:37
• It CANNOT be connected to 4 GB if it only supports 2 GB. It can only be connected to the first 2 GB but even then, I'm generalizing and there may be specific examples where nothing is possible. Be specific about the SoC and memory chip. – Andy aka Feb 27 '17 at 11:45
• Okay, I was just asking in general. – AlexDoe Feb 27 '17 at 11:47
• It's a fair question Alex, deserves a friendly answer. The SoC FPGA may have 4GB connected to it but it depends on the circuit actually implemented in the FPGA. If that is designed to address less RAM than 4GB, it will behave as if the extra RAM doesn't exist. – TonyM Feb 27 '17 at 11:55

A "generalized" microprocessor or SoC has typically three buses and the relevant one to this question is the address bus. If it has a 16 bit width (like the 8085) then it can only "talk-to" 65,536 ($2^{16}$) memory locations. This means you cannot force it to be connected to more. Buses on an 8085: -