From: whitequark Date: Wed, 3 Jul 2019 15:25:14 +0000 (+0000) Subject: hdl.ast: fix src_loc_at for Mux(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e4426f9b741929ef315c3128f47318afe63bed6;p=nmigen.git hdl.ast: fix src_loc_at for Mux(). --- diff --git a/nmigen/hdl/ast.py b/nmigen/hdl/ast.py index ef7d7c7..7a26235 100644 --- a/nmigen/hdl/ast.py +++ b/nmigen/hdl/ast.py @@ -390,7 +390,7 @@ def Mux(sel, val1, val0): Value, out Output ``Value``. If ``sel`` is asserted, the Mux returns ``val1``, else ``val0``. """ - return Operator("m", [sel, val1, val0], src_loc_at=1) + return Operator("m", [sel, val1, val0]) @final