[Open-graphics] A small correction in the fifo documentation

Timothy Normand Miller theosib at gmail.com
Thu Apr 26 11:15:16 EDT 2007


WHOOPS.  Actually, that's not the mistake.  The mistake is that there
is no enq_ack.  If you look at the timing diagrams, you'll see that
!full serves the purpose of enq_ack.

Thanks for catching that.

On 4/26/07, Vinicius Santos <vininim at gmail.com> wrote:
> According to the text(and second code snippet), you have to check for
> enq_ack and
> not full, as is written in the code. Follows diff.
>
>
> --- ogp/docs/fifos.tex  2007-04-26 07:59:22.000000000 -0300
> +++ my-ogp/docs/fifos.tex       2007-04-26 08:25:09.000000000 -0300
> @@ -65,7 +65,7 @@
>  reg enq;
>  reg [16:0] din;
>  always @(posedge clock) begin
> -    if (!full) begin
> +    if (enq_ack) begin
>          enq <= 0;
>      end
>      if (want_to_write) begin
> _______________________________________________
> Open-graphics mailing list
> Open-graphics at duskglow.com
> http://lists.duskglow.com/mailman/listinfo/open-graphics
> List service provided by Duskglow Consulting, LLC (www.duskglow.com)
>


-- 
Timothy Normand Miller
http://www.cse.ohio-state.edu/~millerti
Open Graphics Project


More information about the Open-graphics mailing list