From e351e27206028224f86cc8e2657f7ebc5682dbeb Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 3 Jul 2019 15:25:14 +0000 Subject: [PATCH] hdl.ast: fix src_loc_at for Mux(). --- nmigen/hdl/ast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2