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.
Keywords
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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)
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)
Herrmann, A., Nugent, G.P.: Embedded logic analyzer for a programmable logic device. U.S. Patent No. 6,389,558, May 2002
Altera Inc.: On-chip design verification with Xilinx FPGAs, Agilent Application Note 1456, April 2003
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)
Kuijsten, H.: Method and apparatus for a trace buffer in an emulation system. U.S. Patent No. 5,680,583, 21 October 1997
Woodward, J.: In-circuit debug of FPGAs. CMP Media LLC N. Y. Embed. Syst. Eur. 7(49), 16–17 (2003)
Agilent Technologies Inc.: Deep storage with Xilinx ChipScope Pro and Agilent Technologies FPGA Trace Port Analyzer. Agilent Product Overview 5988-7352EN, February 2003
Exostive Inc.: FPGA debug reloaded. http://www.exostivlabs.com
Eaton, J.W., Bateman, D., Hauberg, S.: GNU Octave. Network Theory, London (1997)
Goris, M.J.: Using Matlab to debug software written for a digital signal processor. In: Proceedings of Benelux Matlab User Conference (1997)
Wang, Z.: Real-time debugging and testing a control system using Matlab. Open J. Appl. Sci. 3(02), 61 (2013)
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)
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)
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)
Waterman, D.: A Guide to Expert Systems. Addison-Wesley, Boston (1986)
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)
Looi, C.K.: Analysing novices programs in a prolog intelligent teaching system. In: European Conference on Artificial Intelligence (ECAI), pp. 314–319 (1988)
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
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)
Muralikrishnan, B., Raja, J.: Gaussian filter. In: Muralikrishnan, B., Raja, J. (eds.) Computational Surface and Roundness Metrology, pp. 33–38. Springer, London (2009)
Xilinx Inc.: Cordic v6.0 IP core. http://www.xilinx.com
Postel, J.: User datagram protocol. No. RFC 768 (1980)
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)
Taylor, R.: Interpretation of the correlation coefficient: a basic review. J. Diagn. Med. Sonogr. 6(1), 35–39 (1990)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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)