Line 40... |
Line 40... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.1 2003/01/27 16:49:31 mihad
|
|
// Changed module and file names. Updated scripts accordingly. FIFO synchronizations changed.
|
|
//
|
// Revision 1.7 2002/12/05 12:19:23 mihad
|
// Revision 1.7 2002/12/05 12:19:23 mihad
|
// *** empty log message ***
|
// *** empty log message ***
|
//
|
//
|
// Revision 1.6 2002/10/11 14:15:29 mihad
|
// Revision 1.6 2002/10/11 14:15:29 mihad
|
// Cleaned up non-blocking assignments in combinatinal logic statements
|
// Cleaned up non-blocking assignments in combinatinal logic statements
|
Line 265... |
Line 268... |
`endif
|
`endif
|
|
|
// wire for read attempt - 1 when PCI Target is attempting a read and PCIR_FIFO is not full !
|
// wire for read attempt - 1 when PCI Target is attempting a read and PCIR_FIFO is not full !
|
// because of transaction ordering, PCI Master must not start read untill all writes are done -> at that
|
// because of transaction ordering, PCI Master must not start read untill all writes are done -> at that
|
// moment PCIW_FIFO is empty !!! (when read is pending PCI Target will block new reads and writes)
|
// moment PCIW_FIFO is empty !!! (when read is pending PCI Target will block new reads and writes)
|
wire r_attempt = ( pci_tar_read_request && !w_attempt);// pciw_fifo_empty_in ) ;
|
wire r_attempt = ( pci_tar_read_request && !w_attempt && pciw_fifo_empty_in ) ;
|
|
|
// Signal is used for reads on WB, when there is retry!
|
// Signal is used for reads on WB, when there is retry!
|
reg first_wb_data_access ;
|
reg first_wb_data_access ;
|
|
|
reg last_data_from_pciw_fifo ; // signal tells when there is last data in pciw_fifo
|
reg last_data_from_pciw_fifo ; // signal tells when there is last data in pciw_fifo
|