soc_cores: fix typos
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 8 Jul 2019 20:56:14 +0000 (22:56 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 8 Jul 2019 20:56:14 +0000 (22:56 +0200)
litex/soc/integration/soc_core.py

index 6f5b3cf7d58713cb7bee73b2a0aac9c3a347ce32..7297111b52d54b5395a536a2a9116a92768af63a 100644 (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: