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
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to