【发布时间】:2011-05-18 11:33:20
【问题描述】:
我收到错误为“ERROR:Xst:827 - “C:/1553/decoder_copy/decoder.vhd”第 265 行:无法合成信号 no_words,错误的同步描述”。
process(rst_n,dword_int,sync_csw_reg,sync_dw_reg)
begin
if(rst_n='1')then
noofwords<="00000";
no_words<="00000";
nfw<='1';
elsif(falling_edge(sync_csw_reg) and dword_int(10)='0' and nfw='1' )then
noofwords<=dword_int(0 to 4);
check_nfw<=dword_int(0 to 4);
elsif(falling_edge(sync_dw_reg))then
if(no_words = noofwords)then
no_words<="00000";
nfw<='1';
else
no_words<= no_words+'1';
nfw<='0';
end if;
end if;
结束进程;
【问题讨论】:
-
由于错误来自 XST,我强烈建议您阅读 XST 用户指南。特别是关于编码风格的章节。
标签: vhdl