In article <beu95u$5mq$>,
says...
> Hi,
>
> I have some VHDL code which tries to set BSY to 1 at the start and then set
> it back to 0 at the end. Here is a small sample of the code that does it:
>
> case tx_state is
> when IDLE =>
> BSY <= '1';
>
> when STATE_LOAD =>
> BSY <= '0';
>
> blah
> blah
> blah
>
>
>
> BSY is an external signal defined in the entity part:
>
> entity FSM_entity is
> port(BSY : out std_logic;
> blah
> blah
> blah
>
>
> Im using the XILINX tools to synthersise the code and it generates the
> following error:
>
> ERROR:Xst:744 - Failed to build equation for internal node in unit
> <fsm_entity>.
>
>
> If I remove the BSY <= '1' line then it synthersises correctly.
>
> Does anyone know what im doing wrong?
I don't see anything wrong what what (little) you've posted. Are you
trying to *read* BSY (I.e. BSY on the right side of any equation)
anywhere in your architecture? Since it is an OUT in the entity it
cannot be read.
--
Keith