View Single Post
  #3 (permalink)  
Old 12-14-2004, 10:46 AM
Bernd Beuster
Guest
 
Posts: n/a
Default Re: Making output-port to bi-directional-port!

Vick wrote:

> always @(posedge clock)
> begin
> if (E==F)
> begin
> assign AD = {A,B,C,D};
> //// The error is shown at this line saying Incompatible inout port
> ////
> end
>
> else assign AD = 8'hzzzzzzzz;
> end
> end


Leave out `assign'. Also write 32'bz instead of 8'bz....z.
For clocked processes use the non-blocking operator `<='.

Reply With Quote