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

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