文档介绍:基于MATLAB的逻辑电路设计与仿真
重庆工商大学计算机科学与信息工程学院电子信息工程
指导教师:
摘要
MATLAB具有强大的图形处理功能、符号运算功能和数值计算功能。MATLAB工具几乎涵盖了整个科学技术运算领域。其中系统的仿真(Simulink)工具箱是从底层开发的一个完整的仿真环境和图形界面。在这个环境中,用户可以完成面向框图系统仿真的全部过程,并且更加直观和准确地达到仿真的目标。此次,以数字电路中的逻辑电路为线索来学忆电路状态的存储单元或延迟单元,这些存储或延迟单元主要由本次设计所用到的触发器来实现。D触发器、RS触发器、JK触发器等这些时序逻辑电路中常用的器件在Simulink中都有相应的仿真模块,除此之外,用户还可以自行设计封装模块来一步一步完成更大的电路系统,实现更强大的逻辑功能。
利用MATLAB 软件,通过设计图形用户界面(GUI),说明Matlab功能强大、简单实用、调节容易、可视性好,可大大提高计算效率,缩短编程时间,是一种简便实用的计算工具,可成功地应用于信号处理中,在教学和研究等领域具有广泛的应用前景和一定的推广价值。
关键词:MATLAB、Simulink、逻辑电路、GUI
Abstract
MATLAB has a powerful graphics processing capabilities, puting and puting functions. MATLAB tools are covering almost the entire scientific and puting. One system simulation toolbox is from the bottom of the development of plete simulation environment and the graphical interface. In this environment, the user plete system simulation block diagram for the entire process and achieve a more intuitive and accurate simulation of goal. This time, with digital circuits in the logic circuits for clues to learn Simulink, learned a lot mon digital circuit module is used. Sequential circuits, in addition to features with a bination of the circuit, but also must be able to remember the state of the circuit memory cell or delay unit, the storage or delay units primarily used in the design of this flip-flop to achieve. D flip-flops, RS flip-flop, JK flip-flop sequential logic circuits such as monly used in devices in Simulink, the simulation has a corresponding module, in addition, Users can also design their own package module step by step plete a larger circuit system to achieve more powerful logic function.
Through the design of graphical user interface (GUI) by Using Matlab,we can learn that Matlab is powerful, simple, practical, easy adjustment, visibility, and can greatly improve putational efficiency and shorten the programming time is a simple and practical tool,can be essfully applied to signal