proteus电子时钟原理图,666666666666666666666666666666666666666666666666666666666666666666666
2021-12-03 16:03:43 35KB proteus 数字时钟
1
FPGA设计时分秒进位数字时钟verilog实验Quartus9.1工程源码+设计说明文件 /* 本实验实现一个能显示小时,分钟,秒的数字时钟。 */ module clock(clk,rst,dataout,en); input clk,rst; output[7:0] dataout; reg[7:0] dataout; output[7:0] en; reg[7:0] en; reg[3:0] dataout_buf[7:0]; reg[25:0] cnt; reg[15:0] cnt_scan; reg[3:0] dataout_code; wire[5:0] cal; //各级进位标志 assign cal[0]=(dataout_buf[0]==9)?1:0; assign cal[1]=(cal[0]&&dataout_buf[1]==5)?1:0; assign cal[2]=(cal[1]&&dataout_buf[3]==9)?1:0; assign cal[3]=(cal[2]&&dataout_buf[4]==5)?1:0; assign cal[4]=(cal[3]&&dataout_buf[6]==9)?1:0; assign cal[5]=(cal[3]&&dataout_buf[6]==2&&dataout_buf[7]==1)?1:0; always@(posedge clk or negedge rst) begin if(!rst) begin cnt_scan<=0; en<=8'b1111_1110; end else begin cnt_scan<=cnt_scan+1; if(cnt_scan==16'hffff) begin en[7:1]<=en[6:0]; en[0]<=en[7]; end end end always@(*) begin case(en) 8'b1111_1110: dataout_code=dataout_buf[0]; 8'b1111_1101: dataout_code=dataout_buf[1]; 8'b1111_1011: dataout_code=dataout_buf[2]; 8'b1111_0111: dataout_code=dataout_buf[3]; 8'b1110_1111: dataout_code=dataout_buf[4]; 8'b1101_1111: dataout_code=dataout_buf[5]; 8'b1011_1111: dataout_code=dataout_buf[6]; 8'b0111_1111: dataout_code=dataout_buf[7]; default: dataout_code=dataout_buf[0]; endcase end always@(posedge clk or negedge rst) begin if(!rst) cnt<=0; else if(cnt!=40000000) cnt<=cnt+1; else cnt<=0; end always@(posedge clk or negedge rst) //实现计数和进位的功能 begin if(!rst) begin dataout_buf[0]<=0; dataout_buf[1]<=0; dataout_buf[2]<=15; dataout_buf[3]<=0; dataout_buf[4]<=0; dataout_buf[5]<=15; dataout_buf[6]<=2; dataout_buf[7]<=1; end else begin if(cnt==26'd40000000) begin if(!cal[0]) dataout_buf[0]<=dataout_buf[0]+1; else begin dataout_buf[0]
053 数字时钟 DS12C887A 显示到LCD1602 51单片机仿真
2021-12-01 14:38:48 44KB 数字时钟 51单片机 仿真 DS12C887A
1
简单数字时钟,级数,秒脉冲,
2021-11-27 22:17:24 80KB 数字时钟
1
本实例用verilog hdl编写,能实现日前的显示,时钟的显示,跑表,功能强大,通过FPGA开发板测试并能正常工作。 文件包括全部工程文件。
2021-11-27 21:02:18 110KB 多功能数字时钟
1
基于51单片机设计的数字时钟,计时采用专用时钟芯片DS1302;包含仿真图和代码。 仿真软件:Altium Designer,程序设计:keil 功能:能调整秒/分/时并开始计时,同时也可以进行闹钟设置。
2021-11-26 16:14:35 5.34MB 51单片机 数字时钟 DS1302
1
matlab数字时钟,设计一个能显示日期、小时、分钟、秒的数字电子钟,并具有整点报时的功能。 由晶振电路产生1HZ标准的信号。分、秒为六十进制计数器,时为二十四进制计数器。 可手动校正时、分时间和日期值.rar
2021-11-22 23:38:26 1.37MB 数字时钟
1
用verilog 编写的一个数字时钟例程,可以实现24小时计数,还有闹钟报警、校时、校分等功能,程序简单易懂,亲测可行
2021-11-22 21:38:02 3.77MB 数字时钟
1
Android液晶字体、LED数字时钟显示,添加到资源库,可实现安卓电子时钟效果
2021-11-21 17:10:30 11KB LE 液晶
1
80c51 led显示数字时钟c语言程序 这是我自己编的程序,他可以实现键盘控制时钟
2021-11-19 16:45:53 2KB 数字时钟
1