IIUM Repository

Design and performance analysis of a fast 4-way set associative cache controller using Tree Pseudo Least Recently Used algorithm

Hazlan, Mohamed Alfian Al-Zikry and Gunawan, Teddy Surya and Yaacob, Mashkuri and Kartiwi, Mira and Arifin, Fatchul (2023) Design and performance analysis of a fast 4-way set associative cache controller using Tree Pseudo Least Recently Used algorithm. Indonesian Journal of Electrical Engineering and Informatics, 11 (4). pp. 1050-1062. E-ISSN 2089-3272

[img] PDF (Journal) - Published Version
Restricted to Registered users only

Download (895kB) | Request a copy
[img]
Preview
PDF (Scopus) - Supplemental Material
Download (158kB) | Preview

Abstract

In the realm of modern computing, cache memory serves as an essential intermediary, mitigating the speed disparity between rapid processors and slower main memory. Central to this study is the development of an innovative cache controller for a 4-way set associative cache, meticulously crafted using VHDL and structured as a Finite State Machine. This controller efficiently oversees a cache of 256 bytes, with each block encompassing 128 bits or 16 bytes, organized into four sets containing four lines each. A key feature of this design is the incorporation of the Tree Pseudo Least Recently Used (PLRU) algorithm for cache replacement, a strategic choice aimed at optimizing cache performance. The effectiveness of this controller was rigorously evaluated using ModelSim, which generated a comprehensive timing diagram to validate the design's functionality, especially when integrated with a segmented main memory of four 1KB banks. The results from this evaluation were promising, showcasing precise logic outputs within the timing diagram. Operational efficiency was evidenced by the controller's swift processing speeds: read hits were completed in a mere three cycles, read misses in five and a half cycles, and both write hits and misses in three and a half cycles. These findings highlight the controller's capability to enhance cache memory efficiency, striking a balance between the complexities of set-associative mapping and the need for optimized performance in contemporary computing systems. This study not only demonstrates the potential of the proposed cache controller design in bridging the processor-memory speed gap but also contributes significantly to the field of cache memory management by offering a viable solution to the challenges posed by traditional cache configurations.

Item Type: Article (Journal)
Additional Information: The first author is an undergraduate student. Prof Teddy is the corresponding author, as stated in the paper. This paper has an external international collaborator.
Uncontrolled Keywords: Cache controller, VHDL-designed, Finite State Machine, 4-way set associative cache, Tree PLRU algorithm
Subjects: T Technology > TK Electrical engineering. Electronics Nuclear engineering > TK7800 Electronics. Computer engineering. Computer hardware. Photoelectronic devices > TK7885 Computer engineering
Kulliyyahs/Centres/Divisions/Institutes (Can select more than one option. Press CONTROL button): Kulliyyah of Engineering
Kulliyyah of Engineering > Department of Electrical and Computer Engineering
Kulliyyah of Information and Communication Technology
Kulliyyah of Information and Communication Technology

Kulliyyah of Information and Communication Technology > Department of Information System
Kulliyyah of Information and Communication Technology > Department of Information System
Depositing User: Prof. Dr. Teddy Surya Gunawan
Date Deposited: 15 Jan 2024 09:03
Last Modified: 06 Feb 2024 13:06
URI: http://irep.iium.edu.my/id/eprint/110034

Actions (login required)

View Item View Item

Downloads

Downloads per month over past year