Purdue University Graduate School
Browse

File(s) under embargo due to pending publication

Reason: Pending publication

1

year(s)

8

month(s)

30

day(s)

until file(s) become available

Towards No-Penalty Control Hazard Handling in RISC architecture microcontrollers

thesis
posted on 2024-09-03, 12:26 authored by LINKNATH SURYA BALASUBRAMANIANLINKNATH SURYA BALASUBRAMANIAN

Achieving higher throughput is one of the most important requirements of a modern microcontroller. It is therefore not affordable for it to waste a considerable number of clock cycles in branch mispredictions. This paper proposes a hardware mechanism that makes microcontrollers forgo branch predictors, thereby removing branch mispredictions. The scope of this work is limited to low cost microcontroller cores that are applied in embedded systems. The proposed technique is implemented as five different modules which work together to forward required operands, resolve branches without prediction, and calculate the next instruction's address in the first stage of an in-order five stage pipelined micro-architecture. Since the address of successive instruction to a control transfer instruction is calculated in the first stage of pipeline, branch prediction is no longer necessary, thereby eliminating the clock cycle penalties occurred when using a branch predictor. The designed architecture was able to successfully calculate the address of next correct instruction and fetch it without any wastage of clock cycles except in cases where control transfer instructions are in true dependence with their immediate previous instructions. Further, we synthesized the proposed design with 7nm FinFET process and compared its latency with other designs to make sure that the microcontroller's operating frequency is not degraded by using this design. The critical path latency of instruction fetch stage integrated with the proposed architecture is 307 ps excluding the instruction cache access time.

History

Degree Type

  • Doctor of Philosophy

Department

  • Electrical and Computer Engineering

Campus location

  • Indianapolis

Advisor/Supervisor/Committee Chair

Dr. Maher Rizkalla

Advisor/Supervisor/Committee co-chair

Dr. John J. Lee

Additional Committee Member 2

Dr. Trond Ytterdal

Additional Committee Member 3

Dr. Mukesh Kumar

Additional Committee Member 4

Dr. Brian King