Skip to content

Commit 4b49284

Browse files
wanda-phiwhitequark
authored andcommitted
hdl._ir: derive DriverConflict from Exception instead of UserWarning.
1 parent 14929b9 commit 4b49284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amaranth/hdl/_ir.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Elaboratable(_unused.MustUse):
2626
_MustUse__warning = UnusedElaboratable
2727

2828

29-
class DriverConflict(UserWarning):
29+
class DriverConflict(Exception):
3030
pass
3131

3232

0 commit comments

Comments
 (0)