projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2481bd
)
hdl.dsl: fix src_loc_at for FSM state signal.
author
whitequark
<cz@m-labs.hk>
Wed, 3 Jul 2019 16:34:31 +0000
(16:34 +0000)
committer
whitequark
<cz@m-labs.hk>
Wed, 3 Jul 2019 16:34:31 +0000
(16:34 +0000)
nmigen/hdl/dsl.py
patch
|
blob
|
history
diff --git
a/nmigen/hdl/dsl.py
b/nmigen/hdl/dsl.py
index 5c39482f5977eae50317a0cb75d0d919a82988c5..5b820895ba550d07b16f3de24e2c987b48bbcaf8 100644
(file)
--- a/
nmigen/hdl/dsl.py
+++ b/
nmigen/hdl/dsl.py
@@
-248,7
+248,7
@@
class Module(_ModuleBuilderRoot, Elaboratable):
self._check_context("FSM", context=None)
fsm_data = self._set_ctrl("FSM", {
"name": name,
- "signal": Signal(name="{}_state".format(name)),
+ "signal": Signal(name="{}_state".format(name)
, src_loc_at=2
),
"reset": reset,
"domain": domain,
"encoding": OrderedDict(),