FPGA(EP4CE6)控制步进电机实验Verilog逻辑源码Quartus工程文件+文档资料.rar

上传者: guoruibin123 | 上传时间: 2021-08-09 13:07:29 | 文件大小: 3.16MB | 文件类型: RAR
FPGA(EP4CE6)控制步进电机实验Verilog逻辑源码Quartus工程文件+文档资料, module STEP_MOTO_V1_0 ( //input input sys_clk , input [3:0] key , output reg mot_out_a , output reg mot_out_b , output reg mot_out_c , output reg mot_out_d ); //reg define reg [8-1:0] counter ; reg [8-1:0] count ; reg [25:0] clk_cnt ; reg [ 2:0] step_cnt ; //wire wire step_en ; //wire define //parameter define assign sys_rst_n = 1'b1 ; // gen a time counter , 5500000 * 20ns always @(posedge sys_clk or negedge sys_rst_n) begin if (sys_rst_n ==1'b0) clk_cnt <= 26'b0; else if ( clk_cnt == 26'd500000 ) clk_cnt <= 26'b0; else clk_cnt <= clk_cnt + 26'b1; end // step enable is active 5500000 * 20ns assign step_en = ( clk_cnt == 26'b0 ) ? 1:0 ; always @(posedge step_en or negedge sys_rst_n) begin if (sys_rst_n ==1'b0) step_cnt <= 3'b0; else step_cnt <= step_cnt + 3'b1; end always @(posedge step_en or negedge sys_rst_n) begin if (sys_rst_n ==1'b0) begin mot_out_a <= 1'b0; mot_out_b <= 1'b0; mot_out_c <= 1'b0; mot_out_d <= 1'b0; end else if ( step_cnt == 0 ) begin mot_out_a <= 1'b0; // 6 mot_out_b <= 1'b0; mot_out_c <= 1'b0; mot_out_d <= 1'b1; end else if ( step_cnt == 1 ) begin mot_out_a <= 1'b0; mot_out_b <= 1'b0; mot_out_c <= 1'b1; mot_out_d <= 1'b1; end else if ( step_cnt == 2 ) begin mot_out_a <= 1'b0;

文件下载

资源详情

[{"title":"( 92 个子文件 3.16MB ) FPGA(EP4CE6)控制步进电机实验Verilog逻辑源码Quartus工程文件+文档资料.rar","children":[{"title":"STEP_MOTO_V1_0(EP4CE6)","children":[{"title":"STEP_MOTO_V1_0.pof <span style='color:#111;'> 512.19KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.fit.summary <span style='color:#111;'> 621B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.fit.smsg <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"详细设计方案","children":[{"title":"步进电机_28BYJ-48介绍和驱动及c编程.doc <span style='color:#111;'> 160.50KB </span>","children":null,"spread":false},{"title":"详细设计方案_步进电机.doc <span style='color:#111;'> 130.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"STEP_MOTO_V1_0.qsf <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cdf <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"db","children":[{"title":"STEP_MOTO_V1_0.map_bb.cdb <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cmp.logdb <span style='color:#111;'> 9.95KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.asm.rdb <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cmp.bpm <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.tis_db_list.ddb <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.(0).cnf.hdb <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.asm_labs.ddb <span style='color:#111;'> 7.69KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cbx.xml <span style='color:#111;'> 96B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.tiscmp.slow_1200mv_0c.ddb <span style='color:#111;'> 144.19KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.tiscmp.slow_1200mv_85c.ddb <span style='color:#111;'> 143.94KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.map.kpt <span style='color:#111;'> 982B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.asm.qmsg <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.fit.qmsg <span style='color:#111;'> 19.92KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.amm.cdb <span style='color:#111;'> 311B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.pre_map.cdb <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.tiscmp.fastest_slow_1200mv_0c.ddb <span style='color:#111;'> 109.64KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.tiscmp.fast_1200mv_0c.ddb <span style='color:#111;'> 142.92KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.syn_hier_info <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.map.bpm <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cycloneive_io_sim_cache.45um_ff_1200mv_0c_fast.hsd <span style='color:#111;'> 728.84KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cycloneive_io_sim_cache.45um_ss_1200mv_85c_slow.hsd <span style='color:#111;'> 722.88KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.tiscmp.fastest_slow_1200mv_85c.ddb <span style='color:#111;'> 109.87KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cmp_merge.kpt <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.lpc.html <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.hier_info <span style='color:#111;'> 831B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cmp.hdb <span style='color:#111;'> 10.61KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.map.hdb <span style='color:#111;'> 10.05KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.sgdiff.hdb <span style='color:#111;'> 9.59KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.tmw_info <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.map.qmsg <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.sta.qmsg <span style='color:#111;'> 36.93KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.sgdiff.cdb <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.smart_action.txt <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.rtlv_sg.cdb <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.sld_design_entry_dsc.sci <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.map_bb.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.hif <span style='color:#111;'> 795B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.rtlv_sg_swap.cdb <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.sta.rdb <span style='color:#111;'> 23.07KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.map.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cmp.cdb <span style='color:#111;'> 12.74KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.lpc.rdb <span style='color:#111;'> 388B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cmp.kpt <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.db_info <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.pre_map.hdb <span style='color:#111;'> 9.47KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.map.cdb <span style='color:#111;'> 4.47KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.lpc.txt <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.sta_cmp.8_slow_1200mv_85c.tdb <span style='color:#111;'> 12.44KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.map_bb.hdb <span style='color:#111;'> 8.21KB </span>","children":null,"spread":false},{"title":"logic_util_heursitic.dat <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cycloneive_io_sim_cache.45um_ss_1200mv_0c_slow.hsd <span style='color:#111;'> 727.78KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.cmp.rdb <span style='color:#111;'> 16.45KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.rtlv.hdb <span style='color:#111;'> 9.47KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.idb.cdb <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.(0).cnf.cdb <span style='color:#111;'> 4.40KB </span>","children":null,"spread":false}],"spread":false},{"title":"STEP_MOTO_V1_0.asm.rpt <span style='color:#111;'> 7.73KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.sta.rpt <span style='color:#111;'> 200.18KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.map.rpt <span style='color:#111;'> 20.34KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.flow.rpt <span style='color:#111;'> 8.09KB </span>","children":null,"spread":false},{"title":"incremental_db","children":[{"title":"compiled_partitions","children":[{"title":"STEP_MOTO_V1_0.root_partition.map.dpi <span style='color:#111;'> 684B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.map.cdb <span style='color:#111;'> 4.27KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.cmp.rcfdb <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.cmp.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.map.kpt <span style='color:#111;'> 984B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.cmp.dfp <span style='color:#111;'> 33B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.cmp.cdb <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.cmp.hdb <span style='color:#111;'> 10.32KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.map.hbdb.cdb <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.cmp.kpt <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.map.hbdb.sig <span style='color:#111;'> 31B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.db_info <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.map.hbdb.hb_info <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.map.hdb <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.root_partition.map.hbdb.hdb <span style='color:#111;'> 9.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"README <span style='color:#111;'> 653B </span>","children":null,"spread":false}],"spread":true},{"title":"STEP_MOTO_V1_0.done <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"RTL","children":[{"title":"STEP_MOTO_V1_0.v <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.v.bak <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"STEP_MOTO_V1_0.sof <span style='color:#111;'> 349.93KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.qpf <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.pin <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.map.summary <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.fit.rpt <span style='color:#111;'> 122.85KB </span>","children":null,"spread":false},{"title":"STEP_MOTO_V1_0.sta.summary <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"新建 文本文档.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • weixin_51611673 :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-11-26
  • ruxiao96 :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-10-17

免责申明

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