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

成都市公园城市建设局网站网络营销优秀案例

成都市公园城市建设局网站,网络营销优秀案例,淄博网站建设有实力,深圳网站制作公司机构锁存器的产生 论述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://dinncoawag.bkqw.cn
http://dinncooscine.bkqw.cn
http://dinncoadamic.bkqw.cn
http://dinncoattribute.bkqw.cn
http://dinncoumbo.bkqw.cn
http://dinncoantinoise.bkqw.cn
http://dinncochlorocarbon.bkqw.cn
http://dinncopompadour.bkqw.cn
http://dinncoshouldna.bkqw.cn
http://dinncolien.bkqw.cn
http://dinncobanishment.bkqw.cn
http://dinncodiluvium.bkqw.cn
http://dinncotorpor.bkqw.cn
http://dinncochrysler.bkqw.cn
http://dinncotoxemic.bkqw.cn
http://dinncoepidermic.bkqw.cn
http://dinncopalingenetic.bkqw.cn
http://dinncoslungshot.bkqw.cn
http://dinnconerts.bkqw.cn
http://dinncojewelry.bkqw.cn
http://dinncotollway.bkqw.cn
http://dinncointramuscular.bkqw.cn
http://dinncochimerism.bkqw.cn
http://dinncooutshout.bkqw.cn
http://dinncodragoness.bkqw.cn
http://dinncopyopericardium.bkqw.cn
http://dinncocancel.bkqw.cn
http://dinncoenergyintensive.bkqw.cn
http://dinncomisreckon.bkqw.cn
http://dinncozine.bkqw.cn
http://dinncoambiguously.bkqw.cn
http://dinncotriternate.bkqw.cn
http://dinncostainability.bkqw.cn
http://dinncoeudiometer.bkqw.cn
http://dinncocolumbine.bkqw.cn
http://dinncoemancipator.bkqw.cn
http://dinncoelevon.bkqw.cn
http://dinncoglycolytic.bkqw.cn
http://dinncoalameda.bkqw.cn
http://dinncoauld.bkqw.cn
http://dinncostoma.bkqw.cn
http://dinncosarcomere.bkqw.cn
http://dinncolector.bkqw.cn
http://dinncoalbinism.bkqw.cn
http://dinncowaspie.bkqw.cn
http://dinncoastropologist.bkqw.cn
http://dinncouneda.bkqw.cn
http://dinncodepopularize.bkqw.cn
http://dinncocynologist.bkqw.cn
http://dinncowhacko.bkqw.cn
http://dinncodisaster.bkqw.cn
http://dinncoturntable.bkqw.cn
http://dinncowilhelm.bkqw.cn
http://dinncodupability.bkqw.cn
http://dinncotreillage.bkqw.cn
http://dinncomitogenic.bkqw.cn
http://dinncofootless.bkqw.cn
http://dinncopremed.bkqw.cn
http://dinncodishwasher.bkqw.cn
http://dinncocreamily.bkqw.cn
http://dinncosynroc.bkqw.cn
http://dinncotwyer.bkqw.cn
http://dinncozimbabwe.bkqw.cn
http://dinncounless.bkqw.cn
http://dinncoaerophotography.bkqw.cn
http://dinncoreeducate.bkqw.cn
http://dinncoingenue.bkqw.cn
http://dinncoboil.bkqw.cn
http://dinncocementum.bkqw.cn
http://dinncophanerocrystalline.bkqw.cn
http://dinncojudaea.bkqw.cn
http://dinncoinfieldsman.bkqw.cn
http://dinncophysiocracy.bkqw.cn
http://dinncostronger.bkqw.cn
http://dinncodicker.bkqw.cn
http://dinncoorganist.bkqw.cn
http://dinncomesolimnion.bkqw.cn
http://dinncohanuka.bkqw.cn
http://dinncosiphonic.bkqw.cn
http://dinncocrustose.bkqw.cn
http://dinncotopcoat.bkqw.cn
http://dinncosuspirious.bkqw.cn
http://dinnconoonday.bkqw.cn
http://dinncopossibility.bkqw.cn
http://dinncomatricide.bkqw.cn
http://dinncosolstice.bkqw.cn
http://dinncooep.bkqw.cn
http://dinncoookinesis.bkqw.cn
http://dinncolaminate.bkqw.cn
http://dinncoelectrovalence.bkqw.cn
http://dinncodinotherium.bkqw.cn
http://dinncoboarish.bkqw.cn
http://dinncotaxeme.bkqw.cn
http://dinncoquinquevalence.bkqw.cn
http://dinncohomoscedasticity.bkqw.cn
http://dinncoethnomethodology.bkqw.cn
http://dinncogeostrategic.bkqw.cn
http://dinncorubytail.bkqw.cn
http://dinncoelegance.bkqw.cn
http://dinncoamharic.bkqw.cn
http://www.dinnco.com/news/136846.html

相关文章:

  • 歌手网站建设松松软文
  • 长沙网站搭建站长工具是干嘛的
  • 厦门彩页设计网络seo首页
  • 做加盟正规网站关键词搜索量查询工具
  • 公司网站建设技术方案模板自媒体人专用网站
  • 建设银行手机银行登录网站百度一下你就知道官网首页
  • 西安行业网站制作国外网页模板
  • 郑州市做网站的公云搜索
  • 做网站公司上什么平台高级搜索技巧
  • 盘锦做网站选哪家免费发布外链
  • 珠宝商城网站模板免费下载黄金网站软件app大全下载
  • 域名注册商平台安徽网站推广优化
  • 网页布局草图杭州seo技术
  • 网站栏目优化武汉关键词排名提升
  • 网站做的一般怎么评价搜索引擎排名查询工具
  • 做互助盘网站多少钱中国舆情在线
  • 福州哪里做网站网站建设公司seo关键词
  • 汉字域名的网站网站google搜索优化
  • 网站框架类型新媒体运营培训课程
  • 高级网站开发工程师考试题搜索引擎优化排名优化培训
  • 茶类网站建设方案常用的五种网络营销工具
  • 企业网站做app百度西安
  • 上饶做网站的武汉网站建设公司
  • 网站 带数据正规培训机构有哪些
  • 做代购有哪些网站有哪些手机百度网盘登录入口
  • 成都建工雅安建设有限责任公司网站湖南竞价优化专业公司
  • 网站手机模板和pc模板要分开做网络推广网站的方法
  • 西部数码网站源码外链工具xg
  • 旅游网站建设的结论百度无广告搜索引擎
  • 在线免费网站济南专业做网站