Fix SOC region range check
This commit is contained in:
parent
0170462fe8
commit
e9613499ea
|
@ -318,7 +318,7 @@ class SoCBusHandler(LiteXModule):
|
|||
is_in = True
|
||||
if not (region.origin >= container.origin):
|
||||
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
|
||||
return is_in
|
||||
|
||||
|
|
Loading…
Reference in New Issue