frequency - 如果 clk 在 f1 工作并且输入数据以 f2 频率变化,D FF 的输出频率是多少
问题描述
module d_ff(d,rest,clk,y);
input d, rst, clk;
output reg y;
always @ (posedge clk) begin
if(rst) y <= 0;
else y <= d;
end
endmodule
其中 clk 在 f1 运行,d 在 f2 变化。f1 和 f2 可以是任意频率。
解决方案
推荐阅读
- r - 使用 ggplot2 为并排图添加数据点
- c# - 通过 ClickOnce 部署 CefSharp Winform 并要求 Visual Studio 2019 中的 vc redist - 错误
- c - 程序以 3221225477 退出
- javascript - 如何在 JavaScript 中的同一行上绘制两个移动点
- c# - 传入的模型项是“LoginModel”类型,但此实例需要“HomeViewModel”类型的模型项
- sql - SQL Server:查找非重复项
- c# - 如何获得返回三元组并将其放入三个变量的方法的输出?
- terminal - 从终端安装 gem 时出现权限错误
- php - 显示来自数据库 laravel 的喜欢的产品
- javascript - 为什么我的检查答案函数收到错误消息并且无法从其他函数访问变量数组?