【发布时间】:2019-12-09 04:00:43
【问题描述】:
总是阻止不连续触发
always@(posedge clk) begin
for (int i=1;i<=32;i=i+1) begin
clk_a=i;
#0.3215
end
for (int j=31;j>=0;j=j-1) begin
clk_a=j;
#0.3215
end
clk_a=0;
end
在第 5 个时钟中,第 7 和第 9 个时钟始终不会触发块 ||y,并且此行为是通过模拟随机发生的。
【问题讨论】:
-
1/ 你的clk频率是多少。 2/ 你的`timescale 设置是什么?