| // ========== Copyright Header Begin ========================================== | |
| // | |
| // OpenSPARC T1 Processor File: pcx_dp_array134.v | |
| // Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved. | |
| // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES. | |
| // | |
| // The above named program is free software; you can redistribute it and/or | |
| // modify it under the terms of the GNU General Public | |
| // License version 2 as published by the Free Software Foundation. | |
| // | |
| // The above named 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 work; if not, write to the Free Software | |
| // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. | |
| // | |
| // ========== Copyright Header End ============================================ | |
| //////////////////////////////////////////////////////////////////////// | |
| /* | |
| // Description: datapath portion of CPX | |
| */ | |
| //////////////////////////////////////////////////////////////////////// | |
| // Global header file includes | |
| //////////////////////////////////////////////////////////////////////// | |
| `include "sys.h" // system level definition file which contains the | |
| // time scale definition | |
| `include "iop.h" | |
| //////////////////////////////////////////////////////////////////////// | |
| // Local header file includes / local defines | |
| //////////////////////////////////////////////////////////////////////// | |
| module pcx_dp_array134(/*AUTOARG*/ | |
| // Outputs | |
| pcx_scache3_data_px_l, pcx_scache1_data_px_l, pcx_fpio_data_px_l, | |
| scan_out, | |
| // Inputs | |
| spc7_pcx_data_pa, spc6_pcx_data_pa, spc5_pcx_data_pa, | |
| spc4_pcx_data_pa, spc3_pcx_data_pa, spc2_pcx_data_pa, | |
| spc1_pcx_data_pa, spc0_pcx_data_pa, shiftenable, rclk, | |
| arbpc4_pcxdp_shift_px, arbpc4_pcxdp_qsel1_pa, | |
| arbpc4_pcxdp_qsel0_pa, arbpc4_pcxdp_q0_hold_pa, | |
| arbpc4_pcxdp_grant_pa, arbpc3_pcxdp_shift_px, | |
| arbpc3_pcxdp_qsel1_pa, arbpc3_pcxdp_qsel0_pa, | |
| arbpc3_pcxdp_q0_hold_pa, arbpc3_pcxdp_grant_pa, | |
| arbpc1_pcxdp_shift_px, arbpc1_pcxdp_qsel1_pa, | |
| arbpc1_pcxdp_qsel0_pa, arbpc1_pcxdp_q0_hold_pa, | |
| arbpc1_pcxdp_grant_pa, scan_in | |
| ); | |
| /*AUTOOUTPUT*/ | |
| // Beginning of automatic outputs (from unused autoinst outputs) | |
| output [`PCX_WIDTH-1:0]pcx_fpio_data_px_l; // From pcx_dp4 of pcx_dp4.v | |
| output [`PCX_WIDTH-1:0]pcx_scache1_data_px_l;// From pcx_dp1 of pcx_dp1.v | |
| output [`PCX_WIDTH-1:0]pcx_scache3_data_px_l;// From pcx_dp3 of pcx_dp3.v | |
| // End of automatics | |
| /*AUTOINPUT*/ | |
| // Beginning of automatic inputs (from unused autoinst inputs) | |
| input [7:0] arbpc1_pcxdp_grant_pa; // To pcx_dp1 of pcx_dp1.v | |
| input [7:0] arbpc1_pcxdp_q0_hold_pa;// To pcx_dp1 of pcx_dp1.v | |
| input [7:0] arbpc1_pcxdp_qsel0_pa; // To pcx_dp1 of pcx_dp1.v | |
| input [7:0] arbpc1_pcxdp_qsel1_pa; // To pcx_dp1 of pcx_dp1.v | |
| input [7:0] arbpc1_pcxdp_shift_px; // To pcx_dp1 of pcx_dp1.v | |
| input [7:0] arbpc3_pcxdp_grant_pa; // To pcx_dp3 of pcx_dp3.v | |
| input [7:0] arbpc3_pcxdp_q0_hold_pa;// To pcx_dp3 of pcx_dp3.v | |
| input [7:0] arbpc3_pcxdp_qsel0_pa; // To pcx_dp3 of pcx_dp3.v | |
| input [7:0] arbpc3_pcxdp_qsel1_pa; // To pcx_dp3 of pcx_dp3.v | |
| input [7:0] arbpc3_pcxdp_shift_px; // To pcx_dp3 of pcx_dp3.v | |
| input [7:0] arbpc4_pcxdp_grant_pa; // To pcx_dp4 of pcx_dp4.v | |
| input [7:0] arbpc4_pcxdp_q0_hold_pa;// To pcx_dp4 of pcx_dp4.v | |
| input [7:0] arbpc4_pcxdp_qsel0_pa; // To pcx_dp4 of pcx_dp4.v | |
| input [7:0] arbpc4_pcxdp_qsel1_pa; // To pcx_dp4 of pcx_dp4.v | |
| input [7:0] arbpc4_pcxdp_shift_px; // To pcx_dp4 of pcx_dp4.v | |
| input rclk; // To pcx_dp1 of pcx_dp1.v, ... | |
| input shiftenable; // To pcx_dp1 of pcx_dp1.v, ... | |
| input [`PCX_WIDTH-1:0]spc0_pcx_data_pa; // To pcx_dp1 of pcx_dp1.v, ... | |
| input [`PCX_WIDTH-1:0]spc1_pcx_data_pa; // To pcx_dp1 of pcx_dp1.v, ... | |
| input [`PCX_WIDTH-1:0]spc2_pcx_data_pa; // To pcx_dp1 of pcx_dp1.v, ... | |
| input [`PCX_WIDTH-1:0]spc3_pcx_data_pa; // To pcx_dp1 of pcx_dp1.v, ... | |
| input [`PCX_WIDTH-1:0]spc4_pcx_data_pa; // To pcx_dp1 of pcx_dp1.v, ... | |
| input [`PCX_WIDTH-1:0]spc5_pcx_data_pa; // To pcx_dp1 of pcx_dp1.v, ... | |
| input [`PCX_WIDTH-1:0]spc6_pcx_data_pa; // To pcx_dp1 of pcx_dp1.v, ... | |
| input [`PCX_WIDTH-1:0]spc7_pcx_data_pa; // To pcx_dp1 of pcx_dp1.v, ... | |
| // End of automatics | |
| /*AUTOWIRE*/ | |
| // Beginning of automatic wires (for undeclared instantiated-module outputs) | |
| // End of automatics | |
| input scan_in; | |
| output scan_out; | |
| /* | |
| pcx_dp1 AUTO_TEMPLATE( | |
| .scan_out (), | |
| .scan_in ()); | |
| */ | |
| pcx_dp1 pcx_dp1(/*AUTOINST*/ | |
| // Outputs | |
| .scan_out (), // Templated | |
| .pcx_scache1_data_px_l(pcx_scache1_data_px_l[`PCX_WIDTH-1:0]), | |
| // Inputs | |
| .arbpc1_pcxdp_grant_pa(arbpc1_pcxdp_grant_pa[7:0]), | |
| .arbpc1_pcxdp_q0_hold_pa(arbpc1_pcxdp_q0_hold_pa[7:0]), | |
| .arbpc1_pcxdp_qsel0_pa(arbpc1_pcxdp_qsel0_pa[7:0]), | |
| .arbpc1_pcxdp_qsel1_pa(arbpc1_pcxdp_qsel1_pa[7:0]), | |
| .arbpc1_pcxdp_shift_px(arbpc1_pcxdp_shift_px[7:0]), | |
| .rclk (rclk), | |
| .scan_in (), // Templated | |
| .shiftenable (shiftenable), | |
| .spc0_pcx_data_pa (spc0_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc1_pcx_data_pa (spc1_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc2_pcx_data_pa (spc2_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc3_pcx_data_pa (spc3_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc4_pcx_data_pa (spc4_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc5_pcx_data_pa (spc5_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc6_pcx_data_pa (spc6_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc7_pcx_data_pa (spc7_pcx_data_pa[`PCX_WIDTH-1:0])); | |
| /* | |
| pcx_dp3 AUTO_TEMPLATE( | |
| .scan_out (), | |
| .scan_in ()); | |
| */ | |
| pcx_dp3 pcx_dp3(/*AUTOINST*/ | |
| // Outputs | |
| .scan_out (), // Templated | |
| .pcx_scache3_data_px_l(pcx_scache3_data_px_l[`PCX_WIDTH-1:0]), | |
| // Inputs | |
| .arbpc3_pcxdp_grant_pa(arbpc3_pcxdp_grant_pa[7:0]), | |
| .arbpc3_pcxdp_q0_hold_pa(arbpc3_pcxdp_q0_hold_pa[7:0]), | |
| .arbpc3_pcxdp_qsel0_pa(arbpc3_pcxdp_qsel0_pa[7:0]), | |
| .arbpc3_pcxdp_qsel1_pa(arbpc3_pcxdp_qsel1_pa[7:0]), | |
| .arbpc3_pcxdp_shift_px(arbpc3_pcxdp_shift_px[7:0]), | |
| .rclk (rclk), | |
| .scan_in (), // Templated | |
| .shiftenable (shiftenable), | |
| .spc0_pcx_data_pa (spc0_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc1_pcx_data_pa (spc1_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc2_pcx_data_pa (spc2_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc3_pcx_data_pa (spc3_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc4_pcx_data_pa (spc4_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc5_pcx_data_pa (spc5_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc6_pcx_data_pa (spc6_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc7_pcx_data_pa (spc7_pcx_data_pa[`PCX_WIDTH-1:0])); | |
| /* | |
| pcx_dp4 AUTO_TEMPLATE( | |
| .pcx_io_data_px_l (pcx_fpio_data_px_l[`PCX_WIDTH-1:0]), | |
| .scan_out (), | |
| .scan_in ()); | |
| */ | |
| pcx_dp4 pcx_dp4(/*AUTOINST*/ | |
| // Outputs | |
| .scan_out (), // Templated | |
| .pcx_io_data_px_l (pcx_fpio_data_px_l[`PCX_WIDTH-1:0]), // Templated | |
| // Inputs | |
| .arbpc4_pcxdp_grant_pa(arbpc4_pcxdp_grant_pa[7:0]), | |
| .arbpc4_pcxdp_q0_hold_pa(arbpc4_pcxdp_q0_hold_pa[7:0]), | |
| .arbpc4_pcxdp_qsel0_pa(arbpc4_pcxdp_qsel0_pa[7:0]), | |
| .arbpc4_pcxdp_qsel1_pa(arbpc4_pcxdp_qsel1_pa[7:0]), | |
| .arbpc4_pcxdp_shift_px(arbpc4_pcxdp_shift_px[7:0]), | |
| .rclk (rclk), | |
| .scan_in (), // Templated | |
| .shiftenable (shiftenable), | |
| .spc0_pcx_data_pa (spc0_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc1_pcx_data_pa (spc1_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc2_pcx_data_pa (spc2_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc3_pcx_data_pa (spc3_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc4_pcx_data_pa (spc4_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc5_pcx_data_pa (spc5_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc6_pcx_data_pa (spc6_pcx_data_pa[`PCX_WIDTH-1:0]), | |
| .spc7_pcx_data_pa (spc7_pcx_data_pa[`PCX_WIDTH-1:0])); | |
| endmodule // pcx_dp_array134 | |