Font Size: a A A

Research And Design Of Visualization Of Digital Circuit Simulation Results

Posted on:2022-05-08Degree:MasterType:Thesis
Country:ChinaCandidate:Z J ChenFull Text:PDF
GTID:2517306731478014Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In the teaching of digital circuit simulation experiments,some students lack interest in experiments due to the poor intuition of waveforms.Aiming at this problem,a digital circuit simulation visualization system is designed.As far as the visualization system is concerned,the Quartus II+Model Sim+Scratch software structure with files as the data channel is built.Quartus II and the third-party simulation tool Model Sim complete the design,compilation and simulation of digital circuits,and Scratch is responsible for generating Quartus II incentives from the click operation.Animation display of signals and simulation results.The visualization system under the software structure can simulate the data changes in the simulation well in the form of animation.Since Scratch only provides a file interface that supports manual operation,it can only manually import and export files with the data in the file.The interaction reduces the simulation automation level of the system to a certain extent.The main work of this paper is as follows:1.In view of the above-mentioned problem of low level of simulation automation,the secondary development method is adopted to realize the function of Scratch to automatically read and write files.In this method,based on the front-end React framework,the source code scratch-gui of Scratch is modified to realize the functions of binding the list file path,sensing the change of the response file,judging whether the simulation has timed out and integrating them into the main Scratch interface "Green Flag" "Button corresponds to the method.The experimental results show that after the secondary development of Scratch,the complicated manual operation is obviously blocked,which greatly improves the simulation automation level of the system and meets the expected effect.2.The stimulus data generated by each click operation on the Scratch terminal is saved to the stimulus file in an overwritten manner,which means that only the current simulation stimulus data is saved in the stimulus file.In order to meet the requirements of timing simulation,a method for Quartus II to call scripts is proposed.In this method,the stimulus data of each simulation is added to the stimulus file by writing a script,and then the script is embedded in the appropriate position in the modelsim.tcl file in the form of a command to ensure the simulation execution process Automatically save historical incentive data.The experimental results show that every time a simulation is executed,the accumulated data of historical excitation is saved in the excitation file,which meets the requirements of time series simulation.3.Select multiple EDA experiments from the textbook "Basics of Logic and Computer Design" to implement the logical functions and animation design of the experiments respectively.The experimental results of the simulation show that the digital circuit simulation visualization system using Quartus II+Model Sim+Scratch software structure can intuitively and vividly simulate the data changes in the simulation in the form of animation,and the animation demonstration effect is highly consistent with the actual simulation result,which is in line with the expected effect.It also shows that the system has strong reliability and scalability.
Keywords/Search Tags:visual simulation, animation, digital circuit, automation
PDF Full Text Request
Related items