soc_cores: fix typos

This commit is contained in:
Florent Kermarrec 2019-07-08 22:56:14 +02:00
parent bff081a818
commit 41b6fbde42
1 changed files with 2 additions and 2 deletions

View File

@ -345,7 +345,7 @@ class SoCCore(Module):
if allow_user_defined:
return
else:
raise ValueError("Interrupt conflit, {} name already used".format(interrupt_name))
raise ValueError("Interrupt conflict, {} name already used".format(interrupt_name))
# Check that interrupt_id is in range
if interrupt_id is not None and interrupt_id >= 32:
@ -373,7 +373,7 @@ class SoCCore(Module):
if allow_user_defined:
return
else:
raise ValueError("CSR conflit, {} name already used".format(csr_name))
raise ValueError("CSR conflict, {} name already used".format(csr_name))
# Check that csr_id is in range
if csr_id is not None and csr_id >= 2**self.csr_address_width: