Design of Instruction Decoder for Use in China for an Embedded MPU

Shibin LIU,Deyuan Gao,Xiaoya Fan,Shuguo Li
DOI: https://doi.org/10.3969/j.issn.1000-2758.2001.01.001
2001-01-01
Xibei Gongye Daxue Xuebao/Journal of Northwestern Polytechnical University
Abstract:NPU Aviation Microelectronics Center has done systematic research as a part of China′s drive to be less and less dependent on importee microelectronic products . The design of instruction decoder is but a part of our MPU (microprocessor unit) project. The MPU is compatible with Intel microprocessor at instruction level . We analyzed and classified the structure of the complex instruction set and designed the decoder with due attention to its input and output. After comparing 2 feasible input schemes, we designed an eight-state state machine to so control the process of instruction input that it can be processed by decoder circuitea sily. We used table technique to generate entry address of micro program, soas to decouple the design of decoder circuit from that of the micro programs. The decoder was located in the middle of the MPU′s instruction pipeline. The length of the output queue influences the performance of the MPU. We used M/M/1/K model to analyze the queue system and determine the queue length. After embedding the decoder in MPU, we used three programs with real meaning to test the decoder. The decoder worked well with MPU and the results obtained were the same as those obtained with the Intel 8X86 PC computer.
What problem does this paper attempt to address?