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

Subversion Repositories can

[/] [can/] [tags/] [rel_11/] [rtl/] [verilog/] [can_bsp.v] - Diff between revs 80 and 90

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

Rev 80 Rev 90
Line 48... Line 48...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.32  2003/06/17 14:28:32  mohor
 
// Form error was detected when stuff bit occured at the end of crc.
 
//
// Revision 1.31  2003/06/16 14:31:29  tadejm
// Revision 1.31  2003/06/16 14:31:29  tadejm
// Bit stuffing corrected when stuffing comes at the end of the crc.
// Bit stuffing corrected when stuffing comes at the end of the crc.
//
//
// Revision 1.30  2003/06/16 13:57:58  mohor
// Revision 1.30  2003/06/16 13:57:58  mohor
// tx_point generated one clk earlier. rx_i registered. Data corrected when
// tx_point generated one clk earlier. rx_i registered. Data corrected when
Line 1291... Line 1294...
    begin
    begin
      if (extended_mode)      // extended mode
      if (extended_mode)      // extended mode
        begin
        begin
          if (ide)              // extended format
          if (ide)              // extended format
            begin
            begin
              case (header_cnt) // synthesis parallel_case 
              case (header_cnt) /* synthesis full_case synthesis parallel_case */
                3'h0  : data_for_fifo <= {1'b1, rtr2, 2'h0, data_len};
                3'h0  : data_for_fifo <= {1'b1, rtr2, 2'h0, data_len};
                3'h1  : data_for_fifo <= id[28:21];
                3'h1  : data_for_fifo <= id[28:21];
                3'h2  : data_for_fifo <= id[20:13];
                3'h2  : data_for_fifo <= id[20:13];
                3'h3  : data_for_fifo <= id[12:5];
                3'h3  : data_for_fifo <= id[12:5];
                3'h4  : data_for_fifo <= {id[4:0], 3'h0};
                3'h4  : data_for_fifo <= {id[4:0], 3'h0};
                default: data_for_fifo <= 0;
                default: data_for_fifo <= 0;
              endcase
              endcase
            end
            end
          else                  // standard format
          else                  // standard format
            begin
            begin
              case (header_cnt) // synthesis parallel_case 
              case (header_cnt) /* synthesis full_case synthesis parallel_case */
                3'h0  : data_for_fifo <= {1'b0, rtr1, 2'h0, data_len};
                3'h0  : data_for_fifo <= {1'b0, rtr1, 2'h0, data_len};
                3'h1  : data_for_fifo <= id[10:3];
                3'h1  : data_for_fifo <= id[10:3];
                3'h2  : data_for_fifo <= {id[2:0], 5'h0};
                3'h2  : data_for_fifo <= {id[2:0], 5'h0};
                default: data_for_fifo <= 0;
                default: data_for_fifo <= 0;
              endcase
              endcase
            end
            end
        end
        end
      else                    // normal mode
      else                    // normal mode
        begin
        begin
          case (header_cnt) // synthesis parallel_case 
          case (header_cnt) /* synthesis full_case synthesis parallel_case */
            3'h0  : data_for_fifo <= id[10:3];
            3'h0  : data_for_fifo <= id[10:3];
            3'h1  : data_for_fifo <= {id[2:0], rtr1, data_len};
            3'h1  : data_for_fifo <= {id[2:0], rtr1, data_len};
            default: data_for_fifo <= 0;
            default: data_for_fifo <= 0;
          endcase
          endcase
        end
        end

powered by: WebSVN 2.1.0

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