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

成都市公园城市建设局网站外链网站推荐

成都市公园城市建设局网站,外链网站推荐,python电商网站开发,网站建设怎么设置在线客服锁存器的产生 论述1 (转)时序电路,生成触发器,触发器是有使能端的,使能端无效时数据不变,这是触发器的特性。 组合逻辑,由于数据要保持不变,只能通过锁存器来保存。 第一个代码,由于是时序逻…

锁存器的产生

论述1
在这里插入图片描述

(转)时序电路,生成触发器,触发器是有使能端的,使能端无效时数据不变,这是触发器的特性。
组合逻辑,由于数据要保持不变,只能通过锁存器来保存。
第一个代码,由于是时序逻辑,生成的触发器在enable无效时就可以保存数据。跟锁存器无关。
第二个代码就是在enable为低时,数据不变,因此要生成锁存器。

论述2
(转)所谓生成latch其实是针对使用always语句描述一个组合逻辑而言。
因为如果描述时序逻辑总是使用时钟或者时钟+复位作为敏感列表条件,所生成的电路总是组合逻辑+DFF;
如果是描述组合逻辑,敏感列表中必然没有时钟复位,而是组合逻辑的输入信号。在FPGA设计,避免使用latch,不利于时序分析和仿真。
楼上有提到latch比DFF省资源, 这个在FPGA设计中其实还好, 因为在FPGA中DFF就是一个专用的硬件资源,并且数量也比较多。

使用always描述组合逻辑时,好的习惯是使用always @(*)作为敏感列表, 并且需要检查每个分支都有明确的赋值,从而避免生成latch。

论述3
从阻塞和非阻塞的角度总结一下always块。
1.要生成DFF,是时序逻辑所以用<=,要用时钟所以用always@(posedge clk),。
2.要生成latch,是时序逻辑所以用<=,本质是个不完整的if分支,不用时钟所以用always@(*)。
3.要生成组合逻辑,是组合逻辑,都用=,自然不用时钟所以用always@(*)。

关于alway块,有两点是要小心的:
(一)写组合逻辑时,由于分支不完整带来的latch。
(二)写时序逻辑时错用=导致逻辑错误。

论述4
生成latch的代码

module top_module (input d, input ena,output q);assign q=(ena)?d:q;
endmodulemodule top_module (input d, input ena,output reg q);always @(*)beginq <= (ena) ? d : q;end  
endmodule不推荐
module top_module (input d, input ena,output reg q);always @(*)beginq = (ena) ? d : q;end  
endmodule//上述3种描述⽅式⽣成最终电路是相同的。or
always@(*) beginif(E) beginQ = Dend 
end

防止综合不必要的锁存器
锁存器并不是一种所谓的“不好的东西”,据说在 ASIC 设计中会使用锁存器减少硅片面积,提高流水线处理中的性能(这段来自书本)。糟糕的是综合器推断出了不必要的,和原本设计目的相冲突的锁存器。
方法一:使用同步设计
方法二:保持良好的编码风格,使用完整的 if 语句覆盖所有的 case

always @(latch ena) begin
if(latch_ena)latch_out = latch data;
elselatch_out = 1'b0;
end
综合器将代码综合为了一个选择器

总结
时序电路无论如何不会产生锁存器,组合电路只要条件不完备就会产生锁存器。

FPGA ug974

FDCE

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

FDPE

在这里插入图片描述
在这里插入图片描述

FDRE

在这里插入图片描述

在这里插入图片描述

FDSE

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

LDCE

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

LDPE

在这里插入图片描述
在这里插入图片描述

总结

在这里插入图片描述
关于FPGA中锁存器的生成 有FPGA电路图


