From 4b49284ccb92ff62030b64bd2419c8240bbeff49 Mon Sep 17 00:00:00 2001 From: Wanda Date: Thu, 9 May 2024 00:26:17 +0200 Subject: [PATCH] hdl._ir: derive `DriverConflict` from `Exception` instead of `UserWarning`. --- amaranth/hdl/_ir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amaranth/hdl/_ir.py b/amaranth/hdl/_ir.py index f9bec3d..cbb940b 100644 --- a/amaranth/hdl/_ir.py +++ b/amaranth/hdl/_ir.py @@ -26,7 +26,7 @@ class Elaboratable(_unused.MustUse): _MustUse__warning = UnusedElaboratable -class DriverConflict(UserWarning): +class DriverConflict(Exception): pass