同步4位可逆计数器Cyclone4E FPGA设计Verilog逻辑源码Quartus工程文件.zip

上传者: GZXGYZ | 上传时间: 2021-08-23 13:06:54 | 文件大小: 137KB | 文件类型: ZIP
同步4位可逆计数器Cyclone4E FPGA设计Verilog逻辑源码Quartus工程文件, Quartus软件版本11.0, FPGA型号为CYCLONE4E系列中的EP4CE6E22C8,可以做为你的学习设计参考。 module cnt_kn(clk,clr,s,en,updn,d,co,q); input clk,clr,s,en,updn; //输入时钟、清零端(高电平有效)、置数端(高电平有效)、使能端、计数器方向控制端 input[3:0] d; //预置数据端 output[3:0] q; //计数输出端 output co; //进位端 reg[3:0] q; //计数输出寄存器 reg co; //进位输出寄存器 always@(posedge clk) //时钟上升沿触发 begin if(clr) //判断清零端是否有效 begin q<=0; //q置0 end else begin if(s) //判断置数端是否有效 begin q<=d; //q置d中的数据 end else if(en) //判断使能端是否有效 begin if(updn) //判断方向寄存器是否为1 begin if(q==4'b1111) //判断q是否为15 begin q<=4'b0000; //q清0 co<=1; //co置1 end else //q还没到15 begin q<=q+1; //q自加1 co<=0; //co置0

文件下载

资源详情

[{"title":"( 62 个子文件 137KB ) 同步4位可逆计数器Cyclone4E FPGA设计Verilog逻辑源码Quartus工程文件.zip","children":[{"title":"可逆计数器","children":[{"title":"cnt_kn.qws <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"cnt_kn.qpf <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"db","children":[{"title":"cnt_kn.pre_map.cdb <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"cnt_kn.map_bb.cdb <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"cnt_kn.(0).cnf.hdb <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"cnt_kn.map.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"cnt_kn.rtlv.hdb <span style='color:#111;'> 8.81KB </span>","children":null,"spread":false},{"title":"cnt_kn.sgdiff.cdb <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"cnt_kn.lpc.txt <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"cnt_kn.lpc.html <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"prev_cmp_cnt_kn.qmsg <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"cnt_kn.cmp_merge.kpt <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"logic_util_heursitic.dat <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"cnt_kn.tis_db_list.ddb <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"cnt_kn.lpc.rdb <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":"cnt_kn.rtlv_sg.cdb <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"cnt_kn.smart_action.txt <span style='color:#111;'> 5B </span>","children":null,"spread":false},{"title":"cnt_kn.hier_info <span style='color:#111;'> 639B </span>","children":null,"spread":false},{"title":"prev_cmp_cnt_kn.sim.qmsg <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"wed.wsf <span style='color:#111;'> 4.87KB </span>","children":null,"spread":false},{"title":"cnt_kn.map.cdb <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"cnt_kn.syn_hier_info <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"cnt_kn.map.hdb <span style='color:#111;'> 9.17KB </span>","children":null,"spread":false},{"title":"cnt_kn.cbx.xml <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"cnt_kn.sld_design_entry_dsc.sci <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"cnt_kn.cmp.rdb <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false},{"title":"cnt_kn.pre_map.hdb <span style='color:#111;'> 8.82KB </span>","children":null,"spread":false},{"title":"cnt_kn.sld_design_entry.sci <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"cnt_kn.sgdiff.hdb <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false},{"title":"cnt_kn.map_bb.hdb <span style='color:#111;'> 8.06KB </span>","children":null,"spread":false},{"title":"cnt_kn.(0).cnf.cdb <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"prev_cmp_cnt_kn.map.qmsg <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"cnt_kn.map.qmsg <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"cnt_kn.map.kpt <span style='color:#111;'> 413B </span>","children":null,"spread":false},{"title":"cnt_kn.db_info <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":"cnt_kn.map.bpm <span style='color:#111;'> 769B </span>","children":null,"spread":false},{"title":"cnt_kn.map_bb.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"cnt_kn.sim.cvwf <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"cnt_kn.rtlv_sg_swap.cdb <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"cnt_kn.hif <span style='color:#111;'> 767B </span>","children":null,"spread":false}],"spread":false},{"title":"cnt_kn.sim.rpt <span style='color:#111;'> 12.70KB </span>","children":null,"spread":false},{"title":"incremental_db","children":[{"title":"compiled_partitions","children":[{"title":"cnt_kn.root_partition.map.hbdb.hdb <span style='color:#111;'> 8.83KB </span>","children":null,"spread":false},{"title":"cnt_kn.root_partition.map.dpi <span style='color:#111;'> 805B </span>","children":null,"spread":false},{"title":"cnt_kn.root_partition.map.kpt <span style='color:#111;'> 415B </span>","children":null,"spread":false},{"title":"cnt_kn.root_partition.map.hdb <span style='color:#111;'> 8.87KB </span>","children":null,"spread":false},{"title":"cnt_kn.root_partition.map.hdbx <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"cnt_kn.root_partition.map.atm <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false},{"title":"cnt_kn.root_partition.map.cdb <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"cnt_kn.root_partition.map.hbdb.hb_info <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"cnt_kn.db_info <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":"cnt_kn.root_partition.map.hbdb.cdb <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"cnt_kn.root_partition.map.hbdb.sig <span style='color:#111;'> 31B </span>","children":null,"spread":false}],"spread":false},{"title":"README <span style='color:#111;'> 653B </span>","children":null,"spread":false}],"spread":true},{"title":"cnt_kn.map.rpt <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"cnt_kn.qsf <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"cnt_kn.v <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"cnt_kn.vwf <span style='color:#111;'> 6.94KB </span>","children":null,"spread":false},{"title":"cnt_kn.map.summary <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"cnt_kn.v.bak <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"cnt_kn.done <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"cnt_kn.flow.rpt <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false},{"title":"cnt_kn_assignment_defaults.qdf <span style='color:#111;'> 47.23KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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