Skip to main content

FPGA Debugging with MATLAB Using a Rule-Based Inference System

  • Conference paper
  • First Online:
Book cover Applied Reconfigurable Computing (ARC 2017)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10216))

Included in the following conference series:

  • 1740 Accesses

Abstract

This paper presents an FPGA debugging methodology using a rule based inference system. Using this approach, the design stops a device under test (DUT), saves the data to external memory and then starts the DUT again. The saved data is used by MATLAB to debug the system by using a rule-based inference system. Normally, a debug system only displays the monitored data and then the decision making process is left to the user. But a rule-based inference system can be used to make the decision about the correct functionality of the system. The main benefits of this technique are no loss of debugging data due to an unlimited debug window, no use of HDL simulators for waveform viewing and shorter debugging time by using verification by a software technique.

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. Hung, E., Wilton, S.J.: Towards simulator-like observability for FPGAs: a virtual overlay network for trace-buffers. In: Proceedings of the ACM/SIGDA International Symposium on Field Programmable Gate Arrays (2013)

    Google Scholar 

  2. Asaad, S., Bellofatto, R., Brezzo, B., Haymes, C., Kapur, M., Parker, B., Roewer, T., Saha, P., Takken, T., Tierno, J.: A cycle-accurate, cycle-reproducible multi-FPGA system for accelerating multi-core processor simulation. In: Proceedings of the ACM/SIGDA International Symposium on Field Programmable Gate Arrays (2012)

    Google Scholar 

  3. Herrmann, A., Nugent, G.P.: Embedded logic analyzer for a programmable logic device. U.S. Patent No. 6,389,558, May 2002

    Google Scholar 

  4. Altera Inc.: On-chip design verification with Xilinx FPGAs, Agilent Application Note 1456, April 2003

    Google Scholar 

  5. Arshak, K., Jafer, E., Ibala, C.: Testing FPGA based digital system using XILINX ChipScope logic analyzer. In: IEEE 29th International Spring Seminar on Electronics Technology (2006)

    Google Scholar 

  6. Kuijsten, H.: Method and apparatus for a trace buffer in an emulation system. U.S. Patent No. 5,680,583, 21 October 1997

    Google Scholar 

  7. Woodward, J.: In-circuit debug of FPGAs. CMP Media LLC N. Y. Embed. Syst. Eur. 7(49), 16–17 (2003)

    Google Scholar 

  8. Agilent Technologies Inc.: Deep storage with Xilinx ChipScope Pro and Agilent Technologies FPGA Trace Port Analyzer. Agilent Product Overview 5988-7352EN, February 2003

    Google Scholar 

  9. Exostive Inc.: FPGA debug reloaded. http://www.exostivlabs.com

  10. Eaton, J.W., Bateman, D., Hauberg, S.: GNU Octave. Network Theory, London (1997)

    Google Scholar 

  11. Goris, M.J.: Using Matlab to debug software written for a digital signal processor. In: Proceedings of Benelux Matlab User Conference (1997)

    Google Scholar 

  12. Wang, Z.: Real-time debugging and testing a control system using Matlab. Open J. Appl. Sci. 3(02), 61 (2013)

    Article  Google Scholar 

  13. Hatnik, U., Altmann, S.: Using ModelSim, Matlab/Simulink and NS for simulation of distributed systems. In: Parallel Computing in Electrical Engineering, pp. 114–119 (2004)

    Google Scholar 

  14. Liang, G., He, D., Portilla, J., Riesgo, T.: A hardware in the loop design methodology for FPGA system and its application to complex functions. In: International Symposium on VLSI Design, Automation, and Test (VLSI-DAT), pp. 1–4 (2012)

    Google Scholar 

  15. Hai, J.C.T., Pun, O.C., Haw, T.W.: Accelerating video and image processing design for FPGA using HDL coder and simulink. In: IEEE Conference on Sustainable Utilization and Development in Engineering and Technology (CSUDET), pp. 1–5 (2015)

    Google Scholar 

  16. Waterman, D.: A Guide to Expert Systems. Addison-Wesley, Boston (1986)

    Google Scholar 

  17. Geis, D., Morscher, R., Kiper, J.: An expert system for debugging novice programmers’ Pascal programs. In: Proceedings of the 17th Conference on ACM Annual Computer Science Conference (1989)

    Google Scholar 

  18. Looi, C.K.: Analysing novices programs in a prolog intelligent teaching system. In: European Conference on Artificial Intelligence (ECAI), pp. 314–319 (1988)

    Google Scholar 

  19. Zin, A.M., Aljunid, S.A., Shukur, Z., Nordin, M.J.: A knowledge-based automated debugger in learning system (2001). arXiv preprint: arXiv:cs/0101008

  20. Khan, H.H., Göhringer, D.: FPGA debugging by a device start and stop approach. In: Proceedings of the International Conference on Reconfigurable Computing and FPGAs (Re-Config) (2016)

    Google Scholar 

  21. Muralikrishnan, B., Raja, J.: Gaussian filter. In: Muralikrishnan, B., Raja, J. (eds.) Computational Surface and Roundness Metrology, pp. 33–38. Springer, London (2009)

    Google Scholar 

  22. Xilinx Inc.: Cordic v6.0 IP core. http://www.xilinx.com

  23. Postel, J.: User datagram protocol. No. RFC 768 (1980)

    Google Scholar 

  24. Qiu, J.H., Wang, Y.H., Li, Z.Q.: A new way to develop interface based on Matlab/GUI. Hebei J. Ind. Sci. Technol. 4, 012 (2008)

    Google Scholar 

  25. Taylor, R.: Interpretation of the correlation coefficient: a basic review. J. Diagn. Med. Sonogr. 6(1), 35–39 (1990)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Habib Ul Hasan Khan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Khan, H.U.H., Göhringer, D. (2017). FPGA Debugging with MATLAB Using a Rule-Based Inference System. In: Wong, S., Beck, A., Bertels, K., Carro, L. (eds) Applied Reconfigurable Computing. ARC 2017. Lecture Notes in Computer Science(), vol 10216. Springer, Cham. https://doi.org/10.1007/978-3-319-56258-2_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-56258-2_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-56257-5

  • Online ISBN: 978-3-319-56258-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics