Title :
Threading optimization of the AEMB microprocessor
Author :
Mohamed, Mostafa ; Sebastian, Patrick ; Lo Hai Hiung ; Ngiap, Shawn Tan Ser
Author_Institution :
Dept. of Electr. & Electron. Eng., Univ. Teknol. PETRONAS, Tronoh, Malaysia
Abstract :
This paper aims at explaining the architecture of the AEMB and optimizing its threading model. AEMB is a soft core, open source processor designed for FPGA implementation. AEMB uses a fine grained model that interleaves threads one instruction at a time with separate register sets for each thread. The chosen optimization is to change the current threading model to a Coarse-grained that switches threads on branch instructions. The advantage of this approach is that control hazards will be avoided in most cases hence stalling the pipeline till branch targets are calculated will be drastically decreased. This is quite an improvement over the previous core where the processor stalls for one cycle on any branch instruction encountered. The disadvantage to the coarse grained threading model is that data hazards that can´t be forwarded can now cause the processor to stall up to three cycles in the worst case scenario compared to only one stall in the old model. As for Area consumption on FPGA, synthesis showed that the modified core utilizes double the number of LUTs that the original AEMB needs but there was no significant increase in the number of register. Further quantitative analysis is necessary to determine the total gain in performance by running the suitable benchmarks on both versions of the processor.
Keywords :
computer architecture; field programmable gate arrays; microprocessor chips; multi-threading; pipeline processing; table lookup; AEMB microprocessor; FPGA implementation; LUT; area consumption; branch instructions; coarse grained threading model; data hazards; fine grained model; open source processor; threading optimization; Computer architecture; Data models; Delays; Hazards; Instruction sets; Pipelines; Registers; AEMB; FPGA; coarse-grained; microprocessor; threading;
Conference_Titel :
Control System, Computing and Engineering (ICCSCE), 2014 IEEE International Conference on
Print_ISBN :
978-1-4799-5685-2
DOI :
10.1109/ICCSCE.2014.7072785