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

Subversion Repositories can

[/] [can/] [tags/] [asyst_3/] [rtl/] [verilog/] [can_fifo.v] - Diff between revs 18 and 23

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

Rev 18 Rev 23
Line 43... Line 43...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.6  2003/01/15 13:16:47  mohor
 
// When a frame with "remote request" is received, no data is stored to fifo, just the frame information (identifier, ...). Data length that is stored is the received data length and not the actual data length that is stored to fifo.
 
//
// Revision 1.5  2003/01/14 17:25:09  mohor
// Revision 1.5  2003/01/14 17:25:09  mohor
// Addresses corrected to decimal values (previously hex).
// Addresses corrected to decimal values (previously hex).
//
//
// Revision 1.4  2003/01/14 12:19:35  mohor
// Revision 1.4  2003/01/14 12:19:35  mohor
// rx_fifo is now working.
// rx_fifo is now working.
Line 239... Line 242...
assign fifo_empty = fifo_cnt == 0;
assign fifo_empty = fifo_cnt == 0;
 
 
 
 
 
 
// writing data to fifo
// writing data to fifo
always @ (posedge clk or posedge rst)
always @ (posedge clk)
begin
begin
  if (wr & (~fifo_full))
  if (wr & (~fifo_full))
    fifo[wr_pointer] <=#Tp data_in;
    fifo[wr_pointer] <=#Tp data_in;
end
end
 
 

powered by: WebSVN 2.1.0

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