欢迎来到天天文库
浏览记录
ID:47477796
大小:379.43 KB
页数:21页
时间:2020-01-11
《基于Verilog_HDL的洗衣机程序》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、EDA嵌入式系统课程设计北京印刷学院课程设计报告——嵌入式系统EDA课程设计名称:EDA技术课程设计课程设计题目:洗衣机控制电路专业:电子信息工程专业班级:XXXXX学生姓名:XXXXXXXXXXXXXXXXXXXXXXXX指导老师:XXXXXXX时间:XXXXXX至XXXXX年XXXX月XXXX日目录一、设计任务要求·················································31、基本要求·········································
2、··········3二、总体设计方案·················································31、系统功能···············································32、系统设计···············································31)系统结构框图···········································32)模块分析······················
3、·························31、分频模块···············································32、七段数码管显示模块·····································33、洗衣机主程序模块·······································3三、应用设备及软件介绍···········································31、主要仪器设备(实验用的软硬件环境)····
4、··················32、实验的软件环境·········································43、操作方法与实验步骤·····································4四、调试过程分析、遇到的问题及解决方法···························41、分频模块···············································32、七段数码管显示模块··························
5、···········33、洗衣机主程序模块·······································3五、设计结论·····················································3六、DE2管脚分配说明············································3七、参考文献·····················································3八、附录···············
6、··········································3附录一分频模块··················································9附录二七段数码管显示模块········································9附录三洗衣机主程序模块··········································9一、设计任务要求1、基本要求:1)洗衣机的状态为待机5s→正转60s→待机5s→反转60s→,并用
7、3个LED灯和7段显示器分别表示其工作状态和显示相应工作状态下的时间。2)可自行设定洗衣机的循环次数,这里设置最大的循环次数为15次。3)具有紧急情况的处理功能。当发生紧急情况时,立即转入待机状态,紧急情况解除后,继续执行后续步骤。4)洗衣机设定循环次数递减到零时立即报警,以表示洗衣机设定的循环次数已经结束。二、设计方案1、系统功能基本功能:能够实现洗衣机在设置洗衣次数后待机5s→正转60s→待机5s→反转60s的四种基本状态,并且可显示循环次数,当遇到紧急状态时可打开紧急开关,暂停洗衣机的工作。当洗衣机循环
8、次数递减到0时洗衣机自动报警。2、系统设计1)系统结构框图,如图1-1所示:通过分频模块得到1Hzclk作为标准时钟输入到洗衣机主程序模块中,rst,en,start,add,四个输入信号作为洗衣机主程序模块的总输入,所得到的led信号分别用三个红灯显示,alarm信号用一个红灯显示,numa信号、numb信号、tim信号用七段数码管显示,最终实现了洗衣机的各项功能。一个50分频和三个100分频50
此文档下载收益归作者所有