LEC learning5: 对design 中的clock gating 处理

formality 中对clock gating 的处理需要设置以下两个params:

1.set verification_clock_gate_hold_mode low

该variable 允许formality 使用algorithms 去identifying and treating latch-free and latch-based clock gates that drive register clock pins。

默认情况,tool 不使用algorithms,结果可能有差异。value 有以下几种,选择下面的一个:

1.1 none(the default):不使用clock-gate algorithms

1.2 low : 考虑 latch-based clock gating (latch-and driving rising edge and latch-or driving falling edge) and latch-free clock gating, the gated clock与edge 之前的value 保持一致(edge 为en&clk driving rising edge and !en|clk driving falling edge)

1.3 high:考虑 latch-free clock gating,the gated clock与edge 之前的value 保持一致(edge 为en&clk driving rising edge and !en|clk driving falling edge)

1.4 any:在design 同时考虑high and low styles of clock gating

1.5 collapse_all_cg_cells:与low 相似,但也考虑primary output and black-box input pins 作为register clock pins。

2.set verification_clock_gate_edge_analysis true

当这个variable 设置true, the tool 使用clock edges 分析clock gated designs.允许tool 验证design 不同类型的clock gating。

当variable 设置true 时,忽略verification_clock_gate_hold_mode 的任何用法。

向时钟信号添加注释,指示其当前状态和下一状态值,在pattern viewer and logic cone schematics中可以看到。

需要注意的是, 当clock-gating verification还存在问题的时候,才可以使用verification_clock_gate_edge_analysis

  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值