[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ethmac] wishbone dma bug



Thanks,
 
The "else" was really missing in the eth_wishbone.v 
 
Regards,
    Igor 
-----Original Message-----
From: owner-ethmac@opencores.org [mailto:owner-ethmac@opencores.org]On Behalf Of zou.yixin@mail.zte.com.cn
Sent: 08. avgust 2001 4:32
To: ethmac@opencores.org
Subject: RE: [ethmac] wishbone dma bug


I don't know whether it is helpful.
The always block is from wishbonedma.v
only one if statement can  exist  in a always block or it can not be synthesized.

always @ (posedge WB_CLK_I or posedge WB_RST_I)
begin
  if(WB_RST_I)
    TxValidBytesLatched <=#Tp 2'h0;
  else
 
  if(TxEndFrm_wb & ~TxEndFrm_wbLatched)
    TxValidBytesLatched <=#Tp TxValidBytes;

else //"else" is added   /*yxzhou*/

  if (TxRestartPulse | TxDonePulse | TxAbortPulse)
    TxValidBytesLatched <=#Tp 2'h0;
 




ÇëÏìÓ¦ µ½ ethmac@opencores.org

·¢¼þÈË:        owner-ethmac@opencores.org

ÊÕ¼þÈË:        "Igor Mohor (uni-mb)" <igor.mohor@uni-mb.si>
³­ËÍ:         ethmac@opencores.org
Ö÷Ìâ:        RE: [ethmac] wishbone dma bug




> Hi,
>
> You didn't say much what happened. Perhaps you forgot to set the include
> directory in
> the ModelSim. Tell me more what seems to be the problem (error messages,
> e
what do you mean with include director ModelSim, is
that work library? the other modules are ok. only the wishbone.
thank  youe

--
To unsubscribe from ethmac mailing list please visit http://www.opencores.org/mailinglists.shtml