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

Vinicius Santos vininim at gmail.com
Thu Apr 26 08:13:34 EDT 2007


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


More information about the Open-graphics mailing list