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

正文內(nèi)容

基于vhdl的自動(dòng)售貨機(jī)設(shè)計(jì)報(bào)告-在線瀏覽

2024-11-05 18:58本頁(yè)面
  

【正文】 +co5*1+co1*3),邏輯正確,驗(yàn)證了編號(hào)大于 10的商品選擇功能。 選 15 號(hào),確定后按取消,重選 05 號(hào)商品 2 個(gè), 16 號(hào)商品 2個(gè),投入 50元( c20*2+c10*1),則退回金額為 8 元( co5*1+co1*3),并非余額不足持續(xù)等待,邏輯 正確,驗(yàn)證了返回上一層功能。 ① 本系統(tǒng)完成了 116號(hào)商品種類及 03個(gè)商品數(shù)量的兩次選擇、投幣退幣功能、按鍵實(shí)時(shí)顯示、所需金額顯示、投入金額顯示、找零金額顯示等全部基 本功能。 ③ 我組嘗試增加返回上一層的功能鍵,時(shí)序仿真時(shí)取得了成功(見(jiàn)仿真波形 4),但在下載進(jìn)開(kāi)發(fā)板后仍有一些問(wèn)題未能解決,因此尚需進(jìn)一步調(diào)試。 2) 考慮缺貨或售貨機(jī)內(nèi)部金額不足無(wú)法退幣的情況。 10 四、人員 及任務(wù) 分工 此次設(shè)計(jì)任務(wù)由信息科學(xué)與工程學(xué)院學(xué)生 共同完成。 五 、致謝 設(shè)計(jì)本系統(tǒng)之前,在 vhdl 基本語(yǔ)法及 ise程序的基本運(yùn)用方面,楊丹老師曾細(xì)心教授。 在此我組人員表示誠(chéng)摯感謝。 use 。 use 。 切換鍵 cancel: in std_logic。 確認(rèn)開(kāi)關(guān) but0,but1,but2,but3,but4: in std_logic。 投錢信號(hào) co1,co5,co10,co20: out integer range 0 to 5。 rst: in std_logic。共陽(yáng)極七段高位,顯示需要多少錢 choOut0:out std_logic。 choOut2:out std_logic。 lout1: out std_logic。 led 燈,顯示是否處在選擇數(shù)量狀態(tài) lout3: out std_logic。 end automarket。分頻后時(shí)鐘 signal stotMoney: integer range 0 to 99。 signal choClk:integer range 0 to 3。狀態(tài)變量 signal state:typestate。 variable needMoney: integer range 0 to 96。 variable choGoods1,choGoods2: integer range 0 to 16。 選擇的商品的數(shù)量 variable j : integer range 0 to 20。 variable lastOk: std_logic。 variable isAdd:std_logic。 是否允許 ok 鍵有效 variable unablec1,unablec5,unablec10,unablec20:std_logic。 制作上升 begin if(clk139。139。 stotMoney=0。 sneedMoney=0。 tempCo5:=0。 tempCo20:=0。 choNum2:=0。 i:=0。 isadd:=39。 lastcancel:=cancel。039。039。039。 co5=0。 co20=0。139。 unablec5:=c5。 unablec20:=c20。 unablebut1:=but1。 unablebut3:=but3。 ableOk:=39。 state=schoGoods10。039。139。039。 if(but1=39。 and unablebut1=39。) then unablebut1:=39。 end if。039。139。039。 unablebut0:=39。 needMoney:=choGoods1。 state=schoGoods11。039。039。139。 unablebut1:=39。 needMoney:=choGoods1。 state=schoGoods11。 if(rst=39。) then state=sstart。 when schoGoods11= if(but0=39。 and unablebut0=39。) then unablebut0:=39。 end if。039。139。039。 if(but2=39。 and unablebut2=39。) then unablebut2:=39。 end if。039。139。039。 if(but4=39。 and unablebut4=39。) then unablebut4:=39。 end if。039。139。039。unablebut0:=39。 ableOk:=39。 elsif(but1=39。 and unablebut1=39。) then choGoods1:=1。139。139。139。039。unablebut2:=39。 ableOk:=39。 elsif(but3=39。 and unablebut3=39。) then choGoods1:=3。139。139。139。039。unablebut4:=39。 ableOk:=39。 end if。139。139。039。 unablebut0:=39。ableOk:=39。 elsif(but1=39。 and unablebut1=39。) then choGoods1:=6。139。139。139。039。 unablebut2:=39。ableOk:=39。 elsif(but3=39。 and unablebut3=39。 and choGoods1=0) then choGoods1:=8。139。139。139。039。 unablebut4:=39。ableOk:=39。 end if。039。139。039。unablebut0:=39。 ableOk:=39。 elsif(but1=39。 and unablebut1=39。) then choGoods1:=11。139。139。139。039。unablebut2:=39。 ableOk:=39。 elsif(but3=39。 and unablebut3=39。) then choGoods1:=13。139。139。139。039。unablebut4:=39。 14 ableOk:=39。 end if。139。139。039。unablebut0:=39。 ableOk:=39。 elsif(but1=39。 and unablebut1=39。) then choGoods1:=16。139。139。 end if。 sneedMoney=needMoney。139。 lout1=39。 lout2=39。 ableOk:=39。 state=schoNum1。 if(rst=39。) then state=sstart。 第一個(gè)商品的數(shù)量選擇 when schoNum1 = if(but0=39。 and unablebut0=39。) then unablebut0:=39。 end if。039。139。039。 if(but2=39。 and unablebut2=39。) then unablebut2:=39。 end if。039。139。039。 if(but0=39。 and unablebut0=39。) then choNum1:=0。139。139。139。039。unablebut1:=39。ableOk:=39。 elsif(but2=39。 and unablebut2=39。) then choNum1:=2。139。139。139。039。unablebut3:=39。ableOk:=39。 end if。139。 lout2=39。 lout1=39。 ableOk:=39。 needMoney:=choGoods1*choNum1。 state=schoGoods20。 if (lastcancel/=cancel)then lastcancel:=cancel。039。139。 end if。139。 end if。039。139。039。 if(but1=39。 and unablebut1=39。) then unablebut1:=39。 end if。039。139。039。 unablebut0:=39。 needMoney:=choGoods2。 state=schoGoods21。039。039。139。 unablebut1:=39。 needMoney:=choGoods2。 state=schoGoods21。 if (lastcancel/=cancel)then lastcancel:=cancel。139。039。 end if。139。 end if。039。139。039。 if(but1=39。 and unablebut1=39。) then unablebut1:=39。 end if。039。139。039。 if(but3=39。 and unablebut3=39。) then unablebut3:=39。 end if。039。139。039。 if(shift=39。 and choGoods2=0) then if(but0=39。 and unablebut0=39。) then choGoods2:=0。139。139。139。039。unablebut1:=39。 ableOk:=39。 elsif(but2=39。 and unablebut2=39。) then choGoods2:=2。139。139。139。039。unablebut3:=39。 ableOk:=39。 elsif(but4=39。 and una
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1