Line 41... |
Line 41... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.1 2001/08/06 14:44:29 mohor
|
|
// A define FPGA added to select between Artisan RAM (for ASIC) and Block Ram (For Virtex).
|
|
// Include files fixed to contain no path.
|
|
// File names and module names changed ta have a eth_ prologue in the name.
|
|
// File eth_timescale.v is used to define timescale
|
|
// All pin names on the top module are changed to contain _I, _O or _OE at the end.
|
|
// Bidirectional signal MDIO is changed to three signals (Mdc_O, Mdi_I, Mdo_O
|
|
// and Mdo_OE. The bidirectional signal must be created on the top level. This
|
|
// is done due to the ASIC tools.
|
|
//
|
// Revision 1.1 2001/07/30 21:23:42 mohor
|
// Revision 1.1 2001/07/30 21:23:42 mohor
|
// Directory structure changed. Files checked and joind together.
|
// Directory structure changed. Files checked and joind together.
|
//
|
//
|
// Revision 1.2 2001/07/03 12:55:41 mohor
|
// Revision 1.2 2001/07/03 12:55:41 mohor
|
// Minor changes because of the synthesys warnings.
|
// Minor changes because of the synthesys warnings.
|
Line 99... |
Line 109... |
wire StartPreamble;
|
wire StartPreamble;
|
wire StartSFD;
|
wire StartSFD;
|
|
|
|
|
// Defining the next state
|
// Defining the next state
|
assign StartIdle = ~MRxDV & (StateDrop | StatePreamble | StateSFD | |StateData & (ByteCntEq0 | ByteCntGreat2));
|
assign StartIdle = ~MRxDV & (StateDrop | StatePreamble | StateSFD | (|StateData) & (ByteCntEq0 | ByteCntGreat2));
|
|
|
assign StartPreamble = MRxDV & ~MRxDEq5 & (StateIdle & ~Transmitting);
|
assign StartPreamble = MRxDV & ~MRxDEq5 & (StateIdle & ~Transmitting);
|
|
|
assign StartSFD = MRxDV & MRxDEq5 & (StateIdle & ~Transmitting);
|
assign StartSFD = MRxDV & MRxDEq5 & (StateIdle & ~Transmitting);
|
|
|