Notices
Results 1 to 2 of 2

Thread: Calculating parameters of a cache and main memory

  1. #1 Calculating parameters of a cache and main memory 
    New Member
    Join Date
    Jun 2014
    Posts
    1
    Hello,

    I am quite new to the computer architecture and I am really confused here. I am trying to implement a unified cache with following parameters:


    • 64kByte Unified Cache
    • Direct Mapped
    • Copy Back
    • 32-bit Arm Processor
    • Disk space is unlimited
    • Main Memory is 1GB

    I chose the main memory block size as 8kb. Is this a good choice and are those calculations correct?
    Code:
    Main memory address number: (2^32)-1 //(Should this be equal to 1GB?)
    Number of blocks in main memory: ((2^32)/((2^3)*(2^10)))-1
    Offset bits: log2(8)=3 [0:2]
    Index bits: 32-3=29 [3:31]
    I am trying to calculate the tag bits. But I think I need some more information about number of cache blocks. Should I make an assumption here, or is there a formula?
    Thank you.


    Reply With Quote  
     

  2.  
     

  3. #2  
    New Member
    Join Date
    Jun 2014
    Posts
    2
    lol


    Reply With Quote  
     

Similar Threads

  1. Death by Main Course
    By zinjanthropos in forum Behavior and Psychology
    Replies: 7
    Last Post: November 30th, 2013, 10:09 PM
  2. Replies: 63
    Last Post: May 30th, 2013, 10:39 AM
  3. Photographic memory (Eidetic memory)
    By blue_space87 in forum Behavior and Psychology
    Replies: 11
    Last Post: March 28th, 2009, 02:13 AM
  4. Show the format of main memory addresses
    By mishkinf in forum Computer Science
    Replies: 0
    Last Post: November 26th, 2008, 09:27 PM
  5. Direct mapped cache... -HELP
    By mishkinf in forum Computer Science
    Replies: 0
    Last Post: November 26th, 2008, 09:26 PM
Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •