Skip to main content
Log in

An integrated machine code monitor for a RISC-V processor on an FPGA

  • Original Article
  • Published:
Artificial Life and Robotics Aims and scope Submit manuscript

Abstract

This paper proposes an integrated machine code monitor (iMCM) written in a hardware description language (HDL) and implemented in an FPGA together with a processor. The iMCM reconfigures monitor functions to be provided according to the verification progress of the processor design and the development situation of basic programs. The iMCM was implemented in the FPGA together with the processor as hardware synthesized from HDL description for requested iMCM functions. The iMCM was implemented its functions based on survey questionnaire result for six developers of some processors in FPGAs. And, its correct operation was confirmed by simulation and evaluation using FPGA devices. RISC-V was adopted as an ISA of the target processor. A subset composed of 27 instructions of the compression type instruction set extension with 16-bit instruction word length among RISC-V was employed. All state machines and sequential processes were written in Verilog HDL and implemented together with the processor core as a single circuit by circuit synthesis, placement, and routing. A 41% LUT was added to the implementation of the iMCM against the simple processor implementation. This addition depends on the monitor function to be selected and reconfigured. Furthermore, the iMCM programmed in the FPGA was confirmed to operate at 100 MHz with the circuit mounted on an FPGA evaluation board.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

  1. Lange T, Fiethe B, Michel H et al (2017), On-board processing using reconfigurable hardware on the solar orbiter PHI instrument. In: 2017 NASA/ESA conference on adaptive hardware and systems (AHS), Pasadena, USA, July 2017 pp 186–191

  2. Raj SMA, Supriya MH (2015) Underwater image enhancement using single scale Retinex on a reconfigurable hardware. In: 2015 international symposium on ocean electronics (SYMPOL), Kochi, India, Nov 2015, pp 1–5

  3. Xilinx (2017) Zynq-7000 all programmable SoC data sheet, DS190 (v1.11)

  4. Altera (2015) Arria V device overview, AV-501001

  5. Gautschi M, Schiavone MPD, Traber A et al (2017) A near-threshold RISC-V core with DSP extensions for scalable IoT endpoint devices. IEEE Trans Very Large Scale Integr VLSI Syst 25(10):2700–2713

    Article  Google Scholar 

  6. Intel (2016) Intel FPGA monitor program tutorial for Nios II

  7. Kaneko H, Kanasugi A (2018) Integrated machine code monitor on FPGA (in Japanese). IEICE technical report, RECONF2017-61, 117(379), Jan 2018, pp 65–70

  8. Asanovic K, Patterson DA (2014) Instruction sets should be free: the case for RISC-V. Technical Report No.UCB/EECS-2014-146, University of California at Berkeley

  9. Patterson DA, Waterman A (2017), RISC-V reader: an open architecture atlas. Strawberry Canyon

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hiroaki Kaneko.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Kaneko, H., Kanasugi, A. An integrated machine code monitor for a RISC-V processor on an FPGA. Artif Life Robotics 25, 427–433 (2020). https://doi.org/10.1007/s10015-020-00593-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10015-020-00593-8

Keywords

Navigation