这段进程是这样的 sync_sftreg :bit(0 to 23) 1553消息同步头寄存器 data_sftreg是数据寄存器(没有报错)
PROCESS(dec_clk,rst_n)
BEGIN
IF (dec_clk'EVENT AND dec_clk = '1') then
IF (NOT rst_n = '1') THEN
data_sftreg <= "00000";
sync_sftreg <= "000000000000000000000000";
ElSE
data_edge <= data_sftreg(3) XOR data_sftreg(4) ;
IF ((sync_sftreg = "111111111111000000000000" )AND (data_edge='1')) THEN
sync_csw<='1';
ELSIF ((sync_sftreg = "000000000000111111111111") AND (data_edge='1')) THEN
sync_dw<='1';
END IF;
END IF;
END IF;
END PROCESS;
编译时出现 Can't resolve multipe constant drivers for net"syn_sftreg[0]"
Can't resolve multipe constant drivers for net"syn_sftreg[1]"
Can't resolve multipe constant drivers for net"syn_sftreg[2]"
.
.
.
Can't resolve multipe constant drivers for net"syn_sftreg[17]"
can't elaborate top-level user hierarchy
各位大神知道什么原因吗? |