// ========== Copyright Header Begin ==========================================
// OpenSPARC T2 Processor File: dmu_mmu_qcb.v
// 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
// ========== Copyright Header End ============================================
csr2qcb_ds_a, // csr debug select a
csr2qcb_ds_b, // csr debug select b
irb2qcb_enq, // irb srm enqueue
orb2qcb_full, // orb isr queue full
tcb2qcb_vld, // tcb valid bits
qcb2csr_dbg_a, // csr debug bus a
qcb2csr_dbg_b, // csr debug bus b
qcb2csr_paq, // csr physical address queue not empty
qcb2csr_vaq, // csr virtual address queue not empty
qcb2irb_full, // irb queue full
qcb2orb_enq, // orb srm enqueue
qcb2paq_ds, // paq data select
qcb2rdq_ds, // rdq data select
qcb2tcb_vld, // tcb valid
qcb2vaq_ds // vaq data select
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
input [`FIRE_DLC_MMU_CSR_DS_BITS] csr2qcb_ds_a;
input [`FIRE_DLC_MMU_CSR_DS_BITS] csr2qcb_ds_b;
input [`FIRE_DLC_MMU_PLS_DPTH:1] tcb2qcb_vld;
output [`FIRE_DBG_DATA_BITS] qcb2csr_dbg_a;
output [`FIRE_DBG_DATA_BITS] qcb2csr_dbg_b;
output [`FIRE_DLC_MMU_PAQ_DPTH-1:0] qcb2paq_ld;
output [`FIRE_DLC_MMU_PAQ_DPTH-2:0] qcb2paq_ds;
output [`FIRE_DLC_MMU_RDQ_DPTH-1:0] qcb2rdq_ld;
output [`FIRE_DLC_MMU_RDQ_DPTH-2:0] qcb2rdq_ds;
output [`FIRE_DLC_MMU_VAQ_DPTH-1:0] qcb2vaq_ld;
output [`FIRE_DLC_MMU_VAQ_DPTH-2:0] qcb2vaq_ds;
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
wire [`FIRE_DBG_DATA_BITS] qcb2csr_dbg_a;
wire [`FIRE_DBG_DATA_BITS] qcb2csr_dbg_b;
wire [`FIRE_DLC_MMU_PAQ_DPTH-1:0] qcb2paq_ld;
wire [`FIRE_DLC_MMU_PAQ_DPTH-2:0] qcb2paq_ds;
wire [`FIRE_DLC_MMU_RDQ_DPTH-1:0] qcb2rdq_ld;
wire [`FIRE_DLC_MMU_RDQ_DPTH-2:0] qcb2rdq_ds;
wire [`FIRE_DLC_MMU_VAQ_DPTH-1:0] qcb2vaq_ld;
wire [`FIRE_DLC_MMU_VAQ_DPTH-2:0] qcb2vaq_ds;
wire [`FIRE_DLC_MMU_PAQ_DPTH-1:0] qpc2qmc_vld;
wire [`FIRE_DLC_MMU_RDQ_DPTH-1:0] qrc2qmc_vld;
wire [`FIRE_DLC_MMU_VAQ_DPTH-1:0] qvc2qmc_vld;
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
.csr2qcb_ds_a (csr2qcb_ds_a),
.csr2qcb_ds_b (csr2qcb_ds_b),
.irb2qcb_enq (irb2qcb_enq),
.orb2qcb_full (orb2qcb_full),
.tcb2qcb_hld (tcb2qcb_hld),
.tcb2qcb_vld (tcb2qcb_vld),
.qpc2qmc_vld (qpc2qmc_vld),
.qrc2qmc_vld (qrc2qmc_vld),
.qvc2qmc_vld (qvc2qmc_vld),
.qcb2csr_dbg_a (qcb2csr_dbg_a),
.qcb2csr_dbg_b (qcb2csr_dbg_b),
.qcb2csr_paq (qcb2csr_paq),
.qcb2csr_vaq (qcb2csr_vaq),
.qcb2irb_full (qcb2irb_full),
.qcb2orb_enq (qcb2orb_enq),
.qcb2tcb_hld (qcb2tcb_hld),
.qcb2tcb_vld (qcb2tcb_vld),
.qmc2qpc_enq (qmc2qpc_enq),
.qmc2qpc_deq (qmc2qpc_deq),
.qmc2qrc_enq (qmc2qrc_enq),
.qmc2qrc_deq (qmc2qrc_deq),
.qmc2qvc_enq (qmc2qvc_enq),
.qmc2qvc_deq (qmc2qvc_deq)
dmu_mmu_qcb_qgc #(`FIRE_DLC_MMU_PAQ_DPTH) qpc
dmu_mmu_qcb_qgc #(`FIRE_DLC_MMU_RDQ_DPTH) qrc
dmu_mmu_qcb_qgc #(`FIRE_DLC_MMU_VAQ_DPTH) qvc