Re: 1364.1 ballot responses


Subject: Re: 1364.1 ballot responses
From: Daryl Stewart (Daryl.Stewart@cl.cam.ac.uk)
Date: Mon Aug 26 2002 - 06:09:06 PDT


> Example of three-state driver with reigstered enable:
>
> always @(posedge CLOCK)
> if (!ENB)
> OUT <= 1'b1 ;
> else
> OUT <= DIN ;
>
> This generates two FFs, one on DIN, and one on ENB, with a three-state
> driver on the output of the first FF, controlled by the output of the
> second FF.
>

Don't you mean:

always @(posedge CLOCK)
  if (!ENB)
    OUT <= 1'bz ;
  else
    OUT <= DIN ;



This archive was generated by hypermail 2b28 : Mon Aug 26 2002 - 06:15:58 PDT