Line 40... |
Line 40... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.3 2002/02/01 15:25:14 mihad
|
|
// Repaired a few bugs, updated specification, added test bench files and design document
|
|
//
|
// Revision 1.2 2001/10/05 08:20:12 mihad
|
// Revision 1.2 2001/10/05 08:20:12 mihad
|
// Updated all files with inclusion of timescale file for simulation purposes.
|
// Updated all files with inclusion of timescale file for simulation purposes.
|
//
|
//
|
// Revision 1.1.1.1 2001/10/02 15:33:47 mihad
|
// Revision 1.1.1.1 2001/10/02 15:33:47 mihad
|
// New project directory structure
|
// New project directory structure
|
Line 66... |
Line 69... |
wbw_control_in,
|
wbw_control_in,
|
wbw_renable_in,
|
wbw_renable_in,
|
wbw_addr_data_out,
|
wbw_addr_data_out,
|
wbw_cbe_out,
|
wbw_cbe_out,
|
wbw_control_out,
|
wbw_control_out,
|
wbw_flush_in,
|
// wbw_flush_in, write fifo flush not used
|
wbw_almost_full_out,
|
wbw_almost_full_out,
|
wbw_full_out,
|
wbw_full_out,
|
wbw_empty_out,
|
wbw_empty_out,
|
wbw_transaction_ready_out,
|
wbw_transaction_ready_out,
|
wbr_wenable_in,
|
wbr_wenable_in,
|
Line 131... |
Line 134... |
output [31:0] wbw_addr_data_out ;
|
output [31:0] wbw_addr_data_out ;
|
output [3:0] wbw_cbe_out ;
|
output [3:0] wbw_cbe_out ;
|
output [3:0] wbw_control_out ;
|
output [3:0] wbw_control_out ;
|
|
|
// flush input
|
// flush input
|
input wbw_flush_in ;
|
// input wbw_flush_in ; // not used
|
|
|
// status outputs
|
// status outputs
|
output wbw_almost_full_out ;
|
output wbw_almost_full_out ;
|
output wbw_full_out ;
|
output wbw_full_out ;
|
output wbw_empty_out ;
|
output wbw_empty_out ;
|
Line 246... |
Line 249... |
|
|
assign wbw_empty_out = wbw_empty ;
|
assign wbw_empty_out = wbw_empty ;
|
assign wbr_empty_out = wbr_empty ;
|
assign wbr_empty_out = wbr_empty ;
|
|
|
// clear wires for fifos
|
// clear wires for fifos
|
wire wbw_clear = reset_in || wbw_flush_in ; // WBW_FIFO clear
|
wire wbw_clear = reset_in /*|| wbw_flush_in*/ ; // WBW_FIFO clear flush not used
|
wire wbr_clear = reset_in || wbr_flush_in ; // WBR_FIFO clear
|
wire wbr_clear = reset_in /*|| wbr_flush_in*/ ; // WBR_FIFO clear - flush changed from asynchronous to synchronous
|
|
|
/*-----------------------------------------------------------------------------------------------------------
|
/*-----------------------------------------------------------------------------------------------------------
|
Definitions of wires for connecting RAM instances
|
Definitions of wires for connecting RAM instances
|
-----------------------------------------------------------------------------------------------------------*/
|
-----------------------------------------------------------------------------------------------------------*/
|
wire [39:0] dpram_portA_output ;
|
wire [39:0] dpram_portA_output ;
|
Line 408... |
Line 411... |
.rclock_in(pci_clock_in),
|
.rclock_in(pci_clock_in),
|
.wclock_in(wb_clock_in),
|
.wclock_in(wb_clock_in),
|
.renable_in(wbw_renable_in),
|
.renable_in(wbw_renable_in),
|
.wenable_in(wbw_wenable_in),
|
.wenable_in(wbw_wenable_in),
|
.reset_in(reset_in),
|
.reset_in(reset_in),
|
.flush_in(wbw_flush_in),
|
// .flush_in(wbw_flush_in),
|
.almost_full_out(wbw_almost_full_out),
|
.almost_full_out(wbw_almost_full_out),
|
.full_out(wbw_full_out),
|
.full_out(wbw_full_out),
|
.empty_out(wbw_empty),
|
.empty_out(wbw_empty),
|
.waddr_out(wbw_waddr),
|
.waddr_out(wbw_waddr),
|
.raddr_out(wbw_raddr),
|
.raddr_out(wbw_raddr),
|