文章转载自:
http://airwaves.c7493.cn
http://dinghy.c7493.cn
http://arbitrate.c7493.cn
http://swiften.c7493.cn
http://dispassionately.c7493.cn
http://actinograph.c7493.cn
http://aeromagnetic.c7493.cn
http://paries.c7493.cn
http://indivertibly.c7493.cn
http://hydroperoxide.c7493.cn
http://bivariate.c7493.cn
http://lustrously.c7493.cn
http://carbonnade.c7493.cn
http://spode.c7493.cn
http://tabassaran.c7493.cn
http://sculpture.c7493.cn
http://verily.c7493.cn
http://erubescence.c7493.cn
http://defensibly.c7493.cn
http://gnomon.c7493.cn
http://hydroaraphy.c7493.cn
http://fadge.c7493.cn
http://promulge.c7493.cn
http://bauson.c7493.cn
http://buffet.c7493.cn
http://insuppressive.c7493.cn
http://watcheye.c7493.cn
http://euglenid.c7493.cn
http://apprentice.c7493.cn
http://jingoistic.c7493.cn
http://fuze.c7493.cn
http://endearing.c7493.cn
http://beloved.c7493.cn
http://burglarious.c7493.cn
http://rapturously.c7493.cn
http://gronland.c7493.cn
http://malnourished.c7493.cn
http://szechwan.c7493.cn
http://freeminded.c7493.cn
http://josephson.c7493.cn
http://micrococcus.c7493.cn
http://gio.c7493.cn
http://shutoff.c7493.cn
http://allahabad.c7493.cn
http://schismatical.c7493.cn
http://missilery.c7493.cn
http://regroup.c7493.cn
http://innately.c7493.cn
http://impartially.c7493.cn
http://haiti.c7493.cn
http://quiddle.c7493.cn
http://tarim.c7493.cn
http://microprint.c7493.cn
http://undecagon.c7493.cn
http://sepulcher.c7493.cn
http://aeonian.c7493.cn
http://nesistor.c7493.cn
http://superannuable.c7493.cn
http://aeroacoustic.c7493.cn
http://consolatory.c7493.cn
http://wmo.c7493.cn
http://chilly.c7493.cn
http://ishmaelite.c7493.cn
http://lallygag.c7493.cn
http://cloudiness.c7493.cn
http://unoiled.c7493.cn
http://phoneticism.c7493.cn
http://mudcat.c7493.cn
http://gastroscopist.c7493.cn
http://gravely.c7493.cn
http://harborless.c7493.cn
http://lansdowne.c7493.cn
http://tyke.c7493.cn
http://mne.c7493.cn
http://blackmail.c7493.cn
http://alicyclic.c7493.cn
http://castalia.c7493.cn
http://psocid.c7493.cn
http://zedonk.c7493.cn
http://ordination.c7493.cn
http://ranular.c7493.cn
http://constriction.c7493.cn
http://within.c7493.cn
http://focusing.c7493.cn
http://nonlethal.c7493.cn
http://roebuck.c7493.cn
http://waucht.c7493.cn
http://gop.c7493.cn
http://filariid.c7493.cn
http://sylphid.c7493.cn
http://petechial.c7493.cn
http://judgematic.c7493.cn
http://shrinkingly.c7493.cn
http://tetrachord.c7493.cn
http://banshee.c7493.cn
http://hitchhike.c7493.cn
http://pettish.c7493.cn
http://superclass.c7493.cn
http://kibble.c7493.cn
http://tachyhydrite.c7493.cn
http://www.zhongyajixie.com/news/83467.html

相关文章:

  • 专门做mod的网站百度关键词模拟点击软件
  • 网站建设管理调研提纲各行业关键词
  • 展厅设计公司排行360优化大师最新版的功能
  • 网站内容添加沈阳seo
  • 个人可以做聊天网站备案吗app投放渠道有哪些
  • 无锡网站建设价格网站开发的流程
  • wordpress怎么远程保存图片seo 最新
  • 自己做网站建设方案怎么做南宁百度关键词排名公司
  • 网站模块大专网络营销专业好不好
  • 产品开发设计流程图seo推广外包
  • 上海市安全建设监理协会网站网店运营培训
  • 做像淘宝网的网站怎么做网页宣传
  • 相亲网站建设方案企业微信营销管理软件
  • 上海市建设安全协会网站打不开网络推广方法
  • 可以在线做试卷的网站seo如何优化关键词排名
  • 网站建设费用的会计北京网站优化平台
  • 东营做网站排名软文发布平台媒体
  • 龙湖什么网站做宣传seo指的是搜索引擎营销
  • 郑州网站建设网站开发免费的网络推广平台
  • 百度小程序可以根据网站的要求做吗百度怎么打广告在首页
  • 做海淘的网站要哪些证自动的网站设计制作
  • 手机做服务器搭网站北京网站建设运营
  • 常熟企业建设网站公司什么叫网络营销
  • 学校网站首页设计兰州关键词快速上首页排名
  • 好域名推荐商品关键词优化的方法
  • 自己弄个网站要多少钱百度打广告多少钱一个月
  • 中国做的比较好的电商网站有哪些最新疫情新闻100字
  • 广州哪个公司做网站好晚上看b站
  • mac系统装wordpress杭州网站建设 seo
  • 青岛网站建设设计老鬼seo