Line 40... |
Line 40... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.4 2003/08/08 16:36:33 tadejm
|
|
// Added 'three_left_out' to pci_pciw_fifo signaling three locations before full. Added comparison between current registered cbe and next unregistered cbe to signal wb_master whether it is allowed to performe burst or not. Due to this, I needed 'three_left_out' so that writing to pci_pciw_fifo can be registered, otherwise timing problems would occure.
|
|
//
|
// Revision 1.3 2003/03/26 13:16:18 mihad
|
// Revision 1.3 2003/03/26 13:16:18 mihad
|
// Added the reset value parameter to the synchronizer flop module.
|
// Added the reset value parameter to the synchronizer flop module.
|
// Added resets to all synchronizer flop instances.
|
// Added resets to all synchronizer flop instances.
|
// Repaired initial sync value in fifos.
|
// Repaired initial sync value in fifos.
|
//
|
//
|
Line 574... |
Line 577... |
inGreyCount <= #`FF_DELAY inNextGreyCount ;
|
inGreyCount <= #`FF_DELAY inNextGreyCount ;
|
end
|
end
|
|
|
wire [(PCIW_ADDR_LENGTH-2):0] wb_clk_sync_inGreyCount ;
|
wire [(PCIW_ADDR_LENGTH-2):0] wb_clk_sync_inGreyCount ;
|
reg [(PCIW_ADDR_LENGTH-2):0] wb_clk_inGreyCount ;
|
reg [(PCIW_ADDR_LENGTH-2):0] wb_clk_inGreyCount ;
|
synchronizer_flop #((PCIW_ADDR_LENGTH - 1), 0) i_synchronizer_reg_inGreyCount
|
pci_synchronizer_flop #((PCIW_ADDR_LENGTH - 1), 0) i_synchronizer_reg_inGreyCount
|
(
|
(
|
.data_in (inGreyCount),
|
.data_in (inGreyCount),
|
.clk_out (wb_clock_in),
|
.clk_out (wb_clock_in),
|
.sync_data_out (wb_clk_sync_inGreyCount),
|
.sync_data_out (wb_clk_sync_inGreyCount),
|
.async_reset (pciw_clear)
|
.async_reset (pciw_clear)
|