URL
https://opencores.org/ocsvn/ethmac/ethmac/trunk
[/] [ethmac/] [trunk/] [rtl/] [verilog/] [eth_maccontrol.v] - Diff between revs 251 and 256
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 251 |
Rev 256 |
Line 39... |
Line 39... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.4 2002/11/19 17:37:32 mohor
|
|
// When control frame (PAUSE) was sent, status was written in the
|
|
// eth_wishbone module and both TXB and TXC interrupts were set. Fixed.
|
|
// Only TXC interrupt is set.
|
|
//
|
// Revision 1.3 2002/01/23 10:28:16 mohor
|
// Revision 1.3 2002/01/23 10:28:16 mohor
|
// Link in the header changed.
|
// Link in the header changed.
|
//
|
//
|
// Revision 1.2 2001/10/19 08:43:51 mohor
|
// Revision 1.2 2001/10/19 08:43:51 mohor
|
// eth_timescale.v changed to timescale.v This is done because of the
|
// eth_timescale.v changed to timescale.v This is done because of the
|
Line 189... |
Line 194... |
MuxedDone <= #Tp 1'b0;
|
MuxedDone <= #Tp 1'b0;
|
else
|
else
|
if(TxStartFrmIn)
|
if(TxStartFrmIn)
|
MuxedDone <= #Tp 1'b0;
|
MuxedDone <= #Tp 1'b0;
|
else
|
else
|
if(TxDoneIn & (~TxDoneInLatched) & TxUsedDataOutDetected & (~BlockTxDone))
|
if(TxDoneIn & (~TxDoneInLatched) & TxUsedDataOutDetected)
|
MuxedDone <= #Tp 1'b1;
|
MuxedDone <= #Tp 1'b1;
|
end
|
end
|
|
|
|
|
// TxDoneOut
|
// TxDoneOut
|
assign TxDoneOut = CtrlMux? (~TxStartFrmIn & MuxedDone) :
|
assign TxDoneOut = CtrlMux? ((~TxStartFrmIn) & (~BlockTxDone) & MuxedDone) :
|
(~TxStartFrmIn & TxDoneIn);
|
((~TxStartFrmIn) & (~BlockTxDone) & TxDoneIn);
|
//assign TxDoneOut = (~CtrlMux) & (~TxStartFrmIn) & TxDoneIn & (~BlockTxDone);
|
|
|
|
// TxAbortOut
|
// TxAbortOut
|
assign TxAbortOut = CtrlMux? (~TxStartFrmIn & MuxedAbort) :
|
assign TxAbortOut = CtrlMux? ((~TxStartFrmIn) & (~BlockTxDone) & MuxedAbort) :
|
(TxAbortIn);
|
((~TxStartFrmIn) & (~BlockTxDone) & TxAbortIn);
|
|
|
// TxUsedDataOut
|
// TxUsedDataOut
|
assign TxUsedDataOut = ~CtrlMux & TxUsedDataIn;
|
assign TxUsedDataOut = ~CtrlMux & TxUsedDataIn;
|
|
|
// TxStartFrmOut
|
// TxStartFrmOut
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.