mirror of https://github.com/YosysHQ/yosys.git
Removed left over debug code
This commit is contained in:
parent
ec58965967
commit
48822e79a3
|
@ -917,7 +917,6 @@ RTLIL::SigSpec AstNode::genRTLIL(int width_hint, bool sign_hint)
|
||||||
children[0]->children[1]->clone() : children[0]->children[0]->clone());
|
children[0]->children[1]->clone() : children[0]->children[0]->clone());
|
||||||
fake_ast->children[0]->delete_children();
|
fake_ast->children[0]->delete_children();
|
||||||
RTLIL::SigSpec shift_val = fake_ast->children[1]->genRTLIL();
|
RTLIL::SigSpec shift_val = fake_ast->children[1]->genRTLIL();
|
||||||
log_dump(width, shift_val, id2ast->range_swapped, source_width, id2ast->range_left, id2ast->range_right);
|
|
||||||
if (id2ast->range_right != 0)
|
if (id2ast->range_right != 0)
|
||||||
shift_val = current_module->Sub(NEW_ID, shift_val, id2ast->range_right);
|
shift_val = current_module->Sub(NEW_ID, shift_val, id2ast->range_right);
|
||||||
if (id2ast->range_swapped)
|
if (id2ast->range_swapped)
|
||||||
|
|
|
@ -1535,7 +1535,6 @@ skip_dynamic_range_lvalue_expansion:;
|
||||||
tmp_range_left = (param_width + 2*param_offset) - children[0]->range_right - 1;
|
tmp_range_left = (param_width + 2*param_offset) - children[0]->range_right - 1;
|
||||||
tmp_range_right = (param_width + 2*param_offset) - children[0]->range_left - 1;
|
tmp_range_right = (param_width + 2*param_offset) - children[0]->range_left - 1;
|
||||||
}
|
}
|
||||||
log_dump(param_upto, param_offset, param_width, children[0]->range_left, children[0]->range_right, tmp_range_left, tmp_range_right);
|
|
||||||
for (int i = tmp_range_right; i <= tmp_range_left; i++) {
|
for (int i = tmp_range_right; i <= tmp_range_left; i++) {
|
||||||
int index = i - param_offset;
|
int index = i - param_offset;
|
||||||
if (0 <= index && index < param_width)
|
if (0 <= index && index < param_width)
|
||||||
|
|
Loading…
Reference in New Issue