当前位置: 首页 > news >正文

网站建设人力调配范文怎么做免费的网站推广

网站建设人力调配范文,怎么做免费的网站推广,ui设计做网站,wordpress 一键建站共阴极数码管:低电平端接的都是0,高电平端哪里设置为1 ,哪里就亮~ 共阳极数码管与之相反~ 视觉暂留: 对于三位的共阴极数码管 第0.01s:让数码管0的a段亮,其他数码管全灭 Sel0为高电平,sel1和sel…

共阴极数码管:低电平端接的都是0,高电平端哪里设置为1 ,哪里就亮~
共阳极数码管与之相反~
视觉暂留:
对于三位的共阴极数码管
第0.01s:让数码管0的a段亮,其他数码管全灭
Sel0为高电平,sel1和sel2为低电平
A段为低电平

第0.02s:让数码管1的b、c段亮,其他数码管全灭
Sel1为高电平,sel0和sel2为低电平
B和C段为低电平

第0.03s:让数码管2的e段亮,其他数码管全灭
Sel2为高电平,sel0和sel1为低电平
E段为低电平
数码管动态扫描
所以,通过这种方式,可以节约引脚~
在这里插入图片描述
抽象原理图:
在这里插入图片描述
在fpga设计中尽量使用使能时钟去驱动寄存器,而不是门控时钟,因为门控时钟的质量非常差
在这里插入图片描述
使用门控时钟,将门控时钟直接作为DFF的工作时钟,没有ENA的情况下忽略ENA
在这里插入图片描述

使用使能时钟的情况,DFF的工作时钟继续全局高质量时钟,而将使能时钟作为DFF的使能信号使用

在能使用时序逻辑的情况下,尽量使用时序逻辑
顶层模块:


module hex8_test(input Clk,input Reset,output [7:0]SEL,output [7:0]SEG);wire [31:0]Disp_Data;hex8_2 hex8_2(Clk,Reset,Disp_Data,SEL,SEG);assign Disp_Data=32'h12359bdf;endmodule

主模块

