EDA_hg81
Advanced Member level 2
cant resolve multiple constant drivers for net
I have a top module which keeps receiving the data from another module (spi_decoder).
This top module is going to transfer the received data( inside datain_reg) to outside.
The code to transfer the data content of dataout_reg is the follow:
I got the following error:
Error (10028): Can't resolve multiple constant drivers for net "dataout_reg[15]" at spi_top.vhd.....
What is the reason?
I have a top module which keeps receiving the data from another module (spi_decoder).
This top module is going to transfer the received data( inside datain_reg) to outside.
Code:
u1: spi_decoder
port map
(
refclk => refclk,
dintrig => dintrig,
douttrigack => douttrigack,
command => datain_reg,
douttrig => douttrig,
dintrigack => dintrigack,
fbackdata => dataout_reg
);
Code:
if ( spiclkr = '1'and spiclk = '1' ) then
dataout <= dataout_reg(15);
dataout_reg <= dataout_reg(14 downto 0) & '1';
end if;
I got the following error:
Error (10028): Can't resolve multiple constant drivers for net "dataout_reg[15]" at spi_top.vhd.....
What is the reason?