freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于fpga的自動(dòng)售貨機(jī)控制系統(tǒng)設(shè)計(jì)畢業(yè)論文(完整版)

  

【正文】 buy:IN STD_LOGIC。 ok_buy_dlayed=ok_buy。 deliver=39。039。039。 OR timer_down_rising=39。 BEGIN ok_buy_rising=ok_buy AND (NOT ok_buy_dlayed)。 ENTITY change_deliver IS PORT(reset,sysclk,start_in,ok_buy,timer_down:IN STD_LOGIC。 END IF。)THEN money:=5。 IF(start_in=39。139。039。 END ENTITY。 END ARCHITECTURE rtl。)THEN money_sum_tmpe:=3*3。139。139。 ELSIF(type2_in=39。 AND quan3_in=39。)THEN money_sum_tmpe:=1*1。139。EVENT AND sysclk=39。 BEGIN IF(reset=39。 money_1:OUT STD_LOGIC_VECTOR(3 DOWNTO 0))。 END PROCESS。139。139。EVENT AND sysclk=39。 AND (NOT timerdown_rising)=39。 nextstate=idle。139。 OR ok_buy_rising=39。139。039。 BEGIN timerdown_rising=timer_down AND (NOT timerdown_dlayed)。 timer_down_out:OUT STD_LOGIC)。 END IF。139。139。 IF(set_quan3=39。END IF。039。ELSE type2_out=39。139。EVENT AND sysclk=39。 END CASE。nextstate3=s_cancel。 ELSE nextstate3=s_cancel。039。)THEN nextstate2=s_quan3。139。 ELSIF(quantitysel_rising=39。 END IF。039。039。039。139。)THEN nextstate1=s_type2。139。 ELSIF(typesel_rising=39。039。 quantitysel_rising=quantity_sel AND (NOT quantity_sel_dlayed)。 SIGNAL state1,nextstate1:state1TYPE。 USE 。 END IF。 END IF。 18 END PROCESS。 clk1=div1(7)。 SIGNAL div4:STD_LOGIC_VECTOR(1 DOWNTO 0)。 USE 。 15 : 系統(tǒng)啟動(dòng)時(shí)及 start_in 為高電平時(shí),倒計(jì)時(shí)開始計(jì)數(shù),當(dāng)確認(rèn)購(gòu)買時(shí)及 ok_buy 為高電平時(shí)計(jì)數(shù)值清零,系統(tǒng)從新開始倒計(jì)時(shí),這里以計(jì)時(shí) 4 秒來替代 30 秒的選擇倒計(jì)時(shí),方便仿真。 系統(tǒng) 復(fù)位后就進(jìn)入停止?fàn)顟B(tài)( IDLE),在停止?fàn)顟B(tài)下不斷判斷啟動(dòng)信號(hào) start_in 是否為 1,如果為 1,則表明啟動(dòng)鍵已按下,定時(shí)器開始工作,轉(zhuǎn)移的下一個(gè)狀態(tài)為計(jì)數(shù)狀態(tài);否則仍停13 留在停止?fàn)顟B(tài)。 第四章 自動(dòng)售貨機(jī)控制電路的算法狀態(tài)機(jī)圖描述 由系統(tǒng)的分析可知,自動(dòng)售貨機(jī)控制電路主要 是控制電路和計(jì)數(shù)電路,因此直接用算法狀態(tài)機(jī)圖描述比較簡(jiǎn)潔。 ( 2) 輸出信號(hào): start_out:?jiǎn)?dòng)與取消同步信號(hào)輸出; type1_out:商品種類 1 的選擇信號(hào)輸出; type2_out:商品種類 2 的選擇信號(hào)輸出; type3_out:商品種類 3 的選擇信號(hào)輸出; quan1_out:商品數(shù)量 1 的選擇信號(hào)輸出; quan1_out:商品數(shù)量 2 的選擇信號(hào)輸出; quan1_out:商品數(shù)量 3 的選擇信號(hào)輸出; 7 選擇定時(shí)模塊的功能是根據(jù)主控制器送來的 start_in 啟動(dòng)與取消信號(hào),啟動(dòng)與取消定時(shí), 這個(gè)時(shí)間用與商品種類 與數(shù)量的選擇倒計(jì)時(shí),當(dāng)?shù)褂?jì)時(shí)時(shí)間到系統(tǒng)復(fù)位及默認(rèn)顧客放棄選購(gòu)商品,且當(dāng)?shù)褂?jì)時(shí)到后其它的模塊不工作,如不用商品金額計(jì)算,給錢處理和找零出貨。 選擇的定時(shí)模塊( timer_count) : 用于選擇倒計(jì)時(shí)時(shí)間計(jì)算,當(dāng)啟動(dòng)系統(tǒng)時(shí),到計(jì) 時(shí)開始計(jì)時(shí),當(dāng)取消或確認(rèn)購(gòu)買時(shí),倒計(jì)時(shí)終止并且計(jì)時(shí)值清零,等待再次啟動(dòng),又初始倒計(jì)時(shí)。 3.系統(tǒng)上電復(fù)位后默認(rèn)選擇商品 1,數(shù)量 1,通過商品種類選擇按鍵和商品數(shù)量選擇按鍵來滿足購(gòu)買需要。 第五, VHDL 開發(fā)的產(chǎn)品上市時(shí)間快,成 本低: VHDL 語(yǔ)言的設(shè)計(jì)將大大提高數(shù)字單片化的設(shè)計(jì)實(shí)現(xiàn)速度,它使設(shè)計(jì)描述快捷,方便,使設(shè)計(jì)的快速?gòu)?fù)制簡(jiǎn)便易行, VHDL 和可編程邏輯的組合作為一類強(qiáng)有力的現(xiàn)場(chǎng)集成設(shè)計(jì)方式,將為設(shè)計(jì)者產(chǎn)品的上市帶來創(chuàng)紀(jì)錄的速3 度。s development software Quarts II. By the software platform for the digital circuit design and simulation method, elaborated VHDL (Very High Speed Integrated Circuit Hardware Description Language) highspeed integrated circuit hardware description language, some characteristics and grammatical structures introduced the basic principles of automatic vending machine , system ponents and major functions, and analyzed and discussed using VHDL language development vending machine system design flow. The design uses VHDL hardware description language design methods core of the system hardware circuit procedures, the Quartus II software platform to pile and simulation. The article first outlines the vending machine system development status as well as the meaning and characteristics of the VHDL language, then introduces the vending machine design requirements, design ideas, and gives the overall design diagram, through analysis and design to write VHDL source code , the code in the Quartus II software platforms piled simulation, waveform basically meet the design requirements. The finished product selection system has a vending machine, coin handling, shipping give change, unusual coin and other major features, reflects the development of the entire system in the Quartus II software platform design of digital control systems using VHDL practicality. Key Words: Vending machines, VHDL, FPGA, The Quartus II IV 目錄 論 文 摘 要 ................................................................................................................... Ⅰ ABSTRACT ...................................................................................................................... Ⅱ 第 1 章 緒論 .................................................................................................................. 2 題目背景與選題意義: ........................................................................................... 2 設(shè)計(jì)方案比較與選擇: ........................................................................................... 3 自動(dòng)售貨機(jī)控制電路的性能要求: ....................................................................... 3 第二章 自動(dòng)售貨機(jī)控制電路總體設(shè)計(jì) ...................................................................... 4 第三章 自動(dòng)售貨機(jī)控制電路各模塊信號(hào)分析 .......................................................... 6 .............................................................................................................. 6 .............................................................................................................. 6 .............................................................................................................. 7 ...................................................................................................... 7 .............................................................................................................. 7 .............................................................................................................. 8 第四章 自動(dòng)售貨機(jī)控制電路的算法狀態(tài)機(jī)圖描述 .................................................... 8 .............................................................................................................. 9 商品種類選擇控 制狀態(tài)機(jī)圖 ................................................................................... 9 ................................................................................... 9 /取消控制算法狀態(tài)機(jī)圖描述 ........................................................................ 12 2. 選擇定時(shí)模塊 ........................................................................................................... 12 第五章 自動(dòng)售貨機(jī)控制電路各模塊仿真結(jié)果及分析 .......................
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1