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

正文內(nèi)容

電子線路cad課程設(shè)計論文-搶答器-資料下載頁

2025-06-23 23:01本頁面
  

【正文】 begin score5[3:0]=score5[3:0]1。 end end 439。b0110 : //如果搶答為玩家6 begin if(score6[3:0]=1) begin score6[3:0]=0。 zero6=1。 //玩家1的分?jǐn)?shù)減少到0,淘汰 end else begin score6[3:0]=score6[3:0]1。 end end default : 。 endcase end if(!time_out amp。amp。 !temp_flag amp。amp。 right2)//回答正確,相應(yīng)加1分 begin temp_flag=1。//和前述意義一樣 case(mode) 439。b0001 : //玩家1 begin if(score1[3:0]==9) begin score1[3:0]=9。 end else begin score1[3:0]=score1[3:0]+1。 end end 439。b0010 : //玩家2 begin if(score2[3:0]==9) begin score2[3:0]=9。 end else begin score2[3:0]=score2[3:0]+1。 end end 439。b0011 : //玩家3 begin if(score3[3:0]==9) begin score3[3:0]=9。 end else begin score3[3:0]=score3[3:0]+1。 end end 439。b0100 : //玩家4 begin if(score4[3:0]==9) begin score4[3:0]=9。 end else begin score4[3:0]=score4[3:0]+1。 end end 439。b0101 : //玩家5 begin if(score5[3:0]==9) begin score5[3:0]=9。 end else begin score5[3:0]=score5[3:0]+1。 end end 439。b0110 : //玩家6 begin if(score6[3:0]==9) begin score6[3:0]=9。 end else begin score6[3:0]=score6[3:0]+1。 end end default : 。 endcase end end endendendmodule8. module display(cp1024hz,mode,setted_score,score1,score2,score3,score4,score5,score6,time_countdown, disp,mode_disp)。input cp1024hz。input[3:0] mode,time_countdown。//從time_count引出input[3:0] setted_score,score1,score2,score3,score4,score5,score6。output disp,mode_disp。reg[3:0] disp,mode_disp。always @(posedge cp1024hz)begin case(mode) 439。b0000 : disp=setted_score。 439。b0001 : disp=score1。 439。b0010 : disp=score2。 439。b0011 : disp=score3。 439。b0100 : disp=score4。 439。b0101 : disp=score5。 439。b0110 : disp=score6。 439。b0111 : begin disp[3:0]=time_countdown。 end default : disp=setted_score。 endcaseendalways @(mode)begin mode_disp=mode。endendmodule9. module BcdToSeg(Bcd,SEG)。input [3:0] Bcd。output [6:0] SEG。reg [6:0] SEG。always @(Bcd)begin case (Bcd) 439。b0001 : SEG = 739。b1111001。 //1 439。b0010 : SEG = 739。b0100100。 //2 439。b0011 : SEG = 739。b0110000。 //3 439。b0100 : SEG = 739。b0011001。 //4 439。b0101 : SEG = 739。b0010010。 //5 439。b0110 : SEG = 739。b0000010。 //6 439。b0111 : SEG = 739。b1111000。 //7 439。b1000 : SEG = 739。b0000000。 //8 439。b1001 : SEG = 739。b0010000。 //9 439。b0000 : SEG = 739。b1000000。 //0 endcaseendendmodule10. module seg_driver(cp1024hz,show_num1,show_num2,show,AN0,AN1,AN2,AN3)。input cp1024hz。input [3:0] show_num1,show_num2。 output [3:0] show。output AN0,AN1,AN2,AN3。 reg AN0,AN1,AN2,AN3,dp。reg [3:0] show。reg temp=0。always @(posedge cp1024hz)begin temp=~temp。 case (temp) 139。b0 : begin AN0=0。 AN1=1。 AN2=1。 AN3=1。 show=show_num1。 end 139。b1 : begin AN0=1。 AN1=0。 AN2=1。 AN3=1。 show=show_num2。 end endcase endendmodule26 /
點擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1