OpenCores
URL https://opencores.org/ocsvn/pci/pci/trunk

Subversion Repositories pci

[/] [pci/] [tags/] [rel_11/] [rtl/] [verilog/] [pci_pciw_pcir_fifos.v] - Diff between revs 111 and 122

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 111 Rev 122
Line 40... Line 40...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.5  2003/08/14 13:06:03  simons
 
// synchronizer_flop replaced with pci_synchronizer_flop, artisan ram instance updated.
 
//
// Revision 1.4  2003/08/08 16:36:33  tadejm
// Revision 1.4  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.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 55... Line 58...
//
//
// Revision 1.1  2003/01/27 16:49:31  mihad
// Revision 1.1  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.
//
//
// Revision 1.10  2002/10/18 03:36:37  tadejm
// Revision 1.10  2002/10/18 03:36:37  tadejm
// Changed wrong signal name scanb_sen into scanb_en.
// Changed wrong signal name mbist_sen into mbist_ctrl_i.
//
//
// Revision 1.9  2002/10/17 22:51:08  tadejm
// Revision 1.9  2002/10/17 22:51:08  tadejm
// Changed BIST signals for RAMs.
// Changed BIST signals for RAMs.
//
//
// Revision 1.8  2002/10/11 10:09:01  mihad
// Revision 1.8  2002/10/11 10:09:01  mihad
Line 130... Line 133...
    pcir_transaction_ready_out
    pcir_transaction_ready_out
 
 
`ifdef PCI_BIST
`ifdef PCI_BIST
    ,
    ,
    // debug chain signals
    // debug chain signals
    scanb_rst,      // bist scan reset
    mbist_si_i,       // bist scan serial in
    scanb_clk,      // bist scan clock
    mbist_so_o,       // bist scan serial out
    scanb_si,       // bist scan serial in
    mbist_ctrl_i        // bist chain shift control
    scanb_so,       // bist scan serial out
 
    scanb_en        // bist scan shift enable
 
`endif
`endif
) ;
) ;
 
 
/*-----------------------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------------------------------------
System inputs:
System inputs:
Line 251... Line 252...
 
 
`ifdef PCI_BIST
`ifdef PCI_BIST
/*-----------------------------------------------------
/*-----------------------------------------------------
BIST debug chain port signals
BIST debug chain port signals
-----------------------------------------------------*/
-----------------------------------------------------*/
input   scanb_rst;      // bist scan reset
input   mbist_si_i;       // bist scan serial in
input   scanb_clk;      // bist scan clock
output  mbist_so_o;       // bist scan serial out
input   scanb_si;       // bist scan serial in
input [`PCI_MBIST_CTRL_WIDTH - 1:0] mbist_ctrl_i;       // bist chain shift control
output  scanb_so;       // bist scan serial out
 
input   scanb_en;       // bist scan shift enable
 
`endif
`endif
 
 
/*-----------------------------------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------------------------------------
Address length parameters:
Address length parameters:
PCIW_DEPTH = defines PCIW_FIFO depth
PCIW_DEPTH = defines PCIW_FIFO depth
Line 379... Line 378...
 
 
    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 scanb_so_internal ; // wires for connection of debug ports on two rams
    wire mbist_so_o_internal ; // wires for connection of debug ports on two rams
    wire scanb_si_internal = scanb_so_internal ;
    wire mbist_si_i_internal = mbist_so_o_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_pci_tpram #(`PCI_FIFO_RAM_ADDR_LENGTH, 40) pciw_fifo_storage
    pci_pci_tpram #(`PCI_FIFO_RAM_ADDR_LENGTH, 40) pciw_fifo_storage
    (
    (
Line 407... Line 406...
        .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
        ,
        ,
        .scanb_rst      (scanb_rst),
        .mbist_si_i       (mbist_si_i),
        .scanb_clk      (scanb_clk),
        .mbist_so_o       (mbist_so_o_internal),
        .scanb_si       (scanb_si),
        .mbist_ctrl_i       (mbist_ctrl_i)
        .scanb_so       (scanb_so_internal),
 
        .scanb_en       (scanb_en)
 
    `endif
    `endif
    );
    );
 
 
    pci_pci_tpram #(`PCI_FIFO_RAM_ADDR_LENGTH, 40) pcir_fifo_storage
    pci_pci_tpram #(`PCI_FIFO_RAM_ADDR_LENGTH, 40) pcir_fifo_storage
    (
    (
Line 438... Line 435...
        .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
        ,
        ,
        .scanb_rst      (scanb_rst),
        .mbist_si_i       (mbist_si_i_internal),
        .scanb_clk      (scanb_clk),
        .mbist_so_o       (mbist_so_o),
        .scanb_si       (scanb_si_internal),
        .mbist_ctrl_i       (mbist_ctrl_i)
        .scanb_so       (scanb_so),
 
        .scanb_en       (scanb_en)
 
    `endif
    `endif
    );
    );
 
 
`else // RAM blocks sharing between two fifos
`else // RAM blocks sharing between two fifos
 
 
Line 501... Line 496...
        .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
        ,
        ,
        .scanb_rst      (scanb_rst),
        .mbist_si_i       (mbist_si_i),
        .scanb_clk      (scanb_clk),
        .mbist_so_o       (mbist_so_o),
        .scanb_si       (scanb_si),
        .mbist_ctrl_i       (mbist_ctrl_i)
        .scanb_so       (scanb_so),
 
        .scanb_en       (scanb_en)
 
    `endif
    `endif
    );
    );
 
 
`endif
`endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.