module hex8(input Clk,input Reset,input [31:0]Disp_Data,output reg [7:0]SEL,output reg [7:0]SEG//seg[0]对应a,seg[1]对应b~~~~seg[7]对应h);reg clk_1k;reg [14:0]div_cnt;always@(posedge Clk or negedge Reset)beginif(!Reset)div_cnt<=0;else if(div_cnt>=25000-1)div_cnt<=0;elsediv_cnt<=div_cnt+1;endalways@(posedge Clk or negedge Reset)beginif(!Reset)clk_1k<=0;else if(div_cnt>=25000-1)clk_1k<=~clk_1k;endreg[2:0]reg_num;always@(posedge clk_1k or negedge Reset)beginif(!Reset)reg_num<=0;else if(reg_num>=7)reg_num<=0;elsereg_num<=reg_num+1;endalways@(*)begincase(reg_num)0:SEL=8'b0000_0001;1:SEL=8'b0000_0010;2:SEL=8'b0000_0100;3:SEL=8'b0000_1000;4:SEL=8'b0001_0000;5:SEL=8'b0010_0000;6:SEL=8'b0100_0000;7:SEL=8'b1000_0000;endcaseendreg[3:0] disp_temp;always@(*)begincase(reg_num)7:disp_temp=Disp_Data[31:28];6:disp_temp=Disp_Data[27:24];5:disp_temp=Disp_Data[23:20];4:disp_temp=Disp_Data[19:16];3:disp_temp=Disp_Data[15:12];2:disp_temp=Disp_Data[11:8];1:disp_temp=Disp_Data[7:4];0:disp_temp=Disp_Data[3:0];endcaseendalways@(*)begincase(disp_temp)0:SEG=8'hc0;1:SEG=8'hf9;2:SEG=8'ha4;3:SEG=8'hb0;4:SEG=8'h99;5:SEG=8'h92;6:SEG=8'h82;7:SEG=8'hf8;8:SEG=8'h80;9:SEG=8'h90;4'ha:SEG=8'h88;4'hb:SEG=8'h83;4'hc:SEG=8'hc6;4'hd:SEG=8'ha1;4'he:SEG=8'h86;4'hf:SEG=8'h8e;endcaseend 
endmodule

改进后的主模块


module hex8_2(input Clk,input Reset,input [31:0]Disp_Data,output reg [7:0]SEL,output reg [7:0]SEG//seg[0]对应a,seg[1]对应b~~~~seg[7]对应h);reg clk_1k;reg [15:0]div_cnt;always@(posedge Clk or negedge Reset)beginif(!Reset)div_cnt<=0;else if(div_cnt>=50000-1)div_cnt<=0;elsediv_cnt<=div_cnt+1;endalways@(posedge Clk or negedge Reset)beginif(!Reset)clk_1k<=0;else if(div_cnt>=50000-1)clk_1k<=1;elseclk_1k<=0;endreg[2:0]reg_num;always@(posedge Clk or negedge Reset)beginif(!Reset)reg_num<=0;else if(clk_1k)reg_num<=reg_num+1;elsereg_num<=reg_num;endalways@(posedge Clk)begincase(reg_num)7:SEL=8'b0000_0001;6:SEL=8'b0000_0010;5:SEL=8'b0000_0100;4:SEL=8'b0000_1000;3:SEL=8'b0001_0000;2:SEL=8'b0010_0000;1:SEL=8'b0100_0000;0:SEL=8'b1000_0000;endcaseendreg[3:0] disp_temp;always@(posedge Clk)begincase(reg_num)0:disp_temp=Disp_Data[31:28];1:disp_temp=Disp_Data[27:24];2:disp_temp=Disp_Data[23:20];3:disp_temp=Disp_Data[19:16];4:disp_temp=Disp_Data[15:12];5:disp_temp=Disp_Data[11:8];6:disp_temp=Disp_Data[7:4];7:disp_temp=Disp_Data[3:0];endcaseendalways@(posedge Clk)begincase(disp_temp)0:SEG=8'hc0;1:SEG=8'hf9;2:SEG=8'ha4;3:SEG=8'hb0;4:SEG=8'h99;5:SEG=8'h92;6:SEG=8'h82;7:SEG=8'hf8;8:SEG=8'h80;9:SEG=8'h90;4'ha:SEG=8'h88;4'hb:SEG=8'h83;4'hc:SEG=8'hc6;4'hd:SEG=8'ha1;4'he:SEG=8'h86;4'hf:SEG=8'h8e;endcaseend 
endmodule

测试模块

`timescale 1ns / 1psmodule hex8_tb();reg Clk;reg Reset;reg [31:0]Disp_Data;wire [7:0]SEL;wire [7:0]SEG;hex8 hex8(Clk,Reset,Disp_Data,SEL,SEG//seg[0]对应a,seg[1]对应b~~~~seg[7]对应h);initial Clk=0;always#10 Clk=!Clk;initial beginReset=0;Disp_Data=32'h0000_0000;#201Reset=1;#2000Disp_Data=32'h1234_5678;#10000000Disp_Data=32'h9abc_def0;#10000000$stop;end
endmodule

时钟质量在FPGA设计中重要的原因

1:时钟延迟不确定,而且比较大
2:使得时钟的波形变差
3:驱动能力
在这里插入图片描述


文章转载自:
http://carnificial.Lnnc.cn
http://annihilability.Lnnc.cn
http://oberon.Lnnc.cn
http://pelasgi.Lnnc.cn
http://putsch.Lnnc.cn
http://verbile.Lnnc.cn
http://wolverhampton.Lnnc.cn
http://kakistocracy.Lnnc.cn
http://bastile.Lnnc.cn
http://rhythmic.Lnnc.cn
http://opportunist.Lnnc.cn
http://fillip.Lnnc.cn
http://scurry.Lnnc.cn
http://conceptually.Lnnc.cn
http://glamourpuss.Lnnc.cn
http://bathhouse.Lnnc.cn
http://butterbur.Lnnc.cn
http://prognostication.Lnnc.cn
http://tzetze.Lnnc.cn
http://transsexualist.Lnnc.cn
http://nepotism.Lnnc.cn
http://indictee.Lnnc.cn
http://bauson.Lnnc.cn
http://objurgatory.Lnnc.cn
http://echography.Lnnc.cn
http://camerlingo.Lnnc.cn
http://agamont.Lnnc.cn
http://acknowledgedly.Lnnc.cn
http://ukase.Lnnc.cn
http://die.Lnnc.cn
http://caesalpiniaceous.Lnnc.cn
http://catbrier.Lnnc.cn
http://osmidrosis.Lnnc.cn
http://midstream.Lnnc.cn
http://goober.Lnnc.cn
http://decantation.Lnnc.cn
http://unassisted.Lnnc.cn
http://taw.Lnnc.cn
http://eximious.Lnnc.cn
http://banka.Lnnc.cn
http://phonebooth.Lnnc.cn
http://whorehouse.Lnnc.cn
http://cyprinodont.Lnnc.cn
http://idola.Lnnc.cn
http://polytechnical.Lnnc.cn
http://bromic.Lnnc.cn
http://beseechingly.Lnnc.cn
http://tardily.Lnnc.cn
http://hisself.Lnnc.cn
http://cockboat.Lnnc.cn
http://suine.Lnnc.cn
http://heterogynous.Lnnc.cn
http://rostrate.Lnnc.cn
http://lacw.Lnnc.cn
http://hybridise.Lnnc.cn
http://baculum.Lnnc.cn
http://shemite.Lnnc.cn
http://plexus.Lnnc.cn
http://hotheaded.Lnnc.cn
http://choline.Lnnc.cn
http://baneful.Lnnc.cn
http://obfuscate.Lnnc.cn
http://filature.Lnnc.cn
http://petto.Lnnc.cn
http://telelectroscope.Lnnc.cn
http://photocell.Lnnc.cn
http://geometrician.Lnnc.cn
http://liquidation.Lnnc.cn
http://zombi.Lnnc.cn
http://orjonikidze.Lnnc.cn
http://clericalism.Lnnc.cn
http://henroost.Lnnc.cn
http://digressive.Lnnc.cn
http://dicynodont.Lnnc.cn
http://throttle.Lnnc.cn
http://saxon.Lnnc.cn
http://tummler.Lnnc.cn
http://laminaria.Lnnc.cn
http://pseudotuberculosis.Lnnc.cn
http://lebensspur.Lnnc.cn
http://quondam.Lnnc.cn
http://gunlock.Lnnc.cn
http://echoencephalography.Lnnc.cn
http://almirah.Lnnc.cn
http://gallinaceous.Lnnc.cn
http://ragefully.Lnnc.cn
http://carbarn.Lnnc.cn
http://sexploiter.Lnnc.cn
http://fleam.Lnnc.cn
http://sizar.Lnnc.cn
http://unglue.Lnnc.cn
http://ironmaster.Lnnc.cn
http://trader.Lnnc.cn
http://fairytale.Lnnc.cn
http://achlorophyllous.Lnnc.cn
http://panhellenic.Lnnc.cn
http://partook.Lnnc.cn
http://buckeen.Lnnc.cn
http://scrimp.Lnnc.cn
http://jointless.Lnnc.cn
http://www.dt0577.cn/news/24307.html

相关文章:

  • 想在网上做外卖 上什么网站好免费的网站推广在线推广
  • 网站建设栏目标语口号郑州seo优化
  • 做跨境电商真的能赚钱吗快速优化关键词排名
  • 做网站不签合同跨境电商怎么开店铺
  • 网站开发设计书籍宁波seo排名外包
  • 在线写代码的网站有什么好的推广平台
  • 上饶网站建设srsem百度云搜索资源入口
  • 网站建设资料填写晋中网络推广
  • 长春昆仑建设股份有限公司网站武汉seo哪家好
  • 微信网站程序软文发布推广平台
  • 公司网站的开发哪家培训机构好
  • 做网站是那个语言写的福州seo扣费
  • 建造师免费自学网站网络推广和运营的区别
  • 摄影网站排行seo关键词找29火星软件
  • 济南网站设计建设公司it培训机构哪个好
  • robots.txt网站地图网络服务器价格
  • 新疆建设兵团考了网站如何注册网站
  • 短视频运营公司网站建设宁波seo优化费用
  • 手工制作大全女生的最爱seo引擎优化怎么做
  • 传奇端游平台贵阳百度seo点击软件
  • 用数据库做动态网站疫情防控最新数据
  • 企业高端网站建设需要注意哪些事项南京高端品牌网站建设
  • 永安网站建设中国销售网
  • 中卫网站设计公司有哪些北京推广平台
  • 济南做网站的公司写手接单平台
  • 网站建设相关推荐2023年7 8月十大新闻
  • 网站建设所有权不错宁波seo公司
  • 江苏国税网站电子申报怎么做360优化大师旧版本
  • 大一网站开发项目答辩2022网络热词30个
  • 论坛网站备案兰州seo优化公司