【正文】
大廳、風(fēng)景區(qū)、車站、碼頭、繁華街道等公共場(chǎng)所的布設(shè)能夠美化亮化城市環(huán)境,方便群眾生活,已經(jīng)成為城市各角落的一道亮麗風(fēng)景線。隨著科技的發(fā)展及人們生活水平的提高,自動(dòng)售貨機(jī)市場(chǎng)的發(fā)展越來越呈現(xiàn)出多元化及個(gè)性化的需求。以往都是在老師的教導(dǎo)下系統(tǒng)的學(xué)習(xí),這次則是自己去網(wǎng)上、圖書館找資料進(jìn)行學(xué)習(xí),這對(duì)提高我們的自學(xué)能力和獨(dú)立完成任務(wù)的能力都很有幫助。學(xué)有所用的感覺也讓我在進(jìn)行設(shè)計(jì)的時(shí)候倍受激勵(lì),從而最大程度的投入到本次設(shè)計(jì)中來。因?yàn)橛行枨?,所以才有市?chǎng),這就是本設(shè)計(jì)的最大意義所在。 Design did not consider the hardware implementation, only the corresponding functional simulation, experimental nature of the curriculum design.Keywords: VHDL, vending machines, curriculum design, MXAPLUS Ⅱ, system simulation目 錄1. 引言……………………………………………………………..7 自動(dòng)售貨機(jī)系統(tǒng)概述……………………………………7 設(shè)計(jì)任務(wù)和主要內(nèi)容……………………………………82. 系統(tǒng)設(shè)計(jì)過程…………………………………………………..9 自動(dòng)售貨機(jī)系統(tǒng)總體框圖………………………………9 系統(tǒng)功能模塊……………………………………………9 程序源代碼………………………………………………113. 系統(tǒng)仿真………………………………………………………..15 系統(tǒng)仿真全圖……………………………………………15 系統(tǒng)分步仿真圖………………………………………... 164. 總結(jié)……………………………………………………………..20參考文獻(xiàn)………………………………………………………….. 211 引言隨著現(xiàn)在生活節(jié)奏越來越快,自動(dòng)售貨機(jī)的出現(xiàn)大大方便了人們的日常生活。關(guān)鍵詞:VHDL、自動(dòng)售貨機(jī)、課程設(shè)計(jì)、MXAPLUSⅡ、系統(tǒng)仿真Abstract: This design use of VHDL language design a vending machine control system, the system have the functions to storage the goods information, process control, coin handling, balance calculation, display and other functions. The type of goods, unit price and quantity in the initialization to be input, and then stored. Currency for the coins can be identified, fifty cents and one dollar denomination. User input coins, the system account sum, and then paring the unit price and quantity of goods, net price, the final calculation of the balance, you can give change.用戶投入硬幣,系統(tǒng)累計(jì)數(shù)量,然后對(duì)比物品的單價(jià)和數(shù)量,扣除價(jià)格,最后計(jì)算余額,可以找零。商品的種類、單價(jià)和數(shù)量在初始化時(shí)輸入,然后存儲(chǔ)。(2)課程設(shè)計(jì)附件(主要是源程序)。(4)學(xué)生應(yīng)抱著嚴(yán)謹(jǐn)認(rèn)真的態(tài)度積極投入到課程設(shè)計(jì)過程中,認(rèn)真查閱相應(yīng)文獻(xiàn)以及實(shí)現(xiàn),給出個(gè)人分析、設(shè)計(jì)以及實(shí)現(xiàn)。(2)通過課題設(shè)計(jì),掌握計(jì)算機(jī)組成原理的分析方法和設(shè)計(jì)方法?!队?jì)算機(jī)組成原理》課程設(shè)計(jì)報(bào)告基