URL
https://opencores.org/ocsvn/amber/amber/trunk
[/] [amber/] [trunk/] [hw/] [vlog/] [amber23/] [a23_execute.v] - Diff between revs 83 and 87
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 83 |
Rev 87 |
Line 492... |
Line 492... |
.o_out ( barrel_shift_out ),
|
.o_out ( barrel_shift_out ),
|
.o_carry_out ( barrel_shift_carry )
|
.o_carry_out ( barrel_shift_carry )
|
);
|
);
|
|
|
|
|
|
wire barrel_shift_carry_real;
|
|
assign barrel_shift_carry_real = i_barrel_shift_data_sel == 2'd0 ?
|
|
(i_imm_shift_amount[4:1] == 0 ? status_bits_flags[1] : i_imm32[31]) :
|
|
barrel_shift_carry;
|
|
|
// ========================================================
|
// ========================================================
|
// Instantiate ALU
|
// Instantiate ALU
|
// ========================================================
|
// ========================================================
|
a23_alu u_alu (
|
a23_alu u_alu (
|
.i_a_in ( rn ),
|
.i_a_in ( rn ),
|
.i_b_in ( barrel_shift_out ),
|
.i_b_in ( barrel_shift_out ),
|
.i_barrel_shift_carry ( barrel_shift_carry ),
|
//.i_barrel_shift_carry ( barrel_shift_carry ),
|
|
.i_barrel_shift_carry ( barrel_shift_carry_real ),
|
.i_status_bits_carry ( status_bits_flags[1] ),
|
.i_status_bits_carry ( status_bits_flags[1] ),
|
.i_function ( i_alu_function ),
|
.i_function ( i_alu_function ),
|
|
|
.o_out ( alu_out ),
|
.o_out ( alu_out ),
|
.o_flags ( alu_flags )
|
.o_flags ( alu_flags )
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.