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 130 to Rev 132
- ↔ Reverse comparison
Rev 130 → Rev 132
/verilog/omsp_register_file.v
113,6 → 113,7
// 1) AUTOINCREMENT UNIT |
//============================================================================= |
|
wire [15:0] inst_src_in; |
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; |
|
126,7 → 127,7
// Source input selection mask (for interrupt support) |
//----------------------------------------------------- |
|
wire [15:0] inst_src_in = reg_sr_clr ? 16'h0004 : inst_src; |
assign inst_src_in = reg_sr_clr ? 16'h0004 : inst_src; |
|
|
// R0: Program counter |