Back to search

Nanyang Technological University

RISC-V CPU design based on humming bird E203

Abstract

dc:description.abstract

Lightweight processors must deliver greater instruction throughput as embedded workloads become more demanding, yet their area and energy budgets remain tight. RISC-V offers a compact, modular, and openly available instruction-set architecture that is suitable for exploring this trade-off. This dissertation develops an in-order, two-way issue processor from the open-source Hummingbird E203. The implementation preserves the original lightweight two-stage organization and supports RV32I, the RV32M multiply/divide extension, and compressed instructions from the RISC-V C extension. The E203 datapath is modified so that the fetch and decode logic can handle as many as two instructions in one cycle. A queue decouples the rate at which instructions arrive from the rate at which the execution side accepts them. Before a pair is released, the issue controller checks operand dependences, operation classes, and the execution resources required by both instructions. Eligible pairs are sent to two arithmetic-logic paths, with forwarding used where a later operand can be obtained directly from the earlier result. Control-flow handling is also revised. Conditional directions are supplied by a dynamic Bi-mode predictor, and a Branch Target Buffer (BTB) provides predicted targets for indirect transfers in place of relying only on the E203’s static scheme. If either prediction proves wrong, the commit and pipeline-control circuitry discards work from the incorrect path and redirects fetching to the resolved address. Evaluation uses a Nuclei Studio software flow together with an RTL testbench, with CoreMark executed on both the baseline and modified cores. The new design records about 2.63 CoreMark/MHz, roughly 24% above the frequency-normalized result of the original E203. A misprediction rate of about 7.50% corresponds to approximately 92.49% prediction accuracy. Vivado synthesis and implementation target a Xilinx ZYNQ-7020. With a 50 MHz constraint, the design reports 0.132 ns Worst Negative Slack (WNS) and therefore meets timing. Implementation requires 38,488 LUTs, 16,736 flip-flops, and 32 BRAMs; estimated total on-chip power is about 0.276 W. These measurements show that the proposed changes raise the E203’s instruction-processing capacity without abandoning its two-stage, in-order organization, and they provide a concrete implementation point for other lightweight dual-issue RISC-V designs.

Degree

thesis:*
College dc:contributor.school
School of Electrical and Electronic Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Qing, Zijian
Advisor dc:contributor.supervisor
  • Gwee Bah Hwee

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10356/232733

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Qing, Zijian. RISC-V CPU design based on humming bird E203. Nanyang Technological University, 2026. https://hdl.handle.net/10356/232733