您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 82矩阵键盘控制接口电路设计
兰州交通大学毕业设计(论文)I摘要20世纪90年代,国际上电子和计算机技术较先进的国家,一直在积极探索新的电子电路设计方法,并在设计方法、工具等方面进行了彻底的变革,取得了巨大成功。在电子技术设计领域,可编程逻辑器件(如CPLD、FPGA)的应用,已得到广泛的普及,这些器件为数字系统的设计带来了极大的灵活性。这一切极大地改变了传统的数字系统设计方法、设计过程和设计观念,促进了EDA技术的迅速发展。本次设计在EDA开发平台QUARTUSⅡ7.2上利用VHDL语言设计矩阵键盘控制接口电路。要求设计一个4×9矩阵键盘,一共有三个模块,分别为:扫描电路模块、时钟产生模块、键盘译码电路和按键标志位产生电路。扫描模块中是为了产生扫描信号,来利用扫描信号来扫描键盘中是否有按键按下。键盘译码电路和按键标志位产生电路也是为了配合扫描模块来扫描电路中是否有按键按下,而且还要求它来产生按键标志信号,以便和外部电路握手。时钟产生电路是为了产生不同频率的信号,来驱动上面两个电路的运转。通过对课题的分析研究,掌握了VHDL语言编程方法,同时也增强了个人的学习能力和动手能力。关键词:FPGA/CPLD;矩阵键盘;仿真兰州交通大学毕业设计(论文)IIAbstractMorecountrieswhichhaveadvancedelectronicandcomputertechnologyamongtheInternationalfieldhavebeenactivelyexploringnewelectroniccircuitdesignmethodanddesignmethod.Andtheymadesomecompletelyreformationinthedesignmethodsandthetools,thathasachievedahugesuccesssincethe1990s.IntheElectricalTechnologyDesignfield,programmablelogicdevicesuchas:CPLD,FPGA’sadhibitionhavebeenalreadypopularized.Allthosedevicesmadeagreatflexibilitytothedesignofthedigitalsystem.Andalsochangedthetraditionaldigitalsystem’designmethods,designprocedureandthedesignconceptimmensely.AnditisgreatlyenhancedthedevelopmentoftheEDA.CircuitdesigningthatQUARTUSⅡdevelopingplatforminEDAmakesuseofVHDLlanguagedesignMatrixkeyboardinterfacecircuiton7.2originallytime.Requirementistodesignamatrixkeyboard4×9,atotalofthreemodules,namely:scanningcircuitmodule,clockgenerationmodule,thekeyboarddecodercircuitandthekeyflaggenerationcircuit.Scannermoduleistogeneratescanningsignalstothescanningsignaltoscanthekeyboardbuttonpresswhetherthere.Keyboarddecodingcircuitandbuttonflaggeneratingcircuitisconnectedtothescanningmoduletoscanthecircuitiftherearekeypressed,butalsorequiresittogeneratekeysignsandsignals,andexternalcircuittoshakehands.Clockgeneratingcircuitistogeneratesignalsofdifferentfrequency,todrivetheoperationoftheabovetwocircuits.Throughtheanalysisandresearchoftheissue,knowabouttheVHDLlanguageprogramming,mystudyandpracticeabilitywasimprovedatthesametime.Keywords:FPGA/CPLD;Matrixkeyboard;Simulation兰州交通大学毕业设计(论文)III目录1.绪论.......................................................................................................................................11.1FPGA概况.................................................................................................................11.2本课题的研究意义....................................................................................................2本章小结.............................................................................................................................22.VHDL语言介绍与QuartusII7.2(32-Bit)软件介绍........................................................32.1VHDL语言的介绍....................................................................................................32.1.1VHDL语言概述.................................................................................................32.1.2VHDL语言的优点.............................................................................................42.1.3利用VHDL语言设计数字系统的特点...........................................................62.1.4VHDL语言的基本结构..................................................................................72.2QuartusII7.2(32-Bit)软件介绍及其用法................................................................72.2.1QuartusII7.2软件介绍......................................................................................72.2.2QuartusII软件的用法.....................................................................................10本章小结...........................................................................................................................133.矩阵键盘接口电路的原理与总体设计............................................................................143.1矩阵键盘接口电路的原理......................................................................................143.2总体设计..................................................................................................................16本章小结...........................................................................................................................164.各模块的设计及仿真.........................................................................................................174.1键盘扫描电路..........................................................................................................174.2键盘译码电路和按键标志位产生电路....................................................................194.3时钟产生模块..........................................................................................................244.4键盘接口电路顶层电路实现..................................................................................27本章小结...........................................................................................................................28结论........................................................................................................................................29致谢........................................................................................................................................30参考文献............................................
本文标题:82矩阵键盘控制接口电路设计
链接地址:https://www.777doc.com/doc-6017564 .html