Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / diag / diaglists / fc / fc_niu.diaglist
// ========== Copyright Header Begin ==========================================
//
// OpenSPARC T2 Processor File: fc_niu.diaglist
// Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved
// 4150 Network Circle, Santa Clara, California 95054, U.S.A.
//
// * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// For the avoidance of doubt, and except that if any non-GPL license
// choice is available it will apply instead, Sun elects to use only
// the General Public License version 2 (GPLv2) at this time for any
// software where a choice of GPL license versions is made
// available with the language indicating that GPLv2 or any later version
// may be used, or where a choice of which version of the GPL is applied is
// otherwise unspecified.
//
// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
// CA 95054 USA or visit www.sun.com if you need additional information or
// have any questions.
//
// ========== Copyright Header End ============================================
//<sys(fc_all)>
//<sys(all)>
//<sys(daily)>
<fc_niu_all>
#ifdef NIU_SYSTEMC_T2
<runargs -vcs_run_args=+BYPASS_TXDRR -vcs_run_args=+ENABLE_MAC_HDR_DEBUG>
<runargs -vcs_run_args=+RXWRITE_TIMEOUT=12000 -midas_args=-DNIU_SYSTEMC_T2>
#endif
// ****************************************************************************
// ****************************************************************************
// ****************************************************************************
// ****************************************************************************
// NIU PIO Read & Write
// ****************************************************************************
// The pio diag is moved to FcNiuQual.diaglist
// ****************************************************************************
// ****************************************************************************
// 10G -> MAC0 -> NIU Tx.
// ****************************************************************************
<FcNiu10GMac0Tx name=FcNiu10GMac0Tx>
<runargs -sas -midas_args=-DCMP_THREAD_START=0x1 -vcs_run_args=+MAC_SPEED0=10000 -finish_mask=1 >
<runargs -vcs_run_args=+MAC_SPEED1=10000 >
<runargs -vcs_run_args=+GET_MAC_PORTS=0 >
<runargs -vcs_run_args=+PCS_SERDES -vcs_run_args=+displaySysRdWr >
<runargs -vcs_run_args=+ORIG_META -vcs_run_args=+TX_TEST >
<runargs -midas_args=-DTX_TEST -midas_args=-DMAC_SPEED0=10000 -midas_args=-DMAC_SPEED1=10000 -midas_args=-DPCS_SERDES >
<runargs -vcs_run_args=+PEU_TEST -vcs_run_args=+ENABLE_PCIE_LINK_TRAINING -midas_args=-DENABLE_PCIE_LINK_TRAINING >
<runargs -midas_args=-DNIU_TX_DMA_NUM=1 -midas_args=-DNIU_TX_DMA_ACT_LIST=2 >
FcNiuTx_DMA1 FcNiuBasicTx.s
</runargs>
<runargs -midas_args=-DNIU_TX_DMA_NUM=15 -midas_args=-DNIU_TX_DMA_ACT_LIST=0x8000 >
FcNiuTx_DMA15 FcNiuBasicTx.s
</runargs>
<runargs -midas_args=-DNIU_TX_PKT_CNT=0x19 -midas_args=-Dloop_count=20 -midas_args=-DJUMBO_FRAME_EN >
FcNiuTx_PktCnt25 FcNiuBasicTx.s
</runargs>
<runargs -vcs_run_args=+TX_GATHER -vcs_run_args=+TX_PKT_LEN=200 -midas_args=-Dloop_count=100 -midas_args=-DJUMBO_FRAME_EN >
FcNiuTx_PktLen_Gather FcNiuBasicTx.s
</runargs>
<runargs -vcs_run_args=+TX_GATHER -vcs_run_args=+TX_BUFFSZ=4080 -midas_args=-Dloop_count=0xff >
<runargs -midas_args=-DJUMBO_FRAME_EN -vcs_run_args=+TX_PKT_LEN=9500 -midas_args=-DTX_PKT_LEN=251c -midas_args=-DNIU_TX_PKT_CNT=1 >
FcNiuTx_PktCnt1_Jumbo FcNiuBasicTx.s
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</FcNiu10GMac0Tx>
// ****************************************************************************
// ****************************************************************************
// 10G -> MAC0 -> NIU Rx.
// ****************************************************************************
<FcNiu10GMac0Rx name=FcNiu10GMac0Rx>
<runargs -sas -midas_args=-DCMP_THREAD_START=0x1 -vcs_run_args=+MAC_SPEED0=10000 -finish_mask=1 >
<runargs -vcs_run_args=+MAC_SPEED1=10000 >
<runargs -vcs_run_args=+GET_MAC_PORTS=0 >
<runargs -vcs_run_args=+PCS_SERDES -vcs_run_args=+displaySysRdWr >
<runargs -vcs_run_args=+ORIG_META -vcs_run_args=+RX_TEST -midas_args=-DRX_TEST >
<runargs -midas_args=-DMAC_SPEED0=10000 -midas_args=-DMAC_SPEED1=10000 -midas_args=-DPCS_SERDES >
<runargs -vcs_run_args=+no_verilog_finish >
<runargs -vcs_run_args=+PEU_TEST -vcs_run_args=+ENABLE_PCIE_LINK_TRAINING -midas_args=-DENABLE_PCIE_LINK_TRAINING >
<runargs -midas_args=-DRXMAC_PKTCNT=0xa -vcs_run_args=+RXMAC_PKTCNT=10 >
<runargs -midas_args=-DRXDMA_CHNL=0xf >
FcNiuRx_DMA15 FcNiuBasicRx_sweep1.s
<runargs -midas_args=-DXLATE_ON >
FcNiuRx_DMA15_Xlate FcNiuBasicRx_sweep1.s
</runargs>
</runargs>
</runargs>
<runargs -midas_args=-DMAC_PKT_LEN=0x251c -vcs_run_args=+WRCHK_TO=3400 -midas_args=-Dloop_count=100 >
<runargs -midas_args=-DJUMBO_FRAME_EN >
FcNiuRx_DMA15_Xlate_Jumbo FcNiuBasicRx_sweep1.s
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</FcNiu10GMac0Rx>
// ****************************************************************************
// ****************************************************************************
// 10G -> MAC1 -> NIU Tx.
// ****************************************************************************
<FcNiu10GMac1Tx name=FcNiu10GMac1Tx>
<runargs -sas -midas_args=-DCMP_THREAD_START=0x1 -vcs_run_args=+MAC_SPEED0=10000 -finish_mask=1 >
<runargs -vcs_run_args=+MAC_SPEED1=10000 >
<runargs -vcs_run_args=+GET_MAC_PORTS=1 >
<runargs -vcs_run_args=+PCS_SERDES -vcs_run_args=+displaySysRdWr >
<runargs -vcs_run_args=+ORIG_META -vcs_run_args=+TX_TEST >
<runargs -midas_args=-DTX_TEST -midas_args=-DMAC_SPEED0=10000 -midas_args=-DMAC_SPEED1=10000 -midas_args=-DPCS_SERDES >
<runargs -vcs_run_args=+PEU_TEST -vcs_run_args=+ENABLE_PCIE_LINK_TRAINING -midas_args=-DENABLE_PCIE_LINK_TRAINING >
<runargs -midas_args=-DMAC_ID=1 >
<runargs -midas_args=-DNIU_TX_DMA_NUM=15 -midas_args=-DNIU_TX_DMA_ACT_LIST=0x8000 >
<runargs -midas_args=-DNIU_TX_PKT_CNT=0x19 -midas_args=-Dloop_count=20 -midas_args=-DJUMBO_FRAME_EN >
FcNiuTx_McPort1_DMA15_PktCnt25 FcNiuBasicTx.s
<runargs -midas_args=-DXLATE_ON -vcs_run_args=+USE_RANDOM_ADDRESS >
FcNiuTx_McPort1_DMA15_PktCnt25_Xlate FcNiuBasicTx.s
</runargs>
</runargs>
</runargs>
<runargs -vcs_run_args=+TX_GATHER -vcs_run_args=+TX_BUFFSZ=4080 -midas_args=-Dloop_count=0xff >
<runargs -midas_args=-DJUMBO_FRAME_EN -vcs_run_args=+TX_PKT_LEN=9500 -midas_args=-DTX_PKT_LEN=251c -midas_args=-DNIU_TX_PKT_CNT=1 >
FcNiuTx_McPort1_PktCnt1_Jumbo FcNiuBasicTx.s
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</FcNiu10GMac1Tx>
// ****************************************************************************
// ****************************************************************************
// 10G -> MAC1 -> NIU Rx.
// ****************************************************************************
<FcNiu10GMac1Rx name=FcNiu10GMac1Rx>
<runargs -sas -midas_args=-DCMP_THREAD_START=0x1 -vcs_run_args=+MAC_SPEED0=10000 -finish_mask=1 >
<runargs -vcs_run_args=+MAC_SPEED1=10000 >
<runargs -vcs_run_args=+GET_MAC_PORTS=1 >
<runargs -vcs_run_args=+PCS_SERDES -vcs_run_args=+displaySysRdWr >
<runargs -vcs_run_args=+ORIG_META -vcs_run_args=+RX_TEST -midas_args=-DRX_TEST >
<runargs -midas_args=-DMAC_SPEED0=10000 -midas_args=-DMAC_SPEED1=10000 -midas_args=-DPCS_SERDES >
<runargs -midas_args=-DMAC_ID=1 >
<runargs -vcs_run_args=+no_verilog_finish >
<runargs -vcs_run_args=+PEU_TEST -vcs_run_args=+ENABLE_PCIE_LINK_TRAINING -midas_args=-DENABLE_PCIE_LINK_TRAINING >
<runargs -midas_args=-DRXMAC_PKTCNT=0xa -vcs_run_args=+RXMAC_PKTCNT=10 >
<runargs -midas_args=-DRXDMA_CHNL=0xf >
FcNiuRx_McPort1_DMA15 FcNiuBasicRx_sweep1.s
<runargs -midas_args=-DXLATE_ON >
FcNiuRx_McPort1_DMA15_Xlate FcNiuBasicRx_sweep1.s
</runargs>
</runargs>
</runargs>
<runargs -midas_args=-DMAC_PKT_LEN=0x251c -vcs_run_args=+WRCHK_TO=3400 -midas_args=-Dloop_count=100 >
<runargs -midas_args=-DJUMBO_FRAME_EN >
FcNiuRx_McPort1_DMA15_Jumbo FcNiuBasicRx_sweep1.s
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</runargs>
</FcNiu10GMac1Rx>
// ****************************************************************************
// ****************************************************************************
// ****************************************************************************
// ****************************************************************************
// ****************************************************************************
#include "FcNiuQual.diaglist"
#include "Fc_MT.diaglist"
#include "Fc_Niu_Multi.diaglist"
<runargs -midas_args=-Dloop_count=100>
//#include "Fc_Niu_Multi_Perf.diaglist"
</runargs>
//KH #include "fc_niu_rx_P0P1_2DMA.diaglist"
//KH #include "fc_niu_rx_P0P1_4DMA.diaglist"
//KH #include "fc_niu_rx_P0P1_8DMA.diaglist"
//KH #include "fc_niu_tx_P0P1_2DMA.diaglist"
// ****************************************************************************
// ****************************************************************************
// ****************************************************************************
// ****************************************************************************
#ifdef NIU_SYSTEMC_T2
</runargs>
</runargs>
#endif
</fc_niu_all>
//</sys(daily)>
//</sys(all)>
//</sys(fc_all)>