always@(posedge Clk or negedge Reset_n ) if(!Reset_n )begin Data_r <= 12'd0; ADC_SCLK <= 1'd1; ADC_DIN <= 1'd1; ADC_CS_N <= 1'd1; end else if(DIV_CNT == MCNT_DIV_CNT)begin case(LSM_CNT) 0 : begin ADC_CS_N <= 1'd1; ADC_SCLK <= 1'd1;end 1 : begin ADC_CS_N <= 1'd0;end 2 : begin ADC_SCLK <= 1'd0;end 3 : begin ADC_SCLK <= 1'd1;end 4 : begin ADC_SCLK <= 1'd0;end 5 : begin ADC_SCLK <= 1'd1;end 6 : begin ADC_SCLK <= 1'd0;ADC_DIN <= r_Addr[2]; end 7 : begin ADC_SCLK <= 1'd1;end 8 : begin ADC_SCLK <= 1'd0;ADC_DIN <= r_Addr[1]; end 9 : begin ADC_SCLK <= 1'd1;end 10 :begin ADC_SCLK <= 1'd0;ADC_DIN <= r_Addr[0]; end 11: begin ADC_SCLK <= 1'd1;Data_r[11] <= ADC_DOUT; end 12: begin ADC_SCLK <= 1'd0;end 13: begin ADC_SCLK <= 1'd1;Data_r[10] <= ADC_DOUT; end 14: begin ADC_SCLK <= 1'd0;end 15: begin ADC_SCLK <= 1'd1;Data_r[9] <= ADC_DOUT; end 16: begin ADC_SCLK <= 1'd0;end 17: begin ADC_SCLK <= 1'd1;Data_r[8] <= ADC_DOUT; end 18: begin ADC_SCLK <= 1'd0;end 19: begin ADC_SCLK <= 1'd1;Data_r[7] <= ADC_DOUT; end 20: begin ADC_SCLK <= 1'd0;end 21: begin ADC_SCLK <= 1'd1;Data_r[6] <= ADC_DOUT; end 22: begin ADC_SCLK <= 1'd0;end 23: begin ADC_SCLK <= 1'd1;Data_r[5] <= ADC_DOUT; end 24: begin ADC_SCLK <= 1'd0;end 25: begin ADC_SCLK <= 1'd1;Data_r[4] <= ADC_DOUT; end 26: begin ADC_SCLK <= 1'd0;end 27: begin ADC_SCLK <= 1'd1;Data_r[3] <= ADC_DOUT; end 28: begin ADC_SCLK <= 1'd0;end 29: begin ADC_SCLK <= 1'd1;Data_r[2] <= ADC_DOUT; end 30: begin ADC_SCLK <= 1'd0;end 31: begin ADC_SCLK <= 1'd1;Data_r[1] <= ADC_DOUT; end 32: begin ADC_SCLK <= 1'd0;end 33: begin ADC_SCLK <= 1'd1;Data_r[0] <= ADC_DOUT; end 34: begin ADC_SCLK <= 1'd1;ADC_CS_N <= 1'd1; end default: ADC_CS_N <= 1'd1; endcase end
always@(posedge Clk or negedge Reset_n ) if(!Reset_n )begin Data <= 12'd0; Conv_Done <= 0; end else if((LSM_CNT == 34) && (DIV_CNT == MCNT_DIV_CNT))begin Conv_Done <= 1'd1; Data <= Data_r; end else begin Conv_Done <= 1'd0; Data <= Data; end
在MFC(Microsoft Foundation Class)桌面应用程序中,窗口是通过句柄(Handle)来进行管理和操作的。
句柄是一个标识符,用于唯一标识和引用窗口、控件、设备上下文等对象。在MFC桌面应用程序中,常…
这个软件也可以用知网,也可以用web of science。
首先,需要创建数据。这个数据如何创建,需要参考对应的教程。(本文以web of science为平台来做分析。)
首先,创建对应的数据库。
一直下一步 让后选择完…