URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk
- from Rev 673 to Rev 674
- ↔ Reverse comparison
Rev 673 → Rev 674
/or1200/rtl/verilog/or1200_alu.v
131,10 → 131,8
assign a_lt_b = comp_op[3] ? ((a[width-1] & !b[width-1]) | |
(!a[width-1] & !b[width-1] & result_sum[width-1])| |
(a[width-1] & b[width-1] & result_sum[width-1])): |
// a < b if (a - b) subtraction wrapped and a[width-1] wasn't set |
(result_sum[width-1] & !a[width-1]) | |
// or if (a - b) wrapped and both a[width-1] and b[width-1] were set |
(result_sum[width-1] & a[width-1] & b[width-1] ); |
(a < b); |
|
`endif |
|
`ifdef OR1200_IMPL_SUB |