Line 40... |
Line 40... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.8 2002/10/11 10:09:01 mihad
|
|
// Added additional testcase and changed rst name in BIST to trst
|
|
//
|
// Revision 1.7 2002/10/08 17:17:06 mihad
|
// Revision 1.7 2002/10/08 17:17:06 mihad
|
// Added BIST signals for RAMs.
|
// Added BIST signals for RAMs.
|
//
|
//
|
// Revision 1.6 2002/09/30 16:03:04 mihad
|
// Revision 1.6 2002/09/30 16:03:04 mihad
|
// Added meta flop module for easier meta stable FF identification during synthesis
|
// Added meta flop module for easier meta stable FF identification during synthesis
|
Line 106... |
Line 109... |
pcir_transaction_ready_out
|
pcir_transaction_ready_out
|
|
|
`ifdef PCI_BIST
|
`ifdef PCI_BIST
|
,
|
,
|
// debug chain signals
|
// debug chain signals
|
trst ,
|
scanb_rst, // bist scan reset
|
SO ,
|
scanb_clk, // bist scan clock
|
SI ,
|
scanb_si, // bist scan serial in
|
shift_DR ,
|
scanb_so, // bist scan serial out
|
capture_DR ,
|
scanb_sen // bist scan shift enable
|
extest ,
|
|
tck
|
|
`endif
|
`endif
|
) ;
|
) ;
|
|
|
/*-----------------------------------------------------------------------------------------------------------
|
/*-----------------------------------------------------------------------------------------------------------
|
System inputs:
|
System inputs:
|
Line 228... |
Line 229... |
|
|
`ifdef PCI_BIST
|
`ifdef PCI_BIST
|
/*-----------------------------------------------------
|
/*-----------------------------------------------------
|
BIST debug chain port signals
|
BIST debug chain port signals
|
-----------------------------------------------------*/
|
-----------------------------------------------------*/
|
input trst ;
|
input scanb_rst; // bist scan reset
|
output SO ;
|
input scanb_clk; // bist scan clock
|
input SI ;
|
input scanb_si; // bist scan serial in
|
input shift_DR ;
|
output scanb_so; // bist scan serial out
|
input capture_DR ;
|
input scanb_sen; // bist scan shift enable
|
input extest ;
|
|
input tck ;
|
|
`endif
|
`endif
|
|
|
/*-----------------------------------------------------------------------------------------------------------
|
/*-----------------------------------------------------------------------------------------------------------
|
Address length parameters:
|
Address length parameters:
|
PCIW_DEPTH = defines PCIW_FIFO depth
|
PCIW_DEPTH = defines PCIW_FIFO depth
|
Line 358... |
Line 357... |
|
|
wire pciw_read_enable = 1'b1 ;
|
wire pciw_read_enable = 1'b1 ;
|
wire pcir_read_enable = 1'b1 ;
|
wire pcir_read_enable = 1'b1 ;
|
|
|
`ifdef PCI_BIST
|
`ifdef PCI_BIST
|
wire SO_internal ; // wires for connection of debug ports on two rams
|
wire scanb_so_internal ; // wires for connection of debug ports on two rams
|
wire SI_internal = SO_internal ;
|
wire scanb_si_internal = scanb_so_internal ;
|
`endif
|
`endif
|
|
|
// instantiate and connect two generic rams - one for pci write fifo and one for pci read fifo
|
// instantiate and connect two generic rams - one for pci write fifo and one for pci read fifo
|
PCI_TPRAM #(`PCI_FIFO_RAM_ADDR_LENGTH, 40) pciw_fifo_storage
|
PCI_TPRAM #(`PCI_FIFO_RAM_ADDR_LENGTH, 40) pciw_fifo_storage
|
(
|
(
|
Line 386... |
Line 385... |
.di_b(40'h00_0000_0000),
|
.di_b(40'h00_0000_0000),
|
.do_b(dpram_portB_output)
|
.do_b(dpram_portB_output)
|
|
|
`ifdef PCI_BIST
|
`ifdef PCI_BIST
|
,
|
,
|
.trst (trst),
|
.scanb_rst (scanb_rst),
|
.SO (SO_internal),
|
.scanb_clk (scanb_clk),
|
.SI (SI),
|
.scanb_si (scanb_si),
|
.shift_DR (shift_DR),
|
.scanb_so (scanb_so_internal),
|
.capture_DR (capture_DR),
|
.scanb_sen (scanb_sen)
|
.extest (extest),
|
|
.tck (tck)
|
|
`endif
|
`endif
|
);
|
);
|
|
|
PCI_TPRAM #(`PCI_FIFO_RAM_ADDR_LENGTH, 40) pcir_fifo_storage
|
PCI_TPRAM #(`PCI_FIFO_RAM_ADDR_LENGTH, 40) pcir_fifo_storage
|
(
|
(
|
Line 419... |
Line 416... |
.di_b(40'h00_0000_0000),
|
.di_b(40'h00_0000_0000),
|
.do_b(dpram_portA_output)
|
.do_b(dpram_portA_output)
|
|
|
`ifdef PCI_BIST
|
`ifdef PCI_BIST
|
,
|
,
|
.trst (trst),
|
.scanb_rst (scanb_rst),
|
.SO (SO),
|
.scanb_clk (scanb_clk),
|
.SI (SI_internal),
|
.scanb_si (scanb_si_internal),
|
.shift_DR (shift_DR),
|
.scanb_so (scanb_so),
|
.capture_DR (capture_DR),
|
.scanb_sen (scanb_sen)
|
.extest (extest),
|
|
.tck (tck)
|
|
`endif
|
`endif
|
);
|
);
|
|
|
`else // RAM blocks sharing between two fifos
|
`else // RAM blocks sharing between two fifos
|
|
|
Line 484... |
Line 479... |
.di_b(dpram_portB_input),
|
.di_b(dpram_portB_input),
|
.do_b(dpram_portB_output)
|
.do_b(dpram_portB_output)
|
|
|
`ifdef PCI_BIST
|
`ifdef PCI_BIST
|
,
|
,
|
.trst (trst),
|
.scanb_rst (scanb_rst),
|
.SO (SO),
|
.scanb_clk (scanb_clk),
|
.SI (SI),
|
.scanb_si (scanb_si),
|
.shift_DR (shift_DR),
|
.scanb_so (scanb_so),
|
.capture_DR (capture_DR),
|
.scanb_sen (scanb_sen)
|
.extest (extest),
|
|
.tck (tck)
|
|
`endif
|
`endif
|
);
|
);
|
|
|
`endif
|
`endif
|
|
|