Hardware Feasibility of Neural Network Branch Predictor

dc.contributor.advisorVázquez-Tello, Carlos H.
dc.contributor.authorVargas-Garrido, Alberto
dc.date.accessioned2026-06-29T19:59:13Z
dc.date.available2026-06-29T19:59:13Z
dc.date.issued2026-06
dc.description.abstractAI has taken the engineering and computer science industry by storm due to its adaptability and convenience. Its use is now an expectation, and the protagonist is the transformer, as it is used in LLMs. However, the simple perceptron still has a role to play, and not all problems need a massive neural network. With this in mind, the purpose of this project is to simulate and implement a branch predictor using perceptron-based neural networks in System Verilog for a RISC-V processor design. The goal of this project is not necessarily to prove that a neural network is better than traditional branch predictor algorithms like TAGE, but to identify its uses and strengths relative to them, if any exist. In simple terms, a branch predictor’s job, as its name implies, is to predict the result of a conditional branch in the executed code. It has the necessary elements to exploit the perceptron’s ability to adjust its weights to reduce error by tracking correct and incorrect predictions. Two implementations were made: a Multi-Layer Perceptron and a Single-Layer Perceptron neural network, where the SLP surpasses the Bimodal and 2-bit branch predictors used for comparison, with results of SLP 98.72% / 98.22% vs Bimodal 97.72% / 95.13%. The caveat is less maximum frequency, as SLP has ∼30% more ALMs. This work combines two areas of engineering: neural networks, which are state-of-the-art in computer science, and branch predictors, which are a fundamental part of computer architecture. It could serve as a didactic tool to teach students how a branch predictor works, with a fairly competent implementation, or as an embedded system that needs a small branch predictor.
dc.identifier.citationVargas-Garrido, A. (2026). Hardware Feasibility of Neural Network Branch Predictor. Trabajo de obtención de grado, Maestría en Diseño Electrónico. Tlaquepaque, Jalisco: ITESO.
dc.identifier.urihttps://hdl.handle.net/11117/12364
dc.language.isoeng
dc.publisherITESO
dc.rights.urihttps://creativecommons.org/licenses/by-nc/4.0/deed.es
dc.subjectBranch Prediction
dc.subjectNeural Networks
dc.subjectHardware Design
dc.subjectRISC-V
dc.subjectPerceptron
dc.subjectComputer Architecture
dc.subjectSystem Verilog
dc.titleHardware Feasibility of Neural Network Branch Predictor
dc.typeinfo:eu-repo/semantics/academicSpecialization
dc.type.versioninfo:eu-repo/semantics/publishedVersion

Archivos

Bloque original

Mostrando 1 - 1 de 1
Cargando...
Miniatura
Nombre:
investigation_hardware_nn_branch_prediction.pdf
Tamaño:
1.58 MB
Formato:
Adobe Portable Document Format

Bloque de licencias

Mostrando 1 - 1 de 1
Cargando...
Miniatura
Nombre:
license.txt
Tamaño:
4.84 KB
Formato:
Item-specific license agreed upon to submission
Descripción: