OpenCores
URL https://opencores.org/ocsvn/apbi2c/apbi2c/trunk

Subversion Repositories apbi2c

[/] [apbi2c/] [trunk/] [rtl/] [fifo.v] - Diff between revs 13 and 15

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 13 Rev 15
Line 133... Line 133...
                                else if(rd_ptr != last_position)
                                else if(rd_ptr != last_position)
                                begin
                                begin
                                        rd_ptr <= rd_ptr + 11'd1;
                                        rd_ptr <= rd_ptr + 11'd1;
                                end
                                end
 
 
                                if(rd_ptr == last_position - 11'b1 || rd_ptr == {AWIDTH{1'b1}})
                                if(rd_ptr == last_position - 4'b1 || rd_ptr == {AWIDTH{1'b1}})
                                begin
                                begin
                                        last_was_write <= 1'b1;
                                        last_was_write <= 1'b1;
                                        last_position <= {AWIDTH{1'b0}};
                                        last_position <= {AWIDTH{1'b0}};
                                end
                                end
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.