Improve the error message on memory region conflict.
authorTim 'mithro' Ansell <me@mith.ro>
Thu, 31 Oct 2019 02:32:20 +0000 (19:32 -0700)
committerTim 'mithro' Ansell <me@mith.ro>
Thu, 31 Oct 2019 02:32:20 +0000 (19:32 -0700)
commit4408dad9d27a5170daf04719d65ff9c9c1339a33
treef559ac8bab7122b125c5eb9d4f242218ecd8e362
parentbb64f8a74daeab1772ea30323f26fe0447d5f2ea
Improve the error message on memory region conflict.

Before;
```
ValueError: Memory region conflict between rom and main_ram
```

After;
```
ValueError: Memory region conflict between rom (<SoCMemRegion 0x10000000 0x10000 cached>) and main_ram (<SoCMemRegion 0x0 0x20000000 cached>)
```

Fixes #296.
litex/soc/integration/common.py
litex/soc/integration/soc_core.py