Cache Memory
**Objective:**
To see the effect frame size has on different replacement policies. Learn how to do simulation of cache performance.** ** Use the simulator to compare the hit ratio for cache with different block sizes and replacement strategies. Write a report describing the results of FIFO, LRU and RANDOM replacement policy simulations for various numbers of possible addresses, and frame sizes.
**Program Design Specification:**
You are free to design your program in any way you wish with the following exceptions:
*** Program Input:***
Specific prompt wording is up to you, but you need to allow the user to enter the following parameters:
1. The number of possible addresses.
2. The size of the frame.
3. What replacement policy to use.
4. Address input source (random or user input).
[login to view URL] the addresses input source is user input then the user should be prompted to enter addresses until the user enters an invalid address. It should be made very clear to the user which addresses are valid.
[login to view URL] the address input source is random then the user should be asked how many addresses should be generated. Random address input will randomly generate that number of addresses for the user.
Your simulator should take the above parameters in the
*exact order**shown above*. Do not vary the input format in any way.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Java in Windows.