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

Subversion Repositories can

[/] [can/] [trunk/] [rtl/] [verilog/] [can_fifo.v] - Diff between revs 134 and 137

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

Rev 134 Rev 137
Line 15... Line 15...
////  All additional information is available in the README.txt   ////
////  All additional information is available in the README.txt   ////
////  file.                                                       ////
////  file.                                                       ////
////                                                              ////
////                                                              ////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
////                                                              ////
////                                                              ////
//// Copyright (C) 2002, 2003 Authors                             ////
//// Copyright (C) 2002, 2003, 2004 Authors                       ////
////                                                              ////
////                                                              ////
//// This source file may be used and distributed without         ////
//// This source file may be used and distributed without         ////
//// restriction provided that this copyright statement is not    ////
//// restriction provided that this copyright statement is not    ////
//// removed from the file and that any derivative work contains  ////
//// removed from the file and that any derivative work contains  ////
//// the original copyright notice and the associated disclaimer. ////
//// the original copyright notice and the associated disclaimer. ////
Line 48... Line 48...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.25  2003/10/23 16:52:17  mohor
 
// Active high/low problem when Altera devices are used. Bug fixed by
 
// Rojhalat Ibrahim.
 
//
// Revision 1.24  2003/10/17 05:55:20  markom
// Revision 1.24  2003/10/17 05:55:20  markom
// mbist signals updated according to newest convention
// mbist signals updated according to newest convention
//
//
// Revision 1.23  2003/09/05 12:46:41  mohor
// Revision 1.23  2003/09/05 12:46:41  mohor
// ALTERA_RAM supported.
// ALTERA_RAM supported.
Line 463... Line 467...
    .RADDR   (rd_info_pointer)
    .RADDR   (rd_info_pointer)
  );
  );
`else
`else
`ifdef XILINX_RAM
`ifdef XILINX_RAM
 
 
/*
 
  ram_64x8_sync fifo
 
  (
 
    .addra(wr_pointer),
 
    .addrb(read_address),
 
    .clka(clk),
 
    .clkb(clk),
 
    .dina(data_in),
 
    .doutb(data_out),
 
    .wea(wr & (~fifo_full))
 
  );
 
*/
 
 
 
  RAMB4_S8_S8 fifo
  RAMB4_S8_S8 fifo
  (
  (
    .DOA(),
    .DOA(),
    .DOB(data_out),
    .DOB(data_out),
    .ADDRA({3'h0, wr_pointer}),
    .ADDRA({3'h0, wr_pointer}),
Line 495... Line 486...
    .RSTB(1'b0),
    .RSTB(1'b0),
    .WEB(1'b0)
    .WEB(1'b0)
  );
  );
 
 
 
 
 
 
/*
 
  ram_64x4_sync info_fifo
 
  (
 
    .addra(wr_info_pointer),
 
    .addrb(rd_info_pointer),
 
    .clka(clk),
 
    .clkb(clk),
 
    .dina(len_cnt),
 
    .doutb(length_info),
 
    .wea(write_length_info & (~info_full))
 
  );
 
*/
 
  RAMB4_S4_S4 info_fifo
  RAMB4_S4_S4 info_fifo
  (
  (
    .DOA(),
    .DOA(),
    .DOB(length_info),
    .DOB(length_info),
    .ADDRA({4'h0, wr_info_pointer}),
    .ADDRA({4'h0, wr_info_pointer}),
Line 526... Line 504...
    .ENB(1'b1),
    .ENB(1'b1),
    .RSTB(1'b0),
    .RSTB(1'b0),
    .WEB(1'b0)
    .WEB(1'b0)
  );
  );
 
 
/*
 
  ram_64x1_sync overrun_fifo
 
  (
 
    .addra(wr_info_pointer),
 
    .addrb(rd_info_pointer),
 
    .clka(clk),
 
    .clkb(clk),
 
    .dina(latch_overrun | (wr & fifo_full)),
 
    .doutb(overrun),
 
    .wea(write_length_info & (~info_full))
 
  );
 
*/
 
 
 
 
 
  RAMB4_S1_S1 overrun_fifo
  RAMB4_S1_S1 overrun_fifo
  (
  (
    .DOA(),
    .DOA(),
    .DOB(overrun),
    .DOB(overrun),

powered by: WebSVN 2.1.0

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