如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
河海大学计算机与信息学院(常州)课程设计报告题目HDL课程设计自动售货机专业、学号电信1062610302授课班号278605学生姓名李珊珊指导教师奚吉完成时间2012年8月30日摘要《HDL硬件描述语言》是一门技术性、应用性很强的学科,实验课教学是它的一个极为重要的环节。因此通过自主设计自动售货机,让我们能够将课堂上学到的理论知识与实际应用结合起来,并且进一步加深对分析、解决实际的数字电路问题的认识,。本设计主要利用QuartusII平台,采用VHDL硬件描述语言编程的设计方法设计系统核心电路的硬件程序,之后借助ModelSim软件进行软件仿真,经过验证可以实现功能后,再将程序通过QuartusⅡ平台进行调试,最后将生成的目标文件下载到实验台内的FPGA芯片以实现该系统,并结合实验箱进行具体的显示。最终完成的自动售货机系统具有投币处理、商品选择、找零、异常退币等主要功能。本次设计中,用七个开关依次分别表示三种币值和四种价格的小商品,用数码管显示退币。当投币并选择商品后,若投币总值大于等于商品价格,则成功购买,对应所购买商品的LED灯亮,数码管显示退币金额;若投币总值小于商品价格,则显示异常,商品LED灯不亮,所投金额全部退回,数码管显示退币金额。【关键词】自动售货机HDLQuartusIIFPGAABSTRACT"TheHDLhardwaredescriptionlanguage"isatechnical,appliedsubject,experimentalteachingisoneofitsmostimportantlink.Therefore,throughindependentdesignaauto-vendingmachine,sothatwecantotheclassroomtheoreticalknowledgeandpracticalapplicationofcombined,andtofurtherdeepentheanalysis,solvepracticaldigitalcircuitproblems,.ThisdesignmainlyusesQuartusIIplatform,usingVHDLhardwaredescriptionlanguageprogrammingdesignmethodfordesignofsystemcorecircuithardwareprogram,followedbyModelSimsoftwarethroughsoftwaresimulation,validationfunctioncanbeachieved,thentheprogramthroughtheQuartusⅡplatformindebugging,finallywillgeneratethetargetfiledownloadtoexperimentalplatformFPGAchiptorealizethesystem,andcombiningwiththeexperimentalboxforaspecificdisplay.Finalcompletionofavendingmachinesystemhavingacoinprocessing,productselection,change,refundandothermajorfunctionalabnormalities.Inthisdesign,withsevenswitchesrespectivelyrepresentthethreecurrencyandfourkindsofpricesofcommodity,withdigitaldisplaybackcurrency.Whenthecoinandmerchandiseselection,ifthecoinvaluegreaterthanorequaltocommodityprices,successfulbuy,correspondingtopurchaseLEDlights,digitaltubedisplaytherefundamount;ifthecoinvaluelessthancommodityprices,commoditydisplayabnormalities,LEDlightisnotbright,theinvestmentamountofallreturned,digitaltubedisplaytherefundamount.【Keywords】auto-vendingmachineHDLQuartusIIFPGA系统设计设计目标用四个发光二极管