Line 60... |
Line 60... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.3 2002/09/30 17:22:27 mihad
|
|
// Added support for Virtual Silicon two port RAM. Didn't run regression on it yet!
|
|
//
|
// Revision 1.2 2002/08/19 16:51:36 mihad
|
// Revision 1.2 2002/08/19 16:51:36 mihad
|
// Extracted distributed RAM module from wb/pci_tpram.v to its own file, got rid of undef directives
|
// Extracted distributed RAM module from wb/pci_tpram.v to its own file, got rid of undef directives
|
//
|
//
|
// Revision 1.1 2002/02/01 14:43:31 mihad
|
// Revision 1.1 2002/02/01 14:43:31 mihad
|
// *** empty log message ***
|
// *** empty log message ***
|
Line 92... |
Line 95... |
we_b,
|
we_b,
|
oe_b,
|
oe_b,
|
addr_b,
|
addr_b,
|
di_b,
|
di_b,
|
do_b
|
do_b
|
|
`ifdef PCI_BIST
|
|
,
|
|
// debug chain signals
|
|
SO,
|
|
SI,
|
|
shift_DR,
|
|
capture_DR,
|
|
extest,
|
|
tck
|
|
`endif
|
);
|
);
|
|
|
//
|
//
|
// Default address and data buses width
|
// Default address and data buses width
|
//
|
//
|
Line 120... |
Line 133... |
input oe_b; // Output enable input
|
input oe_b; // Output enable input
|
input [aw-1:0] addr_b; // address bus inputs
|
input [aw-1:0] addr_b; // address bus inputs
|
input [dw-1:0] di_b; // input data bus
|
input [dw-1:0] di_b; // input data bus
|
output [dw-1:0] do_b; // output data bus
|
output [dw-1:0] do_b; // output data bus
|
|
|
|
`ifdef PCI_BIST
|
|
// debug chain signals
|
|
output SO ;
|
|
input SI ;
|
|
input shift_DR ;
|
|
input capture_DR ;
|
|
input extest ;
|
|
input tck ;
|
|
`endif
|
|
|
//
|
//
|
// Internal wires and registers
|
// Internal wires and registers
|
//
|
//
|
|
|
`ifdef PCI_VS_STP
|
`ifdef PCI_VS_STP
|
`define PCI_PCI_RAM_SELECTED
|
`define PCI_PCI_RAM_SELECTED
|
|
`ifdef PCI_BIST
|
|
vs_hdtp_64x40_bist i_vs_hdtp_64x40_bist
|
|
`else
|
vs_hdtp_64x40 i_vs_hdtp_64x40
|
vs_hdtp_64x40 i_vs_hdtp_64x40
|
|
`endif
|
(
|
(
|
.RCK (clk_b),
|
.RCK (clk_b),
|
.WCK (clk_a),
|
.WCK (clk_a),
|
.RADR (addr_b),
|
.RADR (addr_b),
|
.WADR (addr_a),
|
.WADR (addr_a),
|
.DI (di_a),
|
.DI (di_a),
|
.DOUT (do_b),
|
.DOUT (do_b),
|
.REN (1'b0),
|
.REN (1'b0),
|
.WEN (!we_a)
|
.WEN (!we_a)
|
|
`ifdef PCI_BIST
|
|
,
|
|
// reset
|
|
.rst (rst_a),
|
|
|
|
// debug chain signals
|
|
.SO (SO),
|
|
.SI (SI),
|
|
.shift_DR (shift_DR),
|
|
.capture_DR (capture_DR),
|
|
.extest (extest),
|
|
.tck (tck)
|
|
`endif
|
);
|
);
|
|
|
assign do_a = 0 ;
|
assign do_a = 0 ;
|
`endif
|
`endif
|
|
|