[myhdl-list] [PATCH 0 of 2 V3] Add support for negative indexes _and_ slice limits
Brought to you by:
jandecaluwe
From: Angel E. <ang...@gm...> - 2012-10-13 22:54:21
|
This third version of this patch series adds support for converting slices with negative limits. The only limitation (other than the ones that also apply for indexes) is that you cannot mix positive and negative limits on the same slice. That is, this will convert fine: s_my_signal[-1:-4] But this will not work right: s_my_signal[-1:3] This is because the size inference does not work right in this last case. |