URL
https://opencores.org/ocsvn/can/can/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 30 |
Rev 108 |
Line 48... |
Line 48... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.6 2003/02/10 16:02:11 mohor
|
|
// CAN is working according to the specification. WB interface and more
|
|
// registers (status, IRQ, ...) needs to be added.
|
|
//
|
// Revision 1.5 2003/02/09 18:40:29 mohor
|
// Revision 1.5 2003/02/09 18:40:29 mohor
|
// Overload fixed. Hard synchronization also enabled at the last bit of
|
// Overload fixed. Hard synchronization also enabled at the last bit of
|
// interframe.
|
// interframe.
|
//
|
//
|
// Revision 1.4 2003/02/09 02:24:33 mohor
|
// Revision 1.4 2003/02/09 02:24:33 mohor
|
Line 329... |
Line 333... |
|
|
// ID ok signal generation
|
// ID ok signal generation
|
always @ (posedge clk or posedge rst)
|
always @ (posedge clk or posedge rst)
|
begin
|
begin
|
if (rst)
|
if (rst)
|
id_ok <= 0;
|
id_ok <= 1'b0;
|
else if (go_rx_crc_lim) // sample_point is already included in go_rx_crc_lim
|
else if (go_rx_crc_lim) // sample_point is already included in go_rx_crc_lim
|
begin
|
begin
|
if (extended_mode)
|
if (extended_mode)
|
begin
|
begin
|
if (acceptance_filter_mode) // dual filter
|
if (acceptance_filter_mode) // dual filter
|
Line 353... |
Line 357... |
end
|
end
|
else
|
else
|
id_ok <=#Tp match;
|
id_ok <=#Tp match;
|
end
|
end
|
else if (reset_mode | go_rx_inter | go_error_frame) // sample_point is already included in go_rx_inter
|
else if (reset_mode | go_rx_inter | go_error_frame) // sample_point is already included in go_rx_inter
|
id_ok <=#Tp 0;
|
id_ok <=#Tp 1'b0;
|
end
|
end
|
|
|
|
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.