Abstract
This paper presents a software that generates code that implements a microprocessor simulator based on features defined by user. Software receives a set of microprocessor architecture description that includes: number of cores, operations to be executed in the ALU, cache memory details, and number of registers, among others. After configuration, the software generates Java code that implements the microprocessor simulator described. Software can generates more than forty different codes depending on the configurations defined. Each simulator follows a standard four stages pipeline: fetch, decode, execute and store. Code generator has been used as a learning tool in an undergraduate course with interesting effects in the student’s learning process. Preliminary results show that students understand better how a microprocessor works and they felt ready to propose new microprocessor architectures.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
CACEI A. C. http://www.cacei.org.mx/nvfs/nvfs01/nvfs0101.php. Accessed 12 Feb 2018
CACEI A. C.: Marco de Referencia 2018 del CACEI en el Contexto Internacional, pp. 143–145 (2017)
CACEI A. C.: Marco de Referencia 2018 del CACEI en el Contexto Internacional, p. 67 (2017)
Grace-Alcalde, J., Chua, G., Marlowe-Demabildo, I., Ahsley-Ong, M., Luis-Uy, R.: CALVIS32: customizable assembly language visualizer and simulator for Intel x86-32 architecture. In: IEEE Region 10 Conference (TENCON 2016), pp. 214–217 (2016)
Vasudeba, A., Kumar-Sharma, A., Kumar, A.: Saksham: customizable x86 based multi-core microprocessor simulator. In: IEEE First International Conference on Computational Intelligence, Communication Systems and Networks, pp. 220–225 (2009)
Alegrechi, D., Almirón, E.: Introducción al entorno emu8086 Archive https://www.dsi.fceia.unr.edu.ar/images/downloads/digital_II/Introduccion_emu8086_v1.4.pdf. Accessed 12 Feb 2018
Cocheiro, R., Loureiro, M., Amor, M., Gonzáles, P.: Simula3MS: simulador pedagógico de un procesador. In: Actas de las XI Jornadas de Enseñanza universitaria de la Informática, pp. 490–495 (2005)
Larus, J.: SPIM A MIPS32 Simulator. http://pages.cs.wisc.edu/~larus/spim.html. Accessed 12 Feb 2018
Nova, B., Ferreira, J.C., Araújo, A.: Tool to support computer architecture teaching and learning. In: 1st International Conference of the Portuguese Society for Engineering Education, pp. 1–8 (2013)
Acknowledgements
Authors would like to thank to students from Facultad de Ingeniería en Electrónica y Comunicaciones, Universidad Veracruzana and students from Centro de Investigación en Cómputo, Instituto Politécnico Nacional who participated during the research activities. Likewise, authors would like to thank to both institutions authorities who make possible this research collaboration.
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Cristóbal-Salas, A. et al. (2019). Automatic Code Generator for a Customized High Performance Microprocessor Simulator. In: Torres, M., Klapp, J., Gitler, I., Tchernykh, A. (eds) Supercomputing. ISUM 2018. Communications in Computer and Information Science, vol 948. Springer, Cham. https://doi.org/10.1007/978-3-030-10448-1_2
Download citation
DOI: https://doi.org/10.1007/978-3-030-10448-1_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-10447-4
Online ISBN: 978-3-030-10448-1
eBook Packages: Computer ScienceComputer Science (R0)