简体   繁体   English

有没有办法在 Chisel3 中警告错误的时钟域交叉?

[英]Is there a way to warn wrong clock domain crossing in Chisel3?

As I read from Chisel wiki , it is possible to declare several clock domain in a single module.正如我从Chisel wiki 中读到的,可以在单个模块中声明多个时钟域。

But if we need to read/write a signal through two different clock domains it's important to manage metastability (with dual d-latch, asynchronous fifo, ...).但是,如果我们需要通过两个不同的时钟域读/写信号,那么管理亚稳态(使用双 d-latch、异步 fifo 等)很重要。

If we don't manage it, it's a design error.如果我们不管理它,那就是设计错误。 Is there a way to ask chisel checking wrong clock domain crossing in design ?有没有办法在设计中要求凿子检查错误的时钟域交叉?

Not at the moment.现在不行。 This is a needed, but as of yet unimplemented feature.这是一个必需的,但尚未实现的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM