projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74d1872
)
back.rtlil: never give subfragment cells names starting with $.
author
whitequark
<cz@m-labs.hk>
Thu, 13 Dec 2018 11:30:16 +0000
(11:30 +0000)
committer
whitequark
<cz@m-labs.hk>
Thu, 13 Dec 2018 11:30:16 +0000
(11:30 +0000)
nmigen/back/rtlil.py
patch
|
blob
|
history
diff --git
a/nmigen/back/rtlil.py
b/nmigen/back/rtlil.py
index 93e2d40e71c279a211206706d551f5b1582511c5..311a053b73e9e0f89869f84b2a8a4c9df3f1fd38 100644
(file)
--- a/
nmigen/back/rtlil.py
+++ b/
nmigen/back/rtlil.py
@@
-397,7
+397,7
@@
class _ValueTransformer(xfrm.ValueTransformer):
def convert_fragment(builder, fragment, name, top):
- with builder.module(name, attrs={"top": 1} if top else {}) as module:
+ with builder.module(name
or "anonymous"
, attrs={"top": 1} if top else {}) as module:
xformer = _ValueTransformer(module)
# Register all signals driven in the current fragment. This must be done first, as it