integration/soc: warn about overrides only on differences
This commit is contained in:
parent
f8863bb986
commit
db9d40a5a0
|
@ -926,7 +926,7 @@ class SoC(Module):
|
||||||
else:
|
else:
|
||||||
# Override User's mapping with CPU constrainted mapping (and warn User).
|
# Override User's mapping with CPU constrainted mapping (and warn User).
|
||||||
for n, origin in self.cpu.mem_map.items():
|
for n, origin in self.cpu.mem_map.items():
|
||||||
if n in self.mem_map.keys():
|
if n in self.mem_map.keys() and self.mem_map[n] != self.cpu.mem_map[n]:
|
||||||
self.logger.info("CPU {} {} mapping from {} to {}.".format(
|
self.logger.info("CPU {} {} mapping from {} to {}.".format(
|
||||||
colorer("overriding", color="cyan"),
|
colorer("overriding", color="cyan"),
|
||||||
colorer(n),
|
colorer(n),
|
||||||
|
|
Loading…
Reference in New Issue