FPGA读写DS1302 RTC实验Verilog逻辑源码Quartus工程文件+文档资料.rar

上传者: guoruibin123 | 上传时间: 2021-08-06 19:02:52 | 文件大小: 5.84MB | 文件类型: RAR
FPGA读写DS1302 RTC实验Verilog逻辑源码Quartus工程文件+文档资料, FPGA为CYCLONE4系列中的EP4CE6E22C8. 完整的工程文件,可以做为你的学习设计参考。 module DS1302( input sys_clk , input sys_rst_n , output DS1302_CE , output DS1302_CLK , inout DS1302_IO , output wire seg_c1 , output wire seg_c2 , output wire seg_c3 , output wire seg_c4 , output wire seg_a , output wire seg_b , output wire seg_c , output wire seg_e , output wire seg_d , output wire seg_f , output wire seg_g , output wire seg_h ); /************************************/ reg [3:0] i ;//ִ�в��� reg [4:0] rc1_data ;//������1������ reg [4:0] rc2_data ;//������2������ reg [4:0] rc3_data ;//������3������ reg [4:0] rc4_data ;//������4������ reg [7:0] isStart ;//��ʼ��־ reg [7:0] rData ;//�����ݴ��� reg [7:0] sec_data ;//������ reg [7:0] min_data ;//������ /************************************/ wire Done_Sig ; //�����ź� wire [7:0] Time_Read_Data ; //�����ʱ������ /************************************/ always @ ( posedge sys_clk or negedge sys_rst_n ) begin if ( !sys_rst_n ) begin i <= 4'd0; //ִ�в������� isStart <= 8'd0; //��ʼ��־���� rData <= 8'd0; //�����ݴ������� end else case( i ) 0: if ( Done_Sig ) begin isStart <= 8'd0; i <= i + 1'b1; end else begin isStart <= 8'b1000_0000; rData <= 8'h00; //���ݼĴ���д��00h end 1: if ( Done_Sig ) begin isStart <= 8'd0; i <= i + 1'b1; end

文件下载

资源详情

[{"title":"( 32 个子文件 5.84MB ) FPGA读写DS1302 RTC实验Verilog逻辑源码Quartus工程文件+文档资料.rar","children":[{"title":"DS1302","children":[{"title":"Project","children":[{"title":"DS1302.done <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"DS1302.sta.rpt <span style='color:#111;'> 255.57KB </span>","children":null,"spread":false},{"title":"DS1302.sta.summary <span style='color:#111;'> 990B </span>","children":null,"spread":false},{"title":"DS1302.map.summary <span style='color:#111;'> 459B </span>","children":null,"spread":false},{"title":"seg_module.bsf <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false},{"title":"DS1302.map.rpt <span style='color:#111;'> 31.47KB </span>","children":null,"spread":false},{"title":"DS1302.fit.smsg <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"DS1302.cdf <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"RTL","children":[{"title":"DS1302.v.bak <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"DS1302_module.v <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"DS1302.v <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"cmd_control_module.v <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"function_module.v <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false},{"title":"cmd_control_module.v.bak <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"DS1302_module.v.bak <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"seg_module.v <span style='color:#111;'> 7.36KB </span>","children":null,"spread":false},{"title":"function_module.v.bak <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"seg_module.v.bak <span style='color:#111;'> 7.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"DS1302.qpf <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"DS1302.pin <span style='color:#111;'> 19.96KB </span>","children":null,"spread":false},{"title":"DS1302.fit.rpt <span style='color:#111;'> 156.12KB </span>","children":null,"spread":false},{"title":"DS1302.flow.rpt <span style='color:#111;'> 6.94KB </span>","children":null,"spread":false},{"title":"DS1302.sof <span style='color:#111;'> 349.92KB </span>","children":null,"spread":false},{"title":"function_module.bsf <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"DS1302.asm.rpt <span style='color:#111;'> 6.66KB </span>","children":null,"spread":false},{"title":"DS1302.fit.summary <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"DS1302.jdi <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"DS1302.qsf <span style='color:#111;'> 4.48KB </span>","children":null,"spread":false},{"title":"cmd_control_module.bsf <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"设计方案","children":[{"title":"ds1302中文资料.pdf <span style='color:#111;'> 652.98KB </span>","children":null,"spread":false},{"title":"ds1302中文资料_注释.pdf <span style='color:#111;'> 5.21MB </span>","children":null,"spread":false},{"title":"ds1302详细设计方案.doc <span style='color:#111;'> 456.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明