Merge pull request #2115 from CKeilbar/soc-region-check-fix
Fix SOC region range check
This commit is contained in:
commit
8b4949edcd
|
@ -318,7 +318,7 @@ class SoCBusHandler(LiteXModule):
|
||||||
is_in = True
|
is_in = True
|
||||||
if not (region.origin >= container.origin):
|
if not (region.origin >= container.origin):
|
||||||
is_in = False
|
is_in = False
|
||||||
if not ((region.origin + region.size) < (container.origin + container.size)):
|
if not ((region.origin + region.size) <= (container.origin + container.size)):
|
||||||
is_in = False
|
is_in = False
|
||||||
return is_in
|
return is_in
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue