URL
https://opencores.org/ocsvn/openmsp430/openmsp430/trunk
Subversion Repositories openmsp430
Compare Revisions
- This comparison shows the changes necessary to convert path
/openmsp430/trunk/core/rtl
- from Rev 101 to Rev 91
- ↔ Reverse comparison
Rev 101 → Rev 91
/verilog/omsp_alu.v
147,8 → 147,8
|
// Mask the bit 8 for the Byte instructions for correct flags generation |
wire op_bit8_msk = ~exec_cycle | ~inst_bw; |
wire [16:0] op_src_in = {1'b0, {op_src_inv[15:8] & {8{op_bit8_msk}}}, op_src_inv[7:0]}; |
wire [16:0] op_dst_in = {1'b0, {op_dst[15:8] & {8{op_bit8_msk}}}, op_dst[7:0]}; |
wire [16:0] op_src_in = {1'b0, op_src_inv[15:9], op_src_inv[8] & op_bit8_msk, op_src_inv[7:0]}; |
wire [16:0] op_dst_in = {1'b0, op_dst[15:9], op_dst[8] & op_bit8_msk, op_dst[7:0]}; |
|
// Clear the source operand (= jump offset) for conditional jumps |
wire jmp_not_taken = (inst_jmp[`JL] & ~(status[3]^status[2])) | |