correctly print out the addrmap overlapping error message
This commit is contained in:
parent
f0debb89e4
commit
1b26d78114
@ -125,7 +125,7 @@ class AddrMap(
|
||||
val brEnd = br.start + br.size
|
||||
val abOverlaps = ar.start < brEnd && br.start < arEnd
|
||||
require(!abOverlaps,
|
||||
"region $an@0x${ar.start.toString(16)} overlaps region $bn@0x${br.start.toString(16)}")
|
||||
s"region $an@0x${ar.start.toString(16)} overlaps region $bn@0x${br.start.toString(16)}")
|
||||
}
|
||||
|
||||
def toRange: MemRange = MemRange(start, size, attr)
|
||||
|
Loading…
Reference in New Issue
Block a user