Line 40... |
Line 40... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.9 2003/08/21 20:55:14 tadejm
|
|
// Corrected bug when writing to FIFO (now it is registered).
|
|
//
|
// Revision 1.8 2003/08/08 16:36:33 tadejm
|
// Revision 1.8 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.
|
// 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.7 2003/01/27 16:49:31 mihad
|
// Revision 1.7 2003/01/27 16:49:31 mihad
|
// Changed module and file names. Updated scripts accordingly. FIFO synchronizations changed.
|
// Changed module and file names. Updated scripts accordingly. FIFO synchronizations changed.
|
Line 100... |
Line 103... |
frame_reg_in,
|
frame_reg_in,
|
fetch_pcir_fifo_in,
|
fetch_pcir_fifo_in,
|
load_medium_reg_in,
|
load_medium_reg_in,
|
sel_fifo_mreg_in,
|
sel_fifo_mreg_in,
|
sel_conf_fifo_in,
|
sel_conf_fifo_in,
|
fetch_conf_in,
|
|
load_to_pciw_fifo_in,
|
load_to_pciw_fifo_in,
|
load_to_conf_in,
|
load_to_conf_in,
|
same_read_out,
|
same_read_out,
|
|
|
norm_access_to_config_out,
|
norm_access_to_config_out,
|
Line 152... |
Line 154... |
pciw_fifo_full_in,
|
pciw_fifo_full_in,
|
wbw_fifo_empty_in,
|
wbw_fifo_empty_in,
|
wbu_del_read_comp_pending_in,
|
wbu_del_read_comp_pending_in,
|
|
|
// Configuration space signals
|
// Configuration space signals
|
conf_hit_out,
|
|
conf_addr_out,
|
conf_addr_out,
|
conf_data_out,
|
conf_data_out,
|
conf_data_in,
|
conf_data_in,
|
conf_be_out,
|
conf_be_out,
|
conf_we_out,
|
conf_we_out,
|
Line 232... |
Line 233... |
input frame_reg_in ; // FRAME input signal - registered
|
input frame_reg_in ; // FRAME input signal - registered
|
input fetch_pcir_fifo_in ;// Read enable for PCIR_FIFO when when read is finishen on WB side
|
input fetch_pcir_fifo_in ;// Read enable for PCIR_FIFO when when read is finishen on WB side
|
input load_medium_reg_in ;// Load data from PCIR_FIFO to medium register (first data must be prepared on time)
|
input load_medium_reg_in ;// Load data from PCIR_FIFO to medium register (first data must be prepared on time)
|
input sel_fifo_mreg_in ; // Read data selection between PCIR_FIFO and medium register
|
input sel_fifo_mreg_in ; // Read data selection between PCIR_FIFO and medium register
|
input sel_conf_fifo_in ; // Read data selection between Configuration registers and "FIFO"
|
input sel_conf_fifo_in ; // Read data selection between Configuration registers and "FIFO"
|
input fetch_conf_in ; // Read enable for configuration space registers
|
|
input load_to_pciw_fifo_in ;// Write enable to PCIW_FIFO
|
input load_to_pciw_fifo_in ;// Write enable to PCIW_FIFO
|
input load_to_conf_in ; // Write enable to Configuration space registers
|
input load_to_conf_in ; // Write enable to Configuration space registers
|
|
|
|
|
/*==================================================================================================================
|
/*==================================================================================================================
|
Line 310... |
Line 310... |
|
|
/*==================================================================================================================
|
/*==================================================================================================================
|
Configuration space signals - from and to registers
|
Configuration space signals - from and to registers
|
==================================================================================================================*/
|
==================================================================================================================*/
|
// BUS for reading and writing to configuration space registers
|
// BUS for reading and writing to configuration space registers
|
output conf_hit_out ; // like "chip select" for configuration space
|
|
output [11:0] conf_addr_out ; // address to configuration space when there is access to it
|
output [11:0] conf_addr_out ; // address to configuration space when there is access to it
|
output [31:0] conf_data_out ; // data to configuration space - for writing to registers
|
output [31:0] conf_data_out ; // data to configuration space - for writing to registers
|
input [31:0] conf_data_in ; // data from configuration space - for reading from registers
|
input [31:0] conf_data_in ; // data from configuration space - for reading from registers
|
output [3:0] conf_be_out ; // byte enables used for correct writing to configuration space
|
output [3:0] conf_be_out ; // byte enables used for correct writing to configuration space
|
output conf_we_out ; // write enable control signal - 1 for writing / 0 for nothing
|
output conf_we_out ; // write enable control signal - 1 for writing / 0 for nothing
|