Closed CKeilbar closed 3 weeks ago
The check at https://github.com/enjoy-digital/litex/blob/0170462fe8a69a4d2de6f85bf8bf9e77e0771ceb/litex/soc/integration/soc.py#L321 does not properly consider the upper boundary of regions.
For example, a region starting at 0xFC00_0000 with a size of 0x0400_0000 will not fit in a container region starting at 0x8000_0000 with a size of 0x8000_0000, because both regions "end" at 0x1_0000_0000.
The check at https://github.com/enjoy-digital/litex/blob/0170462fe8a69a4d2de6f85bf8bf9e77e0771ceb/litex/soc/integration/soc.py#L321 does not properly consider the upper boundary of regions.
For example, a region starting at 0xFC00_0000 with a size of 0x0400_0000 will not fit in a container region starting at 0x8000_0000 with a size of 0x8000_0000, because both regions "end" at 0x1_0000_0000.