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

Subversion Repositories wbuart32

[/] [wbuart32/] [trunk/] [rtl/] [ufifo.v] - Diff between revs 23 and 24

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

Rev 23 Rev 24
Line 267... Line 267...
                // FIFO) or written to (not a receive FIFO).
                // FIFO) or written to (not a receive FIFO).
                // receive FIFO), or be written to (if it isn't).
                // receive FIFO), or be written to (if it isn't).
                (RXFIFO!=0)?w_half_full:w_half_full,
                (RXFIFO!=0)?w_half_full:w_half_full,
                // A '1' here means the FIFO can be read from (if it is a
                // A '1' here means the FIFO can be read from (if it is a
                // receive FIFO), or be written to (if it isn't).
                // receive FIFO), or be written to (if it isn't).
                (RXFIFO!=0)?r_empty_n:w_full_n
                (RXFIFO!=0)?r_empty_n:!w_full_n
        };
        };
 
 
        assign  o_empty_n = r_empty_n;
        assign  o_empty_n = r_empty_n;
 
 
//
//
Line 382... Line 382...
        end
        end
 
 
        always @(posedge i_clk)
        always @(posedge i_clk)
        if (!RXFIFO) // Transmit FIFO interrupt flags
        if (!RXFIFO) // Transmit FIFO interrupt flags
        begin
        begin
                assert(o_status[0] != (!w_full_n));
                assert(o_status[0] == (!w_full_n));
                assert(o_status[1] == (!f_fill[LGFLEN-1]));
                assert(o_status[1] == (!f_fill[LGFLEN-1]));
        end
        end
 
 
`endif
`endif
endmodule
endmodule

powered by: WebSVN 2.1.0

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