Thread: Regarding memory.

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    83

    Regarding memory.

    Dear All,
    What is the meaning of On chip memory and Off-chip memory
    what is the difference between these two terms?

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    On-chip memory means memory that is part of the CPU chip itself. That would be either caches or integrated memory of some other sort (many embedded processors have RAM and/or ROM built into the chip to reduce the number of components in the system).

    Off-chip memory is any other type of memory that is not part of the CPU chip itself - RAM, ROM, Flash.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    And needless to say, the CPU will access on-chip memory faster (probably), since it won't need to connect with the other memory through a bus

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I work with off-chip memory and off-board memory everyday. It's very useful for machines that may be storing very important data that must be guaranteed to persist if the machine goes down either due to an error or due to a power failure. Most components for this type of environment are required to boot back up at exactly the same state they were in prior to the error or power outage. This is NOT as easy as it sounds and requires you to code a bit different than you may for a system that simply relied on volatile RAM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 01-13-2008, 02:14 AM
  2. Question regarding Memory Leak
    By clegs in forum C++ Programming
    Replies: 29
    Last Post: 12-07-2007, 01:57 AM
  3. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  4. Shared Memory - shmget questions
    By hendler in forum C Programming
    Replies: 1
    Last Post: 11-29-2005, 02:15 AM
  5. What's the best memory (RAM) type?
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 12-15-2001, 12:37 AM