乐曲硬件演奏电路设计大学生毕业论文(设计).doc
文本预览下载声明
电子技术课程设计
————乐谱演奏电路设计
学 院:电子工程与电气自动化学院
专业、班级:电子科学与技术(1)班
姓 名: 王志愿
学 号
指导教师: 常红霞
2014年12月
目录
一:设计任务要求…………………………………………….2
1:课程设计题目………………………………………………2
2:设计分析……………………………………………………2
3:工程设计总述………………………………………………5
二:总体框图……………………………………………………8
三:选择器件……………………………………………………9
四:功能模块:(①模块图形、②程序、③功能仿真图、
④功能仿真图分析)……………………………………………9
1:分频器(div)………………………………………………9
2:计数器(notetabs)………………………………………11
3:选择模块(choice)………………………………………12
4:数据翻译模块(tontaba)………………………………14
5:译码器模块(deled)……………………………16
6:数控分频器模块(speakera)……………………………17
7:乐谱数据ROM(四个模块)…………………………………19
8:地址线的选择………………………………………………27
9:led数码管位选功能的解决方案…………………………28
五:总体设计电路图…………………………………………28六:六:结束语…………………………………………………………29
乐谱演奏电路设计
摘要
设计了一种基于FPGA的乐谱演奏,该乐谱演奏由用Verilog硬件描述语言设计的核心部件和适当的外围电路构成,可从蜂鸣器上进行演奏也可自动行乐曲演奏。 基于FPGA(现场可编程门阵列)芯片,利用Verilog语言,介绍了一种通用乐曲演奏电路的设计,可实现多个八度音阶的乐曲演奏,与简谱的对应关系简单,编程方便,占用资源少,通用性好,可作为IP core模块引用,构成复杂的SOPC系统. 关键词:乐谱演奏;现场可编程门阵列(FPGA);智力产权核(IP core);超高速集成电路硬件描述语言(Verilog);乐曲
Abstract
An electronic piano is designed based on FPGA,which consists of core paris that designed by using Verilog hardware description languages,as well as some periphery circuits.The musical perform ance can be donenot only by keys but also with automatic type in the electronic piano. Based on FPGA,by Verilog language,this paper introduces a universal music circuit design,it can play high,middle and low multiple tonality,simple corresponding relation with simple musical notation,which programs easily using little resource.It can be used universally for IP core in making complicated SOPC system. Key words:electronic piano;Field Programmable Gate Array(FPGA);Intelligence Property core(IP core) ;Very-High-Speed Integrated Circuit Hardware Descrip
显示全部