fpga论坛|fpga设计论坛's Archiver
论坛
›
FPGA技术交流
› 这个for..loop 语句只每个时钟只移动一步吗?求助!
717632672
发表于 2011-5-26 20:01:21
这个for..loop 语句只每个时钟只移动一步吗?求助!
load:process
begin
wait until clk='1';
if (load_x='0')then
c(L-1)<=c_in; ---store coefficient in register;
for i in L-2 to 0 loop
c(i)<=c(i+1);
end loop;
else
x<=x_in;
end if;
end process load;
页:
[1]
查看完整版本:
这个for..loop 语句只每个时钟只移动一步吗?求助!