Line 40... |
Line 40... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.5 2003/10/17 09:11:52 markom
|
|
// mbist signals updated according to newest convention
|
|
//
|
// Revision 1.4 2003/08/14 13:06:03 simons
|
// Revision 1.4 2003/08/14 13:06:03 simons
|
// synchronizer_flop replaced with pci_synchronizer_flop, artisan ram instance updated.
|
// synchronizer_flop replaced with pci_synchronizer_flop, artisan ram instance updated.
|
//
|
//
|
// 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.
|
Line 525... |
Line 528... |
// register holding grey coded count of incoming transactions
|
// register holding grey coded count of incoming transactions
|
always@(posedge wb_clock_in or posedge wbw_clear)
|
always@(posedge wb_clock_in or posedge wbw_clear)
|
begin
|
begin
|
if (wbw_clear)
|
if (wbw_clear)
|
begin
|
begin
|
inGreyCount <= #`FF_DELAY 0 ;
|
inGreyCount <= #3 0 ;
|
end
|
end
|
else
|
else
|
if (in_count_en)
|
if (in_count_en)
|
inGreyCount <= #`FF_DELAY inNextGreyCount ;
|
inGreyCount <= #3 inNextGreyCount ;
|
end
|
end
|
|
|
wire [(WBW_ADDR_LENGTH-2):0] pci_clk_sync_inGreyCount ;
|
wire [(WBW_ADDR_LENGTH-2):0] pci_clk_sync_inGreyCount ;
|
reg [(WBW_ADDR_LENGTH-2):0] pci_clk_inGreyCount ;
|
reg [(WBW_ADDR_LENGTH-2):0] pci_clk_inGreyCount ;
|
pci_synchronizer_flop #((WBW_ADDR_LENGTH - 1), 0) i_synchronizer_reg_inGreyCount
|
pci_synchronizer_flop #((WBW_ADDR_LENGTH - 1), 0) i_synchronizer_reg_inGreyCount
|