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 128 to Rev 130
- ↔ Reverse comparison
Rev 128 → Rev 130
/verilog/omsp_register_file.v
113,7 → 113,7
// 1) AUTOINCREMENT UNIT |
//============================================================================= |
|
wire [15:0] incr_op = inst_bw ? 16'h0001 : 16'h0002; |
wire [15:0] incr_op = (inst_bw & ~inst_src_in[1]) ? 16'h0001 : 16'h0002; |
wire [15:0] reg_incr_val = reg_src+incr_op; |
|
wire [15:0] reg_dest_val_in = inst_bw ? {8'h00,reg_dest_val[7:0]} : reg_dest_val; |