FPGA(波形完美方波)Verilog hdl产生任意频率,占空比pwm

上传者: 43262513 | 上传时间: 2019-12-21 21:47:51 | 文件大小: 8.51MB | 文件类型: zip
()文中提到的帅某就是本人) 本代码完美产生方波!频率,占空比任意调节! 具体移植过程: 1.下载文档,解压。 2.把文档放在没有中文目录下的文件夹内:如D:\Study\FPGAspriment。 出现中文路径报错! 3.pwm1->par->pwm.qpf(即工程) 4.修改文中period(分屏参数),pulse_width(占空比参数,<=period) 即可修改任意频率,占空比。 5.点击引脚分配,修改引脚。(clk为fpga时钟,out为输出引脚,reset_n为 复位引脚) 6.编译工程,下载验证。 注:本代码完美产生方波信号,附上2张图片,为本设计 -——50mhz输入,1.5k输出(50m/1.5k除不尽,所以我去了近似值33333),75%占空比波形——.完美啊。

文件下载

资源详情

[{"title":"( 99 个子文件 8.51MB ) FPGA(波形完美方波)Verilog hdl产生任意频率,占空比pwm","children":[{"title":"pwm1","children":[{"title":"stl","children":[{"title":"pwm.v <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"sim","children":null,"spread":false},{"title":"par","children":[{"title":"output_files","children":[{"title":"pwm.pin <span style='color:#111;'> 32.31KB </span>","children":null,"spread":false},{"title":"pwm.fit.summary <span style='color:#111;'> 605B </span>","children":null,"spread":false},{"title":"pwm.sta.summary <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"pwm.sta.rpt <span style='color:#111;'> 140.40KB </span>","children":null,"spread":false},{"title":"pwm.fit.smsg <span style='color:#111;'> 703B </span>","children":null,"spread":false},{"title":"pwm.fit.rpt <span style='color:#111;'> 130.35KB </span>","children":null,"spread":false},{"title":"pwm.map.summary <span style='color:#111;'> 459B </span>","children":null,"spread":false},{"title":"pwm.cdf <span style='color:#111;'> 335B </span>","children":null,"spread":false},{"title":"pwm.map.smsg <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"pwm.done <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"pwm.sof <span style='color:#111;'> 350.23KB </span>","children":null,"spread":false},{"title":"Chain6.cdf <span style='color:#111;'> 335B </span>","children":null,"spread":false},{"title":"pwm.map.rpt <span style='color:#111;'> 21.16KB </span>","children":null,"spread":false},{"title":"pwm.asm.rpt <span style='color:#111;'> 6.88KB </span>","children":null,"spread":false},{"title":"pwm.flow.rpt <span style='color:#111;'> 7.51KB </span>","children":null,"spread":false},{"title":"pwm.jdi <span style='color:#111;'> 222B </span>","children":null,"spread":false}],"spread":false},{"title":"db","children":[{"title":"pwm.cbx.xml <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"pwm.tiscmp.fast_1200mv_0c.ddb <span style='color:#111;'> 119.85KB </span>","children":null,"spread":false},{"title":"pwm.sta_cmp.8_slow_1200mv_85c.tdb <span style='color:#111;'> 12.32KB </span>","children":null,"spread":false},{"title":"pwm.tiscmp.slow_1200mv_85c.ddb <span style='color:#111;'> 120.95KB </span>","children":null,"spread":false},{"title":"pwm.routing.rdb <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"pwm.map_bb.cdb <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"pwm.map_bb.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"pwm.map.bpm <span style='color:#111;'> 588B </span>","children":null,"spread":false},{"title":"pwm.map.ammdb <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"pwm.asm_labs.ddb <span style='color:#111;'> 7.17KB </span>","children":null,"spread":false},{"title":"prev_cmp_pwm.qmsg <span style='color:#111;'> 43.12KB </span>","children":null,"spread":false},{"title":"pwm.cmp.cdb <span style='color:#111;'> 12.24KB </span>","children":null,"spread":false},{"title":"pwm.db_info <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"pwm.rtlv_sg.cdb <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"pwm.cmp.bpm <span style='color:#111;'> 615B </span>","children":null,"spread":false},{"title":"pwm.rtlv.hdb <span style='color:#111;'> 9.67KB </span>","children":null,"spread":false},{"title":"pwm.lpc.rdb <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":"pwm.map.cdb <span style='color:#111;'> 5.08KB </span>","children":null,"spread":false},{"title":".cmp.kpt <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"pwm.root_partition.map.reg_db.cdb <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"pwm.pti_db_list.ddb <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"pwm.sta.qmsg <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"pwm.cmp.rdb <span style='color:#111;'> 17.63KB </span>","children":null,"spread":false},{"title":"pwm.cycloneive_io_sim_cache.45um_ss_1200mv_0c_slow.hsd <span style='color:#111;'> 727.43KB </span>","children":null,"spread":false},{"title":"pwm.map_bb.hdb <span style='color:#111;'> 8.37KB </span>","children":null,"spread":false},{"title":"pwm.fit.qmsg <span style='color:#111;'> 18.30KB </span>","children":null,"spread":false},{"title":"pwm.cmp.idb <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"pwm.(0).cnf.hdb <span style='color:#111;'> 974B </span>","children":null,"spread":false},{"title":"pwm.tis_db_list.ddb <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"pwm.lpc.txt <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"pwm.map.kpt <span style='color:#111;'> 935B </span>","children":null,"spread":false},{"title":"pwm.lpc.html <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"pwm.sld_design_entry.sci <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"pwm.(0).cnf.cdb <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"pwm.ipinfo <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"pwm.cmp.logdb <span style='color:#111;'> 7.95KB </span>","children":null,"spread":false},{"title":"pwm.cmp_merge.kpt <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"pwm.map.qmsg <span style='color:#111;'> 4.49KB </span>","children":null,"spread":false},{"title":"pwm.tiscmp.fastest_slow_1200mv_85c.ddb <span style='color:#111;'> 104.73KB </span>","children":null,"spread":false},{"title":"pwm.map.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"pwm.sld_design_entry_dsc.sci <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"pwm.sgdiff.hdb <span style='color:#111;'> 10.34KB </span>","children":null,"spread":false},{"title":"pwm.map.rdb <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"pwm.tiscmp.fastest_slow_1200mv_0c.ddb <span style='color:#111;'> 104.53KB </span>","children":null,"spread":false},{"title":"pwm.smart_action.txt <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"pwm.cycloneive_io_sim_cache.45um_ss_1200mv_85c_slow.hsd <span style='color:#111;'> 722.91KB </span>","children":null,"spread":false},{"title":"pwm.sta.rdb <span style='color:#111;'> 18.20KB </span>","children":null,"spread":false},{"title":"pwm.hif <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"pwm.pre_map.hdb <span style='color:#111;'> 9.76KB </span>","children":null,"spread":false},{"title":"pwm.map.hdb <span style='color:#111;'> 10.32KB </span>","children":null,"spread":false},{"title":"pwm.pplq.rdb <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"pwm.hier_info <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"pwm.cmp.hdb <span style='color:#111;'> 11.13KB </span>","children":null,"spread":false},{"title":"pwm.asm.rdb <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"pwm.sgdiff.cdb <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false},{"title":"pwm.cycloneive_io_sim_cache.45um_ff_1200mv_0c_fast.hsd <span style='color:#111;'> 728.98KB </span>","children":null,"spread":false},{"title":"pwm.asm.qmsg <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"logic_util_heursitic.dat <span style='color:#111;'> 4.25KB </span>","children":null,"spread":false},{"title":"pwm.rtlv_sg_swap.cdb <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"pwm.vpr.ammdb <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"pwm.tiscmp.slow_1200mv_0c.ddb <span style='color:#111;'> 120.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"pwm.qws <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"incremental_db","children":[{"title":"compiled_partitions","children":[{"title":"pwm.root_partition.map.hbdb.hb_info <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"pwm.root_partition.cmp.dfp <span style='color:#111;'> 33B </span>","children":null,"spread":false},{"title":"pwm.root_partition.map.cdb <span style='color:#111;'> 4.93KB </span>","children":null,"spread":false},{"title":"pwm.root_partition.map.hbdb.cdb <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"pwm.root_partition.map.hbdb.sig <span style='color:#111;'> 32B </span>","children":null,"spread":false},{"title":"pwm.db_info <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"pwm.root_partition.map.hbdb.hdb <span style='color:#111;'> 10.08KB </span>","children":null,"spread":false},{"title":"pwm.root_partition.map.dpi <span style='color:#111;'> 751B </span>","children":null,"spread":false},{"title":"pwm.root_partition.cmp.cdb <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"pwm.root_partition.cmp.hdb <span style='color:#111;'> 10.68KB </span>","children":null,"spread":false},{"title":"pwm.root_partition.map.hdb <span style='color:#111;'> 10.19KB </span>","children":null,"spread":false},{"title":"pwm.root_partition.map.kpt <span style='color:#111;'> 936B </span>","children":null,"spread":false},{"title":"pwm.root_partition.cmp.ammdb <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"pwm.root_partition.cmp.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"pwm.root_partition.cmp.rcfdb <span style='color:#111;'> 5.41KB </span>","children":null,"spread":false}],"spread":false},{"title":"README <span style='color:#111;'> 653B </span>","children":null,"spread":false}],"spread":true},{"title":"pwm.qsf <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"pwm.qpf <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"dor","children":null,"spread":false}],"spread":true},{"title":"IMG_20190101_163558.jpg <span style='color:#111;'> 2.92MB </span>","children":null,"spread":false},{"title":"IMG_20190101_163539.jpg <span style='color:#111;'> 2.69MB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • wangshirumanworuli :
    骗人的,根本产生不了任意频率,产生任意占空比还说得过去。不值3个币。我自己下载了,看了其中的代码,所谓的任意频率不过是整数分频产生的频率罢了。比如主频100M,产生1M,100K,10K,这样的频率是
    2019-06-13
  • realiot@163.com :
    骗人的,根本产生不了任意频率,产生任意占空比还说得过去。不值3个币。我自己下载了,看了其中的代码,所谓的任意频率不过是整数分频产生的频率罢了。比如主频100M,产生1M,100K,10K,这样的频率是
    2019-06-13
  • qq_19833789 :
    骗人的,根本产生不了任意频率,产生任意占空比还说得过去。不值3个币。
    2019-05-22
  • qq_19833789 :
    骗人的,根本产生不了任意频率,产生任意占空比还说得过去。不值3个币。
    2019-05-22

免责申明

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