Skip to main content

Automatic Code Generator for a Customized High Performance Microprocessor Simulator

  • Conference paper
  • First Online:
Supercomputing (ISUM 2018)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. CACEI A. C. http://www.cacei.org.mx/nvfs/nvfs01/nvfs0101.php. Accessed 12 Feb 2018

  2. CACEI A. C.: Marco de Referencia 2018 del CACEI en el Contexto Internacional, pp. 143–145 (2017)

    Google Scholar 

  3. CACEI A. C.: Marco de Referencia 2018 del CACEI en el Contexto Internacional, p. 67 (2017)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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

  7. 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)

    Google Scholar 

  8. Larus, J.: SPIM A MIPS32 Simulator. http://pages.cs.wisc.edu/~larus/spim.html. Accessed 12 Feb 2018

  9. 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)

    Google Scholar 

Download references

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

Authors

Corresponding authors

Correspondence to Alfredo Cristóbal-Salas , Juan D. Santiago-Domínguez , Bardo Santiago-Vicente , Marco Antonio Ramírez-Salinas , Luis Alfonso Villa-Vargas , Neiel Israel Layva-Santes , Cesar Alejandro Hernández-Calderón or Carlos Rojas-Morales .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics