projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b471e33
)
hdl.ast: fix src_loc_at for Mux().
author
whitequark
<whitequark@whitequark.org>
Wed, 3 Jul 2019 15:25:14 +0000
(15:25 +0000)
committer
whitequark
<whitequark@whitequark.org>
Wed, 3 Jul 2019 15:25:14 +0000
(15:25 +0000)
nmigen/hdl/ast.py
patch
|
blob
|
history
diff --git
a/nmigen/hdl/ast.py
b/nmigen/hdl/ast.py
index ef7d7c7ab9027f7b6da57ed495cb3f2c12bb4b54..7a2623515dd28fd98fd24b0c3e3632559ad350c1 100644
(file)
--- 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