一般来说,时钟切换有3种手段:

1、器件本身有硬件结构支持切换

      … For example, you can use the Clock Switchover feature or the Clock Control Block available in certain Altera devices.

2、使用动态PLL

      … Many Altera devices also support dynamic PLL reconfiguration, which is the safest and most robust method of changing clock rates during device operation.

3、构造特殊的MUX

Altera Coding Style 之 时钟切换

         该结构的特点是:

          … The design enforces that no clock activates until others have been inactive for at least a few cycles.

           这个结构是没有glitch的。

           结构代码如下:

Altera Coding Style 之 时钟切换

        关于在这里使用synthesis keep的原因,文档说的不是很详尽,个人理解应该是防止综合工具使用LUT。

Altera Coding Style 之 时钟切换

 

相关文章:

  • 2021-06-14
  • 2022-12-23
  • 2021-04-03
  • 2021-10-19
  • 2021-08-28
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2022-01-22
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
相关资源
相似解决方案