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

正文內(nèi)容

電梯控制系統(tǒng)的設(shè)計與實現(xiàn)數(shù)字邏輯課程設(shè)計-免費閱讀

2025-08-13 16:33 上一頁面

下一頁面
  

【正文】 end end else begin cTime = 0。 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 45 end else begin cTime = cTime 1。 targetFloor[2] = 0。 targetFloor[1]) targetFloor[1] = 0。 targetFloor[3] = 0。 end if(qRun == 50000000) begin runTime = runTime 1。 end end else begin mark = 1。 end else if(targetFloor[3]) begin liftState = 1。 end else if(targetFloor[0]) begin liftState = 2。 mark = 0。amp。 end // 綁定將目標(biāo)樓層綁定至相應(yīng) LED 燈上 assign floorLight1 = targetFloor[0]。 clkLight = 0。 runState = 1。 reg[3:0] runTime。 // 目標(biāo)樓層, 1 代表當(dāng)前樓層有請求 reg[1:0] liftState。打開強制開門開關(guān),開門燈亮,倒計時 5 秒 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 33 電梯上升模塊功能測試 圖 電梯上升模塊測試 功能測試:如圖,打開電源,按下 6 樓按鈕, 6 樓指示燈亮,上行指示燈亮,當(dāng)前樓層為 4 樓,每 層樓之間進(jìn)行 9 秒倒計時,此時倒計時進(jìn)行至 7 秒。 infloorButton3 = 0。 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 31 clk = ~clk。 wire floorLight3。 reg outfloorButton6。 reg 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 30 openButton。 outfloorButton1 = 0。 powerButton = 1。 clk = ~clk。 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 28 wire floorLight3。 reg outfloorButton6。 reg openButton。 outfloorButton1 = 0。 powerButton = 1。 wire sevenJ。 wire doorLight。 reg infloorButton6。 // Wait 100 ns for global reset to finish // Add stimulus here end endmodule 仿真結(jié)果: 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 25 電梯升降模塊仿真文件如下: module test。 infloorButton1 = 0。 openButton = ~openButton。 wire floorLight8。 // Outputs wire [7:0] eightDecode。 reg infloorButton1。 outfloorButton6 = 0。 openButton = 0。 outfloorButton3 = ~outfloorButton3。 wire sevenJ。 wire 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 21 doorLight。 reg infloorButton6。 end endmodule 仿真結(jié)果: 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 20 電梯上下樓判斷模塊仿真文件如下: module test。 infloorButton1 = 0。 outfloorButton6 = ~outfloorButton6。 wire sevenK。 wire downLight。 reg outfloorButton1。 reg powerButton。 2) 電梯上行狀態(tài) i. 電梯此刻處于向上運行狀態(tài)。 (2) 能力獨立思考、獨立查閱資料,獨立設(shè)計規(guī)定的系統(tǒng)。 (3) 能夠獨立地完成實施過程,包括安裝、布線、測試和排除故障。 3) 電梯下行狀態(tài) i. 電梯此刻處于向下運行狀態(tài)。 reg resetButton。 reg outfloorButton3。 wire floorLight1。 always begin 5。 end always begin 20。 infloorButton3 = 0。 // Inputs reg clk。 reg infloorButton8。 wire upLight。 wire sevenM。 end always begin 25。 closeButton = 0。 outfloorButton8 = 0。 reg infloorButton3。 wire flashLight。 wire sevenF。 end always 7 closeButton=~closeButton。 infloorButton3 = 0。 // Inputs reg clk。 reg infloorButton8。 wire upLight。 wire sevenM。 resetButton = 0。 outfloorButton3 = 0。 reg closeButton。 reg outfloorButton8。 wire floorLight6。 end always begin 20。 resetButton = 0。 outfloorButton3 = 0。 reg closeButton。 reg outfloorButton8。 wire floorLight6。 end always 10 infloorButton6=~infloorButton6。 infloorButton6 = 0。每層樓之間運行指示燈閃爍 9 下。 // 電梯運行狀態(tài) 2. 下降狀態(tài) reg mark。 //電梯運行時間顯示 integer q,qLight,qScan,qRun。 // 電梯初始化上升 liftState = 0。 runTime = 0。 assign floorLight3 = targetFloor[1]。 openButton == 1 amp。 end else if(targetFloor[1] | targetFloor[2] | targetFloor[3]) begin liftState = 1。 end else if(targetFloor[2] | targetFloor[3]) begin liftState = 1。 end else if(targetFloor[0] | targetFloor[1]) begin 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 40 liftState = 2。 end end end ///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// //module Control System always (posedge clk) begin if(powerButton == 1) // 電梯運行開關(guān)打開 begin // 計時器 if(liftState == 1 || liftState == 2) begin if(q == 225000000) begin clkFloor = ~clkFloor。 qRun = 0。 end else begin if(infloorButton1 || outfloorButton1) targetFloor[0] = 1。 if(currentFloor == 6 amp。 targetFloor[3] = 0。 if(cTime = 486870911) doorTime = 5。 end end // 電梯狀態(tài)控制 電梯升降 always (negedge clkFloor 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 46 begin if(liftState == 1) begin currentFloor = currentFloor + 1。 end else begin cTime = 0。 doorTime = 0。 targetFloor[1] = 0。 if(currentFloor == 3 amp。 targetFloor[2] = 0。 end if(runTime == 0) begin runTime = 9。 end endcase end else begin if(mark == 1) begin if(doorState == 0) 華 中 科 技 大 學(xué) 課 程 設(shè) 計 報 告 41 begin liftState = 0。 (targetFloor[0] | targetFloor[1])) begin liftState = 2。 (targetFloor[2] | targetFloor[3])) begin liftState = 1。 (liftStat
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1