我编了这段程序
......
process(ce,clk) begin if ce='0'then if clk'event and clk='0' then q(0)<=datain; for i in 1 to 31 loop q(i)<=q(i-1); end loop; dataout<=q(31); end if; end if; end process;
process(update) begin if update='0'then stmp<=q; end if; end process;
......
出的错误是:if clk'event and clk='0' then 这行
Error:Unsupported feature error:Conditional Statement in this region for signal not supported
当我把上面的process改成
......
process(ce,clk) begin if clk'event and clk='0' then if ce='0'then q(0)<=datain; ......
以后,编译成功,可是我要做的是让芯片的ce功能先于clk的
我要怎样改呢? |