Line 16... |
Line 16... |
// You should have received a copy of the GNU General Public
|
// You should have received a copy of the GNU General Public
|
// License along with this work; if not, write to the Free Software
|
// License along with this work; if not, write to the Free Software
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
//
|
//
|
// ========== Copyright Header End ============================================
|
// ========== Copyright Header End ============================================
|
|
`ifdef SIMPLY_RISC_TWEAKS
|
|
`define SIMPLY_RISC_SCANIN .si(0)
|
|
`else
|
|
`define SIMPLY_RISC_SCANIN .si()
|
|
`endif
|
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
/*
|
/*
|
// Module Name: sparc_exu_alu
|
// Module Name: sparc_exu_alu
|
*/
|
*/
|
|
|
Line 138... |
Line 143... |
.byp_alu_rs2_data_e(byp_alu_rs2_data_e[63:0]),
|
.byp_alu_rs2_data_e(byp_alu_rs2_data_e[63:0]),
|
.ecl_alu_cin_e(ecl_alu_cin_e),
|
.ecl_alu_cin_e(ecl_alu_cin_e),
|
.ifu_exu_invert_d(ifu_exu_invert_d));
|
.ifu_exu_invert_d(ifu_exu_invert_d));
|
|
|
// Logic/pass rs2_data
|
// Logic/pass rs2_data
|
dff invert_d2e(.din(ifu_exu_invert_d), .clk(clk), .q(invert_e), .se(se), .si(), .so());
|
dff_s invert_d2e(.din(ifu_exu_invert_d), .clk(clk), .q(invert_e), .se(se), `SIMPLY_RISC_SCANIN, .so());
|
sparc_exu_alulogic logic_MAYBEARESERVEDWORD(.rs1_data(byp_alu_rs1_data_e[63:0]),
|
`ifdef SIMPLY_RISC_TWEAKS
|
|
sparc_exu_alulogic alulogic(.rs1_data(byp_alu_rs1_data_e[63:0]),
|
|
`else
|
|
sparc_exu_alulogic logic(.rs1_data(byp_alu_rs1_data_e[63:0]),
|
|
`endif
|
.rs2_data(byp_alu_rs2_data_e[63:0]),
|
.rs2_data(byp_alu_rs2_data_e[63:0]),
|
.isand(ecl_alu_log_sel_and_e),
|
.isand(ecl_alu_log_sel_and_e),
|
.isor(ecl_alu_log_sel_or_e),
|
.isor(ecl_alu_log_sel_or_e),
|
.isxor(ecl_alu_log_sel_xor_e),
|
.isxor(ecl_alu_log_sel_xor_e),
|
.pass_rs2_data(ecl_alu_log_sel_move_e),
|
.pass_rs2_data(ecl_alu_log_sel_move_e),
|